1 2009-09-08 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_timeout): Fixed problem with the timeout
5 function, we need to move before decelerating the first time or we
6 are loosing the first jump.
8 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
10 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
12 [2.2.0 Release Candidate 3]
14 * debian/changelog: updates
16 2009-09-07 Alejandro G. Castro <alex@igalia.com>
18 * hildon/hildon-pannable-area.c,
19 (hildon_pannable_area_class_init): Increased max speed.
21 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
23 [2.2.0 Release Candidate 2]
26 * debian/changelog: bump version, updates
28 2009-09-07 Alejandro G. Castro <alex@igalia.com>
30 * hildon/hildon-pannable-area.c,
31 (hildon_pannable_area_class_init),
32 (hildon_pannable_area_button_release_cb): More tuning for the
35 2009-09-07 Alejandro G. Castro <alex@igalia.com>
37 * hildon/hildon-pannable-area.c,
38 (hildon_pannable_area_class_init):
39 Change the default value of the scrollbar_fade_delay.
41 Fixes: NB#127018 (Panning indicator fades out too slowly)
43 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
45 [2.2.0 Release Candidate 1]
48 * configure.ac: Bump version
49 * debian/changelog: updates
51 2009-09-04 Alejandro G. Castro <alex@igalia.com>
53 * hildon/hildon-pannable-area.c,
54 (hildon_pannable_area_init),
55 (hildon_pannable_area_button_press_cb),
56 (hildon_pannable_area_button_release_cb): Added a new acceleration
57 system to help traversing big lists, tuned the stop threshold.
59 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
61 2009-09-04 Alberto Garcia <agarcia@igalia.com>
63 * hildon/hildon-window.h:
64 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
66 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
68 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
72 * configure.ac: bump version
74 * debian/changelog: updates
76 2009-09-04 Alberto Garcia <agarcia@igalia.com>
78 * hildon/hildon-entry.c
79 * hildon/hildon-text-view.c:
82 2009-09-04 Alberto Garcia <agarcia@igalia.com>
84 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
85 Redraw menu when the number of items change.
87 Fixes: NB#131911 (Appmenu does not resize properly, when number of
90 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
92 * hildon/hildon-pannable-area.c:
93 (hildon_pannable_area_launch_fade_timeout),
94 (hildon_pannable_area_motion_event_scroll),
95 (hildon_pannable_area_check_move),
96 (hildon_pannable_area_button_release_cb),
97 (hildon_pannable_area_scroll_to):
99 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
100 area drawing operations, since this is the recommended for drawing
103 Fixes: NB#110894 (In event view containing very large description
104 field, application menu is displayed blank while panning)
105 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
108 2009-09-03 Alberto Garcia <agarcia@igalia.com>
110 * doc/hildon-sections.txt
111 * hildon/hildon-button.c
112 * hildon/hildon-edit-toolbar.c
113 * hildon/hildon-gtk.[ch]
114 * hildon/hildon-main.c
115 * hildon/hildon-program.c
116 * hildon/hildon-stackable-window.c:
117 Documentation updates
119 2009-08-28 Alberto Garcia <agarcia@igalia.com>
121 * hildon/hildon-app-menu.c
122 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
123 Close the menu if it receives a grab-notify signal.
125 Fixes: NB#134533 (UI freezes if we show a dialog with
126 gtk_dialog_run() while a menu is opened)
128 2009-08-27 Alejandro G. Castro <alex@igalia.com>
130 * hildon/hildon-pannable-area.c,
131 (hildon_pannable_area_class_init): Reverted tuning modifications:
132 "Pannign needs to be faster" and "Pannable kinetics in large lists
135 2009-08-26 Alberto Garcia <agarcia@igalia.com>
137 * hildon/hildon-sound.c (hildon_play_system_sound):
138 Set "module-stream-restore.id" to "x-maemo-system-sound" when
139 playing system sounds
141 Fixes: NB#133767 (Information and confirmation note sound should
142 follow system profile setting)
144 2009-08-26 Alejandro G. Castro <alex@igalia.com>
146 * hildon/hildon-pannable-area.c,
147 (hildon_pannable_area_class_init): Added more force and increased
148 the max speed threshold.
150 Fixes: NB#135344 (Pannign needs to be faster)
152 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
154 [Release 2.1.96, this time for real]
157 * debian/changelog: updates
159 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
161 * hildon/hildon-pannable-area.c
162 (hildon_pannable_area_get_topmost): change the computation of the
163 co-ordinates transformed when no one of the children is a topmost
165 Fixes: NB#133252 (Opening any feed item from RSS always opens the
166 first feed item in browser)
168 2009-08-26 Alejandro G. Castro <alex@igalia.com>
170 * hildon/hildon-pannable-area.c,
171 (hildon_pannable_area_remove_timeouts): Adding this new function
172 with the code that removes the timeouts of the widget.
173 (hildon_pannable_area_dispose),
174 (hildon_pannable_area_unrealize): Use the new remove function to
175 stop timeouts when unrealizing and disposing.
176 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
177 calculation to avoid negative values in some cases.
179 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
181 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
183 * examples/hildon-check-button-example.c: (button_toggled_cb):
184 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
185 (hildon_check_button_set_active), (hildon_check_button_new),
186 (hildon_check_button_clicked), (hildon_check_button_class_init):
187 * hildon/hildon-check-button.h:
188 * hildon/hildon-set-password-dialog.c: (create_contents),
189 (hildon_set_password_response_change), (hildon_checkbox_toggled):
191 Revert "Make HildonCheckButton derive from GtkToggleButton"
193 2009-08-21 Alberto Garcia <agarcia@igalia.com>
197 * configure.ac: bump version
199 * debian/changelog: updates
201 2009-08-21 Alberto Garcia <agarcia@igalia.com>
203 * hildon/hildon-check-button.h
204 * hildon/hildon-check-button.c
205 (hildon_check_button_clicked, hildon_check_button_class_init):
206 Make HildonCheckButton derive from GtkToggleButton
207 (hildon_check_button_toggled, hildon_check_button_set_active)
208 (hildon_check_button_get_active):
209 Deprecate unnecessary HildonCheckButton API and use the
210 one from GtkToggleButton instead.
212 * hildon/hildon-set-password-dialog.c (create_contents)
213 (hildon_set_password_response_change, hildon_checkbox_toggled)
214 * examples/hildon-check-button-example.c (button_toggled_cb):
215 Update to use the GtkToggleButton API
217 Fixes: MB#4739 (HildonCheckButton should inherit from
220 Fixes: NB#132661 (HildonCheckButton should inherit from
223 2009-08-20 Alberto Garcia <agarcia@igalia.com>
225 * hildon/hildon-pannable-area.c
226 (hildon_pannable_area_class_init):
227 Increase default value of HildonPannableArea:velocity_max to 2000
229 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
231 2009-08-18 Alberto Garcia <agarcia@igalia.com>
235 * configure.ac: bump version
237 * debian/changelog: updates
239 2009-08-11 Alejandro G. Castro <alex@igalia.com>
241 * hildon/hildon-pannable-area.c
242 (hildon_pannable_area_size_allocate): Checked the scrollbars
243 before the first try when defining the layout, avoids two
244 allocations in some situations.
246 Fixes: NB#131794 (pannable area produces unnecessary allocations
247 causing performance problems)
249 2009-08-11 Alejandro G. Castro <alex@igalia.com>
251 * hildon/hildon-pannable-area.c
252 (hildon_pannable_area_button_press_cb),
253 (hildon_pannable_area_motion_notify_cb),
254 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
255 the spurious ref added in the copy, fixes leak of window.
257 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
258 if it's realized without showing and then deleted)
260 2009-08-10 Alberto Garcia <agarcia@igalia.com>
264 * configure.ac: bump version
266 * debian/changelog: updates
268 2009-08-06 Alberto Garcia <agarcia@igalia.com>
270 * examples/hildon-hvolumebar-timer-example.c
272 * hildon/hildon-banner.c
273 (hildon_banner_timeout, hildon_banner_ensure_timeout)
274 * hildon/hildon-calendar.c
275 (calendar_timer, start_spinning)
276 * hildon/hildon-color-chooser.c
277 (inline_limited_expose)
278 * hildon/hildon-date-editor.c
279 (hildon_date_editor_entry_focus_in)
280 (hildon_date_editor_entry_validate)
281 (hildon_date_editor_entry_select_all)
282 * hildon/hildon-note.c
284 * hildon/hildon-number-editor.c
285 (hildon_number_editor_button_pressed)
286 (hildon_number_editor_start_timer, do_mouse_timeout),
287 (add_select_all_idle, hildon_number_editor_select_all)
288 * hildon/hildon-time-editor.c
289 (hildon_time_editor_entry_focus_in)
290 (highlight_callback, hildon_time_editor_validate)
291 (hildon_time_editor_entry_select_all)
292 * hildon/hildon-time-picker.c
293 (hildon_time_picker_arrow_press)
294 (hildon_time_picker_key_repeat_timeout)
295 * hildon/hildon-window.c
296 (hildon_window_key_press_event)
297 (hildon_window_escape_timeout):
298 Replace all calls to g_idle_add/g_timeout_add with their
299 gdk_threads counterparts.
301 Fixes: NB#126198 (gdk-threads API should be used to install idle
302 and timeout handlers)
304 2009-08-06 Alejandro G. Castro <alex@igalia.com>
306 * hildon/hildon-pannable-area.c,
307 (hildon_pannable_area_class_init): Increased the overshooting max
308 speed to get a faster effect.
309 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
310 deceleration of the overshooting
311 (hildon_pannable_area_button_release_cb): Calculate initial
312 overshooting speed when finger on the screen using the distance to
313 launch the effect faster.
315 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
316 lists with slow row renderers)
318 2009-08-05 Alberto Garcia <agarcia@igalia.com>
320 * doc/hildon-sections.txt: Add new functions
322 2009-08-05 Alberto Garcia <agarcia@igalia.com>
324 * hildon/hildon-text-view.[ch]
325 * hildon/hildon-entry.[ch]:
326 Add deprecation guards around deprecated functions.
328 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
330 * hildon/hildon-app-menu.c: Remove leftover function declaration.
332 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
334 Remove the grab from HildonAppMenu
336 * hildon/hildon-app-menu.c:
337 Now hildon-desktop places a blocker window behind the menu to handle
338 its closing, so the grab is no longer needed. This simplifies its
339 implementation and allows the system blanking to succeed.
341 Fixes: NB#130910 (Screen gets unlocked when menu is open)
343 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
347 * configure.ac: bump version
349 * debian/changelog: updates
350 * debian/control: raise debian dependency on GTK+
352 2009-08-04 Alberto Garcia <agarcia@igalia.com>
354 * hildon/hildon-text-view.c
355 * hildon/hildon-entry.c:
356 Remove all placeholder code from HildonEntry and HildonTextView
357 and use the API in GtkEntry and GtkTextView instead.
359 * examples/hildon-entry-example.c
360 * examples/hildon-text-view-example.c
361 * examples/hildon-wizard-dialog-example.c
362 * hildon/hildon-get-password-dialog.c
363 * hildon/hildon-login-dialog.c
364 * hildon/hildon-picker-dialog.c
365 * hildon/hildon-set-password-dialog.c
366 * hildon/hildon-touch-selector-entry.c:
367 Replace all deprecated calls to HildonEntry and HildonTextView
368 with their Gtk counterparts.
370 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
373 2009-08-03 Alejandro G. Castro <alex@igalia.com>
375 * hildon/hildon-pannable-area.c,
376 (hildon_pannable_area_check_move),
377 (hildon_pannable_area_button_release_cb),
378 (hildon_pannable_area_scroll_to): Reverted the priority change of
379 the timeout, in some situations, slow renderers, the click do not
380 make it to the mainloop on time.
382 Fixes NB#131013 (unable to stop panning file manager by tapping on
385 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
387 * configure.ac: bump version
389 * debian/changelog: updates
391 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
393 * hildon/hildon-touch-selector.[ch]
394 (hildon_touch_selector_center_on_index): New method that allows to center
395 on a item not selected
397 Fixes NB#130291 (New HildonTouchSelector API is required to center on
400 2009-07-29 Alberto Garcia <agarcia@igalia.com>
402 * hildon/hildon-text-view.c
403 (+set_logical_color, +hildon_text_view_style_set)
404 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
405 (hildon_text_view_init)
406 * hildon/hildon-entry.c
407 (+set_logical_color, +hildon_entry_style_set)
408 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
409 (hildon_entry_class_init, hildon_entry_init)
410 * hildon/hildon-button.c
411 (+set_logical_font, +set_logical_color)
412 (hildon_button_style_set, hildon_button_init)
413 (hildon_button_set_arrangement, hildon_button_set_style):
414 Remove all calls to hildon_helper_set_logical_font() and
415 hildon_helper_set_logical_color(), which are recursive, from
418 Fixes: NB#123409 (Showing dialog consumes significant amount of
421 2009-07-29 Alejandro G. Castro <alex@igalia.com>
423 * hildon/hildon-pannable-area.c,
424 (hildon_pannable_area_timeout): Added the process updates of the
425 scrollbars window in the pannable.
427 Fixes: NB#130043 (scrollindicator not smooth while panning)
429 2009-07-23 Alejandro G. Castro <alex@igalia.com>
431 * hildon/hildon-pannable-area.c,
432 (hildon_pannable_area_check_move),
433 (hildon_pannable_area_button_release_cb),
434 (hildon_pannable_area_scroll_to): Increased the priority of the
435 timeout this way it is going to be handled before the events.
437 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
441 * configure.ac: bump version
442 * debian/changelog: updates
444 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
446 * hildon/hildon-entry.c: (set_property): Do not allow to set
447 automatic height and use finger height instead, to prevent an to
448 have a smaller size than than its theme pixbuf.
450 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
452 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
454 * configure.ac: postrelease version bump.
455 * debian/changelog: post release version bump
457 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
462 * configure.ac: Bump version.
463 * debian/changelog: Updates.
465 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
467 * hildon/hildon-note.c: (label_size_request): Take the note
468 padding into account when setting the size request.
470 Fixes: NB#127896 (Information notes text truncated)
472 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
474 * configure.ac: postrelease version bump.
475 * debian/changelog: post release version bump
477 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
482 * configure.ac: Bump version.
483 * debian/changelog: Updates.
485 2009-07-16 Alejandro G. Castro <alex@igalia.com>
488 * hildon/hildon-text-view.c,
489 (hildon_text_view_button_press_event): Grabbed the focus in button
490 press, this way we are sure the widget has the focus in the
491 release event, required for HIM.
493 Fixes: NB#121445 (Virtual keyboard opening is not working in same
494 way for each text entry field)
496 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
498 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
499 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
500 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
501 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
502 (hildon_pannable_area_[gs]et_center_on_child_focus)
503 Redefined GtkContainer set-focus-child signal, in order to center
504 properly on a child when it receives the focus. Defined a new property
505 "center-on-child-focus" in order to activate this feature (deactivated
506 by default). Public get/set methods defined to manage the property.
508 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
510 2009-07-14 László Pere <lpere@blumsoft.eu>
512 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
513 the new size is applied.
515 Fixes: NB#124510 (The Application Menu is distorted when switched
516 between portrait and landscape mode)
517 Fixes: NB#115388 (Power key menu does not resize itself)
519 2009-07-01 Alberto Garcia <agarcia@igalia.com>
521 * hildon/hildon-banner.c (hildon_banner_map):
522 Set banner position after mapping.
524 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
526 * configure.ac: postrelease version bump.
527 * debian/changelog: post release version bump
529 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
534 * configure.ac: Bump version.
535 * debian/changelog: Updates.
537 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
539 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
542 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
544 * tests/check-hildon-banner.c
546 * tests/test_suites.h
547 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
548 were testing deprecated functions.
549 * examples/hildon-banner-example.c: typo on button3 type, that causes
550 a fail compiling with --with-examples but without --disable-deprecated
552 Missed commit in order to fix compilation using '--enable-fatal' and
553 '--disable-deprecated' (see previous commit)
555 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
557 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
558 functions with #ifndef HILDON_DISABLE_DEPRECATED
559 * examples/hildon-find-toolbar.c: Protect deprecated
560 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
561 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
562 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
563 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
565 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
566 to allow proper compilation of deprecated functions defined on the header
568 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
570 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
572 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
573 Cache the panning indicator color.,
574 (hildon_pannable_area_style_set): Query the color on style changes.
575 (hildon_pannable_draw_vscroll),
576 (hildon_pannable_draw_hscroll),
577 (hildon_pannable_area_expose_event): Use the cached panning indicator
578 color instead of looking it up on every expose and more.
580 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
582 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
583 (hildon_pannable_draw_hscroll),
584 (hildon_pannable_area_expose_event): Fix the panning indicator color,
585 so that it's "SecondaryTextColor", as desired.
587 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
589 * hildon/hildon-picker-dialog.c:
590 (selection_completed): take into account HILDON_UI_MODE_NORMAL
591 * hildon/hildon-touch-selector.c
592 (hildon_touch_selector_init): Initialize hildon-ui-mode
593 (hildon_touch_selector_row_activated): new callback for the
594 "row-activated" signal, in order to save the last activated
595 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
596 if the current hildon-ui-mode is coherent with the touch selector
597 (hildon_touch_selector_class_init)
598 (hildon_touch_selector_get_property)
599 (hildon_touch_selector_set_property)
600 Added "hildon-ui-mode" property
601 (disconnect_model_handlers): renamed to clean_column
602 (hildon_touch_selector_remove): use clean_column function
603 (_create_new_column): use the hildon-ui-mode to create the treeview, and
604 only select the first element on HILDON_UI_MODE_EDIT
605 (hildon_touch_selector_column_init): Initialize last_activate
606 (hildon_touch_selector_append_column): check that the touch selector
607 is coherent with the current hildon-ui-mode
608 (hildon_touch_selector_get_hildon_ui_mode)
609 (hildon_touch_selector_set_hildon_ui_mode)
610 Added a getter/setter for the hildon-ui-mode property
611 (hildon_touch_selector_get_last_activated_row): Added this method in
612 order to get the last activated row.
613 * examples/hildon-touch-selector-normal-mode-example.c
614 New example, that shows how to use the HildonTouchSelector in
615 HILDON_UI_MODE_NORMAL
617 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
618 Kristian Rietveld <kris@lanedo.com> advices
620 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
622 * hildon/hildon-time-selector.c: (update_format_policy): Do
623 not call update_format_dependant_columns() if not necessary.
624 (update_format_dependant_columns): Remove unnecessary check for
625 the number of columns.
627 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
629 * hildon/hildon-note.c (+hildon_note_constructor),
630 (hildon_note_class_init), (+hildon_note_set_padding),
631 (hildon_note_rebuild): Install a constructor where to set the
632 padding properties in the note, so that it actually works fine.
633 Use hildon_note_set_padding() for this, and also to set it during
636 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
638 * configure.ac: Bump GTK+ requirement to 2.14.3.
639 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
640 when using maemo-gtk to define proper margins for the notes.
642 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
643 with the dialog edge)
645 2009-06-24 Alberto Garcia <agarcia@igalia.com>
647 * hildon/hildon-banner.c
648 (hildon_banner_class_init):
650 (+hildon_banner_size_request):
651 Request always the full width of the screen.
652 (hildon_banner_realize)
653 (-hildon_banner_check_position, hildon_banner_map):
654 hildon_banner_check_position() is not needed in Hildon 2.2.
655 (-hildon_banner_reset_wrap_state)
656 (hildon_banner_constructor, hildon_banner_init):
657 Remove unnecessary calls to hildon_banner_reset_wrap_state()
658 (+banner_do_set_text)
659 (force_to_wrap_truncated):
660 Remove has_been_wrapped and has_been_truncated attributes.
661 (+reshow_banner, hildon_banner_real_show_information)
662 (hildon_banner_show_information_with_markup)
663 (hildon_banner_show_animation, hildon_banner_show_progress)
664 (hildon_banner_set_text, hildon_banner_set_markup):
665 Refactor code. Shrink banner vertically to use the minimum space
666 necessary everytime the text of the label is updated.
667 (screen_size_changed):
668 Call force_to_wrap_truncated() when the size of the screen
671 Fixes: NB#120500 (only device memory connect mmc in use info
672 banner is left aligned)
674 Fixes: NB#120613 (Size of HildonBanner varies depending on
675 previously opened banners)
677 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
679 * hildon/hildon-color-chooser.c
680 (hildon_color_chooser_pointer_motion): Take the widget allocation
683 Fixes: NB#124385 (Unable to select exact point in color mixing box
684 in color palette dialog)
686 2009-06-23 Alejandro G. Castro <alex@igalia.com>
688 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
689 (hildon_pannable_area_dispose)
690 (hildon_pannable_area_button_press_cb)
691 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
692 (hildon_pannable_area_button_release_cb)
693 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
694 New 'panning-started' and 'panning-finished' signals.
696 Fixes: NB#121732 (New feature request: Signal to pannable area
697 that informs when panning is stopped.)
699 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
701 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
702 instead of hardcoded colon.
704 Fixes: NB#124090 (New calendar wizard title is not using
705 ecdg_ti_caption_separator)
707 2009-06-22 David King <davidk@openismus.com>
709 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
710 constants and functions, as well as correct many typos throughout the
713 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
716 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
718 * configure.ac: postrelease version bump.
719 * debian/changelog: post release version bump
721 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
726 * configure.ac: Bump version.
727 * debian/changelog: Updates.
729 2009-06-18 Alberto Garcia <agarcia@igalia.com>
731 * hildon/hildon-window-stack.c
732 (hildon_window_stack_pop_and_push_list):
733 Prevent windows from having the same stack index
735 2009-06-18 Alberto Garcia <agarcia@igalia.com>
737 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
738 Use the index of the previous window rather than the stack length
739 to calculate the new index.
743 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
745 * hildon/hildon-date-selector.c
746 (hildon_date_selector_select_current_date)
747 (hildon_date_selector_get_date)
748 (hildon_date_selector_select_day):
749 Update the documentation: uses always the range (1-31), as it is obvious
750 that the final one will depend on the month and the year, but globally
751 the range is this, in a similar GtkCalendar approach
752 (hildon_date_selector_get_date):
753 Update the documentation: add NULL as a valid value for the day, month
756 Fix some details, after talk with David King on bug MB#4698
758 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
760 * hildon/hildon-touch-selector-entry.c
761 * hildon/hildon-touch-selector.c
762 Update the documentation of the "text-column" property
764 2009-06-18 David King <davidk@openismus.com>
766 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
767 several typos and errors throughout the documentation.
769 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
772 2009-06-18 Alberto Garcia <agarcia@igalia.com>
774 * hildon/hildon-note.c (hildon_note_realize):
775 Make HildonNote support portrait mode.
777 Fixes: NB#123448 (HildonNote is not portrait-friendly)
779 2009-06-17 Alberto Garcia <agarcia@igalia.com>
781 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
782 Document this function
784 2009-06-17 David King <davidk@openismus.com>
786 * hildon/hildon-date-selector.c
787 (hildon_date_selector_select_current_date)
788 (hildon_date_selector_get_date): Update documentation regarding days,
789 as the day of the month is dependent on both the month and the year.
790 (hildon_date_selector_get_date): Fix documentation of output arguments.
792 Fixes: MB#4698 (DateSelector documentation has bad output argument
793 description, and the day depends on both the month and the year)
795 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
797 * hildon/hildon-caption.c: Other documentation fixes to
800 2009-06-17 David King <davidk@openismus.com>
802 * hildon/hildon-caption.c: Minor documentation updates for
803 HildonCaption. Fixes MB#4697.
805 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
807 * doc/hildon-docs.sgml: Add hildon-version section.
808 * doc/hildon-sections.txt:
809 * hildon/hildon-version.h.in: Document versioning macros and
812 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
814 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
815 from HildonPickerDialog section.
817 2009-06-16 Alberto Garcia <agarcia@igalia.com>
819 * hildon/hildon-banner.c (hildon_banner_bind_style)
820 (screen_size_changed, hildon_banner_init)
821 (hildon_banner_real_show_information)
822 (hildon_banner_show_information_with_markup)
823 (hildon_banner_show_animation, hildon_banner_show_progress):
824 Set a different widget name to banners in portrait mode, for them
825 to be themed correctly.
827 2009-06-16 Alberto Garcia <agarcia@igalia.com>
829 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
830 Set a different widget name to notes in portrait mode, for them to
833 Partially fixes: NB#118401 (HildonNote causes unnecessary
836 2009-06-16 Alberto Garcia <agarcia@igalia.com>
838 * hildon/hildon-note.c (hildon_note_class_init)
839 (+hildon_note_size_request, screen_size_changed):
840 Always request the full width of the screen.
842 Fixes: NB#118375 (unnecessary rescaling of images)
844 2009-06-16 Alejandro G. Castro <alex@igalia.com>
846 * hildon/hildon-pannable-area.c,
847 (hildon_pannable_area_init),
848 (hildon_pannable_area_realize): Replaced old code adding flags in
849 the object init, now we add it with the other flags in the realize
852 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
854 * hildon/hildon-note.c: (hildon_note_class_init): Several
855 documentation improvements to the HildonNote widget.
857 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
859 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
861 Fixes: MB#4556 (HildonNoteType is undocumented)
863 2009-06-15 Alberto Garcia <agarcia@igalia.com>
865 * hildon/hildon-picker-button.c:
866 Explain how HildonPickerButton sets the title of its dialog
868 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
869 the title of its dialog)
871 2009-06-15 Alberto Garcia <agarcia@igalia.com>
873 * hildon/hildon-check-button.c:
874 Documentation updates
876 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
879 2009-06-15 Alberto Garcia <agarcia@igalia.com>
882 * hildon/hildon-edit-toolbar-private.h
883 * hildon/hildon-edit-toolbar.c
884 (+hildon_edit_toolbar_set_progress_indicator)
885 (hildon_edit_toolbar_init): Add progress indicator to the
888 * hildon/hildon-gtk.c
889 (hildon_gtk_window_set_progress_indicator):
890 If the window contains a HildonEditToolbar, enable the progress
893 * hildon/hildon-private.h
894 * hildon/hildon-private.c
895 (+hildon_private_create_animation)
896 * hildon/hildon-banner.c
897 (-hildon_banner_create_animation):
898 Moved to hildon-private.c
900 Fixes: NB#102373 (Progress indicator also for the Edit mode
903 2009-06-15 Alberto Garcia <agarcia@igalia.com>
905 * hildon/hildon-app-menu-private.h
906 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
907 (hildon_app_menu_add_filter, +menu_item_button_event)
908 (hildon_app_menu_button_release, hildon_app_menu_init):
909 Make sure that buttons receive 'button-release-event' in spite of
910 the grab held by HildonAppMenu
912 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
914 2009-06-15 Alberto Garcia <agarcia@igalia.com>
916 * hildon/hildon-app-menu.c
917 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
918 New style property to set the size of the group of filter buttons.
920 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
922 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
927 * configure.ac: Bump version.
928 * debian/changelog: Updates.
930 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
932 * hildon/hildon-main.c: Minor documentation fixes.
934 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
936 * doc/hildon-sections.txt:
937 * hildon/hildon-defines.h: Document the defines, organize them,
938 and mark deprecations as such.
940 Fixes: MB#4463 (Hildon size #defines are undocumented)
942 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
944 * hildon/hildon-animation-actor.c:
945 * hildon/hildon-app-menu.c:
946 * hildon/hildon-button.c:
947 * hildon/hildon-date-editor.c:
948 * hildon/hildon-dialog.c:
949 * hildon/hildon-edit-toolbar.c:
950 * hildon/hildon-entry.c:
951 * hildon/hildon-program.c:
952 * hildon/hildon-remote-texture.c:
953 * hildon/hildon-stackable-window.c:
954 * hildon/hildon-text-view.c:
955 * hildon/hildon-touch-selector.c:
956 * hildon/hildon-window-stack.c:
957 * hildon/hildon-window.c:
959 Remove redundant "represents" wording from most of the documentation.
961 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
963 2009-06-12 Alberto Garcia <agarcia@igalia.com>
968 * hildon/hildon-banner-private.h
969 * hildon/hildon-banner.c:
970 Move HildonBannerPrivate to hildon-banner.c and remove
971 hildon-banner-private.h
972 Use a bit field to store private booleans.
974 2009-06-12 Alberto Garcia <agarcia@igalia.com>
976 * hildon/hildon-app-menu.c (hildon_app_menu_map):
977 Don't install a new idle function if there's already one
982 2009-06-11 Alberto Garcia <agarcia@igalia.com>
984 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
985 (+legacy_menu_realized, +legacy_menu_unmapped)
986 (+set_legacy_menu_type):
987 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
988 they can be identified by the window manager.
990 Fixes: NB#101437 (Invoking CSM on the left side of page area is
991 displayed in wrong location)
993 Fixes: MB#4563 (Popup menu won't locate at the left side of the
996 2009-06-11 Alberto Garcia <agarcia@igalia.com>
998 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1000 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1001 use gtk-doc support)
1003 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1005 * hildon/hildon-code-dialog.c
1006 * hildon/hildon-date-editor.c
1007 * hildon/hildon-number-editor.c
1008 * hildon/hildon-seekbar.c
1009 * hildon/hildon-stackable-window.c
1010 * hildon/hildon-window.c:
1011 Misc documentation updates
1013 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1015 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1016 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1018 Fixes: NB#117931 (Theming issues in accounts dialogs)
1020 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1022 * hildon/hildon-pannable-area.c,
1023 (hildon_pannable_area_button_release_cb): Changed the coordinates
1024 of the original release in case we want to discard the release,
1025 some widgets in Fremantle do not handle the leave-notify.
1027 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1029 * hildon/hildon-pannable-area.c,
1030 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1031 the release using the last refactored functions and avoiding the
1032 movement if an element was selected.
1034 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1036 * hildon/hildon-pannable-area.c,
1037 (hildon_pannable_area_check_move),
1038 (hildon_pannable_area_handle_move),
1039 (hildon_pannable_area_motion_notify_cb): Refactored the
1040 motion_notify method using a couple of new functions.
1042 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1044 * hildon/hildon-date-selector.c:
1045 (hildon_date_selector_construct_ui):
1046 * hildon/hildon-time-selector.c:
1047 (hildon_time_selector_constructor):
1048 * hildon/hildon-touch-selector-entry.c:
1049 (hildon_touch_selector_entry_set_text_column),
1050 (hildon_touch_selector_entry_get_text_column):
1051 * hildon/hildon-touch-selector.c: (_default_print_func),
1052 (hildon_touch_selector_new_text): Use
1053 hildon_touch_selector_set/get_text_column() instead of
1054 setting/getting the "text-column" property.
1056 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1058 * doc/hildon-sections.txt: Add the new public methods below.
1060 * examples/hildon-picker-button-multicolumn-example.c:
1061 (create_touch_selector):
1062 * examples/hildon-touch-selector-example.c: (create_selector):
1063 * examples/hildon-touch-selector-multi-cells-example.c:
1065 Use hildon_touch_selector_column_set_text_column()
1067 * hildon/hildon-touch-selector-column.h:
1068 * hildon/hildon-touch-selector.c:
1069 (hildon_touch_selector_column_set_text_column),
1070 (hildon_touch_selector_column_get_text_column):
1071 Make hildon_touch_selector_column_set/get_column() public, use
1072 them in the inline example, document them, and reference to them
1075 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1077 * hildon/hildon-time-selector.c: Fix the docs for
1078 hildon_time_selector_new_step().
1080 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1082 * hildon/hildon-touch-selector.c: Improve the documentation for
1083 hildon_touch_selector_append_column().
1085 Fixes MB#4641 (Documentation:
1086 hildon_touch_selector_append_column() ref-counting)
1088 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1090 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1091 Comment out test 5, since the hildon_controlbar_set_range() range
1092 check is broken and fixing it would have side effects. Also,
1093 this finally fixes make distcheck.
1095 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1097 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1099 * tests/TEST-CASES.txt: Remove other bogus test.
1100 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1101 Remove bogus test that was setting/retrieving a valid value.
1103 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1105 * tests/TEST-CASES.txt: Remove bogus tests.
1106 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1107 Remove three bogus tests that were actually setting valid colors.
1109 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1111 * configure.ac: post release version bump
1112 * debian/changelog: post release version bump
1114 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1119 * configure.ac: Bump version.
1120 * debian/changelog: Updates.
1122 2009-06-08 Christian Dywan <christian@lanedo.com>
1126 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1127 Correct errors in hildon_format_file-size_for_display and use
1128 translations from the hildon-fm package instead of osso-filemanager.
1130 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1132 * hildon/hildon-pannable-area.c,
1133 (hildon_pannable_area_init): Initialized new values to handle the
1134 adjustment position.
1135 (hildon_pannable_area_adjust_value_changed): Check if the values
1136 changed before even call the redraw function.
1137 (hildon_pannable_area_size_allocate),
1138 (hildon_pannable_axis_scroll),
1139 (hildon_pannable_area_scroll),
1140 (hildon_pannable_area_jump_to): Improved the diagonal movement
1143 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1146 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1148 * examples/hildon-banner-example.c:
1149 Several style updates
1150 (on_animation_clicked, on_animation_idle)
1151 (on_progress_clicked, on_progress_idle):
1152 Add additional reference for the cases when the parent window is
1155 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1157 * doc/hildon-sections.txt
1158 * hildon/hildon-pannable-area.c
1159 * hildon/hildon-banner.h
1160 * hildon/hildon-banner.c: Documentation updates.
1162 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1165 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1167 * hildon/hildon-calendar-popup.h:
1168 * hildon/hildon-caption.h:
1169 * hildon/hildon-code-dialog.h:
1170 * hildon/hildon-controlbar.h:
1171 * hildon/hildon-date-editor.h:
1172 * hildon/hildon-dialog.h:
1173 * hildon/hildon-get-password-dialog.h:
1174 * hildon/hildon-hvolumebar.h:
1175 * hildon/hildon-login-dialog.h:
1176 * hildon/hildon-note.h:
1177 * hildon/hildon-number-editor.h:
1178 * hildon/hildon-range-editor.h:
1179 * hildon/hildon-seekbar.h:
1180 * hildon/hildon-set-password-dialog.h:
1181 * hildon/hildon-sort-dialog.h:
1182 * hildon/hildon-time-editor.h:
1183 * hildon/hildon-time-picker.h:
1184 * hildon/hildon-volumebar-range.h:
1185 * hildon/hildon-volumebar.h:
1186 * hildon/hildon-vvolumebar.h:
1187 * hildon/hildon-weekday-picker.h:
1188 * hildon/hildon-window.h:
1189 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1190 macros with the current replacements
1192 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1194 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1196 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1197 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1198 itself, to make it fit better with Fremantle style.
1200 Fixes: NB#109878 (height and width of focus on color icon is not
1201 consistent with other item in the application tool bar)
1203 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1205 * hildon/hildon-touch-selector.c:
1206 (hildon_touch_selector_optimal_size_request): use the current requisition
1207 as the base, in order to include any possible extra widget, like the
1208 hildon entry on HildonTouchSelectorEntry
1210 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1212 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1214 * configure.ac: post release version bump
1215 * debian/changelog: post release version bump
1217 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1222 * configure.ac: Bump version.
1223 * debian/changelog: Updates.
1225 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1227 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1229 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1230 to ensure the banner contents are centered, instead of relying on
1231 the expand and fill properties in GtkHBox.
1232 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1234 Fixes: NB#108265 (Animation banner not properly centered)
1236 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1238 * hildon/hildon-pannable-area.c
1239 (hildon_pannable_area_initial_effect): Remove the initial_effect
1240 management, check initial_hint
1241 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1242 set initial_effect to FALSE
1243 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1244 by launching the fade_timeout if the scrollbars state has changed and are
1246 * examples/hildon-pannable-area-initial-hint-example.c
1247 Modified to allow to remove rows too. Add and remove rows one by one.
1249 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1251 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1252 Don't close the menu if there's an animation actor below it.
1254 Fixes: NB#117927 (Application menu not usable with animation
1257 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1259 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1260 "focus-on-click" from the dialog button, to avoid stealing the
1261 focus from the entry.
1263 Fixes: NB#118903 (Account setup wizard: Text in Search field
1264 should be focused when "Region" touch list picker is reopened
1267 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1269 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1270 (prepare_action_area): Completely hide the dialog separator.
1272 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1274 * hildon/hildon-touch-selector-entry.c
1275 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1276 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1277 now that the entry is exposed.
1279 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1281 * hildon/hildon-touch-selector-entry.c
1282 (hildon_touch_selector_entry_init): Change the entry's size
1283 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1285 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1287 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1288 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1289 avoid unnecessary scaling.
1291 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1293 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1294 Create grab transfer window before calling parent's map function.
1296 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1297 "crushed" button(s) in the top left corner)
1299 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1301 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1302 Check if the window is already realized when pushing it.
1304 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1306 * configure.ac: post release version bump
1307 * debian/changelog: post release version bump
1309 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1314 * configure.ac: Bump version.
1315 * debian/changelog: Updates.
1317 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1319 * hildon/hildon-app-menu.c: Doc updates.
1321 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1323 * hildon/hildon-banner.c: Remove leftover macro.
1325 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1327 * hildon/hildon-pannable-area.c,
1328 (hildon_pannable_area_scroll_indicator_fade),
1329 (hildon_pannable_area_button_release_cb): Reviewed vmin
1330 conditions, it could cause problems in the fadeout procedure.
1332 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1334 * hildon/hildon-pannable-area.c
1335 (hildon_pannable_area_button_release_cb): Added a threshold to
1336 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1338 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1340 * hildon/hildon-pannable-area.c,
1341 (hildon_pannable_area_set_property): Added code to sync the gtk
1342 dnd threshold with the panning threshold.
1344 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1346 * hildon/hildon-pannable-area.c,
1347 (hildon_pannable_area_class_init): Changed some of the default
1348 values, now it should be less responsive and more accurate.
1350 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1352 * hildon/hildon-pannable-area.c,
1353 (hildon_pannable_area_init),
1354 (hildon_pannable_area_scroll_indicator_fade),
1355 (hildon_pannable_area_button_press_cb),
1356 (hildon_pannable_axis_scroll),
1357 (hildon_pannable_area_timeout),
1358 (hildon_pannable_area_motion_notify_cb),
1359 (hildon_pannable_area_button_release_cb): Changed the name of the
1360 clicked attribute to button_pressed, it is more clear about its use.
1362 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1364 * src/hildon-pannable-area.c
1365 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1367 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1368 vertical scrollbar visibility, and use the data on private section instead,
1369 remove the initial_hint check
1370 (hildon_pannable_area_expose_event): add the initial_hint check here
1372 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1374 * src/hildon-pannable-area.c
1375 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1376 if the fadeout effect was used
1377 (hildon_pannable_area_expose_event): check if it is required to
1378 manage the initial effect on the begining of the function. Previously
1379 it was made at the end, but this doesn't ensure that the scrollbars
1380 will be painted on the first show. Do not set to FALSE initial_effect,
1381 to ensure that the initial hint is showed the first time the pannable
1383 * examples/Makefile.am
1384 * examples/hildon-pannable-area-initial-hint-example.c:
1385 New example, to show that the initial-hint is showed when the widget
1388 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1389 initially if the application can be scrolled)
1391 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1393 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1394 Resize table before adding new items to make sure that
1395 gtk_table_resize() is called just once.
1397 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1399 * hildon/hildon-app-menu-private.h
1400 * hildon/hildon-app-menu.c (item_visibility_changed)
1401 (filter_visibility_changed, hildon_app_menu_show_all)
1402 (hildon_app_menu_hide_all, hildon_app_menu_init):
1403 Rearrange items just once when gtk_widget_show_all()/hide_all()
1406 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1408 * hildon/hildon-app-menu.c
1409 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1410 Don't call gtk_widget_show() on added items.
1412 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1413 automatically when they're added)
1415 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1417 * hildon/hildon-banner.c
1418 (hildon_banner_realize, +hildon_banner_unrealize)
1419 (+screen_size_changed, hildon_banner_class_init):
1420 Redisplay the banner if the screen is rotated.
1422 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1423 on transition from landscape to portrait)
1425 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1427 * hildon/hildon-banner.[ch]:
1428 (hildon_banner_show_information_override_dnd): remove icon_name from the
1429 method definition as it is ignored.
1430 * examples/hildon-banner-dnd-example.c: updated with the change on
1433 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1435 * hildon/hildon-banner-private.h: new require_override_dnd and
1436 overrides_dnd variables
1437 * hildon/hildon-banner.h:
1438 (hildon_banner_show_information_override_dnd): new method, that shows
1439 the information but sets the override flag, in order to show important
1441 * hildon/hildon-banner.c
1442 (hildon_banner_show_information_override_dnd): new method
1443 (hildon_banner_set_override_flag): new utility function
1444 (hildon_banner_real_show_information): new utility function, in order to
1445 generalize the current hildon_banner_show_information_override_dnd and
1446 hildon_banner_show_information_override_dnd
1447 * examples/Makefile.am
1448 * examples/hildon-banner-dnd-example.c: New example that show how to
1449 use the new hildon_banner_show_information_override_dnd
1451 Fixes: NB#114874 (There is no possibility to show hildon banners with
1454 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1456 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1457 behind hildon_pannable_calculate_vel_factor().
1459 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1461 * hildon/hildon-pannable-area.c
1462 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1463 deceleration factors.
1465 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1467 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1468 Reduce the default value for 'scroll_time' to 1 second, since the
1469 current initial scrolling takes too much time.
1471 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1473 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1474 calculate velocity factor during initialization, since the properties
1477 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1479 * hildon/hildon-pannable-area.c
1480 (hildon_pannable_area_set_property): Calculate the velocity factor
1481 after setting the deceleration property and not after.
1483 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1485 * hildon/hildon-entry.c
1486 (hildon_entry_class_init, +set_property, hildon_entry_new)
1487 * hildon/hildon-check-button.c
1488 (hildon_check_button_class_init)
1489 (+set_property, hildon_check_button_new):
1490 Make the theme size a property.
1492 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1493 others) do too much in the _new function)
1495 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1497 * configure.ac: post release version bump
1498 * debian/changelog: post release version bump
1500 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1505 * configure.ac: Bump version.
1506 * debian/changelog: Updates.
1508 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1510 * hildon/hildon-gtk.h
1511 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1512 New API function to take a screenshot of a window
1514 Fixes: NB#106374 (Need API to take a loading screenshot)
1516 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1518 * hildon/hildon-time-selector.c
1519 (update_format_policy): prevent to use hours and minutes unitialized
1521 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1523 * hildon/hildon-window.c (hildon_window_size_request):
1524 Always request the full size of the screen (minus the title bar if
1525 not in fullscreen mode).
1527 Fixes: NB#107486 (HildonWindow should size itself properly)
1529 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1531 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1532 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1533 (on_show_cb), (sound_handling): Disconnect the idle handler for
1534 the sound when the note is finalized to avoid possible crashes.
1536 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1539 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1541 * src/hildon-animation-actor.c,
1542 * src/hildon-remote-texture.c:
1543 Added proper object cleanup to remove signal handler and object
1544 references as HildonAnimationActor and HildonRemoteTexture
1545 objects get destroyed.
1547 Fixes: NB#116682 (Destroying parented animation actors when
1548 parent in unmapped leads to crash)
1550 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1552 Based on a patch by Christian Dywan (christian@imendio.com)
1554 * doc/hildon-sections.txt:
1555 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1556 * hildon/hildon-helper.h: New file size formatting method.
1558 * debian/control: Depend on osso-filemanager l10n package for
1559 proper localization strings.
1561 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1563 * tests/Makefile.am: Include top_srcdir to make possible to build
1564 tests in a different builddir.
1565 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1566 on a different builddir.
1568 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1570 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1571 (hildon_touch_selector_remove): Disconnect model's signal handler
1574 Fixes: NB#116289 (Hildon home crashes while adding task
1577 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1579 * hildon/hildon-button.c
1580 (hildon_button_set_title, hildon_button_set_value):
1581 Hide labels containing an empty string.
1583 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1585 * configure.ac: post release version bump
1586 * debian/changelog: post release version bump
1588 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1593 * configure.ac: Bump version.
1594 * debian/changelog: Updates.
1596 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1598 * hildon/hildon-note-private.h: Removed sound_signal_handler
1599 * hildon/hildon-note.c
1600 (on_show_cb): new callback on note "show" event, this simply adds
1601 a idle, with the function sound_handling
1602 (sound_handling): removed the sound_signal_handler management
1603 (hildon_note_init): connect note "show" event to on_show_cb
1604 (hildon_note_realize): remove the connection to "expose-event"
1606 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1607 device?' confirmation note)
1609 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1611 * hildon/hildon-note.c
1612 (hildon_note_new_information_with_icon_name)
1613 (hildon_note_new_confirmation_with_icon_name):
1614 Terminate the list of parameters in g_object_set() calls
1616 Fixes: NB#115166 (Formatting memory card is not taking place)
1618 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1620 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1621 "dialog-information" role for the sound being played.
1623 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1625 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1626 Don't make the menu a modal window, it causes strange interactions
1627 with the pointer grab and it's not really needed.
1629 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1631 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1633 * hildon/hildon-touch-selector.[ch]
1634 (hildon_touch_selector_optimal_size_request): function added to get a
1635 optimal size request from the touch selector, when you want a dialog to
1636 show as much of the selector
1637 * hildon/hildon-picker-dialog.c:
1638 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1639 (hildon_app_menu_class_init):
1640 New "max-height-landscape" and "max-height-portrait" style properties
1641 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1642 (hildon_picker_dialog_get_max_height): returns the maximum height using
1643 the style properties defined and checking the current portrait/landscape
1645 (_hildon_picker_dialog_set_selector): removed the set_size_request
1647 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1649 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1651 * hildon/hildon-bread-crumb-trail.c:
1652 * hildon/hildon-bread-crumb.c:
1653 * hildon/hildon-seekbar.c:
1654 Add reference to replacements for these deprecated widgets.
1656 Fixes: MB#4461 (Documentation: All deprecations should mention
1659 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1661 * examples/hildon-remote-texture-example.c
1663 Change the include to the hildon-remote-texture in order to compile
1664 properly the examples on the installed libhildon1-examples package
1666 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1668 * tests/Makefile.am: Add check for HildonPickerButton.
1669 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1670 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1671 checks for the HildonPickerButton.
1672 * tests/check_test.c (configure_tests): Add the test suite.
1673 * tests/test_suites.h: likewise.
1675 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1677 * hildon/hildon-touch-selector.c
1678 (+on_row_changed): Emit HildonTouchSelector:changed when the
1679 contents of a selected row change.
1680 (_create_new_column), (_hildon_touch_selector_set_model): connect
1681 to GtkTreeModel:row-changed on a newly set model.
1683 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1685 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1687 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1689 * hildon/hildon-banner.c (hildon_banner_destroy)
1690 (hildon_banner_show_progress, hildon_banner_set_fraction):
1691 Remove the progress bar from HildonBanner and use a progress
1694 Fixes: NB#113761 (Update progress banner to use progress
1697 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1699 * hildon/hildon-banner.c:
1700 Calculate size of the banner label using the actual screen width
1701 rather than using a fixed value.
1703 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1706 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1708 * hildon/hildon-pannable-area.c,
1709 (hildon_pannable_area_class_init): Fixed signals documentation
1712 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1714 * configure.ac: post release version bump
1715 * debian/changelog: post release version bump
1717 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1722 * configure.ac: Bump version.
1723 * debian/changelog: Updates.
1725 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1727 * hildon/hildon-edit-toolbar.c
1728 (hildon_edit_toolbar_init):
1729 Don't let buttons in HildonEditToolbar receive focus.
1731 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1732 typing on an HW arrows key)
1734 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1736 * doc/Makefile.am: Fix build.
1738 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1740 * doc/Makefile.am: Do not redefine content_files.
1742 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1750 Renamed src/ to hildon/
1755 Include <hildon/hildon.h> directly in all examples.
1757 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1759 * src/hildon-sort-dialog.c
1760 (hildon_sort_dialog_add_sort_key_with_sorting)
1764 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1767 make distcheck passes.
1769 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1771 * Makefile.am: Enable gtk-doc during distcheck.
1773 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1775 * Makefile.am: Do not distribute the debian/ directory.
1777 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1779 * doc/Makefile.am: Add the extra SGML files to content_files,
1780 so that they are distributed properly.
1782 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1784 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1787 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1789 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1790 (hildon_note_new_information_with_icon_name): Set the "icon" property
1791 to preserve soundness.
1793 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1795 * src/hildon-font-selection-dialog.c
1796 (hildon_font_selection_dialog_set_property): Fail when the "family"
1797 property is set to NULL.
1799 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1801 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1804 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1806 * src/hildon-time-selector.h:
1807 Added HildonTimeSelectorFormatPolicy
1808 * src/hildon-time-selector.c:
1809 Added PROP_TIME_FORMAT_POLICY
1810 (_check_ampm_format): renamed to check_automatic_ampm_format
1811 (update_format_policy), (update_format_dependant_columns): new functions
1812 (hildon_time_selector_class_init)
1813 (hildon_time_selector_contructor)
1814 (hildon_time_selector_init)
1815 (hildon_time_selector_get_property)
1816 (hildon_time_selector_set_property)
1817 (hildon_time_selector_get_time)
1818 (hildon_time_selector_set_time)
1819 * src/hildon-touch-selector.h: new file
1820 * src/hildon-touch-selector.c
1821 (hildon_touch_selector_emit_changed)
1822 (hildon_touch_selector_block_changed)
1823 (hildon_touch_selector_unblock_changed)
1824 Added functions to allow to block the emission of the "changed" signal
1825 * src/hildon-picker-dialog.c
1826 (hildon_picker_dialog_show): call the parent show before the custom code
1827 * examples/hildon-time-button-example.c
1828 Modified, so now you can configure the time format using the new property
1830 Added a new property "time-format-policy" that allow to choose the time
1831 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1832 case it uses gconf in order to check if the time selector must use
1835 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1838 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1840 * src/hildon-note.c (hildon_note_init):
1841 Label in HildonNote must be left aligned, not centered. This
1842 reverts the last commit in HildonNote.
1844 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1845 is connectivity dialog)
1847 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1852 * doc/hildon-sections.txt:
1853 Added hildon_gtk_window_set_do_not_disturb()
1855 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1857 * src/hildon-note.c (hildon_note_init): Center label.
1859 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1862 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1867 * configure.ac: Bump version.
1868 * debian/changelog: Updates.
1870 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-note-private.h: Add button-width to the private data.
1873 * src/hildon-note.c (+resize_button),
1874 (+hildon_note_orientation_update): methods to repack widgets on orientation
1876 (screen_size_changed): Call above method for confirmation notes.
1877 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1878 (hildon_note_rebuild): Store the original width request from buttons.
1880 Fixes: NB#109635 (Confirmation notes do not support portrait)
1882 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1884 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1885 when it is a progress note.
1887 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1889 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1890 in the note, since there are no horizontally arranged contents.
1892 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1894 * src/hildon-gtk.c (+set_flag): new generic method to
1895 set/delay a flag setting in a window.
1896 (hildon_gtk_window_set_progress_indicator):
1897 (hildon_gtk_window_set_do_not_disturb),
1898 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1899 avoid code redundance.
1901 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1903 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1905 * src/hildon-gtk.c (set_clear_window_flag),
1906 (do_set_progress_indicator), (do_set_do_not_disturb),
1907 (do_set_portrait_flags),
1908 (hildon_gtk_window_set_progress_indicator),
1909 (hildon_gtk_window_set_do_not_disturb),
1910 (hildon_gtk_window_set_portrait_flags):
1911 Allow setting dnd-flag, progress indicator, and portrait flags
1912 when the window is not realized.
1914 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1916 * src/hildon-pannable-area.c,
1917 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1918 the size request policy function and defines.
1920 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1922 * doc/hildon-sections.txt: Add the new API.
1923 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1924 method to set the portrait flags.
1925 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1927 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1929 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1931 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1932 to allow using this method with other flags.
1933 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1934 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1936 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-touch-selector.c
1939 (hildon_touch_selector_append_text_column):
1940 Make the cell renderer use the smallest width possible.
1942 Fixes: NB#108470 (Selected items in multiple selection are either
1943 having a tick that is cut or not visible at all.)
1945 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1947 * src/hildon-touch-selector.c
1948 (hildon_touch_selector_append_text_column):
1951 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1954 Use g_strdup_printf() instead of a fixed size buffer.
1956 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1958 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1959 Close banners when a HildonAppMenu is popped up.
1961 Fixes: NB#111027 (Title menu closed immediately if activated when
1962 "Invalid e-mail address" banner is shown)
1964 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1969 * configure.ac: Bump version.
1970 * debian/changelog: Updates.
1972 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-banner.c (hildon_banner_realize):
1975 Mark HildonBanner as supporting portrait mode.
1976 Use GDK to set window properties insetad of direct Xlib calls.
1978 Fixes: NB#111830 (HildonBanner should be marked as supporting
1981 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1983 * src/hildon-note.c (hildon_note_rebuild):
1984 Hide action area in information notes. Prevents text from being
1985 slightly aligned to the left.
1987 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1990 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1992 Patch by Mox Soini (ext-mox.soini@nokia.com)
1994 * src/hildon-banner.c (hildon_banner_create_animation):
1995 Use stylus-sized icons in animation banner.
1997 Fixes: NB#111206 (stylus sized icon for animation banner)
1999 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2003 (+hildon_gtk_window_set_do_not_disturb):
2004 New API to set the do-not-disturb flag.
2006 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2008 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2010 * examples/hildon-progress-indicator-example.c: Fix example
2012 * src/hildon-gtk.c (set_clear_window_flag)
2013 (hildon_gtk_window_set_progress_indicator):
2014 Create a generic function for setting flags to a window.
2015 Use GDK instead of direct Xlib calls.
2017 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2019 * src/hildon-button.c (hildon_button_set_arrangement):
2020 Due to NB#88126, if one of the labels is too long it will be
2021 painted outside the button. The 'value' label is more likely to be
2022 the longest one, so we change its packing options in order to
2023 truncate it if necessary. As a side effect, the 'title' label will
2024 no longer be truncated.
2026 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2028 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2033 * configure.ac: Bump version.
2034 * debian/changelog: Updates.
2036 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2038 Deprecation of the hildon_pannable_area_set_size_request_policy
2039 API, the only policy properly supported in gtk+ nowadays is the
2042 * src/hildon-pannable-area.c,
2043 (hildon_pannable_area_size_request): Added a workaround for the
2044 size_request to avoid the problems of huge pixmaps in case someone
2045 is still using the function.
2046 * src/hildon-pannable-area.h: Deprecated the enum with the
2049 Fixes: NB#110244 (Problems with the
2050 hildon_pannable_area_set_size_request_policy API)
2052 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2054 * src/hildon-pannable-area.c,
2055 (hildon_pannable_area_init),
2056 (hildon_pannable_area_size_request),
2057 (hildon_pannable_area_style_set),
2058 (hildon_pannable_draw_vscroll),
2059 (hildon_pannable_draw_hscroll),
2060 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2061 indicator_width to clarify the use of the attribute.
2063 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2068 * configure.ac: Bump version.
2069 * debian/changelog: Updates.
2071 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2073 * src/hildon-picker-dialog.c
2074 * src/hildon-touch-selector.c
2075 Reverting the change that tried to avoid the hardcoded height on
2076 the picker dialog, as causes problems on the hildon-touch-selector
2079 Fixes: NB#110029 (selectors not scrolling to selected value)
2081 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2083 * src/hildon-touch-selector.c: Fix typos
2085 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2088 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2089 request more motions after using it.
2091 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2093 * src/hildon-calendar.c (hildon_calendar_expose),
2094 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2095 Remove unused variables.
2097 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2099 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2100 variable assignment.
2102 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2104 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2105 Check the return value of gtk_tree_selection_get_selected()
2108 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2110 * src/hildon-animation-actor.c
2111 * src/hildon-button.c
2113 * src/hildon-pannable-area.c
2114 * src/hildon-picker-button.c
2115 * src/hildon-program.c
2116 * src/hildon-remote-texture.c
2117 * src/hildon-text-view.c
2118 * src/hildon-touch-selector.c
2119 * src/hildon-window-stack.c
2120 * src/hildon-window.c:
2121 Add missing 'Since: 2.2' tags.
2123 * doc/hildon-sections.txt:
2124 Add some missing symbols.
2126 * doc/hildon-docs.sgml:
2127 New 'Other' section for HildonAnimationActor and
2130 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2132 Patch by Iván Gómez (igomez@igalia.com)
2135 * doc/compiling.sgml
2136 * doc/hildon-docs.sgml
2137 * doc/hildon-sections.txt
2138 * doc/migration.sgml
2139 * doc/resources.sgml
2141 New chapters on using the Hildon library.
2142 Updated the general structure of the reference manual.
2143 Other minor documentation fixes.
2145 * src/hildon-calendar-popup.c
2146 * src/hildon-calendar.c
2147 * src/hildon-controlbar.c
2148 * src/hildon-date-editor.c
2149 * src/hildon-dialog.c
2150 * src/hildon-hvolumebar.c
2151 * src/hildon-number-editor.c
2152 * src/hildon-range-editor.c
2153 * src/hildon-sort-dialog.c
2154 * src/hildon-time-editor.c
2155 * src/hildon-time-picker.c
2156 * src/hildon-volumebar-range.c
2157 * src/hildon-volumebar.c
2158 * src/hildon-vvolumebar.c
2159 * src/hildon-weekday-picker.c:
2160 Add deprecation notes
2162 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2163 Document 'horizontal-movement' and 'vertical-movement' signals.
2165 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2170 * configure.ac: Bump version.
2171 * debian/changelog: Updates.
2173 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2175 * src/hildon-pannable-area.c,
2176 (hildon_pannable_area_class_init): increased the minimum velocity.
2177 (hildon_pannable_area_button_release_cb): Updated the
2178 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2179 setup. Review the code to control that last event.
2181 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2184 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2186 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2188 * src/hildon-get-password-dialog.c
2189 (hildon_get_password_set_property),
2190 (hildon_get_password_get_property), (create_contents):
2191 * src/hildon-login-dialog-private.h:
2192 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2193 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2194 (hildon_login_dialog_get_password):
2195 * src/hildon-set-password-dialog-private.h:
2196 * src/hildon-set-password-dialog.c
2197 (hildon_set_password_set_property),
2198 (hildon_set_password_get_property), (create_contents),
2199 (hildon_set_password_response_change),
2200 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2202 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2203 instead and look more Fremantle style.
2205 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2207 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2209 * doc/hildon-sections.txt
2210 * src/hildon-window-stack.h
2211 * src/hildon-window-stack.c
2212 (+hildon_window_stack_get_windows):
2213 New API to obtain the list of windows on a stack.
2215 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2217 * src/hildon-app-menu.c (hildon_app_menu_popup)
2218 (hildon_app_menu_class_init, -hildon_app_menu_show):
2219 Remove hildon_app_menu_show() and move all its checks to
2220 hildon_app_menu_popup()
2222 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2224 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2225 (_hildon_picker_dialog_set_selector): removed call to
2226 gtk_widget_set_size_request
2227 * src/hildon-touch-selector.c
2228 (_create_new_column): change the pannable size request policy
2230 Avoid to use a hardcoded height for the hildon picker dialog. In order
2231 to get that, we needed to change the hildon pannable size request
2233 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2235 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2237 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2238 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2241 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2243 * debian/control: Depend on osso-system-lock localization package.
2244 * src/hildon-code-dialog.c: Obtain the secu_application_title
2245 translation from osso-system-lock.
2246 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2247 for translation the atk related strings, that's not necessary.
2248 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2249 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2250 cancel button, it is not required.
2252 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2254 * src/hildon-pannable-area.c,
2255 (hildon_pannable_area_class_init): Modified the default value of
2256 the overshooting max speed, we have reduced it.
2258 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2260 * doc/hildon-sections.txt
2261 * src/hildon-window-private.h
2262 * src/hildon-window.h
2263 * src/hildon-window.c (hildon_window_class_init)
2264 (hildon_window_init, hildon_window_finalize)
2265 (hildon_window_realize, hildon_window_get_property)
2266 (hildon_window_set_property, hildon_window_update_markup)
2267 (hildon_window_get_markup, hildon_window_set_markup):
2268 New "markup" property and hildon_window_{get,set}_markup() methods.
2270 * examples/hildon-stackable-window-example.c (new_window):
2271 Update example to use hildon_window_set_markup()
2273 Fixes: NB#106375 (Need API to retitle a window with a title
2276 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2278 * src/hildon-pannable-area.c,
2279 (hildon_pannable_area_class_init): Changed the default value of
2280 the initial_hint to TRUE.
2281 (hildon_pannable_area_initial_effect): Changed the initial effect,
2282 not the effect is just the fade-out of the scrollbars.
2284 Fixes: NB#107775 (No scrollbars can be seen when several items are
2285 available in a dialog)
2287 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2289 * src/hildon-program.c (hildon_program_update_top_most):
2292 Fixes: NB#109179 (Memory leak in Hildon program)
2294 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2296 * src/hildon-banner.c (-get_current_app_window):
2297 Remove unused function.
2299 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2301 * src/hildon-pannable-area.c: Modified the documentation of the
2302 get adjustments functions to explain the problem of using the
2303 adjustment directly.
2304 (hildon_pannable_area_class_init): Improved the explanation about
2307 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2309 * src/hildon-app-menu-private.h
2310 * src/hildon-app-menu.c
2311 (hildon_app_menu_class_init):
2312 Bring back the 'external-border' style property
2313 (hildon_app_menu_class_init, hildon_app_menu_init)
2314 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2315 Set a fixed width-request for the menu, independent of the number
2318 Fixes: NB#94957 (Smoothly opened application menu)
2320 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2322 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2324 * src/hildon-banner.c
2325 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2327 Make sure that the banner is correctly placed the first time it's
2329 (hildon_banner_check_position, -check_fullscreen_state):
2330 Show the banner in the same place no matter if the window is in
2331 fullscreen mode or not.
2333 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2335 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2337 * src/hildon-touch-selector.c (_default_print_func): reorder
2338 concatenation for clarity.
2340 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2342 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2343 for multicolumn selectors.
2345 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2347 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2352 * configure.ac: Bump version.
2353 * debian/changelog: Updates.
2355 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2357 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2360 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2362 * configure.ac: removed libcangerra-gtk dependency
2363 * debian/control: removed libcanberra-gtk dependency
2364 * src/Makefile.am: removed libcanberra gtk related flags
2365 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2366 context, and manage a global canberra context instead
2368 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2370 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2372 Patch by Daniel Borgmann (danielb@openismus.com)
2374 * src/hildon-edit-toolbar.c:
2375 Adjust the left padding.
2376 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2377 Paint background of the edit toolbar.
2379 Fixes: NB#107897 (Patch to make editmodetoolbar background
2380 themeable and adjust margin)
2382 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2384 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2386 * src/hildon-program.c (hildon_program_update_top_most):
2387 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2389 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2390 change when the user tasks in/out of an application)
2392 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2394 * configure.ac: added libcangerra-gtk dependency
2395 * debian/control: added libcanberra-gtk dependency
2396 * src/Makefile.am: added libcanberra gtk related flags
2397 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2400 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2402 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2404 * src/hildon-program.c (hildon_program_remove_window)
2405 (hildon_program_add_window): Add checks for the window
2406 parameter. Don't decrease the window counter if the window is not
2409 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2411 * src/hildon-pannable-area.c,
2412 (hildon_pannable_area_realize): Fixed position of the event_window
2413 in the realize method.
2415 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-app-menu-private.h
2418 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2419 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2420 (hildon_app_menu_key_press, hildon_app_menu_init)
2421 (hildon_app_menu_finalize):
2422 Make sure that all idle functions are removed when the widget is
2425 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2427 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2432 * configure.ac: Bump version.
2433 * debian/changelog: Updates.
2435 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2437 * src/hildon-entry.c
2438 (+hildon_entry_show_placeholder),
2439 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2440 that replace hildon_entry_update_contents().
2441 (hildon_entry_set_text),
2442 (hildon_entry_set_placeholder),
2443 (hildon_entry_focus_in_event),
2444 (hildon_entry_focus_out_event): Determine when it is needed
2445 either to show or hide the placeholder and call the above methods.
2447 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2448 when the placeholder text is already set)
2450 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2452 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2453 simple GdkPixbufAnim using the new icons for the banner.
2454 (hildon_banner_show_animation): Use the above mentioned method to
2455 create the animation widget.
2457 Fixes: NB#103564 (Make hildon animation banner use individual
2458 image files as the animation)
2460 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2462 * src/hildon-pannable-area.c,
2463 (hildon_pannable_leave_notify_event): Check if the child is NULL
2464 to avoid sending the leave.
2466 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2468 * src/hildon-pannable-area.c,
2469 (hildon_pannable_area_class_init),
2470 (hildon_pannable_leave_notify_event): Added a handler of the
2471 leave-notify-signal to consider when no motion notify before
2474 Fixes: NB#107494 (Items stay selected when clicking and moving
2475 away when inside pannable area)
2477 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2482 * configure.ac: Bump version.
2483 * debian/changelog: Updates.
2485 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2487 Patch by Alberto Garcia (agarcia@igalia.com)
2489 * src/hildon-date-button.c,
2490 (hildon_date_button_class_init),
2491 (hildon_date_button_init): Removed the construct property handling
2492 and created a default selector in the init method.
2493 * src/hildon-picker-button.c,
2494 (hildon_picker_button_class_init): Removed the construct flag of the
2497 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2499 * src/hildon-main.c (hildon_init):
2500 Don't allow hildon_init() to be called more than once.
2502 Fixes: NB#106607 (hildon_init should issue error message upon
2505 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2507 * examples/hildon-pannable-area-touch-list-example.c
2508 * examples/hildon-pannagle-area-touch-grid-example.c
2509 * examples/hildon-edit-toolbar-example.c
2510 * examples/hildon-touch-selector-multi-cells-example.c
2511 Removed the call to gtk_rc_parse_string, as it is not required since
2514 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2516 * src/hildon-pannable-area.c,
2517 (hildon_pannable_area_class_init): Modified the default panning
2518 threshold of the widget to 6px.
2520 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2521 than the threshold value ) within the button is not sending the
2524 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2526 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2527 for the treeview in the new column. This way, the touch list will never
2530 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2531 be selected manually for the HW keys to work)
2533 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2535 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2536 comparison instead of using strcmp(). Fixes a compiler warning as well.
2538 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2540 * doc/hildon-docs.sgml: Do not set the library version in the
2541 document title, use the releaseinfo tag for that purpose instead.
2543 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2546 Do not jump to the first item if the text in the entry is removed.
2548 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2553 * configure.ac: Bump version.
2554 * debian/changelog: Updates.
2556 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2558 * src/hildon-entry.c (hildon_entry_refresh_contents):
2559 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2560 Use "ReversedSecondaryTextColor" for the placeholder text.
2562 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2564 * src/hildon-text-view.c: Fix compilation warning.
2566 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2568 * src/hildon-button.c (hildon_button_class_init): Don't make
2569 "title" and "value" construction properties, to prevent them from
2570 overwriting labels set from derived classes.
2572 * src/hildon-picker-button.c
2573 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2574 (hildon_picker_button_class_init): Make touch-selector a
2575 construction property.
2577 * src/hildon-date-button.c (hildon_date_button_class_init)
2578 (+hildon_date_button_constructed): Add a default date selector if
2581 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2583 * src/hildon-touch-selector.c: Small documentation fixes.
2585 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2587 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2589 * src/hildon-entry.c (hildon_entry_refresh_contents),
2590 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2591 widget name, set the logical color directly instead and a boolean
2592 showing_placeholder instead.
2593 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2594 use the widget name here either.
2596 Fixes: NB#105678 (HildonTextView should use logical colours
2597 instead of setting widget name)
2599 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2601 Patch by Daniel Elster (danielk@openismus.com)
2603 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2604 Add user_data parameter.
2605 (hildon_touch_selector_set_print_func_full): New function akin
2606 hildon_touch_selector_set_print_func() but with support for user
2607 data and a destroy callback.
2608 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2609 to clean up the print function user data.
2610 (hildon_touch_selector_class_init): Install dispose function.
2611 (HildonTouchSelectorPrivate::print_user_data),
2612 (HildonTouchSelectorPrivate::print_destroy_func): New private
2614 (hildon_touch_selector_init): Initialize new private members.
2615 (hildon_touch_selector_get_current_text): Pass along user data
2616 to the print function.
2617 (_default_print_func): Add dummy user_data to parameter list.
2618 * hildon-date-selector.c (_custom_print_func): ditto,
2619 * hildon-time-selector.c (_custom_print_func): ditto,
2620 * hildon-touch-selector-entry.c
2621 (hildon_touch_selector_entry_print_func): ditto.
2623 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2625 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2627 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2629 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2631 * src/hildon-pannable-area.c,
2632 (hildon_pannable_area_init),
2633 (hildon_pannable_area_button_press_cb),
2634 (hildon_pannable_area_motion_notify_cb): We have added code to
2635 handle the leave and enter events when using the motion events.
2637 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2639 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2641 * src/hildon-date-button.c (hildon_date_button_get_date)
2642 (hildon_date_button_set_date): Make sure that the button has a
2645 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2647 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2649 * src/hildon-pannable-area.c,
2650 (hildon_pannable_area_class_init),
2651 (hildon_pannable_area_calculate_velocity): Modify the use of the
2652 force and adapt the value.
2654 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2657 (hildon_app_menu_class_init): Hide the menu if it receives a
2658 delete-event, but don't destroy it
2660 Fixes: NB#104485 (Not able to address the call when application
2661 menu is opened at background)
2663 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2665 * src/hildon-app-menu.c
2666 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2667 Remove the "external-border" style property, let the menu take its
2668 natural size (or the one set by the window manager)
2669 (hildon_app_menu_repack_items):
2670 Don't reshow the menu, avoid flickers.
2672 Partially fixes NB#94957 (Smoothly opened application menu)
2674 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2679 * configure.ac: Bump version.
2680 * debian/changelog: Updates.
2682 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2684 * src/hildon-pannable-area.c,
2685 (hildon_pannable_area_motion_notify_cb): We control that the
2686 direction error margin is used just in case the movement is
2687 allowed in the other direction.
2689 Fixes: NB#105012 (buttons inside a pannable area not getting
2690 release event when dragging/releasing)
2692 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2694 * src/hildon-pannable-area.c,
2695 (hildon_pannable_area_class_init),
2696 (hildon_pannable_area_get_property),
2697 (hildon_pannable_area_set_property),
2698 (hildon_pannable_area_initial_effect),
2699 (hildon_pannable_axis_scroll),
2700 (hildon_pannable_area_button_release_cb): Reviewed the
2701 overshooting effect, now it has its own max
2702 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2703 speed when bouncing.
2705 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2710 * configure.ac: Bump version.
2711 * debian/changelog: Updates.
2713 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2715 * src/hildon-pannable-area.c,
2716 (hildon_pannable_area_class_init): Changed the max speed, now
2717 users can launch the widget very fast. Reduced the default force,
2718 that way it is easier to control the launch speed.
2720 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2722 * src/hildon-pannable-area.c,
2723 (hildon_pannable_area_button_release_cb): Removed this check
2724 because it causes problems when the device is overloaded.
2726 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2728 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2729 add a current_text field to store the text entered in the
2730 touch selector entry.
2731 (_clean_current_selection): clean up the current text as well.
2732 (_save_current_selection), (_restore_current_selection):
2733 Save/restore the text in the entry if the selector is a
2734 HildonTouchSelectorEntry.
2736 Fixes: NB#102541 (value entered in the touch selector entry is not
2737 shown when opened for second time)
2739 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2741 * doc/hildon-sections.txt:
2742 * src/hildon-touch-selector-entry.c
2743 (+hildon_touch_selector_entry_get_entry):
2744 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2746 Fixes: NB#104815 (I need accessor to the entry inside
2747 HildonTouchSelectorEntry)
2749 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2751 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2752 (hildon_app_menu_class_init):
2753 New "filter-vertical-spacing" style property.
2755 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2757 * src/hildon-find-toolbar.c
2758 (hildon_find_toolbar_emit_close)
2759 (hildon_find_toolbar_emit_invalid_input)
2760 (hildon_find_toolbar_entry_activate):
2761 Use g_signal_emit() instead of g_signal_emit_by_name()
2763 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2765 Patch by Mox Soini (ext-mox.soini@nokia.com)
2767 * tests/TEST-CASES.txt
2768 * tests/check-hildon-banner.c
2769 * tests/check-hildon-note.c
2770 * src/hildon-banner.c
2771 * src/hildon-code-dialog.c
2772 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2773 * src/hildon-time-editor.c
2774 * examples/hildon-lookup-example.c (main):
2775 Replace obsolete icon names with new ones.
2777 * src/hildon-find-toolbar-private.h:
2778 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2779 (-hildon_find_toolbar_emit_search):
2780 Remove find button and change icon of close button.
2782 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2784 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-time-button.c (hildon_time_button_new_step):
2787 Use the "touch-selector" property to set the selector directly
2788 when creating the object.
2790 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2792 Added a new example application that allows tuning the pannable
2793 area and replaced defines with properties in order to simplify the
2794 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2795 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2796 PROP_DIRECTION_ERROR_MARGIN.
2798 * examples/hildon-pannable-area-tuning-example.c: New example
2800 * src/hildon-pannable-area.c,
2801 (hildon_pannable_area_class_init),
2802 (hildon_pannable_area_init),
2803 (hildon_pannable_area_get_property),
2804 (hildon_pannable_area_set_property),
2805 (hildon_pannable_area_launch_fade_timeout),
2806 (hildon_pannable_area_adjust_value_changed),
2807 (hildon_pannable_axis_scroll),
2808 (hildon_pannable_area_motion_notify_cb),
2809 (hildon_pannable_area_scroll_cb),
2810 (hildon_pannable_area_button_release_cb): We have converted some
2811 of the defines that control the widget to properties to simplify
2814 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2816 * src/hildon-app-menu.c (hildon_app_menu_map)
2817 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2818 so it's closed if a new window appears.
2820 Fixes: NB#104485 (Not able to address the call when application
2821 menu is opened at background)
2823 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2825 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2826 missing 'break' statement in in 'case' construct to avoid
2829 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2831 * src/hildon-touch-selector-entry.c
2832 (hildon_touch_selector_entry_get_property),
2833 (hildon_touch_selector_entry_set_property): Add missing 'break'
2834 statements in in 'case' constructs to avoid incorrect warnings.
2836 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-time-editor.c
2839 (hildon_time_editor_get_time_separators): Do not crash if
2840 the first label is NULL.
2842 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2844 * src/hildon-date-selector.c (_month_days): Check for month to be
2845 strictly less than 12, since otherwise we may overrun the array.
2847 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2849 * src/hildon-date-button.c (+hildon_date_button_new_full)
2850 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2851 (hildon_date_button_init): Set the date selector using a
2852 construction property, to make it happen after HildonButton's
2853 "value" property is set.
2855 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2856 current date by default)
2858 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2860 * doc/hildon-sections.txt
2861 * src/hildon-program.c
2862 * src/hildon-stackable-window.c
2863 * src/hildon-window.c:
2864 Documentation updates
2866 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2868 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2869 (hildon_window_stack_new, +hildon_window_stack_set_property)
2870 (+hildon_window_stack_get_property)
2871 (hildon_window_stack_class_init)
2872 (+hildon_window_stack_set_window_group)
2873 (+hildon_window_stack_get_window_group):
2874 Make the window group a construction property.
2876 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2878 * doc/hildon-sections.txt
2879 * src/hildon-stackable-window-private.h
2880 * src/hildon-stackable-window.h
2881 * src/hildon-stackable-window.c
2882 (-hildon_stackable_window_set_app_menu)
2883 (-hildon_stackable_window_get_app_menu)
2884 (-hildon_stackable_window_toggle_menu)
2885 (-hildon_stackable_window_finalize)
2886 (hildon_stackable_window_class_init)
2887 (hildon_stackable_window_init)
2888 * src/hildon-window-private.h
2889 * src/hildon-window.h
2890 * src/hildon-window.c (hildon_window_init)
2891 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2892 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2893 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2894 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2895 Moved all HildonAppMenu code to HildonWindow. The menu does not
2896 require a HildonStackableWindow anymore.
2898 * src/hildon-app-menu.c
2899 * src/hildon-program.c
2900 * examples/hildon-app-menu-example.c (main):
2901 Update examples and documentation to reflect HildonAppMenu
2904 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2906 * src/hildon-remote-texture.c
2907 * src/hildon-animation-actor.c:
2908 Don't include unused private headers.
2910 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2912 * src/hildon-program-private.h
2913 * src/hildon-program.c
2914 (hildon_program_set_common_menu)
2915 (hildon_program_get_common_menu)
2916 (hildon_program_set_common_app_menu)
2917 (hildon_program_get_common_app_menu):
2918 Change common menu pointers from GtkWidget* to GtkMenu* and
2919 HildonAppMenu* to avoid unnecessary casts.
2921 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-window.c (hildon_window_set_main_menu):
2924 Removed incorrect 'Since:' tag
2926 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2928 * src/hildon-pannable-area.c,
2929 (hildon_pannable_area_calculate_velocity): We use now the
2930 RATIO_TOLERANCE here to check the distance, fixed typo in the
2932 (hildon_pannable_area_motion_notify_cb): We have to set the type
2933 and time even if we are not sending the motion.
2935 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2937 * doc/hildon-sections.txt
2938 * src/hildon-app-menu.h
2939 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2940 (+hildon_app_menu_get_filters): New methods to get the contents of
2943 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2946 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2948 * src/hildon-app-menu.c (hildon_app_menu_popup):
2951 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2953 * src/hildon-window.h
2954 * src/hildon-window.c (+hildon_window_get_main_menu)
2955 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2956 and deprecated hildon_window_get_menu().
2958 * src/hildon-stackable-window.h
2959 * src/hildon-stackable-window.c
2960 (+hildon_stackable_window_set_app_menu)
2961 (+hildon_stackable_window_get_app_menu)
2962 (hildon_stackable_window_set_main_menu): Created
2963 hildon_stackable_window_{get,set}_app_menu() and deprecated
2964 hildon_stackable_window_set_main_menu().
2966 * doc/hildon-sections.txt
2967 * examples/hildon-app-menu-example.c (main)
2968 * src/hildon-app-menu.c
2969 * src/hildon-program.c:
2970 Updated examples and documentation.
2972 Fixes: NB#103758 (No way to obtain a menu from a
2973 HildonStackableWindow)
2975 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2980 * configure.ac: Bump version.
2981 * debian/changelog: Updates.
2983 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2985 * examples/hildon-remote-texture-example.c: Include
2986 hildon-remote-texture.h explicitely.
2987 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2988 applications not defining _XOPEN_SOURCE which don't require this header.
2990 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2992 * doc/hildon-sections.txt
2993 * src/hildon-app-menu.h
2994 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2995 New function to pop up a HildonAppMenu
2997 * src/hildon-stackable-window.c
2998 (hildon_stackable_window_toggle_menu):
2999 Use hildon_app_menu_popup() to show the menu.
3001 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3003 * src/hildon-app-menu.c (hildon_app_menu_show)
3004 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3005 menu if there's another window between it and its parent window.
3007 Fixes: NB#100468 (Application menu window is launched even when a
3008 new secondary-window/dialog is pending to be shown/realized)
3010 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3012 * src/hildon-window-stack.c (hildon_window_stack_push)
3013 (hildon_window_stack_pop_and_push):
3014 Don't forget to push/pop the first window.
3015 Reverse the window list before calling _push_list()
3017 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3019 * src/hildon-picker-button.h
3020 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3021 Remove "value_changed" slot to avoid ABI breakage
3023 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3025 * src/hildon-pannable-area.c,
3026 (hildon_pannable_area_realize),
3027 (hildon_pannable_area_unrealize),
3028 (hildon_pannable_draw_vscroll),
3029 (hildon_pannable_draw_hscroll): Changed the method to handle the
3030 GC used to draw the transparent scrollbar, this way we avoid
3031 creating the GC all the time when drawing the scrollbars.
3033 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3035 * src/hildon-pannable-area.c,
3036 (hildon_pannable_area_init),
3037 (hildon_pannable_area_remove): Removed some unnecessary casts.
3038 (hildon_pannable_area_dispose): Disconnected some signals before
3039 releasing the adjustments.
3041 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3043 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3044 Make sure that all widgets contained in the toolbar are shown.
3046 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3048 * doc/hildon-sections.txt
3049 * src/hildon-picker-button.h
3050 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3051 (_selection_changed, hildon_picker_button_on_dialog_response)
3052 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3053 New hildon_picker_button_value_changed() method.
3056 * src/hildon-picker-button-private.h
3057 * src/hildon-picker-button.c (hildon_picker_button_init)
3058 (+hildon_picker_button_disable_value_changed): Add protected
3059 function for disabling the "value-changed" signal.
3061 * src/hildon-date-button.c (hildon_date_button_set_date):
3062 Don't emit "value-changed" for each one of the three columns.
3064 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3065 before actual change of values)
3067 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3069 * src/hildon-pannable-area.c,
3070 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3071 for the treeview overshooting.
3073 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3075 * src/hildon-banner.c (+hildon_banner_bind_style):
3076 Renamed from hildon_banner_bind_label_style(), now naming the
3077 banner itself as well.
3078 (hildon_banner_show_information),
3079 (hildon_banner_show_information_with_markup),
3080 (hildon_banner_show_animation), (hildon_banner_show_progress):
3081 Name the widgets and labels, based on their type.
3083 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3086 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3088 * src/hildon-note.c (hildon_note_set_property): call
3089 hildon_note_rename() on HildonNote:note-type set.
3090 (hildon_note_rename): Name the note and its label, based on the
3091 HildonNote:note-type property.
3093 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3096 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3098 * src/hildon-pannable-area.c,
3099 (hildon_pannable_area_class_init),
3100 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3101 panning parameters, increased SPS and deceleration factor. Added
3102 also a margin to control fake directions.
3104 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3106 Patch by Sven Herzberg (sven@imendio.com)
3108 * configure.ac: Add missing AM_PROG_CC_C_0
3109 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3111 See NB#101420 (Update unit tests and fix make check)
3113 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3115 This patch was applied before but reverted because it caused
3116 problems, we have changed the main condition and tested the
3117 regressions we detected before and they work ok. We have done a
3118 complete review of the topmost algorithm in order to get a more
3121 * src/hildon-pannable-area.c,
3122 (hildon_pannable_area_get_topmost): Added a new parameter to
3123 filter the the windows that do not include those events.
3124 (hildon_pannable_area_button_press_cb),
3125 (hildon_pannable_area_button_release_cb),
3126 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3127 topmost function, we have added the new parameter.
3129 Fixes: NB#97458 (Pannable area prevents propagation of button
3132 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3134 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3135 if all columns in the selector have an item selected.
3136 (_on_dialog_response): Stop "response" signal emission if there is
3137 any selector column without selected items.
3139 Fixes: NB#101889 (Picker dialog should not close when nothing is
3140 selected in multiple selection list)
3142 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-font-selection-dialog.c
3145 (hildon_font_selection_dialog_class_init),
3146 (hildon_font_selection_dialog_init): Remove the preview
3147 button and dialog, since previewing with default theming is likely
3148 to be overcomplicated. The :preview property has now no effect.
3149 Update documentation blurbs to inform about this.
3151 Fixes: NB#92297 (Preview content is not clearly visible for
3152 default colour text)
3154 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3156 Reviewed the geometry that handles the children size and
3157 scrollbar, now it tries a size and reviews the results depending
3158 on the scrollbars visibility.
3160 * src/hildon-pannable-area.c,
3161 (hildon_pannable_area_realize): Fixed a typo.
3162 (hildon_pannable_area_child_allocate_calculate): Added this
3163 function to calculate the child allocation.
3164 (hildon_pannable_area_size_allocate): Reviewed the allocation
3166 (hildon_pannable_area_check_scrollbars),
3167 (hildon_pannable_area_refresh): Refactored refresh function, this
3168 way we can call the code handling the scrollbars without causing a
3169 size_request, it is interesting in the allocate.
3170 (hildon_pannable_area_init): Replace the callbacks of the
3171 value_changed and changed signals to propertly deal with the
3173 (hildon_pannable_area_grab_notify),
3174 (hildon_pannable_area_initial_effect),
3175 (hildon_pannable_area_launch_fade_timeout),
3176 (hildon_pannable_area_adjust_changed),
3177 (hildon_pannable_area_adjust_value_changed),
3178 (hildon_pannable_area_redraw),
3179 (hildon_pannable_area_button_press_cb),
3180 (hildon_pannable_area_button_release_cb),
3181 (hildon_pannable_area_scroll_cb),
3182 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3183 code and use the new functions adjust_changed and
3184 adjust_value_changed.
3186 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3187 Contact editor dialog)
3189 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3194 * configure.ac: Bump version.
3195 * debian/changelog: Updates.
3197 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3199 * src/hildon-pannable-area.c,
3200 (hildon_pannable_area_get_topmost),
3201 (hildon_pannable_area_button_press_cb),
3202 (hildon_pannable_area_button_release_cb),
3203 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3204 topmost function adding the event mask. We have to try a
3205 differente approach because it is still causing problems (NB#9745,
3208 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3210 * src/hildon-banner.c:
3211 Update the maximum width of timed banners.
3212 (force_to_wrap_truncated): Enforce the maximum text width if the
3215 Fixes: NB#102413 (The text margins (wrapping) in information
3216 banner should be HILDON_MARGIN_TRIPLE)
3218 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3220 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3222 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3223 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3224 bound when calculating the scroll indicator position.
3226 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3227 treat ->lower correctly)
3229 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3231 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3232 expose event handling, since it is not necessary to draw the focus
3235 Fixes: NB#102467 (Do not show highlight on the text in
3238 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3240 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3241 full height of the toolbar for the button and the label.
3243 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3245 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3246 padding before the label and after the button.
3248 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3250 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3252 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3253 Add a GtkVSeparator between the button and the back arrow.
3254 Let the button have automatic size.
3255 Set a name to the widget for theming handling.
3257 Fixes: NB#101793 (Make edit toolbar the same height as window
3258 title bar (use title area theming))
3260 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3262 * src/hildon-helper.c (attach_new_color_element): Fix memory
3265 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3267 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3269 * examples/hildon-button-example.c (common_buttons_window): Don't
3272 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3274 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3275 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3277 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3279 * src/hildon-gtk.c: Check that the window is realized.
3281 Fixes: NB#102225 (Crash setting the progress indicator to a non
3284 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3287 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3288 instead of modifying the one in the widget style.
3290 Fixes: NB#101043 (Second row of all the command button are
3291 displayed in transparent mode.)
3293 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3295 * src/hildon-date-button.c
3296 * src/hildon-time-button.c: Add gettext macros
3298 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-date-button.c (hildon_date_button_new):
3301 * src/hildon-time-button.c (hildon_time_button_new_step):
3302 Use new logical strings to set the button default title.
3304 Fixes: NB#99915 (Date and Time options are not localised in Date
3307 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3309 * src/hildon-pannable-area.c
3310 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3311 the PANNING_THRESHOLD.
3313 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3315 * src/hildon-pannable-area.c,
3316 (hildon_pannable_area_class_init): Increased the maximum speed.
3317 (hildon_pannable_area_get_property),
3318 (hildon_pannable_area_set_property),
3319 (hildon_pannable_area_timeout): Added a new low friction mode, it
3320 allows the user avoid friction when launching the widget fast
3321 enough. It is interesting to traverse long lists.
3323 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3326 (+hildon_stackable_window_delete_event): Ignore delete events if
3327 the window is not the topmost one.
3329 Fixes: NB#101698 (Back button long press and delete-event handling)
3331 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3333 * src/hildon-pannable-area.c,
3334 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3335 gtk-dnd-drag-threshold, it was too big. We have defined our own
3336 dnd define and set a smaller value: PANNIG_THRESHOLD.
3338 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3340 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3341 user-defined icons, use always the default one.
3343 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3345 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3347 This patch was applied before but reverted because it caused
3348 problems, we have changed the main condition and tested the
3349 regressions we detected before and they work ok.
3351 * src/hildon-pannable-area.c,
3352 (hildon_pannable_area_get_topmost): Added a new parameter to
3353 filter the the windows that do not include those events. Added
3354 also a condition when finding the window to filter windows that do
3355 not ask for those events.
3356 (hildon_pannable_area_button_press_cb),
3357 (hildon_pannable_area_button_release_cb),
3358 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3359 topmost function, we have added the new parameter.
3361 Fixes: NB#97458 (Pannable area prevents propagation of button
3364 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3366 * tests/check-hildon-color-button.c (START_TEST): do not leak
3369 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3371 * src/hildon-font-selection-dialog.c
3372 (hildon_font_selection_dialog_get_preview_text): Return NULL
3373 instead of FALSE on the g_return_val_if_fail().
3375 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3378 * src/hildon-date-selector.c
3379 (hildon_date_selector_select_current_date):
3380 Do not compare unsigned integers to be greater than or equal 0,
3381 because it's always TRUE.
3383 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3385 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3386 (hildon_date_selector_constructor): Do not select the current
3387 date until we are handle the "changed" signal, to avoid having bogus
3388 elements in the days model.
3390 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3392 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3393 for num_days, since _month_days() can return a negative value.
3395 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3397 * src/hildon-caption.c (hildon_caption_size_allocate):
3398 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3399 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3401 Initialize allocation variables to 0, to avoid eventually using
3402 unitialized variables.
3404 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3406 * src/hildon-bread-crumb-trail.c
3407 (hildon_bread_crumb_trail_size_allocate):
3408 * src/hildon-calendar.c (hildon_calendar_set_background):
3409 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3410 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3411 * src/hildon-seekbar.c (hildon_seekbar_init):
3412 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3413 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3414 * src/hildon-touch-selector-entry.c
3415 (hildon_touch_selector_get_text_from_model):
3416 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3417 * src/hildon-window.c (hildon_window_finalize):
3419 Remove many unused variables.
3421 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3423 * src/hildon-seekbar.c: (hildon_seekbar_init),
3424 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3426 Remove unnecessary g_assert() calls.
3428 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3430 * src/hildon-caption.c: (hildon_caption_expose),
3431 (hildon_caption_set_property), (hildon_caption_init),
3432 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3433 (hildon_caption_size_request), (hildon_caption_size_allocate),
3434 (hildon_caption_forall), (hildon_caption_set_separator),
3435 (hildon_caption_activate), (hildon_caption_set_child_expand),
3436 (hildon_caption_set_label_text),
3437 (hildon_caption_get_label_alignment):
3439 Remove unnecessary g_assert() calls.
3441 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3443 * src/hildon-banner.c
3444 (hildon_banner_map, hildon_banner_init): Make banner temporary
3445 before mapping it to avoid closing other temporary windows, but
3446 make it non-temporary afterwards to avoid being closed by other
3447 non-temporary windows.
3448 (-hildon_banner_client_event, hildon_banner_init):
3449 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3451 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3454 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3456 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3459 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3461 * src/hildon-remote-texture.c
3462 * src/hildon-remote-texture.h
3463 * src/hildon-remote-texture-private.h
3464 * examples/hildon-remote-texture-example.c:
3465 Updates/fixes to remote-texture and its example.
3467 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3469 Patch by Mox Soini (ext-mox.soini@nokia.com)
3471 * src/hildon-code-dialog.c: Update logical id.
3472 * src/hildon-set-password-dialog.c: Update logical id.
3474 Fixes: NB#100646 (Logical strings is shown for ok in set
3475 password,Password needed dialogs)
3477 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3480 * src/hildon-remote-texture.c
3481 * src/hildon-remote-texture.h
3482 * src/hildon-remote-texture-private.h
3484 Added remote texture widget (for Clutter shared memory textures)
3486 * examples/hildon-remote-texture-example.c
3487 * examples/Makefile.am
3488 Added example file for remote texture usage
3490 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3492 * configure.ac: post release version bump.
3493 * debian/changelog: version bump.
3495 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3500 * configure.ac: Bump version.
3501 * debian/changelog: Updates.
3503 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3505 * src/hildon-date-selector.c (hildon_date_selector_init)
3506 (hildon_date_selector_constructor): Don't connect to the "changed"
3507 signal until the selector is completely constructed.
3509 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3511 * src/hildon-touch-selector.c: (_create_new_column),
3512 (hildon_touch_selector_append_column),
3513 (hildon_touch_selector_set_column_selection_mode),
3514 (hildon_touch_selector_set_active),
3515 (hildon_touch_selector_select_iter):
3516 Emit the HildonTouchSelector::changed signal every time selection
3517 is changed in any of the methods above. This behavior was already
3518 documented but not fully functional.
3520 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3521 selection is programmatically changed)
3523 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3525 * doc/hildon-sections.txt: Remove obsolete icon
3526 sizes from here as well.
3528 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3530 * examples/hildon-stackable-window-example.c (add_window): Remove
3533 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3535 * src/hildon-app-menu.c
3536 (hildon_app_menu_show): Check whether the parent window of a menu
3537 is topmost before popping it up.
3539 Fixes: NB#100468 (Application menu window is launched even when a
3540 new secondary-window/dialog is pending to be shown/realized.)
3542 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3544 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3547 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3549 Patch by Mox Soini (ext-mox.soini@nokia.com)
3551 * src/hildon-banner.c: (hildon_banner_show_animation):
3552 use stylus size instead of obsolete note size.
3553 * src/hildon-defines.h: Update icon sizes.
3555 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-touch-selector-entry.c:
3558 (hildon_touch_selector_entry_init): Disable unsupported
3560 (hildon_touch_selector_entry_get_text_column): Emit a warning
3561 if an unsupported input modes is used and explicitile state
3562 these modes in the documentation.
3564 Fixes: NB#99802 (Hildon touch selector entry not working properly
3565 for some of the input modes)
3567 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3569 * src/hildon-pannable-area.c,
3570 (hildon_pannable_area_init): Added the changed signal handlers of
3573 Fixes: NB#100320 (HildonPannableArea does not listen to
3574 GtkAdjustment "change" signals)
3576 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3578 * doc/hildon-sections.txt
3579 * src/hildon-window-private.h
3580 * src/hildon-window.h
3581 * src/hildon-window.c (hildon_window_init)
3582 (hildon_window_realize, hildon_window_unrealize)
3583 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3584 (hildon_window_size_request, hildon_window_size_allocate)
3585 (hildon_window_forall, hildon_window_show_all)
3586 (hildon_window_destroy, +paint_edit_toolbar)
3587 (+hildon_window_set_edit_toolbar):
3588 New hildon_window_set_edit_toolbar() method, to add a
3589 HildonEditToolbar to a window without having to pack it manually.
3591 Reorganize hildon_window_size_allocate()
3593 * src/hildon-edit-toolbar.c: Update documentation.
3595 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3596 example to use the new API.
3598 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3600 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3602 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3603 Remove from stack before calling parent's hide.
3605 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3607 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3608 window is removed from the middle of the stack, update the
3609 transiency of the previous one.
3611 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3614 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3616 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3617 block/unblock the signal handler if it's not actually being used.
3618 Fixes some critical warnings.
3620 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3622 Based on a patch by Iván Gómez (igomez@igalia.com)
3624 * src/hildon-banner.c
3628 * src/hildon-pannable-area.c
3629 * src/hildon-picker-dialog.c
3630 * src/hildon-wizard-dialog.h
3631 * src/hildon-wizard-dialog.c: Documentation updates.
3633 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3634 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3636 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3638 * configure.ac: post release version bump.
3639 * debian/changelog: version bump.
3641 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3646 * configure.ac: Bump version.
3647 * debian/changelog: Updates.
3649 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3651 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3652 a stock icon nor change the relief of the back arrow.
3654 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3655 graphics from theme)
3657 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3659 * src/hildon-button.c (hildon_button_set_alignment): Use
3660 priv->alignment if the button has no child yet.
3662 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-button.c: (hildon_button_init): Set the
3665 button style during initialization to give it the proper
3668 Fixes: NB#99713 (HildonButton value label color is wrong)
3670 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3672 * src/hildon-touch-selector.c: Document
3673 hildon_touch_selector_center_on_selected()
3675 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3677 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3678 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3679 all menu items, but not the menu itself.
3680 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3681 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3682 items after adding them to the menu so keyboard accelerators work.
3683 (hildon_app_menu_show): Don't show the menu if it contains items
3684 but none of them are visible.
3686 * examples/hildon-app-menu-example.c (create_menu): Use
3687 gtk_widget_show_all() to show all menu items.
3689 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3691 * src/hildon-picker-dialog.c:
3692 (-_update_title_on_selector_changed_cb),
3693 (-_dialog_update_title): Removed.
3694 (_select_on_selector_changed_cb), (_on_dialog_response),
3695 (on_selector_columns_changed): Do not update the dialog title.
3696 (setup_interaction_mode): Do not connect to
3697 HildonTouchSelector::changed signal if there's a "done" button, as
3698 the dialog title doesn't need to be updated.
3700 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3703 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3705 Patch by Kristian Rietveld (kris@imendio.com)
3707 * src/hildon-touch-selector.c: (_create_new_column): Use new
3708 GtkTreeView::hildon-row-tapped signal to react to user interactions
3709 instead of ::changed.
3711 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3712 with some dynamic tree model)
3714 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3717 (+screen_size_changed, +label_size_request)
3718 (hildon_note_class_init): Make the Hildon information note have a
3719 minimum height, and make its text hvae a maximum width.
3721 Fixes: NB#98614 (Hildon information note (background) should have
3722 minimum height and maximum text width)
3724 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3726 * src/hildon-banner.h
3727 * src/hildon-banner.c (hildon_banner_show_information)
3728 (hildon_banner_show_informationf)
3729 (hildon_banner_show_information_with_markup): Update documentation
3730 to reflect that the icon_name parameter is not used anymore.
3731 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3732 Remove all code from these functions and mark them as deprecated.
3733 (hildon_banner_show_progress): Mark as deprecated.
3735 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3737 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3739 * src/hildon-pannable-area.c,
3740 (hildon_pannable_area_class_init),
3741 (tranparency_color),
3742 (hildon_pannable_draw_vscroll),
3743 (hildon_pannable_draw_hscroll),
3744 (hildon_pannable_area_expose_event): Added a new way to render the
3745 scrollbars of the pannable area avoiding using cairo at all. This
3746 way we improve the performance of the pannable area rendering. The
3747 cairo rendering procedure is still in the code, we can control
3748 which one to use changing the value of the define
3749 USE_CAIRO_SCROLLBARS.
3751 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3753 * configure.ac: post release version bump.
3754 * debian/changelog: version bump.
3756 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3761 * configure.ac: Bump version.
3762 * debian/changelog: Updates.
3764 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3766 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3767 banners instead of destroying them when they receive a button
3770 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3772 Reverted commit 34028, it was causing regressions, probably the
3773 topmost condition is not correct, we have to check it in more
3774 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3775 propagation of button press events)
3777 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3779 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3780 that the selection is not empty before attempting to retrieve the
3781 current ampm selection.
3783 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3785 * src/hildon-picker-button.c:
3786 (hildon_picker_button_on_dialog_response): Directly update the
3787 button contents when required instead of calling _selection_changed.
3789 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3791 * src/hildon-program.c (hildon_program_update_top_most): Update
3792 'is-topmost' property also when wm_hints is not set.
3794 Fixes: NB#98383 (is-topmost signal is not emitted when task
3795 switcher is clicked.)
3797 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3799 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3803 * src/hildon-animation-actor.c,
3804 * src/hildon-animation-actor.h: Added the animation actor class,
3805 this widget represents an animation actor for WM-assisted
3806 animation effects in the Hildon framework.
3808 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3810 * src/hildon-window-stack-private.h
3811 * src/hildon-window-stack.c
3812 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3813 Avoid calling gtk_widget_show() again indirectly from
3814 hildon_stackable_window_show()
3816 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3818 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3821 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3823 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3824 (hildon_time_selector_init): Move the construction of the hours and
3825 ampm columns to the constructor to preserve the order the columns
3828 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3830 * src/hildon-picker-dialog.c:
3831 (hildon_picker_dialog_class_init): Connect a realize method.
3832 (+hildon_picker_dialog_realize): Setup the interaction mode here
3834 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3835 yet, do it during the realize instead.
3836 (_on_dialog_response):
3837 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3838 if the widget is not realized, to avoid the dialog response before it
3841 Avoid premature responses in the HildonPickerDialog that can cause it
3842 to be hidden before it's even shown.
3844 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3846 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3847 (on_selector_columns_changed), (requires_done_button),
3848 (+prepare_action_area), (setup_interaction_mode),
3849 (_hildon_picker_dialog_set_selector):
3851 Split the interaction mode setup into preparation of the
3852 action area (prepare_action_area()) and the connection of
3853 the signals in setup_interaction_mode() and update the code to
3856 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3858 * src/hildon-pannable-area.c,
3859 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3860 per second to 15, we will check if this is ok regarding
3863 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3865 * src/hildon-pannable-area.c,
3866 (hildon_pannable_axis_scroll): Avoid resize if we already have
3867 reached overshoot_max.
3869 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3871 * src/hildon-pannable-area.c,
3872 (hildon_pannable_area_init),
3873 (hildon_pannable_area_realize),
3874 (hildon_pannable_area_size_allocate),
3875 (hildon_pannable_area_map),
3876 (hildon_pannable_area_unmap),
3877 (hildon_pannable_draw_vscroll),
3878 (hildon_pannable_draw_hscroll),
3879 (hildon_pannable_area_expose_event),
3880 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3881 pannable are to avoid the expose events go to the window and
3882 redraw the window. We save this way that part of the stack and the
3883 paint_boxes. We had to change the positions of the elements when
3886 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3888 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3889 * src/hildon-color-chooser-dialog.c:
3890 (hildon_color_chooser_dialog_init):
3891 * src/hildon-font-selection-dialog.c:
3892 (hildon_font_selection_dialog_init),
3893 (hildon_font_selection_dialog_show_preview):
3894 * src/hildon-get-password-dialog.c:
3895 * src/hildon-login-dialog.c:
3896 * src/hildon-set-password-dialog.c:
3897 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3898 * src/hildon-time-picker.c: (hildon_time_picker_init):
3900 Remove obsolete logical string IDs and update to the appropriate ones.
3902 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3904 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3906 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3907 that happens if the window hasn't been realized yet.
3909 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3910 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3912 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3914 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3915 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3918 Fixes: NB#98537 (Device hangs in account settings dialog)
3920 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3922 * configure.ac: post release version bump.
3923 * debian/changelog: version bump
3925 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3930 * configure.ac: Bump version.
3931 * debian/changelog: Updates.
3933 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3935 Added a new function to the HildonTimeButton widget that allows to
3936 change the step of the minutes in the selector associated with the
3937 button: hildon_time_button_new_step
3939 * src/hildon-time-button.c,
3940 (hildon_time_button_init),
3941 (hildon_time_button_new),
3942 (hildon_time_button_new_step):
3943 * src/hildon-time-button.h: Added the new function and refactored
3945 * examples/hildon-time-button-example.c,
3946 (main): We have replaced the function without parameters with the
3947 function with the steps set to 5
3949 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3951 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3953 * src/hildon-time-selector.c,
3954 (hildon_time_selector_class_init),
3955 (hildon_time_selector_constructor),
3956 (hildon_time_selector_get_property),
3957 (hildon_time_selector_set_property),
3958 (_create_minutes_model),
3959 (hildon_time_selector_new_step),
3960 (hildon_time_selector_set_time),
3961 * src/hildon-time-selector.h: Added a new property to the
3962 HildonTimeSelector (minutes-step), we use that property to control
3963 the steps between the minutes in the list of the selector. We have
3964 added a new function to the API to create a widget changing the
3965 step: hildon_time_selector_new_step.
3967 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3969 * src/hildon-time-selector.c,
3970 (hildon_time_selector_class_init),
3971 (hildon_time_selector_constructor),
3972 (hildon_time_selector_init): Overrided the construct function when
3973 creating the time selector object. We have moved the minutes model
3974 handling code from the init to the new construction function:
3975 hildon_time_selector_constructor.
3977 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3979 * examples/hildon-date-button-example.c: (main): Use the new
3980 hildon_date_button_new_with_year_range() method in the example.
3981 * src/hildon-date-button.c:
3982 (+hildon_date_button_new_with_year_range): New public method
3983 to conveniently create a HildonDateButton with a custom year range
3984 in its HildonDateSelector.
3985 * src/hildon-date-button.h: Add the new public method definition.
3987 Fixes: NB#97908 (Not possible to change the year range in
3988 HildonDateSelector/HildonDateButton)
3990 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3992 * src/hildon-date-selector.c:
3993 (+hildon_date_selector_set_property),
3994 (+hildon_date_selector_get_property),
3995 (hildon_date_selector_class_init): Install new properties "min-year"
3996 and "max-year" to define boundaries for the year column.
3997 (_create_year_model): Use the boundary properties to populate the model.
3998 (+hildon_date_selector_new_with_year_range): New public method to
3999 create a HildonDateSelector with a user defined year range.
4000 (hildon_date_selector_select_current_date): Use the new boundaries to
4001 calculate the iterator of current year.
4002 * src/hildon-date-selector.h: Add the new public method definition.
4004 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4006 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4007 Install a constructor method.
4008 (+hildon_date_selector_construct_ui): construct the widget.
4009 (+hildon_date_selector_constructor): new constructor.
4010 (+hildon_date_selector_init): move out widget construction code to
4011 the new constructor.
4013 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4015 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4016 that there's actually a month or year selected before obtaining them.
4017 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4018 of the HildonTouchSelector::changed signal, as it was emitted on every
4019 single item selection.
4021 Fix some warnings and possible crashers due to the selection restoring.
4023 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4025 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4026 the signal handlers only after creating the dialog instead of on every
4029 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4031 * src/hildon-button.c (hildon_button_init)
4032 * src/hildon-check-button.c (hildon_check_button_init)
4033 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4034 focus when clicked by default.
4036 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4038 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4041 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4043 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4044 Alejandro G. Castro (alex@igalia.com)
4046 * src/hildon-picker-dialog.c:
4047 (hildon_picker_dialog_class_init): install new "center-on-show"
4049 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4050 (hildon_picker_dialog_set_property): add setter code for the new
4052 (hildon_picker_dialog_get_property): add getter code for the new
4054 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4055 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4058 Fixes: NB#92849 (Selected item is not always visible when
4059 HildonTouchSelector is shown)
4061 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4063 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4064 Alejandro G. Castro (alex@igalia.com)
4066 * src/hildon-touch-selector.c:
4067 (_create_new_column): Do not connect to the "realize" signal of the
4069 (hildon_touch_selector_append_column): center on the selected items
4070 when a new column is appended.
4071 (hildon_touch_selector_select_iter): Factor out the code to select a
4072 column to hildon_touch_selector_scroll_to().
4073 (+search_nearest_element): Method to retrieve the nearest selected
4074 element to the visible area of the pannable area in a column.
4075 (+on_realize_cb): scroll to the initially selected item.
4076 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4077 the pannable area is realized, otherwise delay this until it is.
4078 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4079 selected items of a given column.
4080 (+hildon_touch_selector_center_on_selected): Public method to center
4081 all columns on the nearest selected item.
4082 * src/hildon-touch-selector.h: Add definition for
4083 hildon_touch_selector_center_on_selected().
4085 Implement public API to ensure visibility of all selected items in
4086 a HildonTouchSelector.
4088 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4090 Fixed a problem in the fading when calling the scroll_to API, and
4091 improve scrollbar fading handling.
4093 * src/hildon-pannable-area.c,
4094 (hildon_pannable_area_grab_notify): avoid the timeout when the
4096 (hildon_pannable_area_button_press_cb),
4097 (hildon_pannable_area_motion_notify_cb): Code style changes.
4098 (hildon_pannable_area_button_release_cb): Review the conditions
4099 when releasing the mouse button to avoid unrequired fading
4101 (hildon_pannable_area_scroll_to): Do not calculate and set the
4102 velocity if the scroll is not required.
4104 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4106 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4107 Don't check whether the new selector is NULL: it cannot be.
4108 Hold a reference to the selector while doing the replacement.
4110 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4112 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4113 unnecessary size_request in a removed widget.
4115 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4118 an unnecessary reference tracking that was leaking.
4120 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4122 Added delayed motion notify event handling, this way we can
4123 discard redrawing if more than 25 events arrive per second.
4125 * src/hildon-pannable-area.c,
4126 (hildon_pannable_area_init): Initialized the new private atributes
4127 controlling this timeout
4128 (hildon_pannable_area_dispose): Remove the timeout that controls
4129 the motion notify events.
4130 (hildon_pannable_area_scroll): Added a condition to control the
4131 use of the acceleration.
4132 (hildon_pannable_area_motion_event_scroll_timeout),
4133 (hildon_pannable_area_motion_event_scroll): Added this two
4134 functions, they handle the motion notify events inside the
4136 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4137 to the scroll method with the new function.
4138 (hildon_pannable_area_button_release_cb): We have to remove the
4139 timeout handler and move to the last position if the last motion
4140 events were not handled.
4142 Fixes: NB#97028 (Pannable area updates on every motion event)
4144 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4146 * src/hildon-pannable-area.c,
4147 (hildon_pannable_area_get_topmost): Added a new parameter to
4148 filter the the windows that do not include those events. Added
4149 also a condition when finding the window to filter windows that do
4150 not ask for those events.
4151 (hildon_pannable_area_button_press_cb),
4152 (hildon_pannable_area_button_release_cb),
4153 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4154 topmost function, we have added the new parameter.
4156 Fixes: NB#97458 (Pannable area prevents propagation of button
4159 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4161 * src/hildon-pannable-area.c,
4162 (hildon_pannable_area_initial_effect): Added controls before
4163 launching the timeout and the idle functions.
4164 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4165 of the method, in some situations it can return with TRUE and 0 in
4167 (hildon_pannable_area_button_press_cb): We do not need to set
4168 DELAY for fading out here.
4170 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4172 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4174 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4175 post-cleaning if the selection is not NULL.
4177 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4179 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4180 all items before restoring the selection.
4182 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-touch-selector.c:
4185 (+hildon_touch_selector_unselect_all):
4186 * src/hildon-touch-selector.h: New API to unselect all items in a
4187 column of the touch selector.
4189 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4191 * src/hildon-pannable-area.c,
4192 (hildon_pannable_area_redraw): Added a call to the refresh
4193 function inside the redraw because apparently in some cases the
4194 change in the adjustment does not imply a size allocate.
4196 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4197 despite the view not being scrollable)
4199 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4201 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4202 leak. Check for NULL before attempting to set the window title.
4204 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4206 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4207 whether to show or not the 'Done' button each time the dialog is
4208 shown, as it depends on the HildonTouchSelector selection mode.
4210 Fixes: NB#96226 (In multiple selection mode Done button is shown
4211 sometimes in listpicker)
4213 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4215 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4216 for the number of columns in the HildonTouchSelector more than once.
4218 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4220 * src/hildon-touch-selector.c: Minor documentation fixes.
4222 * src/hildon-picker-dialog.c (+_dialog_update_title)
4223 (_select_on_selector_changed_cb)
4224 (_update_title_on_selector_changed_cb)
4225 (on_selector_columns_changed): Update dialog title when there's no
4226 'Done' button and also when the number of columns in the selector
4230 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4231 (+_selection_changed, hildon_picker_button_on_dialog_response)
4232 (hildon_picker_button_selector_selection_changed)
4233 (+hildon_picker_button_selector_columns_changed)
4234 (hildon_picker_button_set_selector): Update button value and emit
4235 'value-changed' when the number of columns in the selector
4239 Fixes: NB#96225 (Dialog titles are not shown according to the
4240 values selected in the list picker)
4242 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4244 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4245 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4246 New "arrow-width" and "arrow-height" style properties to set the
4247 size of the arrow button.
4248 Set name of arrow button ("hildon-edit-toolbar-arrow").
4250 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4251 graphics from theme)
4253 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-picker-button.c:
4256 (hildon_picker_button_selector_selection_changed): Use
4257 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4258 the dialog is present.
4260 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4261 the selection is accepted in the dialog)
4263 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4265 * src/hildon-color-chooser.h
4266 * src/hildon-color-chooser-dialog.h:
4267 Added G_BEGIN_DECLS and G_END_DECLS
4269 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4271 (_clean_current_selection): plug a leak in the list.
4273 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4275 * src/hildon-picker-dialog.c:
4276 (+free_path_list): Method to free a GList of GtkTreePaths.
4277 (_clean_current_selection), (_save_current_selection),
4278 (_restore_current_selection): Save the current selection in
4279 as a list of lists, to support multiple selection properly.
4281 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4283 patch by Claudio Saavedra (csaavedra@igalia.com)
4285 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4286 Store the press position.
4287 (+hildon_text_view_button_release_event): If the release position is
4288 close enough to the press position, move the cursor here. Otherwise,
4290 (hildon_text_view_class_init): Override GtkTextView press, release, and
4291 motion event handlers, disabling this way text selection through
4292 pointer interaction, and allowing the container widget to handle the
4295 Fixes: NB#95828 (HildonTextView functionality)
4297 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4299 Based on a patch by Iván Gómez (igomez@igalia.com)
4301 * src/hildon-button.[ch]
4302 * src/hildon-calendar.c
4303 * src/hildon-check-button.c
4304 * src/hildon-date-editor.c
4305 * src/hildon-date-selector.c
4306 * src/hildon-picker-button.c
4307 * src/hildon-time-editor.c
4308 * src/hildon-time-selector.c
4309 * src/hildon-touch-selector.[ch]:
4310 Documentation updates
4312 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4314 * src/hildon-pannable-area.c,
4315 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4316 threshold, it was required due to X events handling.
4318 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4320 * src/hildon-pannable-area.c,
4321 (hildon_pannable_area_grab_notify),
4322 (hildon_pannable_area_initial_effect),
4323 (hildon_pannable_area_button_press_cb),
4324 (hildon_pannable_area_button_release_cb),
4325 (hildon_pannable_area_scroll_cb),
4326 (hildon_pannable_area_scroll_to): Review the timeout management of
4327 the scrollbar, the frecuency was incorrectly set.
4329 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4331 * src/hildon-picker-button.c:
4332 (+hildon_picker_button_on_dialog_response),
4333 (hildon_picker_button_clicked): Present the dialog instead of
4334 running it with gtk_dialog_run().
4336 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4339 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4341 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4342 (hildon_app_menu_finalize): When a window is hidden it doesn't
4343 emit notify::is-topmost, so make sure than the menu also
4344 disappears in that case.
4345 (parent_window_topmost_notify): Renamed from parent_window_hidden
4347 Fixes: NB#94460 (stackable window's menu is not closed when its
4350 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4352 * src/hildon-touch-selector-entry.c:
4353 (+hildon_touch_selector_entry_set_input_mode),
4354 (+hildon_touch_selector_entry_get_input_mode):
4355 * src/hildon-touch-selector-entry.h: New methods to access the input
4356 mode in the selector's entry.
4358 Fixes: NB#93410 (API required for setting IM mode in
4359 HildonTouchSelectorEntry)
4361 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4363 * configure.ac: post release version bump.
4364 * debian/changelog: version bump
4366 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4371 * configure.ac: Bump version.
4372 * debian/changelog: Updates.
4374 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4376 * src/hildon-touch-selector.c:
4377 (_hildon_touch_selector_has_multiple_selection): No need
4378 to initialize the variables here.
4380 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4382 * src/hildon-note-private.h
4383 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4384 (hildon_note_finalize, hildon_note_rebuild): Close information
4385 notes when they receive a button press.
4387 Fixes: NB#89890 (Information notes does not get disappeared after
4390 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4392 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4393 mark from the wizard title, as it's not really necessary. Also,
4394 do not display the page title if not set.
4396 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4398 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4399 (parent_window_hidden): Use the window's "is-topmost" property to
4400 detect when to hide the menu.
4402 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4404 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4405 (hildon_app_menu_finalize): If the parent window of the menu is
4406 hidden, hide the menu too.
4408 Fixes: NB#94460 (stackable window's menu is not closed when its
4411 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4414 * debian/libhildon1-examples.install
4416 * examples/Makefile.am:
4417 Use dh_install to install all examples.
4418 Use DEB_SRCDIR instead of defining SOURCE_DIR
4420 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4422 * configure.ac: post release version bump.
4423 * debian/changelog: version bump
4425 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4430 * configure.ac: bump version
4431 * debian/changelog: updates
4432 * debian/control: bump gtk+ dependency
4434 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4436 patch by Christian Dywan (christian@imendio.com)
4438 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4439 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4441 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4443 * src/hildon-check-button.c (hildon_check_button_init)
4444 (hildon_check_button_class_init, hildon_check_button_style_set)
4445 (hildon_check_button_apply_style):
4446 New "checkbox-size" style property.
4448 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4449 larger / configurable size)
4451 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4453 * configure.ac: post release version bump.
4454 * debian/changelog: version bump
4456 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4461 * configure.ac: bump version
4462 * debian/changelog: updates
4464 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4466 * doc/hildon-sections.txt
4467 * src/hildon-pannable-area.c
4468 * src/hildon-program.c
4469 * src/hildon-time-editor.c
4470 * src/hildon-touch-selector-entry.c:
4472 More documentation updates.
4474 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4476 * doc/hildon-sections.txt
4477 * src/hildon-caption.c
4478 * src/hildon-code-dialog.c
4479 * src/hildon-color-button.c
4480 * src/hildon-controlbar.c
4481 * src/hildon-date-editor.c
4482 * src/hildon-date-selector.c
4483 * src/hildon-edit-toolbar.c
4484 * src/hildon-find-toolbar.c
4485 * src/hildon-font-selection-dialog.c
4487 * src/hildon-program.c
4488 * src/hildon-range-editor.c
4489 * src/hildon-seekbar.c
4490 * src/hildon-time-editor.c
4491 * src/hildon-time-selector.c
4492 * src/hildon-volumebar-range.c
4493 * src/hildon-volumebar.c
4494 * src/hildon-vvolumebar.c
4495 * src/hildon-weekday-picker.c
4496 * src/hildon-window.c
4497 * src/hildon-wizard-dialog.c:
4499 Lots of documentation fixes.
4501 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4503 Patch contributed by Iván Gómez (igomez@igalia.com)
4505 * src/hildon-check-button.c:
4506 * src/hildon-date-button.c:
4507 * src/hildon-date-selector.c:
4508 * src/hildon-dialog.c:
4509 * src/hildon-edit-toolbar.c:
4510 * src/hildon-entry.c:
4511 * src/hildon-picker-button.c:
4512 * src/hildon-program.c:
4513 * src/hildon-text-view.c:
4514 * src/hildon-time-button.c:
4515 * src/hildon-touch-selector-entry.c:
4516 * src/hildon-window-stack.c:
4518 Add more "since" tags to the new API.
4520 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4522 * doc/hildon-sections.txt: Add below method.
4523 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4524 version for the hildonized scale.
4525 * src/hildon-gtk.h: Add the definition.
4527 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4529 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4531 * doc/hildon-sections.txt: Add missing entries for new methods.
4533 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4535 Added API to pannable are in order to get its adjustments. We
4536 added two properties to manage the values we had in the private
4539 * src/hildon-pannable-area.c:
4540 (hildon_pannable_area_class_init): Added hadjustment and
4541 vadjustment properties in order to expose horizontal and vertical
4543 (hildon_pannable_area_get_property),
4544 (hildon_pannable_area_set_property): Added code to handle the new
4546 (hildon_pannable_area_get_hadjustment),
4547 (hildon_pannable_area_get_vadjustment): API functions to get the
4549 * src/hildon-pannable-area.h:
4550 (hildon_pannable_area_get_hadjustment),
4551 (hildon_pannable_area_get_vadjustment): API functions to get the
4554 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4556 Fixed some leaks, after valgrinding.
4558 * src/hildon-touch-selector.c:
4559 (_default_print_func): Fixed a leak.
4560 (hildon_touch_selector_append_column): Fixed a leak.
4561 * src/hildon-date-button.c:
4562 (hildon_date_button_init): Fixed a leak.
4563 * src/hildon-date-selector.c
4564 (hildon_date_selector_finalize): Fixed a leak.
4566 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4568 Based on a patch by Christian Dywan (christian@imendio.com)
4570 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4572 * src/hildon-gtk.h: Add definition.
4574 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4576 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4578 * src/hildon-picker-button.c: (hildon_picker_button_init),
4579 (hildon_picker_button_new): Set the HildonButton::style property
4580 in the init method, to propagate the value to the derived classes.
4582 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4584 * src/hildon-button.c: (hildon_button_class_init): Do not make
4585 the "style" property a construct property.
4587 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4589 * src/hildon-wizard-dialog.h
4590 * src/hildon-wizard-dialog.c
4591 (hildon_wizard_dialog_set_forward_page_func)
4592 * src/hildon-pannable-area.h
4593 * src/hildon-pannable-area.c
4594 (hildon_pannable_area_set_size_request_policy):
4595 Documentation fixes.
4597 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4599 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4601 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4603 * doc/hildon-sections.txt: Added sections file.
4605 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4608 * src/*.[ch]: Updates.
4610 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4612 * examples/hildon-progress-indicator-example.c: new file
4613 * examples/Makefile.am: include the new example program
4615 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4617 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4619 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4621 * configure.ac: post release version bump
4622 * debian/changelog: version bump
4624 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4629 * configure.ac: bump version
4630 * debian/changelog: updates
4631 * debian/control: bump gtk+ dependency
4633 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4635 * src/hildon-dialog.c: Mark as deprecated.
4636 * src/hildon-dialog.h: Mark as deprecated.
4637 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4638 from HildonDialog and still work, even if
4639 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4640 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4642 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4643 maemo changes) instead)
4645 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4647 * src/hildon-pannable_area.h:
4648 * src/hildon-pannable_area.c:
4649 (hildon_pannable_area_class_init),
4650 (hildon_pannable_area_set_property),
4651 (hildon_pannable_area_get_property),
4652 (hildon_pannable_area_size_request),
4653 (hildon_pannable_area_get_size_request_policy),
4654 (hildon_pannable_area_set_size_request_policy): Added new API
4655 allowing applications to control the request policy. Now they can
4656 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4657 children allocation (HILDON_MOVEMENT_CHILDREN).
4659 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4663 (hildon_gtk_tree_view_set_ui_mode)
4664 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4665 mode of treeviews and iconviews.
4667 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4669 * src/hildon-touch-selector-entry.c:
4670 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4671 of a GtkEntry to get proper theming.
4673 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4674 widget, not GtkEntry)
4676 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4678 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4679 no HildonWizardDialogPageFunc.
4681 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4683 Patch contributed by Iván Gómez (igomez@igalia.com)
4685 * src/hildon-app-menu.c:
4686 * src/hildon-button.c:
4687 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4688 * src/hildon-stackable-window.c:
4689 * src/hildon-time-selector.c:
4690 * src/hildon-touch-selector.c:
4691 * src/hildon-window.c:
4693 Add more "since" tags to the new API in hildon 2.2.
4695 2008-12-05 Tim Janik <timj@imendio.com>
4697 Patch contributed by Christian Dywan (christian@imendio.com)
4699 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4700 HildonSizeType, which are supplied by Gtk+ now.
4702 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4704 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4705 (with maemo changes) instead)
4707 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4709 Patch contributed by Iván Gómez (igomez@igalia.com)
4711 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4714 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4716 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4717 (some_page_func), (main): Update the example to use a
4718 HildonWizardDialogPageFunc function.
4720 * src/hildon-wizard-dialog-private.h: Add private data for
4721 the HildonWizardDialogPageFunc function usage.
4723 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4724 (destroy), (hildon_wizard_dialog_init), (response),
4725 (hildon_wizard_dialog_set_forward_page_func):
4726 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4727 that applications can use to stop a HildonWizardDialog to jump to
4730 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4733 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4735 * src/hildon-program.h
4736 * src/hildon-program-private.h
4737 * src/hildon-program.c (hildon_program_init)
4738 (hildon_program_set_common_app_menu)
4739 (hildon_program_get_common_app_menu):
4740 New API for setting a common HildonAppMenu for all
4741 HildonStackableWindows registered with the HildonProgram.
4743 * src/hildon-stackable-window.c
4744 (hildon_stackable_window_toggle_menu):
4745 Use the common HildonAppMenu if a window doesn't have a specific
4748 * src/hildon-app-menu-private.h
4749 * src/hildon-app-menu.c
4750 (hildon_app_menu_get_parent_window):
4751 Function to obtain the window a HildonAppMenu is attached to.
4752 (hildon_app_menu_set_parent_window):
4753 Hide the menu if the parent window is set to NULL.
4755 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4757 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4758 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4759 search widget to popup.
4761 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4763 * configure.ac: post release version bump
4764 * debian/changelog: version bump
4766 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4771 * configure.ac: bump version
4772 * debian/changelog: updates
4774 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4776 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4778 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4779 (hildon_window_stack_window_realized)
4780 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4781 Set the leader GdkWindow when a window is stacked and realized,
4782 unset it when it's unstacked.
4783 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4785 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4787 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4789 * src/hildon-stackable-window.h
4790 * src/hildon-window-stack.h:
4791 Protect definition of HildonWindowStack using the preprocessor.
4793 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4795 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4796 Fix warning if all menu items are hidden.
4798 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4800 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4802 * src/hildon-controlbar.c:
4803 * src/hildon-hvolumebar.c:
4804 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4805 Multiple scale size defines updates.
4807 Fixes: NB#94322 (Scale Updates)
4809 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4811 * examples/hildon-app-menu-example.c (create_menu)
4812 Show items after adding them to the menu, as in the future the
4813 menu will no longer call gtk_widget_show() on the added items.
4815 * src/hildon-app-menu.c:
4816 Update example as explained above.
4818 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4820 * src/hildon-app-menu.c
4821 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4822 Make sure that all menu items have finger height.
4824 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4826 * src/hildon-picker-dialog.c:
4827 (_on_dialog_response), (_save_current_selection),
4828 (_restore_current_selection), (_clean_current_selection),
4829 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4830 Defined new functions in order to save the current internal selector
4831 selection previous open the dialog, in case that the use cancel the
4832 interaction, so the widget restores the previous selection.
4834 Fixes: NB#92032 (In calendar application, date values in 'new event'
4837 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4839 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4841 * src/hildon-button.c: Add a reference to the button examples in
4842 hildon-button-example.c
4844 * examples/hildon-button-example.c: Added examples of the most
4845 common button layouts.
4847 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4849 * src/hildon-app-menu.c (hildon_app_menu_show)
4850 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4852 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4854 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4856 * src/hildon-picker-dialog.c:
4857 (hildon_picker_dialog_init): Initialize the signal id for
4858 HildonTouchSelector::columns-changed.
4859 (+on_selector_columns_changed): Set up the interaction mode everytime a
4860 column is added or removed from the HildonTouchSelector.
4861 (_hildon_picker_dialog_set_selector): Connect to
4862 HildonTouchSelector::columns-changed and keep track of it.
4864 Make sure to update the interaction mode of the dialog everytime a
4865 column is added or removed in the HildonTouchSelector.
4867 Fixes: NB#93228 (Done button is not shown always in listpicker)
4869 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4871 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4872 a new ::columns-changed signal.
4873 (hildon_touch_selector_append_column): Emit ::columns-changed.
4874 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4876 Add a ::columns-changed signal, emitted when the number of columns in a
4877 HildonTouchSelector changes.
4879 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4881 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4882 (_hildon_picker_dialog_set_selector): Factor out the code
4883 to set up the dialog interaction mode.
4885 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4887 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4888 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4889 to signal_changed_id.
4891 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4893 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4896 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4898 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4899 Updated the logical ids related to ampm format, as now it is required to
4900 show it correctly localized even on languages with no default
4901 abbreviations for am or pm
4902 (_check_am_pm_format): check correctly the 24h format gconf property
4904 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4906 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4908 * src/hildon-button.c: Documentation updates.
4910 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4912 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4913 * src/hildon-caption.c: (hildon_caption_class_init):
4914 * src/hildon-color-button.c: (hildon_color_button_class_init):
4915 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4916 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4917 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4918 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4920 Remove deprecated GTK+ marshalers and replace them with the ones
4921 provided by GLib, for those available, add a marshaler for
4922 BOOLEAN:VOID, which is not available in GLib, and use it.
4924 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4926 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4927 the text from the previous column if there is no
4928 HildonTouchSelectorColumn::text-property set.
4930 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4932 * src/hildon-button.h
4933 * src/hildon-button.c (hildon_button_set_property)
4934 (hildon_button_get_property, hildon_button_class_init)
4935 (hildon_button_set_style, hildon_button_get_style):
4936 New "style" property to change the visual appearance of the
4939 * src/hildon-picker-button.c (hildon_picker_button_new):
4940 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4942 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4943 HildonButton look like PickerButton)
4945 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4947 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4948 column while building the default string.
4950 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4952 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4953 scroll indicator by default.
4955 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4957 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4959 * src/hildon-main.c: Fix the documentation for hildon_init()
4961 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4963 * doc/hildon-docs.sgml
4967 * src/hildon-window-stack-private.h
4968 * src/hildon-window-stack.h
4969 * src/hildon-window-stack.c:
4970 New HildonWindowStack object, that adds support for multiple
4971 stacks of windows per process.
4973 * src/hildon-stackable-window-private.h
4974 * src/hildon-stackable-window.h
4975 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4976 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4977 (hildon_stackable_window_show, hildon_stackable_window_hide)
4978 (hildon_stackable_window_class_init)
4979 (hildon_stackable_window_init):
4980 Use HildonWindowStack for stack management.
4982 * src/hildon-program.c (hildon_program_pop_window_stack)
4983 (hildon_program_peek_window_stack)
4984 (hildon_program_go_to_root_window):
4985 Add a fallback implementation to the deprecated functions using
4988 * examples/hildon-stackable-window-example.c:
4989 Use the new HildonWindowStack API.
4991 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4993 * src/hildon-stackable-window-private.h
4994 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4995 (hildon_stackable_window_hide, hildon_stackable_window_init):
4996 Remove all window stack management.
4998 * src/hildon-program-private.h
4999 * src/hildon-program.h
5000 * src/hildon-program.c (hildon_program_init)
5001 (hildon_program_pop_window_stack)
5002 (hildon_program_peek_window_stack)
5003 (hildon_program_go_to_root_window):
5004 Remove all window stack management and mark functions as
5007 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5009 * src/hildon-app-menu.c (hildon_app_menu_realize):
5010 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5012 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5014 * configure.ac: post release version bump
5015 * debian/changelog: version bump
5017 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5022 * configure.ac: bump version
5023 * debian/changelog: updates
5025 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5027 Based on initial code by Christian Dywan (christian@imendio.com)
5029 * doc/hildon-docs.sgml: Add section for hildon-main.
5030 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5031 * src/Makefile.am: Add new hildon-main.[ch]
5032 * src/hildon-defines.h: Update the icon sizes.
5033 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5034 new library initialization files and register icon sizes.
5035 * src/hildon-main.h: New declarations.
5036 * src/hildon.h: Include hildon-main.h
5038 Add new initialization functions to the library. These methods
5039 will register the hildon specific icon sizes and can be used in the
5040 future for other hildon specific bits.
5042 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5044 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-window.c: (hildon_window_realize),
5047 (hildon_window_notify), (-hildon_window_update_title): Do not set
5048 the application name in the window title.
5050 Fixes: NB#89754 (Applications shouldn't display their names in the
5053 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5055 * src/hildon-note-private.h:
5056 * src/hildon-note.c: (hildon_note_set_property),
5057 (hildon_note_get_property), (hildon_note_class_init),
5058 (hildon_note_init), (hildon_note_finalize),
5059 (hildon_note_new_confirmation_with_icon_name),
5060 (hildon_note_new_information_with_icon_name):
5062 No need to mark as deprecated the actual code. Revert
5063 to avoid missing symbols in widgets using deprecated API.
5065 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5067 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5069 * src/hildon-volumebar.h
5070 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5071 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5073 * src/hildon-helper.h
5074 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5075 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5077 * examples/Makefile.am:
5078 Deprecate hildon-insensitive-example
5080 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5082 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5084 * examples/hildon-pannable-area-buttons-scroll-example.c:
5085 Make all buttons finger height
5087 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5089 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5091 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5092 update the day model only if it is really required, and to avoid the
5093 full-reconstruction aproach. Now it only add or remove the required days.
5095 The purpose of this is avoid superfluous HildonTouchSelector::changed
5098 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5099 with strange parameters)
5101 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5103 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5105 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5106 the WINDOW_TYPE property.
5108 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5110 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5113 Fix dependency to allow parallel compilation with make -jX
5115 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5117 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5118 color frame and some minor tweaks to make it more consistent with
5121 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5122 highlighted but not visible)
5124 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5126 * examples/Makefile.am: Fixed typo in the Makefile.am.
5128 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5130 Reviewed the use of MAEMO_GTK define, now we add the define in the
5131 compilation line, and we also add it to the pc file.
5133 * configure.ac: Added MAEMO_GTK define to the compilation command
5134 and removed it from the config.h.
5136 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5137 do not have to take care about this define if the library was
5141 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5143 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5145 * examples/Makefile.am,
5146 * examples/hildon-pannable-area-buttons-scroll-example.c,
5147 * examples/hildon-pannable-area-gesture-signals-example.c,
5148 * examples/hildon-pannable-area-scroll-jump-example.c,
5149 * examples/hildon-pannable-area-tree-view-example.c:
5150 Renamed the pannable area examples, now they have more meaningful
5153 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5155 * src/hildon-touch-selector.c:
5156 (hildon_touch_selector_set_column_selection_mode): Used of
5157 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5158 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5159 to avoid re-seting the same selection mode.
5161 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5162 breaks HildonPickerDialog)
5164 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5166 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5167 conditional in the Makefile.am
5169 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5171 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5172 Remove unused methods.
5174 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5176 * src/hildon-button.c (hildon_button_init):
5177 Make button images center-aligned by default
5179 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5182 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5183 activated, we have to think about how to deal with both defines
5184 MAEMO_GTK and MAEMO_CHANGES.
5186 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5188 * examples/hildon-app-menu-example.c (create_menu): Make all
5189 buttons finger size.
5191 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5193 Fixed the compilation without maemo gtk adding ifdefs with
5194 MAEMO_GTK define to the code, we have to check this version more
5197 * examples/Makefile.am: Added control to avoid some examples that
5198 just make sense with maemo gtk.
5201 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5202 hildon modes with the define.
5204 * examples/hildon-edit-toolbar-example.c,
5205 (create_icon_view): Create the icon view without hildon-gtk
5206 helpers if we are not using maemo gtk.
5208 * src/hildon-touch-selector.c,
5209 (_create_new_column): Create the treeview without hildon-gtk
5210 helpers if we are not using maemo gtk.
5212 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5214 * src/hildon-pnnable-area.c,
5215 (hildon_pannable_area_dispose),
5216 (hildon_pannable_area_button_press_cb),
5217 (hildon_pannable_area_child_mapped),
5218 (hildon_pannable_area_add),
5219 (hildon_pannable_area_remove): Added code to control the position
5220 of the event_window when adding and removing children from the
5221 pannable. We have to raise the event window when the child is
5224 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5225 selection mode using custom widget inside pannable)
5227 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5229 * configure.ac: post release version bump
5230 * debian/changelog: version bump
5232 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5237 * configure.ac: bump version
5238 * debian/changelog: updates
5240 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5242 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5243 search mode, in order to avoid lose the focus on the treeview when
5244 a hw key (like enter) is pressed.
5246 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5247 in HildonDateSelector dialog)
5249 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5251 * debian/rules: Added --enable-maintainer-mode
5252 * Makefile.am: Added ACLOCAL_AMFLAGS
5254 This allows to properly regenerate the Makefiles if you modify the
5255 configure.ac or any Makefile.am.
5257 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5259 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5260 properties, not needed at all.
5262 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5264 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5266 * src/hildon-note.c: (hildon_note_set_property),
5267 (hildon_note_get_property), (hildon_note_class_init),
5268 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5269 (hildon_note_new_confirmation_add_buttons): Remove icons.
5270 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5271 (hildon_note_new_information_with_icon_name): Deprecate.
5272 (hildon_note_new_confirmation): Act directly, without calling
5273 the deprecated constructor.
5274 (hildon_note_new_information): Act directly, without calling
5275 the deprecated constructor.
5276 * src/hildon-note.h: Mark deprecate methods as such.
5277 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5278 not run tests on the deprecated methods if built with deprecation
5281 Fixes: NB#91688 (Never show icons in information notes/confirmation
5284 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5286 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5287 (hildon_app_menu_key_press): Remove leftover usage of the
5288 private structure in HildonAppMenu struct.
5289 * src/hildon-app-menu.h: Remove leftover private structure
5290 from the HildonAppMenu struct.
5292 Fixes a crasher when using the HildonAppMenu.
5294 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5296 * src/hildon-picker-dialog.c: Use appropriate logical id
5297 for the default "Done" text.
5299 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5301 * configure.ac: post release version bump
5302 * debian/changelog: version bump
5304 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5306 Modified the way to scroll to the current selection just when the touch
5307 selector is shown on the screen, avoiding a g_idle. Added too a property
5308 to configure this behaviour. See hildon_pannable_area_jump_to_child
5309 documentation for more information.
5311 * src/hildon-touch-selector.c
5312 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5313 Added 'initial-scroll' property
5314 (hildon_touch_selector_set_property): Added
5315 (hildon_touch_selector_map): Removed as not required anymore
5316 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5317 only a concrete column, instead of iterate along all the columns
5319 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5324 * configure.ac: bump version
5325 * debian/changelog: updates
5327 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5329 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5330 compilation time warnings.
5332 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5334 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5335 the default value for HildonPannableArea::mov-mode to
5336 HILDON_PANNABLE_AREA_MODE_VERT.
5338 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5340 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5342 Reverting following commit:
5344 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5346 * src/hildon-app-menu-private.h
5347 * src/hildon-app-menu.[ch]
5348 * src/hildon-button.[ch]
5349 * src/hildon-check-button.[ch]
5350 * src/hildon-entry.[ch]
5351 * src/hildon-pannable-area.[ch]
5352 * src/hildon-text-view.[ch]:
5353 Added private field to the object's structure.
5355 because it causes an ABI breakage. We will need to introduce these
5356 changes later at some point. See NB#91636 for an extensive
5357 explanation and status.
5359 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5361 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5363 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5364 remove special cases that are no longer necessary.
5366 Fixes: NB#91016 (Change toolbar sizes, simplification)
5368 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5370 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5371 is shown in the cancel note.
5373 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5375 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5376 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5377 (hildon_seekbar_init): Remove steppers, remove expose event.
5378 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5380 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5382 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5384 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5385 label font to "SmallSystemFont" for vertically arranged buttons.
5387 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5390 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5392 * src/hildon-check-button.c
5393 (hildon_check_button_set_active, hildon_check_button_clicked):
5394 Don't access private parts directly, use getters instead.
5396 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5398 * src/hildon-check-button.c (hildon_check_button_new):
5399 Align the contents of the check button to the left.
5401 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5403 * src/hildon-pannable-area.c,
5404 (hildon_pannable_area_scroll_to),
5405 (hildon_pannable_area_jump_to),
5406 (hildon_pannable_area_scroll_to_child),
5407 (hildon_pannable_area_jump_to_child): Replace the mapped
5408 precondition of these functions with the realized, it is the
5409 correct state of the widget in this case. Changed the
5410 documentation according to this modification.
5412 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5414 Added a new EXTRA_CFLAGS option to add the deprecated define to
5415 the compilation command. This way we can avoid using the define in
5416 the documentation compilation.
5418 * configure.ac: Defined EXTRA_CFLAGS.
5420 * examples/Makefile.am:
5422 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5424 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5426 * src/hildon-picker-dialog.c:
5427 Defined a utility macro with the desired touch selector height
5428 Removed currently unused separator, and title_label variables from
5430 (hildon_picker_dialog_init): Removed code related to the creation
5431 of unused private variables title_label and separator.
5432 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5433 to ensure correct visualization of the touch selector inside the dialog.
5434 * src/hildon-touch-selector.c
5435 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5436 ensure a concrete height of the widget.
5438 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5441 * tests/Makefile.am:
5443 Remove spurious whitespaces.
5445 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5447 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5448 compilation warning after the cancel button removal.
5450 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5452 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5454 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5455 Makefile.am, that way we can choose not to compile some examples
5456 and tests of the deprecated widgets.
5458 * examples/Makefile.am: Divided the sources in deprecated and
5461 * src/Makefile.am: Added undef statement of the deprecated
5462 symbol to the enums file generation process.
5464 * src/hildon-color-chooser-dialog.c
5465 * src/hildon-color-chooser-dialog.h
5466 * src/hildon-color-button.c
5467 * src/hildon-color-button.h
5468 * src/hildon-color-chooser.c
5469 * src/hildon-color-chooser.h
5470 * src/hildon-controlbar.c
5471 * src/hildon-controlbar.h
5472 * src/hildon-date-editor.c
5473 * src/hildon-date-editor.h
5474 * src/hildon-hvolumebar.c
5475 * src/hildon-hvolumebar.h
5476 * src/hildon-private.c
5477 * src/hildon-private.h
5478 * src/hildon-range-editor.c
5479 * src/hildon-range-editor.h
5480 * src/hildon-seekbar.c
5481 * src/hildon-seekbar.h
5482 * src/hildon-time-editor.c
5483 * src/hildon-time-editor.h
5484 * src/hildon-time-picker.c
5485 * src/hildon-time-picker.h
5486 * src/hildon-volumebar.c
5487 * src/hildon-volumebar.h
5488 * src/hildon-vvolumebar.c
5489 * src/hildon-vvolumebar.h
5490 * src/hildon-bread-crumb-trail.h
5491 * src/hildon-bread-crumb-trail.c
5492 * src/hildon-calendar-popup.c
5493 * src/hildon-calendar-popup.h
5494 * src/hildon-weekday-picker.c:
5495 * src/hildon-weekday-picker.h:
5496 * src/hildon-bread-crumb-widget.c:
5497 * src/hildon-bread-crumb-widget.h:
5498 * src/hildon-bread-crumb.c:
5499 * src/hildon-bread-crumb.h:
5500 * src/hildon-calendar.c:
5501 * src/hildon-calendar.h:
5502 * src/hildon-caption.c:
5503 * src/hildon-code-dialog.c:
5504 * src/hildon-code-dialog.h:
5505 * src/hildon-font-selection-dialog.c:
5506 * src/hildon-font-selection-dialog.h:
5507 * src/hildon-get-password-dialog.c:
5508 * src/hildon-get-password-dialog.h:
5509 * src/hildon-login-dialog.c:
5510 * src/hildon-login-dialog.h:
5511 * src/hildon-number-editor.c:
5512 * src/hildon-number-editor.h:
5513 * src/hildon-set-password-dialog.c:
5514 * src/hildon-set-password-dialog.h:
5515 * src/hildon-sort-dialog.c:
5516 * src/hildon-sort-dialog.h: This is the list of deprecated
5519 * src/hildon-touch-selector.c:
5520 * src/hildon-window.c: Added undef statement to avoid compilation
5523 * tests/Makefile.am: Divided the sources in deprecated and
5526 * tests/check_test.c,
5527 (configure_tests): Marked the deprecated code that was adding
5528 suites with deprecated tests.
5530 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5532 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5534 * src/hildon-touch-selector.c: (_default_print_func): Do not
5535 duplicate a string returned by gtk_tree_model_get(), it is already
5538 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5541 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5543 * src/hildon-pannable-area.c
5544 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5545 method, it had problems when adding a widget with viewport the
5546 second time. Now checks if it already has a viewport and uses it.
5548 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5551 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5553 * src/hildon-pannable-area.c,
5554 (hildon_pannable_area_scroll_to),
5555 (hildon_pannable_area_jump_to),
5556 (hildon_pannable_area_scroll_to_child),
5557 (hildon_pannable_area_jump_to_child): Added a precondition to the
5558 scroll and jump to functions: the widget must be mapped before we
5559 can safely call these functions. We have also added documentation
5560 to the functions to explain how to use them in this situation.
5563 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5565 Reviewed the threading handling of the pannable widget, we have
5566 used the gdk_threads_add_timeout function instead of the usual
5567 glib handlers. This avoids some problems with the threads.
5569 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5570 (hildon_pannable_area_initial_effect),
5571 (hildon_pannable_area_scroll_indicator_fade),
5572 (hildon_pannable_area_button_press_cb),
5573 (hildon_pannable_area_timeout),
5574 (hildon_pannable_area_motion_notify_cb),
5575 (hildon_pannable_area_button_release_cb),
5576 (hildon_pannable_area_scroll_cb),
5577 (hildon_pannable_area_scroll_to): Removed the
5578 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5579 gdk_threads_add_timeout.
5581 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5583 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5588 * configure.ac: bump version
5589 * debian/changelog: updates
5591 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5593 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5594 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5595 * src/hildon-color-chooser-dialog.c:
5596 (hildon_color_chooser_dialog_init):
5597 * src/hildon-font-selection-dialog.c:
5598 (hildon_font_selection_dialog_init):
5599 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5601 Remove all cancel/close-like dialogs, as these are not going to be
5604 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5606 * src/hildon-note.c: (hildon_note_rebuild),
5607 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5610 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5612 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5614 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5615 sure all buttons are shown, even the Cancel/Close-like ones.
5617 Fixes: NB#90861 (Custom Confirmation dialogs should be
5618 protected from cancel button removal)
5620 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5622 * debian/control: Change libhildon1-examples dependency from libhildon1
5624 * debian/libhildon1-examples.install
5626 * Makefile.am: Modified the final install directory for the examples on
5627 package libhildon1-examples
5628 * Makefile.static: Update clean target in order to remove all the binary
5631 Changes suggested by Claudio after review new libhildon1-examples package
5633 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5635 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5636 * src/hildon-touch-selector.c: Ditto.
5638 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5640 * debian/control: Added new package libhildon1-examples, in order to pack
5641 the current hildon examples as documentation
5642 * debian/rules: Not to compress .c files, modify some includes on the
5643 examples (as normally are compiled locally, but when installed it will
5644 require to include the installed libhildon1 library), and rename
5646 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5647 install all the example files on the new example package
5648 * examples/Makefile.static: Added static makefile that can be used to
5649 compile the examples, once installed the new example package
5650 * examples: Most of the examples were modified in order to grant that
5651 all use only '#include "hildon.h"', in order to be easy to prepare
5652 it on the example package
5654 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5657 * debian/libhildon1-dev.install
5658 * debian/libhildon1-doc.install:
5659 Move all gtk-doc files to a separate libhildon1-doc package.
5661 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5663 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5665 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5667 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5669 * debian/rules: Fixed a error in order to avoid unnecessary calls
5670 to autogen.sh on package building
5672 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5674 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5676 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5678 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5681 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5683 * src/hildon-picker-button.c
5684 (hildon_picker_button_finalize):
5685 Free priv->done_button_text
5687 * src/hildon-time-button.c
5688 (hildon_time_button_set_time)
5689 * src/hildon-picker-button.c
5690 (hildon_picker_button_clicked)
5691 (hildon_picker_button_selector_selection_changed)
5692 (hildon_picker_button_set_selector)
5693 * src/hildon-date-button.c
5694 (hildon_date_button_set_date):
5695 Free strings returned by hildon_touch_selector_get_current_text()
5697 * src/hildon-button.c (hildon_button_construct_child):
5698 Fix leaks in priv->image and priv->label_box
5700 Fixes: NB#90535 (Memory leak in picker button)
5702 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5704 * src/hildon-button.c: (hildon_button_get_property): Do not access
5705 private elements directly, use getters instead.
5707 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5709 * src/hildon-app-menu-private.h
5710 * src/hildon-app-menu.c
5711 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5712 Store the menu's parent window.
5714 * src/hildon-stackable-window.c
5715 (hildon_stackable_window_toggle_menu)
5716 (hildon_stackable_window_finalize):
5717 Set the menu's parent window when the menu is shown, unset it when
5720 * src/hildon-app-menu.c
5721 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5722 (hildon_app_menu_class_init):
5723 Send unhandled keyboard accelerators to the parent window.
5725 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5727 * src/hildon-stackable-window.c
5728 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5730 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5732 * configure.ac: post release version bump
5734 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5737 * configure.ac: Bump version
5738 * debian/changelog: Updates
5739 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5742 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5744 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5747 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5748 GtkMenu with Hildon style.
5750 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5752 * src/hildon-picker-button.c:
5753 (hildon_picker_button_set_done_button_text): Set the dialog's
5754 done button text here as well.
5756 Fixes: NB#90232 (Picker button does not set the label on done button
5757 for the second time)
5759 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5761 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5764 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5766 * src/hildon-app-menu.c (hildon_app_menu_insert)
5767 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5768 the HildonAppMenu to be activatable using keyboard accelerators
5769 when the menu is not being shown.
5771 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5773 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5775 * src/hildon-stackable-window.c
5776 (hildon_stackable_window_show):
5777 Don't hide old windows automatically when new windows are shown:
5778 this is now a task for the window manager.
5779 (hildon_stackable_window_class_init)
5780 (hildon_stackable_window_hide):
5781 Remove windows from the stack everytime they're hidden.
5782 (hildon_stackable_window_realize):
5783 Don't change the _NET_WM_WINDOW_TYPE property. Use
5784 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5785 it as a stackable window.
5787 * src/hildon-program.c
5788 (hildon_program_pop_window_stack):
5789 Just hide the window to remove it from the stack.
5790 (hildon_program_go_to_root_window):
5791 Don't call gtk_widget_show(), this is now a task for the window
5794 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5796 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5798 * src/hildon-button.c
5799 (hildon_button_construct_child):
5800 Don't pack anything in the button until text or image are
5801 set. This allows adding a custom child after creating the button
5802 with hildon_button_new().
5803 (hildon_button_finalize, hildon_button_class_init)
5804 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5805 alignment and the label box even when they're not packed in the
5808 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5810 * src/hildon-touch-selector.h:
5811 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5812 currently the type definition was using GTK_TYPE_VBOX
5813 * src/hildon-touch-selector.c:
5814 Added some implementation notes in order to clarify that any other widget
5815 added without the column related API will not be included on the
5816 selection logic, and how the widget is freed, as some people ask about
5818 (hildon_touch_selector_remove): Reimplemented in order to free properly
5819 the column related data when you remove the private hbox.
5820 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5821 to get a proper HildonTouchSelectorColumn documentation
5823 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5825 * src/hildon-touch-selector-entry.c:
5826 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5827 text in the GtkEntry and there is no item selected. Fixes a
5830 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5832 * src/hildon-app-menu-private.h
5833 * src/hildon-app-menu.[ch]
5834 * src/hildon-button.[ch]
5835 * src/hildon-check-button.[ch]
5836 * src/hildon-entry.[ch]
5837 * src/hildon-pannable-area.[ch]
5838 * src/hildon-text-view.[ch]:
5839 Added private field to the object's structure.
5841 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5843 * configure.ac: post-release version bump
5845 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5849 * configure.ac: pre-release version bump
5851 * debian/changelog: updates.
5853 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5855 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5856 Disconnect the handler for HildonTouchSelector::changed.
5858 (hildon_picker_button_selector_selection_changed): Update the button
5859 value if the selection change was not triggered by the
5862 (hildon_picker_button_set_selector): connect to
5863 HildonTouchSelector::changed.
5865 Fixes: NB#89650 (Picker button is not updated, when selection in
5866 selector has changed)
5868 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5870 * src/hildon-picker-dialog.c
5871 (hildon_picker_dialog_realize): Removed as not required
5872 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5873 * src/hildon-picker-button.c
5874 (_current_selector_empty): New function, checks if the selector is empty
5875 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5876 if the current selector is empty, in order to avoid to show the dialog
5877 close the dialog in this case (and shows a g_warning).
5879 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5881 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5883 * src/hildon-pannable-area.c,
5884 (hildon_pannable_area_scroll): Added clause to stop movement when
5885 the child of pannable is smaller than one page.
5886 (hildon_pannable_area_scroll_to): Added conditions to avoid
5887 starting the scrolling movement if the child is smaller than one
5888 page, the complete child is in the screen, we do not have to move.
5890 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5892 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5894 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5895 this is managed automatically by the widget when the size of the
5898 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5900 * src/hildon-picker-button.c
5901 (hildon_picker_button_set_done_button_text): Make a copy of the
5902 text, and free the previous value.
5904 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5906 * src/hildon-touch-selector-entry.c:
5907 (hildon_touch_selector_entry_print_func): Return the selected row's
5908 text if the entry is empty.
5910 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5913 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5915 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5917 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5920 * src/hildon-check-button.h
5921 * src/hildon-check-button.c
5922 * examples/hildon-check-button-example.c:
5923 HildonCheckButton is now a new widget. 'toggled' signal added.
5925 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5927 * src/hildon-program-private.h
5928 * src/hildon-program.c (hildon_program_init)
5929 (hildon_program_finalize): Removed unused variables group_leader
5930 and name from HildonProgramPrivate.
5932 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5934 * src/hildon-check-button.c (hildon_check_button_set_active)
5935 (hildon_check_button_get_active, hildon_check_button_new): Use
5936 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5938 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5940 * src/hildon-touch-selector.h
5941 (hildon_touch_selector_set_column_attributes): added deprecation
5942 guard HILDON_DISABLE_DEPRECATED
5943 * src/hildon-time-selector.c
5944 (hildon_time_selector_set_time)
5945 (hildon_time_selector_get_time): Fixed a typo on documentation
5946 * src/hildon-touch-selector.c: update HildonTouchSelector and
5947 HildonTouchSelectorColumn documentation
5948 * src/hildon-touch-selector-entry.c: update "text-column" property
5950 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5951 to be added to the general documentation.
5953 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5955 * examples/hildon-pannable-area-example-4.c,
5957 * examples/hildon-pannable-area-example.c,
5958 (main): Modified the code in order to use the container add, with
5959 viewport treeviews could have problems if they are really big.
5961 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5963 * src/hildon-weekday-picker.c,
5964 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5965 the agreement regarding deprecation in the library.
5967 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5969 * examples/hildon-picker-button-multicolumn-example.c:
5970 (main): Use custom "done" button text.
5972 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5973 (hildon_picker_button_set_property),
5974 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5975 (hildon_picker_button_init),
5976 (+hildon_picker_button_get_done_button_text),
5977 (+hildon_picker_button_set_done_button_text): New methods to customize
5978 the "done" button label in the launched HildonPickerDialog. Also,
5981 * src/hildon-picker-button.h: add the public API.
5983 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5985 * src/hildon-date-selector.h:
5986 * src/hildon-picker-dialog.h:
5987 * src/hildon-time-selector.h:
5988 * src/hildon-touch-selector-column.h:
5989 * src/hildon-touch-selector.h:
5991 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5992 declarations. Fixes gtk-doc warnings.
5994 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5996 * src/hildon-picker-dialog.h
5997 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5998 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6000 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6001 long text is set as label for done button)
6003 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6005 * src/hildon-dialog.c (hildon_dialog_add_button):
6006 Set fixed width to all buttons in the HildonDialog.
6008 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6010 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6012 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6013 Set widget name using class name plus "-finger" or "-thumb".
6015 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6017 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6018 'clicked' when the state of the button is manually changed.
6020 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6022 * src/hildon-app-menu.c (hildon_app_menu_realize)
6023 (hildon_app_menu_unrealize, hildon_app_menu_init)
6024 (hildon_app_menu_class_init, item_visibility_changed):
6025 Change the menu layout when the size of the screen changes.
6026 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6027 Show warning only when changing the number of colums using the
6030 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6032 * debian/compat: Set to 5
6033 * debian/control: Update dependencies.
6034 * debian/libhildon1-dbg.install: Remove.
6035 * debian/libhildon1-dev.install: Update according to cdbs paths.
6036 * debian/libhildon1.install: Update according to cdbs paths.
6037 * debian/rules: Switch to cdbs.
6039 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6041 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6042 'item' variable renamed to 'filter'
6044 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6046 * src/hildon-app-menu.c (hildon_app_menu_insert)
6047 (hildon_app_menu_add_filter, remove_item_from_list)
6048 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6049 Don't leak hidden items when the menu is destroyed.
6051 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6053 * src/hildon-app-menu.c (hildon_app_menu_insert)
6054 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6055 (hildon_app_menu_set_columns, item_visibility_changed)
6056 (filter_visibility_changed, hildon_app_menu_repack_filters)
6057 (hildon_app_menu_repack_items):
6058 Repack items and filters separately.
6060 Don't repack all items, change only the ones that are needed to
6063 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6065 * src/Makefile.am: added hildon-touch-selector-column.h
6067 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6069 * src/hildon-touch-selector.c: added the property "text-column" to the
6070 class HildonTouchSelectorColumn, and related get/set functions
6071 (_default_printf_func): updated to use "text-column" property
6072 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6073 "text-column" in his documentation, as this is now included on
6074 HildonTouchSelectorColumn. The get/set_property can still be used,
6075 working as a wrapper to the concrete column "text-column" property
6076 (_text_column_modified): callback added in order to handle the signal
6077 "notify::text-column" of the concrete HildonTouchSelectorColumn
6078 (hildon_touch_selector_entry_get_text_column)
6079 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6080 modified in order to use the HildonTouchSelectorColumn "text-column"
6082 * src/hildon-time-selector.c:
6083 * src/hildon-date-selector.c:
6084 * examples/hildon-touch-selector-example.c
6085 * examples/hildon-touch-selector-multi-cells-example.c
6086 * examples/hildon-picker-button-multicolumn-example.c
6087 Set the right value to "text-column" property on the creation of a new
6088 column using hildon_touch_selector_append_column()
6090 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6092 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6094 * src/hildon-app-menu.c
6095 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6096 updating the layout of the menu, don't create all widgets again,
6097 just repack the items in their new places.
6099 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6101 * src/hildon-time-selector.c
6102 (hildon_time_selector_get_time)
6103 (hildon_time_selector_set_time)
6104 Added documentation of these public methods
6106 * src/hildon-date-button.h
6107 * src/hildon-touch-selector-column.h
6108 * src/hildon-time-button.h
6109 * src/hildon-picker-dialog.h
6110 * src/hildon-time-selector.h
6111 * src/hildon-picker-button.h
6112 * src/hildon-touch-selector.h
6113 * src/hildon-time-picker.h
6114 * src/hildon-date-selector.h
6115 * src/hildon-touch-selector-entry.h
6116 Modified in order to use hildon-widgets code style
6118 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6120 Added deprecated support to the compilation process using
6121 HILDON_DISABLE_DEPRECATED
6123 * configure.ac: Added the --disable-deprecated to the configure
6126 * src/hildon-weekday-picker.c:
6127 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6128 to use the deprecated support. We will update the other deprecated
6129 widgets status in a new patch.
6131 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6133 * configure.ac: Fixed typo with fatal warnings support, the
6134 variable name was not correct
6136 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6138 * src/hildon-app-menu.c
6139 * src/hildon-program.c: Update documentation.
6141 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6143 * configure.ac: Post-release version bump.
6145 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6150 * configure.ac: Pre-release version bump.
6151 * debian/changelog: Updates.
6153 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6155 * NEWS: Update news for previous releases.
6157 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6159 * examples/hildon-touch-selector-multi-cells-example.c:
6160 (create_selector): Update the example to use
6161 hildon_touch_selector_append_column() with a NULL renderer and set
6162 the renderers later.
6163 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6164 passed a NULL renderer. This is documented behavior now.
6166 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6167 This must be used if the developer wants full control on the layout of
6168 the renderers to be added to the column.
6170 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6172 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6174 * src/hildon-touch-selector.c: Documentation fixes.
6176 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6178 * src/hildon-wizard-dialog-private.h: Remove image and box.
6179 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6180 (hildon_wizard_dialog_set_property), (response): Completely remove
6181 image/icon support, and the containers required for the layout.
6183 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6185 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6187 * src/hildon-app-menu.c: Updated documentation.
6189 * src/hildon-stackable-window.c
6190 (hildon_stackable_window_set_main_menu): Unref the old menu after
6191 ref'ing the new one.
6193 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6195 * src/hildon-stackable-window.c
6196 (hildon_stackable_window_set_main_menu): Unref the previous menu
6197 instead of destroying it.
6199 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6200 floating reference and set has_user_ref_count to FALSE to make
6201 HildonAppMenu act like a normal ref-counted widget and not a
6204 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6207 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6209 * src/hildon-touch-selector-column.h: new file
6210 * src/hildon-touch-selector.h
6211 * src/hildon-touch-selector.c
6212 Implemented GtkCellLayout interface, in order to allow to configure
6213 the cell layout on each individual selector column
6214 (hildon_touch_selector_set_column_attributes): marked as deprecated
6215 * examples/hildon-touch-selector-multi-cells-example.c
6216 Example of how to use the GtkCellLayout interface on the selector
6218 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6220 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6222 * src/hildon-app-menu.h
6223 * src/hildon-app-menu.c
6224 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6225 (hildon_app_menu_append, hildon_app_menu_prepend):
6226 New methods to prepend, insert and move items in the menu.
6228 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6230 * src/hildon-wizard-dialog.c:
6232 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6234 (create_title): Update logical IDs and related code.
6235 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6237 * src/hildon-wizard-dialog.h: Note that
6238 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6239 point, as it is not used anymore.
6241 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6243 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6245 * src/hildon-note.c:
6246 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6247 shown. Do not display an icon in confirmation notes nor information
6249 (hildon_note_set_button_text): Update logical ID for cancel button.
6251 Fixes: NB#88850 (Update HildonNote button strings + signals)
6253 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6255 * src/hildon-stackable-window.c
6256 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6258 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6260 * src/hildon-app-menu-private.h
6261 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6262 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6263 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6264 temporary property 'columns' to change the number of columns.
6266 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6268 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6270 * examples/hildon-note-example.c: (on_information_clicked),
6271 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6272 debugging information.
6273 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6275 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6276 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6277 in order to close: this will be handled by the WM from now on.
6279 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6281 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6283 * src/hildon-app-menu-private.h
6284 * src/hildon-app-menu.c
6285 (hildon_app_menu_append, hildon_app_menu_add_filter)
6286 (button_visibility_changed, hildon_app_menu_apply_style)
6287 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6288 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6289 layout everytime a button (item or filter) is shown or hidden.
6291 * src/hildon-stackable-window.c
6292 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6295 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6297 * src/hildon-touch-selector.c:
6298 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6299 that the treeview inside the touch selector is in fremantle hildon mode
6300 * examples/hildon-date-button-example.c
6301 * examples/hildon-picker-button-multicolumn-example.c
6302 * examples/hildon-touch-selector-entry-example.c
6303 * examples/hildon-touch-selector-example.c
6304 * examples/hildon-time-button-example.c
6305 * examples/hildon-picker-button-example.c:
6306 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6308 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6310 * examples/hildon-text-view-example.c: (main): Remove the
6311 gtkrc bits, now handled by the theme.
6313 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6315 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6318 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6320 * po/Makefile.am: Install properly the mo files.
6321 * po/en_GB.po: Update translation, to ease testing purposes.
6323 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6325 * examples/hildon-picker-button-example.c: (main): Select an item
6326 in the selector before setting it to the button.
6328 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6330 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6331 Update button's value if the selector has an item active.
6333 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6334 'value' with the selector)
6336 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6338 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6339 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6340 (hildon_picker_button_class_init): Plug the finalize method.
6341 (hildon_picker_button_set_selector): If there's a previously set
6342 selector, unref'it before setting a new one.
6344 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6345 HildonTouchSelector)
6347 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6349 * src/hildon-touch-selector-entry.c:
6350 (hildon_touch_selector_entry_changed): Check if there is no text
6351 selected before setting the entry text.
6354 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6356 * src/hildon-touch-selector.h
6357 * src/hildon-touch-selector.c
6358 (hildon_touch_selector_get_active)
6359 (hildon_touch_selector_set_active): New methods to set/get the
6360 index of the selected item.
6362 * src/hildon-picker-button.h
6363 * src/hildon-picker-button.c
6364 (hildon_picker_button_get_active)
6365 (hildon_picker_button_set_active): New methods to set/get the
6366 index of the selected item.
6368 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6370 * configure.ac: post-release version bump.
6372 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6376 * configure.ac: Pre-release version bump.
6377 * debian/changelog: Updates.
6378 * debian/control: Add myself as maintainer and depend on l10n
6381 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6383 * src/hildon-window.c
6384 (hildon_window_set_main_menu)
6385 * src/hildon-stackable-window.c
6386 (hildon_stackable_window_set_main_menu):
6387 Updated documentation.
6389 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6391 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6392 Don't free selector->priv manually.
6395 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6398 (hildon_gtk_window_set_progress_indicator):
6399 * src/hildon-gtk.h: Added the new API
6400 hildon_gtk_window_set_progress_indicator, it changes the state of
6401 the window progress hint.
6403 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6405 * src/hildon-button.c
6406 * src/hildon-stackable-window.c: Minor documentation updates.
6408 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6410 * src/hildon-stackable-window.c: Updated documentation.
6412 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6414 * src/hildon-defines.h: Update margins definitions
6415 to the Fremantle sizes.
6418 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6420 * src/hildon-touch-selector.c,
6421 (_hildon_touch_selector_set_model): Cleaning the code after
6422 review, removed g_print and #if 0 from the code.
6424 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6426 * src/hildon-edit-toolbar.c: Update documentation.
6428 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6430 * src/hildon-check-button.h
6431 * src/hildon-check-button.c
6432 (hildon_check_button_set_label, hildon_check_button_get_label)
6433 * examples/hildon-check-button-example.c
6434 (button_clicked_cb):
6435 Removed deprecated methods.
6437 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6439 * src/hildon-text-view.c:
6440 Add sample code to the documentation.
6442 * src/hildon-entry.h
6443 * src/hildon-text-view.h:
6444 Minor cosmetic changes.
6446 * src/hildon-entry.c:
6447 Add sample code to the documentation.
6448 (hildon_entry_init, hildon_entry_refresh_contents):
6449 Don't allow NULL values in the placeholder.
6451 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6453 * doc/hildon-docs.sgml
6455 * examples/Makefile.am
6456 * examples/hildon-text-view-example.c
6458 * src/hildon-text-view.c
6459 * src/hildon-text-view.h
6461 New HildonTextView widget, with example.
6463 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6465 * po/POTFILES.in: Add missing files with translatable strings.
6466 Partially fixes NB#88287.
6468 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6470 * examples/hildon-pannable-area-example-2.c: (main): No need to
6471 set the cellrenderer height inside hildon touch lists, the theme does
6474 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6476 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6477 they are integrated in the theme.
6479 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6481 * examples/hildon-entry-example.c: Update the example adding
6482 widgets to modify the text and the placeholder of the HildonEntry.
6484 * src/hildon-entry.c: Show the placeholder everytime the widget
6485 is empty and loses the focus.
6487 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6489 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6491 * src/hildon-pannable-area.c,
6492 (hildon_pannable_area_size_request): Fixed bug in height
6493 requisition, avoid increasing size and add border twice.
6495 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6497 * configure.ac: postrelease version bump.
6499 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6503 * configure.ac: Prerelease version bump.
6504 * debian/changelog: update.
6505 * debian/rules: make -dbg package contain useful debugging symbols.
6507 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6509 * src/hildon-dialog.h
6510 * src/hildon-dialog.c
6511 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6512 New methods to add buttons with finger size.
6513 (hildon_dialog_new_with_buttons):
6514 Create buttons with finger size.
6516 * examples/hildon-dialog-example.c (main): Use HildonDialog
6517 methods to add buttons.
6519 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6521 * src/hildon-entry.c: Updated HildonButton documentation.
6523 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6525 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6526 button value label with (FALSE, FALSE) to prevent NB#88126 from
6529 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6531 * examples/hildon-pannable-area-example.c,
6532 (main): Removed examples panning a vbox inside a pannable
6533 area. Check bug NB#87965
6535 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6537 Patch contributed by Kris Rietveld (kris@imendio.com)
6539 * src/hildon-pannable-area.c,
6540 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6541 get_size and get_position, this saves an X server roundtrip.
6543 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6545 * doc/hildon-docs.sgml
6547 * examples/Makefile.am
6548 * examples/hildon-entry-example.c
6550 * src/hildon-entry.c
6551 * src/hildon-entry.h
6553 New HildonEntry widget, with example.
6555 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6557 * src/hildon-button.c (hildon_button_construct_child): Pack the
6558 image with expand == fill == FALSE. This is a workaround for a bug
6561 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6563 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6564 labels for the text column, to make it more look more dynamic.
6566 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6568 * src/hildon-time-selector.c
6569 Define gettext auxiliar macro N_
6570 (_create_minutes_model)
6571 (_create_hours_model)
6572 (_create_ampm_model): use of strftime in order to fill the model
6573 * src/hildon-date-selector.c
6574 (hildon_date_selector_finalize):
6575 (_locales_init): remove the logic related to get the name of the months
6576 using nl_langinfo, as it is not required anymore
6578 (_create_year_model)
6579 (_create_month_model)
6580 (_update_day_model): use of strftime in order to fill the model properly
6583 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6585 * src/hildon-button.h
6586 * src/hildon-button.c (hildon_button_get_image): New method to
6589 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6591 * src/hildon-touch-selector.c:
6592 (hildon_touch_selector_remove_column): Remove from the correct parent
6593 and also remove the list element and free it.
6596 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6598 * src/hildon-time-selector.c
6599 (_create_hours_model): change the range on 12h ampm format in order to use
6600 a 12-11 range instead of previous 01-12 range
6601 (hildon_time_selector_set_time): change the way to select the current time
6602 on 12h ampm format, due the change on the range
6603 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6606 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6608 * src/hildon-touch-selector.c
6609 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6610 in order to allow use this function on multiple row selection mode if
6611 the column is different that the first one
6614 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6616 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6617 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6619 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6621 * src/hildon-date-selector.h: clean some comments, now on the .c
6622 * src/hildon-date-selector.c
6623 (hildon_date_selector_select_month): first implementation
6624 (hildon_date_selector_select_day): added documentation, reimplemented
6625 using hildon_date_selector_select_current_date to avoid repeat code
6628 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6630 Reviewed interaction logic based on device experiences, refactored
6633 * src/hildon-pannable-area.c,
6634 (hildon_pannable_area_class_init): Updated default vmax speed.
6635 (hildon_pannable_area_calculate_velocity): Added this function, it
6636 avoids duplicate valocity calculation. Adjusted calculation to
6637 avoid problems with zero dist events.
6639 (hildon_pannable_area_motion_notify_cb): Now we use the
6640 calculate_velocity function.
6642 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6644 * src/hildon-date-selector.c
6645 (hildon_date_selector_select_current_date): fix the day range check
6646 as it failed using the last day of the current month
6649 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6651 * src/hildon-touch-selector.c
6652 (hildon_touch_selector_get_num_columns): added a parameter validation
6655 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6657 * examples/Makefile.am
6658 * examples/hildon-edit-toolbar-example.c: Example of the
6659 HildonEditToolbar widget.
6661 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6663 * configure.ac: postrelease version bump.
6665 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6669 * configure.ac: prerelease version bump.
6670 * debian/changelog: update.
6672 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6674 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6675 renderer to display stock icons in the touch list. Also, set the sizes
6676 to the recommended in the style guide.
6678 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6679 * src/hildon-touch-selector.h
6680 (hildon_touch_selector_set_active_iter): renamed, now is
6681 hildon_touch_selector_select_iter
6682 (hildon_touch_selector_get_active_iter): renamed, now is
6683 hildon_touch_selector_get_selected
6684 (hildon_touch_selector_unselect_iter): added
6685 * src/hildon-touch-selector.c
6686 Update after API modification (methods renamed)
6687 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6688 order to avoid problems selecting multiple elements on the column
6689 (hildon_touch_selector_unselect_iter): added the implementation
6690 * src/hildon-time-selector.c
6691 * src/hildon-date-selector.c
6692 * src/hildon-touch-selector-entry.c
6693 Update methods calls after hildon-touch-selector.h API modification (methods
6696 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6698 * src/hildon-stackable-window.c
6699 (hildon_stackable_window_finalize): Call the parent class's finalize.
6701 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6703 * examples/hildon-touch-selector-example.c: (create_selector): Use
6704 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6707 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6709 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6710 set a cell background color, to respect theming.
6712 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6714 * doc/hildon-docs.sgml
6717 * src/hildon-edit-toolbar.c
6718 * src/hildon-edit-toolbar.h
6719 * src/hildon.h: New HildonEditToolbar widget.
6721 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6723 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6726 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6727 * src/hildon-touch-selector.c
6728 (_create_new_column): use g_object_set instead of two g_object_set_property
6730 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6731 * src/hildon-touch-selector.c
6732 (_create_new_column): use of hildon_gtk_tree_view_new to create
6733 the treeview, instead of use directly g_object_new
6734 (_create_new_column): update the property name "vindicator-mode" for the
6735 new one "vscrollbar-policy"
6736 * examples/hildon-date-button-example.c
6737 * examples/hildon-picker-button-multicolumn-example.c
6738 * examples/hildon-touch-selector-entry-example.c
6739 * examples/hildon-touch-selector-example.c
6740 * examples/hildon-time-button-example.c
6741 * examples/hildon-picker-button-example.c
6742 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6743 to all the treeviews inside a pannable area.
6745 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6747 * src/hildon-button.h
6748 * src/hildon-button.c (hildon_button_init)
6749 (hildon_button_set_arrangement, hildon_button_set_alignment)
6750 (hildon_button_set_title_alignment)
6751 (hildon_button_set_value_alignment)
6752 (hildon_button_set_image_alignment)
6753 (hildon_button_construct_child): New methods to set the alignment
6754 of the individual components of the button (title, value,
6755 image). Also, new method to alter the xscale and yscale properties
6756 of the GtkAlignment inside the button, so more complex layouts can
6759 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6761 * src/hildon-button.c (hildon_button_style_set)
6762 (hildon_button_class_init, hildon_button_set_arrangement)
6763 (hildon_button_construct_child): Apply style properties
6764 correctly. Use the 'image-spacing' style property too.
6766 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6768 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6769 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6772 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6774 * src/hildon-pannable-area.c,
6775 (hildon_pannable_area_size_request): Fixed problem with
6776 pannable-area size_request.
6778 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6780 Added management for the grab-focus to a child widget, like a
6781 range, we need to fade out the scrollbar when releasing.
6783 * src/hildon-pannable-area.c,
6784 (hildon_pannable_area_init): Connected the grab-focus signal to
6786 (hildon_pannable_area_grab_notify): Added this function in order
6787 to manage the situation when the grab-focus ends. We have to
6788 fade-out the scrollbar.
6790 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6792 * src/hildon-app-menu.c: Minor documentation update.
6794 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6796 * src/hildon-app-menu.c
6797 * examples/hildon-app-menu-example.c (create_menu): Update
6798 examples and documentation to explain how to connect callbacks.
6800 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6802 * examples/hildon-button-example.c
6803 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6804 hildon_stackable_window_new instead of gtk_window_new
6806 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6808 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6809 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6810 (hildon_pannable_area_set_property),
6811 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6812 (hildon_pannable_area_unrealize),
6813 (hildon_pannable_area_size_request),
6814 (hildon_pannable_area_size_allocate),
6815 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6816 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6817 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6818 (hildon_pannable_area_initial_effect),
6819 (hildon_pannable_area_redraw),
6820 (hildon_pannable_area_scroll_indicator_fade),
6821 (hildon_pannable_area_expose_event),
6822 (hildon_pannable_area_get_topmost), (synth_crossing),
6823 (hildon_pannable_area_button_press_cb),
6824 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6825 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6826 (hildon_pannable_area_motion_notify_cb),
6827 (hildon_pannable_area_button_release_cb),
6828 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6829 (hildon_pannable_area_remove),
6830 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6831 chage the code layout to a more GtkWidget like. Review the use of
6834 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6836 * examples/hildon-pannable-area-example-4.c,
6837 (main): Modified the name of the hindicator_mode to
6840 * src/hildon-pannable-area.c,
6841 (hildon_pannable_area_class_init),
6842 (hildon_pannable_area_motion_notify_cb),
6843 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6844 we have reduced the amount of signals and managed reviewed its
6845 rationale. Changed the default decelerate value.
6847 (hildon_pannable_area_add),
6848 (hildon_pannable_area_redraw): Refactored functions.
6850 (hildon_pannable_area_init),
6851 (hildon_pannable_area_get_property),
6852 (hildon_pannable_area_set_property):
6853 (hildon_pannable_draw_vscroll),
6854 (hildon_pannable_draw_hscroll),
6855 (hildon_pannable_area_initial_effect),
6856 (hildon_pannable_area_expose_event),
6857 (hildon_pannable_area_scroll),
6858 (hildon_pannable_area_button_press_cb),
6859 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6860 and vindicator_mode with hscrollbar_policy and
6861 vscrollbar_policy. Replaced hscroll and vscroll with
6862 hscroll_visible and vscroll_visible.
6864 (hildon_pannable_area_refresh): Refactor the function, remove
6865 variables and check the calls to this function, added resize
6866 conditions in case the children change their layout.
6868 (hildon_pannable_area_size_request): Added more detailed
6869 size_request calculation.
6872 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6874 * src/hildon-color-chooser.c
6875 (init_borders): use the correct gtk_border_free instead of g_free, to
6876 avoid a crash when this widget is used (ie: the three color selection
6879 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6881 * src/hildon-check-button.c,
6882 (hildon_check_button_set_active): Fixed problem when setting the
6883 active value, the widget was not redrawn.
6885 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6887 * src/hildon-pannable-area.c,
6888 (hildon_pannable_area_refresh),
6889 (hildon_pannable_area_scroll),
6890 (hildon_pannable_area_motion_notify_cb): Small code style change.
6892 (hildon_pannable_area_class_init): Default initial_hint set to
6893 FALSE, it is not in the specs.
6895 (hildon_pannable_area_initial_effect),
6896 (hildon_pannable_area_expose_event),
6897 (hildon_pannable_area_map),
6898 (hildon_pannable_area_init): Moved the launching point of the
6899 initial effect, it was in map but the sizes where not correct in
6900 that method so we do not know if we have the reproduce it. Now it
6901 is placed in the expose_event method and uses a variable to
6902 reproduce it just once.
6904 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6906 * src/hildon-pannable-area.c,
6907 (hildon_pannable_draw_vscroll),
6908 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6909 position allowed for the scrollbars.
6911 (hildon_pannable_area_size_allocate): Small style change.
6913 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6915 * src/hildon-pannable-area.c,
6916 (hildon_pannable_area_scroll_indicator_fade),
6917 (hildon_pannable_area_button_press_cb),
6918 (hildon_pannable_area_button_release_cb),
6919 (hildon_pannable_area_scroll_cb),
6920 (hildon_pannable_area_expose_event),
6921 (hildon_pannable_area_init): Added the define parameter
6922 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6923 and refactor the fade variable.
6925 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6927 * src/hildon-pannable-area.c,
6928 (hildon_pannable_area_redraw),
6929 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6930 lines, we were reimplemeting the redraw code.
6932 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6934 * src/hildon-pannable-area.c,
6935 (hildon_pannable_area_scroll_cb),
6936 (hildon_pannable_area_realize),
6937 (hildon_pannable_area_class_init): Added scroll_event management
6938 for pannable area, now we can scroll the usual desktop method.
6940 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6941 initialization of the parameters should depend on idle_id.
6943 (hildon_pannable_area_init),
6944 (hildon_pannable_area_map): Small code style modifications
6946 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6948 * src/hildon-pannable-area.c
6949 (hildon_pannable_area_button_press_cb),
6950 (hildon_pannable_area_motion_notify_cb),
6951 (hildon_pannable_area_button_release_cb),
6952 (hildon_pannable_area_size_allocate),
6953 (hildon_pannable_area_scroll_to): Improved the timeouts
6954 management, we avoid creating them each time.
6956 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6958 * src/hildon-pannable-area.c:
6959 (hildon_pannable_area_refresh),
6960 (hildon_pannable_area_motion_notify_cb),
6961 (hildon_pannable_area_class_init):
6962 * src/hildon-pannable-area.h:
6963 * src/hildon-touch-selector.c
6964 (_create_new_column):
6965 * examples/hildon-pannable-area-example-4.c:
6966 (horizontal_movement),
6967 (vertical_movement),
6969 Replaced the names of enums in the HildonPannableArea:
6970 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6971 HILDON_MOVEMENT_MODE_*
6972 - HILDON_PANNABLE_AREA_MOV_* ->
6974 - Removed HildonPannableAreaIndicatorMode, now we
6977 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6979 * examples/hildon-pannable-area-touch-grid-example.c
6980 * examples/hildon-pannable-area-touch-list-example.c: Fix
6981 compilation warnings.
6983 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6985 * src/hildon-gtk.c (hildon_gtk_button_new)
6986 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6987 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6988 images overriding the value of the "gtk-button-images" setting.
6990 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6992 * src/hildon-check-button.c (hildon_check_button_new):
6993 Instead of using a custom container, display the label and the
6994 checkbox using the standard GtkButton API.
6996 * examples/hildon-check-button-example.c (main): Don't use
6997 hildon_check_button_set_label() anymore
6999 * src/hildon-check-button.h
7000 * src/hildon-check-button.c
7001 (hildon_check_button_set_label, hildon_check_button_get_label):
7002 Set as deprecated, now we're using gtk_button_{get,set}_label()
7004 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7006 * src/hildon-pannable-area.c,
7007 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7008 GtkTreeview first line we detected it after the inclusion of the
7009 GtkWindowImpl in gtk+. We now check if the window is visible, not
7010 just if the pointer is over the window.
7011 (hildon_pannable_axis_scroll),
7012 (hildon_pannable_area_expose_event): Small style changes.
7014 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7016 * src/hildon-button.c: Update documentation.
7018 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7020 * examples/hildon-button-example.c: Add a switch to show images in
7023 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7025 * doc/hildon-docs.sgml: Some docs reorganization.
7027 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7029 * examples/hildon-pannable-area-touch-list-example.c
7031 * examples/hildon-pannable-area-touch-grid-example.c
7032 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7033 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7034 Fix memory leak when setting the tree model.
7036 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7040 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7042 * doc/hildon.types: Remove duplicated hildon_window_get_type
7043 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7044 documentation comment.
7046 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7048 * doc/Makefile.am: Complete list of private headers.
7050 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7052 * doc/hildon-docs.sgml
7053 * src/hildon-app-menu.c
7054 * src/hildon-bread-crumb.c
7055 * src/hildon-button.c
7057 * src/hildon-program.c
7058 * src/hildon-stackable-window.c
7059 * src/hildon-window.c: Lots of documentation updates.
7061 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7063 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7065 * configure.ac: Require Gtk+ 2.12.9 at least
7067 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7069 * src/hildon-pannable-area.c
7070 (hildon_pannable_area_scroll_indicator_fade),
7071 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7072 to protect the return of this timeout callbacks, avoiding deadlocks.
7074 2008-08-12 Christian Dywan <christian@imendio.com>
7077 * src/hildon-*.h: Ensure a consistent include order,
7078 include <gtk/gtk.h> instead of particular files and
7079 only include the topmost header in the gtk stack. See NB #39857
7081 2008-08-12 Christian Dywan <christian@imendio.com>
7083 * src/hildon-picker-dialog.c
7084 * src/hildon-touch-selector.c: Fix warnings about unused and
7085 uninitialized variables.
7087 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7089 * examples/Makefile.am
7090 * examples/hildon-check-button-example.c: Example of the hildon
7093 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7095 * src/hildon-window.h
7096 * src/hildon-window.c (hildon_window_class_init)
7097 (hildon_window_unset_program): Don't make
7098 hildon_window_unset_program a virtual function anymore.
7100 * src/hildon-stackable-window.c: Update documentation
7102 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7105 * doc/hildon-docs.sgml
7106 * doc/visual_index.xml
7107 * src/hildon-defines.c
7109 * src/hildon-helper.c
7110 * src/hildon-range-editor.c: Lots of documentation fixes.
7112 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7114 * examples/hildon-picker-button-multicolumn-example.c
7115 (create_touch_selector): Fix compilation warning.
7117 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7119 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7120 (hildon_pannable_area_button_release_cb)
7121 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7123 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7125 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7128 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7130 * src/hildon-bread-crumb-trail.h
7131 * src/hildon-date-editor.c
7132 * src/hildon-date-selector.c
7133 * src/hildon-pannable-area.c
7134 * src/hildon-picker-dialog.c
7135 * src/hildon-time-selector.c
7136 * src/hildon-touch-selector-entry.c
7137 * src/hildon-touch-selector.c
7138 * src/hildon-touch-selector.h: Misc documentation fixes
7140 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7142 * examples/hildon-date-editor-example.c (main): Updated date
7145 * examples/hildon-note-example.c (on_confirmation_clicked):
7146 Updated confirmation note example.
7148 * src/hildon-date-editor.c
7149 * src/hildon-note.c: Updated sample programs in documentation.
7152 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7154 * src/hildon-date-button.h:
7155 * src/hildon-picker-button.h:
7156 * src/hildon-time-button.c:
7157 * src/hildon-time-button.h:
7159 Some declarations changes to allow gtk-doc to document the widgets
7162 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7164 * src/hildon-date-button.c: Document the widget.
7165 * src/hildon-time-button.c: Document the widget.
7167 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7169 * src/hildon-picker-button.c: Document the widget.
7170 * src/hildon-touch-selector-entry.c: Document the widget.
7172 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7174 * doc/hildon-docs.sgml
7177 * src/hildon-check-button.h
7178 * src/hildon-check-button.c: New functions to create the Hildon
7182 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7184 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7186 * src/hildon-button.h
7187 * src/hildon-button.c
7188 (hildon_button_add_title_size_group)
7189 (hildon_button_add_value_size_group)
7190 (hildon_button_add_image_size_group)
7191 (hildon_button_add_size_groups): New functions to set size groups
7192 for the button labels and image.
7193 (hildon_button_new_full): Removed
7195 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7197 * src/hildon-time-selector.c
7198 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7199 in order to avoid a crash if gconf is not available
7201 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7203 * src/hildon-button.c (hildon_button_set_arrangement)
7204 (hildon_button_construct_child): Don't construct the button child
7205 before setting the arrangement.
7207 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7209 * src/hildon-program-private.h
7210 * src/hildon-program.c
7211 * src/hildon-program.h
7212 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7213 (hildon_program_peek_window_stack)
7214 (hildon_program_pop_window_stack)
7215 (hildon_program_go_to_root_window): HildonProgram now has a
7216 separate list for stackable windows. Functions are provided to
7217 manage that list with a stack-like API.
7219 * src/hildon-stackable-window.c: Stackable window management is
7220 now much simpler with the new HildonProgram API. Windows no
7221 longer need to be manually added to the program, they're
7222 automatically pushed to the top of the stack when shown.
7224 * examples/hildon-stackable-window-example.c: Updated example to
7225 reflect the API changes.
7227 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7229 * src/hildon-touch-selector.c: Comment out unimplemented
7230 hildon_touch_selector_insert_column() to avoid a compile warning.
7232 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7234 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7235 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7236 (hildon_touch_selector_set_column_selection_mode),
7237 (_hildon_touch_selector_set_model),
7238 (hildon_touch_selector_set_model):
7240 Complete review of HildonTouchSelector documentation.
7242 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7244 * doc/hildon-docs.sgml
7248 * src/hildon-gtk.c: Convenience functions for standard Gtk
7249 widgets, used to easily perform frequent operations.
7251 * src/hildon-button-helpers.h
7252 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7254 * src/hildon-helper.h
7255 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7256 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7258 * src/hildon-button.h
7259 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7261 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7263 * src/hildon-button.c (hildon_button_init)
7264 (hildon_button_set_arrangement, hildon_button_construct_child):
7265 Pack the image and the labels inside the same GtkAlignment so
7266 gtk_button_set_alignment() can be used
7268 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7270 * src/hildon-button.h
7271 * src/hildon-button.c
7272 (hildon_button_init, hildon_button_set_image)
7273 (hildon_button_set_image_position)
7274 (hildon_button_construct_child): New functions to add an image to
7277 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7279 * src/hildon-date-button.c
7280 * src/hildon-picker-button.c
7281 * src/hildon-time-button.c
7282 * src/hildon-button.c:
7283 (hildon_button_class_init): "size-flags" renamed to "size"
7284 (hildon_button_set_title): Hide the title label if set to NULL.
7286 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7288 HildonButtonFlags split into HildonButtonArrangement (to set the
7289 button layout) and HildonSizeType (which can be used for any
7292 * src/hildon-button.h
7293 * src/hildon-button.c
7294 (hildon_button_class_init)
7295 (hildon_button_set_arrangement)
7296 (hildon_button_set_property): New "size-flags"
7297 property. "arrangement-flags" renamed to "arrangement".
7298 (hildon_button_new, hildon_button_new_with_text)
7299 (hildon_button_new_full): Constructors updated to reflect type changes.
7301 * src/hildon-helper.h
7302 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7303 to set the size of a widget.
7307 * src/hildon-button-helpers.c
7308 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7310 * src/hildon-date-button.c
7311 * src/hildon-date-button.h
7312 * src/hildon-picker-button.c
7313 * src/hildon-picker-button.h
7314 * src/hildon-time-button.c
7315 * src/hildon-time-button.h: Updated widgets to reflect
7316 HildonButton API changes.
7318 * examples/hildon-button-example.c
7319 * examples/hildon-date-button-example.c
7320 * examples/hildon-picker-button-example.c
7321 * examples/hildon-picker-button-multicolumn-example.c
7322 * examples/hildon-time-button-example.c
7323 * examples/hildon-touch-selector-entry-example.c
7324 * examples/hildon-touch-selector-example.c: Updated examples to
7325 reflect HildonButton API changes.
7327 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7329 * doc/hildon-docs.sgml:
7331 * examples/Makefile.am:
7332 * examples/hildon-touch-selector-entry-example.c:
7334 * src/hildon-touch-selector-entry.c:
7335 * src/hildon-touch-selector-entry.h:
7338 Moved HildonTouchSelectorEntry from sandbox. Added its
7339 documentation and examples.
7341 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7343 * src/hildon-touch-selector.h:
7344 * examples/hildon-picker-button-multicolumn-example.c:
7345 (hildon_touch_selector_append_text_column): Add a gboolean
7346 parameter to determine if text must be centered in the column.
7348 * src/hildon-date-selector.c: (hildon_date_selector_init):
7349 * src/hildon-time-selector.c: (hildon_time_selector_init):
7350 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7351 (create_touch_selector): Update widgets and example to reflect
7354 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7356 * src/hildon-touch-selector.c:
7357 (hildon_touch_selector_set_active_iter): Set also the cursor in
7360 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7362 * doc/hildon-docs.sgml
7365 * src/hildon-toggle-button.c
7366 * src/hildon-toggle-button.h
7367 * src/hildon.h: Removed HildonToggleButton widget, a derived
7368 class is not necessary for this.
7370 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7372 * src/hildon-pannable-area.c,
7373 (hildon_pannable_area_realize),
7374 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7377 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7379 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7380 "done" button the default widget for the dialog.
7382 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7384 * src/hildon-touch-selector.c:
7385 (hildon_touch_selector_class_init),
7386 (hildon_touch_selector_get_property),
7387 (_hildon_touch_selector_set_model),
7388 (_hildon_touch_selector_has_multiple_selection),
7389 (hildon_touch_selector_has_multiple_selection):
7390 Add a "has-multiple-selection" property with a virtual
7391 has_multiple_selection() method to allow derived classes to
7392 override the default value for it. See the method and property
7393 documentation for details.
7395 * src/hildon-touch-selector.h: Add the new API.
7397 * src/hildon-picker-dialog.c: (requires_done_button): Call
7398 hildon_touch_selector_has_multiple_selection() instead of
7399 determining the need for a button itself.
7401 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7403 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7404 (_hildon_touch_selector_set_model),
7405 (hildon_touch_selector_set_model): Move working code to
7406 _hildon_touch_selector_set_mode(). Call the class method instead.
7408 * src/hildon-touch-selector.h: Add (*set_model) to
7409 HildonTouchSelectorClass.
7411 Make hildon_touch_selector_set_model() a virtual method, so that
7412 derived classes can extend it and do fancy stuff with the model.
7414 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7416 * configure.ac: Set back the tarname in AC_INIT to hildon.
7418 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7422 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7423 instead of libesd (NB#86876). Volume handling is still an open issue.
7425 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7428 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7430 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7431 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7432 derived class to ease placement of an entry widget in
7433 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7434 end, where the selector columns are packed now.
7436 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7438 * src/hildon-picker-button.c: Removed the simple _text() API.
7439 * src/hildon-picker-button.h: Likewise.
7441 * src/hildon-touch-selector.h:
7442 * src/hildon-touch-selector.c:
7443 (hildon_touch_selector_new_text),
7444 (hildon_touch_selector_append_text),
7445 (hildon_touch_selector_prepend_text),
7446 (hildon_touch_selector_insert_text):
7448 Moved the simple _text() API from HildonPickerButton to
7449 HildonTouchPicker, to provide better escalability and not to tie
7450 that API to HildonPickerButton.
7452 * examples/hildon-picker-button-example.c: (main): Example updated.
7454 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7456 * src/hildon-button.c: Updated documentation.
7458 * examples/hildon-button-example.c: Add the posibility to create
7459 the buttons using horizontal layout for title and value.
7461 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7463 * src/hildon-app-menu-private.h
7464 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7465 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7466 GtkSizeGroup for the filters, use the 'homogeneous' property of
7469 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7471 * examples/hildon-button-example.c: Updated example.
7473 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7475 * doc/hildon-docs.sgml:
7478 Update documentation.
7480 * examples/Makefile.am: Update renamed examples.
7482 * examples/hildon-picker-button-multicolumn-example.c:
7483 (create_touch_selector), (main): Update after the rename.
7485 * examples/hildon-touch-picker-example.c: Removed.
7486 * examples/hildon-touch-selector-example.c: (value_changed),
7487 (create_selector), (get_visible_content), (main): Renamed from
7488 hildon-touch-picker-example.c
7490 * src/Makefile.am: Updated renamed files.
7492 * src/hildon-date-button.c: (hildon_date_button_init),
7493 (hildon_date_button_get_date), (hildon_date_button_set_date):
7494 * src/hildon-date-selector.c: (hildon_date_selector_init),
7495 (_custom_print_func), (_update_day_model),
7496 (_manage_selector_change_cb),
7497 (hildon_date_selector_select_current_date),
7498 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7499 * src/hildon-date-selector.h:
7500 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7501 (hildon_picker_button_set_property),
7502 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7503 (hildon_picker_button_init), (hildon_picker_button_new_text),
7504 (hildon_picker_button_append_text),
7505 (hildon_picker_button_prepend_text),
7506 (hildon_picker_button_insert_text),
7507 (hildon_picker_button_set_selector),
7508 (hildon_picker_button_get_selector):
7509 * src/hildon-picker-button.h:
7510 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7511 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7512 (_update_title_on_selector_changed_cb), (requires_done_button),
7513 (_hildon_picker_dialog_set_selector),
7514 (hildon_picker_dialog_set_selector),
7515 (hildon_picker_dialog_get_selector):
7516 * src/hildon-picker-dialog.h:
7517 * src/hildon-time-button.c: (hildon_time_button_init),
7518 (hildon_time_button_get_time), (hildon_time_button_set_time):
7519 * src/hildon-time-selector.c: (hildon_time_selector_init),
7520 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7521 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7522 * src/hildon-time-selector.h:
7525 Massive code updates after the rename.
7527 * src/hildon-touch-picker.c: Removed.
7528 * src/hildon-touch-picker.h: Removed.
7530 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7531 (hildon_touch_selector_init), (hildon_touch_selector_map),
7532 (hildon_touch_selector_remove), (_default_print_func),
7533 (_selection_changed_cb), (_create_new_column),
7534 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7535 (hildon_touch_selector_append_text_column),
7536 (hildon_touch_selector_remove_column),
7537 (hildon_touch_selector_set_column_attributes),
7538 (hildon_touch_selector_insert_column),
7539 (hildon_touch_selector_get_num_columns),
7540 (hildon_touch_selector_get_column_selection_mode),
7541 (hildon_touch_selector_set_column_selection_mode),
7542 (hildon_touch_selector_set_print_func),
7543 (hildon_touch_selector_get_print_func),
7544 (hildon_touch_selector_get_active_iter),
7545 (hildon_touch_selector_set_active_iter),
7546 (hildon_touch_selector_get_selected_rows),
7547 (hildon_touch_selector_get_model),
7548 (hildon_touch_selector_set_model),
7549 (hildon_touch_selector_get_current_text),
7550 (_hildon_touch_selector_center_on_selected_items):
7551 * src/hildon-touch-selector.h: Renamed from
7552 hildon-touch-picker.[ch]
7554 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7555 references, code examples, and related documentation.
7557 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7559 * doc/hildon-docs.sgml
7562 * src/hildon-toggle-button.c
7563 * src/hildon-toggle-button.h
7564 * src/hildon.h: New HildonToggleButton widget.
7566 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7568 * src/hildon-button.c: Add API documentation.
7569 (hildon_button_set_size_groups): Check input parameters
7571 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7573 * src/hildon-pannable-area.c
7574 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7575 effect after reaching the movement thredshold. This way we start
7576 using the distance after passing the thredshold.
7578 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7580 * src/hildon-button.c: (hildon_button_set_property): Use the
7581 appropriate g_value_get_flags() method.
7583 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7585 * doc/hildon-docs.sgml:
7588 Add the touch pickers, picker dialogs, and picker button widgets
7589 to the documentation.
7591 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7593 * src/hildon-button.c: (hildon_button_set_property),
7594 (hildon_button_class_init): Make "arrangement-flags" a proper
7595 G_TYPE_FLAGS derived property.
7597 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7599 * examples/Makefile.am: Add below examples.
7600 * examples/hildon-date-button-example.c:
7601 * examples/hildon-picker-button-example.c:
7602 * examples/hildon-picker-button-multicolumn-example.c:
7603 * examples/hildon-time-button-example.c:
7604 * examples/hildon-touch-picker-example.c:
7606 Add examples for the recently added touch pickers,
7607 picker dialogs, and picker button widgets.
7609 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7611 * src/hildon-button.c: Add some API documentation
7613 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7615 * src/hildon-button.h
7616 * src/hildon-button.c
7618 (hildon_button_new_with_text): New constructor to create a button
7619 with no text at all.
7620 (hildon_button_init, hildon_button_set_arrangement)
7621 (hildon_button_set_title, hildon_button_set_value)
7622 (hildon_button_set_text)
7623 (hildon_button_construct_child): Hide the value when it's not used
7624 so the rest of the text is properly aligned.
7625 Allow creating buttons with arbitrary widgets inside (not just
7626 title/value labels).
7628 * examples/hildon-button-example.c (vertical_buttons_window)
7629 (horizontal_buttons_window): Update example to use new API.
7631 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7633 * src/Makefile.am: Added HildonTimeButton.
7634 * src/hildon-time-button.c: Added missing LGPL header.
7635 * src/hildon-time-button.h: Added missing LGPL header.
7636 * src/hildon.h: Add hildon-time-button.h
7638 Copied HildonTimeButton from sandbox to trunk. Future work on this
7639 widget must take place in trunk.
7641 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7643 * src/Makefile.am: Added HildonDateButton.
7644 * src/hildon-date-button.c: Update includes.
7645 * src/hildon.h: Add hildon-date-button.h
7647 Copied HildonDateButton from sandbox to trunk. Future work on this
7648 widget must take place in trunk.
7650 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7652 * src/Makefile.am: Added HildonPickerButton.
7653 * src/hildon-picker-button.h: Update includes.
7654 * src/hildon.h: Add hildon-picker-button.h
7656 Copied HildonPickerButton from sandbox to trunk. Future work on
7657 this widget must take place in trunk.
7659 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7661 * src/Makefile.am: Added HildonPickerDialog.
7662 * src/hildon-picker-dialog.c: Update includes.
7663 * src/hildon.h: Add hildon-picker-dialog.h
7665 Copied HildonPickerDialog from sandbox to trunk. Future work
7666 on this widget must take place in trunk.
7668 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7670 * src/Makefile.am: Added HildonTimeSelector.
7671 * src/hildon.h: Add hildon-time-selector.h
7673 Copied HildonTimeSelector widget from sandbox to trunk. Future
7674 work on this widget must happen in trunk.
7676 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7678 * src/Makefile.am: Added HildonDateSelector.
7679 * src/hildon.h: Add hildon-date-selector.h
7681 Copied HildonDateSelector widget from sandbox to trunk. Future
7682 work on this widget must happen in trunk.
7684 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7686 * src/Makefile.am: Added HildonTouchPicker.
7687 * src/hildon-touch-picker.c: Update includes.
7688 * src/hildon.h: Add hildon-touch-picker.h
7690 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7691 on this widget must happen in trunk.
7693 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7695 * src/hildon-pannable-area.c:
7696 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7698 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7700 * examples/hildon-app-menu-example.c (main): Let the window
7703 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7705 * src/hildon-pannable-area.c
7706 (hildon_pannable_area_class_init): Set the min value of the
7707 overshoot properties to zero, which points out that not
7708 overshooting allowed.
7710 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7712 Modified the procedure to get the widget at a point inside the
7713 pannable area when using the movement type signals. Now the user
7714 has to call a function to get the child, that way we just
7715 calculate the child in case the user really want to use it and not
7718 * src/hildon-marshalers.list: Modified the marshallers, now we do
7719 not have the widget as a parameter.
7721 * src/hildon-pannable-area.c
7722 (hildon_pannable_area_motion_notify_cb),
7723 (hildon_pannable_area_class_init),
7724 (hildon_pannable_get_child_widget_at): Removed the widget
7725 parameter from the signal callback. We have also refactored the
7726 emission of the signals.
7728 * src/hildon-pannable-area.h: Added a new method to the API to
7729 calculate a widget at a point inside the pannable area,
7730 hildon_pannable_get_child_widget_at.
7732 * examples/hildon-pannable-area-example-4.c
7733 (horizontal_movement): Modified the example to use the new API,
7734 added condition to control which widget is under the event. This
7735 way we can avoid scrolling laterally over other widgets.
7737 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7739 * src/hildon-pannable-area.c
7740 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7741 modes, we stop getting the pointer events due to returning the
7742 callback without properly calling the get pointer again. Fixed
7743 also an error using the hscroll and vscroll.
7745 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7747 * src/hildon-app-menu-private.h
7748 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7749 (hildon_app_menu_button_release, hildon_app_menu_init)
7750 (hildon_app_menu_class_init): Don't hide the menu on button
7751 release if the user didn't press outside first.
7753 * src/hildon-window.h
7754 * src/hildon-window.c (hildon_window_toggle_menu)
7755 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7756 hildon_window_toggle_menu a virtual function for the stackable
7757 window to override it.
7759 * src/hildon-stackable-window.h
7760 * src/hildon-stackable-window-private.h
7761 * src/hildon-stackable-window.c
7762 (hildon_stackable_window_realize)
7763 (hildon_stackable_window_finalize)
7764 (hildon_stackable_window_class_init)
7765 (hildon_stackable_window_init)
7766 (hildon_stackable_window_set_main_menu): New function to set the
7767 app menu of a HildonStackableWindow.
7769 * examples/hildon-app-menu-example.c: Remove the button to show
7770 the app menu, now it'll be shown when clicking on the title bar
7773 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7775 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7776 set the widget name if the arrangement flags do not specify
7779 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7781 * src/hildon-button.c: (hildon_button_set_property),
7782 (hildon_button_class_init), (hildon_button_new_full),
7783 (hildon_button_set_arrangement): Added "arrangement-flags"
7786 Make the HildonButtonFlags a construction-only property, to allow
7787 subclasses to set them properly.
7789 2008-07-21 Tim Janik <timj@imendio.com>
7791 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7792 insertion position after backspace, so additional digits are appended,
7795 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7797 * src/hildon-pannable-area.c,
7798 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7799 TODO list, it was complete and removed the g_debug and g_print
7802 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7804 Added the movement modes to the hildon-pannable-area, with this
7805 modes the developers can control in which directions the widget
7806 can scroll. They can also connect to signals in order to do
7807 something when that happens, allowing applications scroll. There
7808 is an example uploaded showing how to use it.
7810 * examples/Makefile.am:
7811 * examples/hildon-pannable-area-example-4.c: Added this example of
7812 an application using the modes.
7814 * src/hildon-marshalers.list: Added a new marshaller for the new
7817 * src/hildon-pannable-area.h: Added new enumerations and flags in
7818 order to control the movement modes and the new signals to warn
7819 about the movements in the area.
7821 * src/hildon-pannable-area.c:
7822 (hildon_pannable_axis_scroll),
7823 (hildon_pannable_area_scroll),
7824 (hildon_pannable_area_motion_notify_cb),
7825 (hildon_pannable_area_get_property),
7826 (hildon_pannable_area_set_property),
7827 (hildon_pannable_area_map),
7828 (hildon_pannable_area_class_init),
7829 (hildon_pannable_area_init),
7830 (hildon_pannable_area_jump_to): Added the modes to control the
7831 movement in the widget. We have added properties to control it,
7832 signals to warn about the movements and refactored some code.
7834 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7836 Changes required in order to allow vfast_factor set to zero to
7839 * src/hildon-pannable-area.c:
7840 (hildon_pannable_area_button_press_cb): Changed the condition, it
7841 is required for not allowing click when vfast_factor is zero.
7842 (hildon_pannable_area_timeout): Initialized velocity variables
7843 when we stop moving, it was less than 1 but not zero and we need
7844 to check zero in some situations.
7845 (hildon_pannable_area_class_init): Changed the default value of
7846 the speed factor, now the button_press is just sent in case the
7847 speed is 2 per cent of the max speed.
7848 (hildon_pannable_area_init): Initialization with 0.
7850 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7852 * src/hildon-pannable-area.c,
7853 (hildon_pannable_area_get_topmost): replaced
7854 gdk_window_get_children with gdk_window_peek_children, this way we
7855 do not have to free the list because it is not a copy.
7857 (hildon_pannable_axis_scroll),
7858 (hildon_pannable_area_scroll),
7859 (hildon_pannable_area_timeout),
7860 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7861 two parameters that were only used inside the
7862 hildon_pannable_area_scroll function.
7864 * examples/hildon-pannable-area-example.c,
7865 (get_sawtooth_label): Fixed small memory leak.
7867 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7869 More checks for the case where the overshoot is bigger than the
7872 * src/hildon-pannable-area.c:
7873 (hildon_pannable_draw_vscroll),
7874 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7875 to draw the slider of the scrollbar under the other scrollbar.
7876 (hildon_pannable_area_expose_event): added new checks to control
7877 the drawing of the overshooting area rectangle, in case it is too
7878 big for the area of the widget.
7879 (hildon_pannable_area_size_allocate): add more checks to avoid
7880 setting a position to the child widget outside the area.
7882 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7884 * src/hildon-pannable-area.c
7885 (hildon_pannable_area_size_allocate): Added conditions to control
7886 when overshooting is bigger than the allocated space for the
7887 children, this avoids negative allocations.
7889 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7891 * doc/hildon-docs.sgml
7893 * examples/Makefile.am
7894 * examples/hildon-button-example.c
7896 * src/hildon-button.c
7897 * src/hildon-button.h
7898 * src/hildon.h: Initial version of the new HildonButton widget,
7901 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7903 * src/hildon-pannable-area.c:
7904 (hildon_pannable_area_button_press_cb),
7905 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7906 (hildon_pannable_area_motion_notify_cb),
7907 (hildon_pannable_area_button_release_cb),
7908 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7909 (hildon_pannable_area_jump_to_child):
7911 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7913 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7915 * examples/Makefile.am
7916 * examples/hildon-pannable-area-touch-grid-example.c
7917 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7918 the Hildon Touch List and Hildon Touch Grid using the
7919 HildonPannableArea widget.
7921 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7923 * src/hildon-pannable-area.c,
7924 (hildon_pannable_area_button_press_cb),
7925 (hildon_pannable_area_refresh),
7926 (hildon_pannable_area_scroll),
7927 (hildon_pannable_area_motion_notify_cb),
7928 (hildon_pannable_area_button_release_cb),
7929 (hildon_pannable_area_expose_event),
7930 (hildon_pannable_area_add),
7931 (hildon_pannable_area_remove),
7932 (hildon_pannable_area_realize),
7933 (hildon_pannable_area_size_allocate),
7934 (hildon_pannable_area_class_init),
7935 (hildon_pannable_area_init),
7936 (hildon_pannable_area_scroll_to_child),
7937 (hildon_pannable_area_jump_to_child): Fixed the problem of
7938 removing the child from the GtkBin, we have rearranged the widget
7939 hierarchy, now there is no GtkAlignment which was not doing
7940 anything interesting but breaking some of the assumptions of
7941 GtkContainer. Now developers if they want to add a GtkAlignment
7942 they could, but it is not inside the area.
7944 We had to review the whole allocation/expose process, now it is
7945 improved and we save at least three signals which would be saving
7946 some time when rendering the widget. The allocation of the
7947 scrollbars is now made in the allocate method as usual.
7949 We have also added some conditions in order to control when there
7950 is no child of the pannable area. Maybe we will need more work
7953 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7955 * src/hildon-pannable-area.c,
7956 (hildon_pannable_area_dispose): Released the fade-out timeout when
7957 disposing the widget.
7959 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7961 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7962 zero, we are going to use that property in order to deactivate the
7964 (hildon_pannable_axis_scroll),
7965 (hildon_pannable_area_size_allocate): Added conditions to control
7966 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7967 call, now it is called in all situations and we can remove calls
7968 in the allocate method.
7969 (hildon_pannable_area_map): Control the situation when
7970 overshoot_max is zero, we do not need the timeout.
7971 (hildon_pannable_area_class_init): Added documentation in order to
7972 point out that setting zero to overshoot_max means deactivate
7975 NOTE: removed trailing whitespaces from my previous comments of
7978 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7980 * src/hildon-pannable-area.c
7981 (hildon_pannable_area_get_property),
7982 (hildon_pannable_area_set_property),
7983 (hildon_pannable_area_map),
7984 (hildon_pannable_area_class_init),
7985 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7986 to cause the widget give a hint about its panning abilities upon
7989 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7991 * src/hildon-pannable-area.c: Several documentation improvements.
7993 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7995 * src/hildon-program.c
7996 * src/hildon-stackable-window.c: Update documentation.
7998 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8000 * src/hildon-stackable-window.c (get_previous_window_if_last):
8001 Renamed get_last_window()
8002 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8003 (hildon_stackable_window_unset_program):
8005 (get_previous_window_if_last):
8006 Detect if the window hasn't been added to a HildonProgram.
8008 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8010 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8012 * src/hildon-pannable-area.c
8013 (hildon_pannable_area_button_press_cb),
8014 (hildon_pannable_axis_scroll),
8015 (hildon_pannable_area_scroll),
8016 (hildon_pannable_area_timeout),
8017 (hildon_pannable_calculate_vel_factor),
8018 (hildon_pannable_area_get_property),
8019 (hildon_pannable_area_set_property),
8020 (hildon_pannable_area_class_init),
8021 (hildon_pannable_area_init),
8022 (hildon_pannable_area_scroll_to),
8023 (hildon_pannable_area_jump_to),
8024 (hildon_pannable_area_scroll_to_child),
8025 (hildon_pannable_area_jump_to_child):
8026 * src/hildon-pannable-area.h: Added the new API functions:
8027 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8028 hildon_pannable_area_scroll_to_child,
8029 hildon_pannable_area_jump_to_child
8032 * examples/Makefile.am
8033 * examples/hildon-pannable-area-example-2.c
8034 * examples/hildon-pannable-area-example-3.c: Added these two new
8035 examples in order to test and show how the new APIs work.
8037 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8039 * examples/hildon-stackable-window-example.c (new_window):
8040 * src/Makefile.am (noinst_HEADERS):
8041 * src/hildon-program.c (hildon_program_go_to_root_window):
8042 * src/hildon-program.h:
8043 * src/hildon-stackable-window-private.h:
8044 * src/hildon-stackable-window.c:
8045 * src/hildon-stackable-window.h:
8046 Create hildon-stackable-window-private.h
8047 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8049 * examples/hildon-app-menu-example.c (create_menu):
8050 * examples/hildon-hvolumebar-insensitive-example.c (main):
8051 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8052 * examples/hildon-toolbar-seekbar-example.c (main):
8053 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8054 * src/hildon-banner.c (hildon_banner_set_property):
8055 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8056 Fix compilation warnings
8058 * src/hildon-window.c:
8061 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8063 * src/hildon-stackable-window.c
8064 (hildon_stackable_window_unset_program):
8065 Calculate correctly whether to show the previous window if the
8066 last one is removed from the stack.
8067 (hildon_stackable_window_go_to_root_window):
8068 Send delete events starting from the topmost window.
8069 Stop if one of the windows is not destroyed.
8071 (hildon_stackable_window_delete_event)
8072 (hildon_stackable_window_class_init):
8073 Ignore the delete event if the window is not the topmost one.
8075 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8077 * src/hildon-pannable-area.c
8078 (hildon_pannable_area_expose_event): Fixed a problem when
8079 selecting the background color of the scrollbars.
8081 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8083 * examples/hildon-stackable-window-example.c
8084 * src/hildon-stackable-window.c
8085 * src/hildon-stackable-window.h
8086 hildon_stackable_window_go_home() renamed to
8087 hildon_stackable_window_go_to_root_window()
8088 Send delete events to windows rather than closing them with
8089 gtk_widget_destroy()
8091 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8093 * src/hildon-pannable-area.c
8094 (hildon_pannable_area_button_release_cb): Fix overshooting in
8097 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8099 * src/hildon-pannable-area.c
8100 (hildon_pannable_area_init): Initially show the scroll indicators.
8101 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8103 Add initial effect showing the widget is pannable.
8105 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8107 * src/hildon-pannable-area.c
8108 (hildon_pannable_area_class_init)
8109 (hildon_pannable_area_set_property)
8110 (hildon_pannable_area_get_property)
8111 (hildon_pannable_area_button_press_cb):
8112 New 'velocity_fast_factor' property to decide which velocity is
8115 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8117 * src/hildon-pannable-area.c
8118 (hildon_pannable_draw_hscroll)
8119 (hildon_pannable_draw_vscroll):
8120 Use float variables to calculate the size of the scrollbars to
8121 avoid error propagation and resizing during scrolling.
8123 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8125 * src/hildon-pannable-area.c
8126 (hildon_pannable_draw_vscroll)
8127 (hildon_pannable_draw_hscroll):
8128 Define a minimum size for the scroll bars
8130 * src/hildon-stackable-window.c
8131 (hildon_stackable_window_go_home): Fix compilation warning
8132 (get_last_window): Minor optimizations
8133 (hildon_stackable_window_class_init): Fix initialization of
8136 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8138 * src/hildon-stackable-window.c: Fixed typos in doc
8140 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8142 * src/hildon-pannable-area.c
8143 (hildon_pannable_area_scroll):
8144 Calculate here whether we need to scroll instead of using the booleans
8145 that tell us whether to /draw/ the scrolling bars.
8147 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8149 * src/hildon-app-menu.h
8151 * src/hildon-app-menu.c
8152 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8153 multiple filter groups related code and API. Now we support only
8155 * examples/hildon-app-menu-example.c:
8157 Update to reflect API changes.
8159 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8161 * src/hildon-stackable-window.c
8162 (hildon_stackable_window_class_init):
8163 Add hildon_stackable_window_realize.
8164 (hildon_stackable_window_realize):
8165 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8166 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8167 to apply theming and behavior specific to HildonStackableWindow
8170 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8172 * src/hildon-note.c (hildon_note_button_release):
8173 Close information notes also when tapping on them
8175 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8177 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8178 ELASTICITY, refactor and review, fix some issues with drawing
8181 * src/hildon-pannable-area.c:
8182 (hildon_pannable_area_button_press_cb): removed the conditions to
8183 avoid clicks when overshooting. It is not required
8185 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8186 define. Refatored and reviewed the code, now we do not need to
8187 manage velocity in motion_notify.
8189 (hildon_pannable_area_motion_notify_cb): We have moved the code
8190 that controls the area_scroll to the axis_scroll function and get
8191 rid of duplicated code.
8193 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8195 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8197 (hildon_pannable_draw_vscroll),
8198 (hildon_pannable_draw_hscroll): Fixed the problems with the
8199 scrollbar drawing, now we do not use two surfaces, it is easier
8200 and saves resources.
8202 (hildon_pannable_area_get_property): Style modification.
8204 (hildon_pannable_area_class_init): Changed some default values.
8206 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8208 * src/hildon-stackable-window.c: Fix some typos in the
8211 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8213 * src/hildon-dialog.c:
8214 Change indentation style
8217 (hildon_note_button_release):
8218 Use root coordinates to check if the release event happened
8221 * src/hildon-app-menu.c
8222 (hildon_app_menu_button_release):
8223 Remove unnecessary check
8225 * examples/hildon-app-menu-example.c
8227 Add cast to fix warning
8229 * src/hildon-app-menu.c
8230 (hildon_app_menu_class_init):
8231 New inner-border style property.
8232 Set all default spacings to 16
8233 (hildon_app_menu_init):
8234 Use vertical-spacing to set the space between filter buttons and
8235 regular menu buttons.
8236 Set the default container border using the inner-border value.
8238 * examples/hildon-app-menu-example.c
8240 Don't set the menu border explicitly, now we have the inner-border
8241 style property for that.
8243 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8245 * src/hildon-app-menu.c (hildon_app_menu_init):
8246 Make the window modal
8248 * src/hildon-note.c (hildon_note_map)
8249 * src/hildon-app-menu.c (hildon_app_menu_map):
8250 Destroy the grab window if we're unable to grab the pointer
8252 * src/hildon-app-menu-private.h
8253 * src/hildon-app-menu.c
8254 (hildon_app_menu_init, hildon_app_menu_finalize)
8255 (hildon_app_menu_map, hildon_app_menu_unmap)
8256 (hildon_app_menu_button_release)
8257 (grab_transfer_window_get):
8258 Bring back the grab window
8259 (hildon_app_menu_realize):
8260 Decorate the window, set WM hint for Matchbox
8262 * src/hildon-note.c (hildon_note_realize):
8263 * src/hildon-banner.c (hildon_banner_realize):
8264 Add WM hints for Matchbox
8266 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8268 * src/hildon-app-menu-private.h
8269 * src/hildon-app-menu.c
8270 (hildon_app_menu_init, hildon_app_menu_finalize)
8271 (hildon_app_menu_map, hildon_app_menu_unmap)
8272 (hildon_app_menu_button_release):
8273 Remove the grab window, it's not needed anymore
8275 * src/hildon-program.c
8276 Fixed typo in documentation
8278 * src/hildon-app-menu.h
8279 * src/hildon-app-menu.c
8280 * examples/hildon-app-menu-example.c
8281 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8283 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8286 Added new transfer_window and close_if_pressed_outside private
8288 (hildon_note_rebuild):
8289 Don't add a cancel button to the information note. It will be
8290 closed when tapping outside
8291 Remove the comment about the OK button in the documentation
8292 (hildon_note_realize):
8293 Set the notification type hint
8294 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8295 Grab/ungrab pointer and keyboard if the note has to be closed when
8297 (hildon_note_button_release):
8298 Close the note when tapping outside (if applicable)
8300 * src/hildon-app-menu.c
8301 Grab/ungrab pointer and keyboard on map/unmap
8302 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8303 Close the menu on button release, not button press
8305 * src/hildon-banner.c
8306 (hildon_banner_set_property)
8307 (hildon_banner_check_position):
8308 Make the banner use the full width of the screen
8309 (hildon_banner_show_information)
8310 (hildon_banner_show_information_with_markup):
8311 Don't display an icon by default
8313 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8315 Added fading scrollbars and adapted all the overshooting code to
8316 horizontal scrolling. We have also fixed bugs with overshooting
8317 and current fading implementation.
8319 * src/hildon-pannable-area.c
8320 (hildon_pannable_area_scroll_indicator_fade): Time out function
8321 used to change the transparency of the scrollbars.
8323 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8324 control and fixed a problem with fading, we now remove the fade
8325 timeout before adding a new one.
8327 (hildon_pannable_axis_scroll):
8328 (hildon_pannable_area_scroll):
8329 (hildon_pannable_area_timeout): Added this functions so we can use
8330 the scroll code both for vertical and horizontal.
8332 (hildon_pannable_area_motion_notify_cb):
8333 (hildon_pannable_area_button_release_cb): Added the horizontal
8334 scrolling control, fixed a problem with the overshooting timeout.
8336 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8337 painting of the scrolls.
8339 (hildon_pannable_draw_vscroll):
8340 (hildon_pannable_draw_hscroll):
8341 (hildon_pannable_area_expose_event):
8342 Draw both scrollbars and rectangles in the overshooting area.
8344 (hildon_pannable_area_get_property):
8345 (hildon_pannable_area_set_property):
8346 Modified the overshoot property to overshoot_max
8348 (hildon_pannable_area_map):
8349 Replaced the comments symbols.
8351 (hildon_pannable_area_size_allocate):
8352 (hildon_pannable_area_class_init):
8353 (hildon_pannable_area_init): Added horizontal scroll, fading
8354 effect properties, fixed a problem when overshooting in the bottom
8357 * examples/hildon-pannable-area-example.c:
8358 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8359 looks better in the example.
8361 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8363 * src/hildon-window.c
8364 * src/hildon-window.h
8365 (hildon_window_class_init)
8366 (hildon_window_unset_program)
8367 (hildon_window_unset_program_real):
8368 Make unset_program a virtual function
8370 * src/hildon-stackable-window.c
8371 * src/hildon-stackable-window.h
8372 Added hildon_stackable_window_go_home()
8374 * examples/Makefile.am
8375 * examples/hildon-stackable-window-example.c
8376 HildonStackableWindow example
8378 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8380 * hildon-pannable-area.c: Added the overshoot property and removed
8381 the OVERSHOOT define. Fixed an indent style error.
8382 (hildon_pannable_area_motion_notify_cb):
8383 (hildon_pannable_area_get_property):
8384 (hildon_pannable_area_set_property): Add overshoot property.
8386 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8389 (hildon_pannable_area_class_init): Installed the new property.
8391 * hildon-pannable-area-example.c: Added a sawtooth function, this
8392 way it is easier to check the movement in the pannable.
8393 (get_sawtooth_label): Added this function.
8394 (main): Now we get the labels from the new get_sawtooth_label
8397 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8399 * src/hildon-app-menu.h
8400 * src/hildon-app-menu.c
8401 Renamed API variables for consistency
8403 (hildon_app_menu_popup): Use also the default window size to
8404 decide where to place the menu
8406 (hildon_app_menu_init, hildon_app_menu_class_init): New
8407 external-border style property
8409 2008-05-26 Michael Natterer <mitch@imendio.com>
8411 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8412 widget_class->tap_and_hold_setup signal slot doesn't exist any
8413 longer, stop overriding it.
8415 (hildon_time_editor_init): g_signal_connect() to the
8416 tap-and-hold-setup signal instead.
8418 (hildon_time_editor_entry_keypress): add cast to fix warning.
8420 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8422 * doc/hildon-docs.sgml
8424 * examples/Makefile.am
8425 * examples/hildon-app-menu-example.c
8427 * src/hildon-app-menu-private.h
8428 * src/hildon-app-menu.c
8429 * src/hildon-app-menu.h
8431 New HildonAppMenu widget
8433 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8435 Rearranged the inheritance of the pannable area, now it inherits
8436 from GtkBin. This will allow us to control the event_window and
8437 the allocation process of the widget, required for some effects.
8439 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8440 GtkBin structures. * src/hildon-pannable-area.c: Added the
8441 event_window variable.
8442 (hildon_pannable_area_button_press_cb):
8443 (hildon_pannable_area_button_release_cb):
8444 (hildon_pannable_area_motion_notify_cb):
8445 Changed the signature of the method, now we override the event
8446 callback instead of connecting to the signal.
8448 (hildon_pannable_area_realize):
8449 (hildon_pannable_area_unrealize):
8450 (hildon_pannable_area_map):
8451 (hildon_pannable_area_unmap):
8452 (hildon_pannable_area_size_allocate):
8453 Added functions to control the widget construction. We add a
8454 INPUT_ONLY window and we put it over the widgets inside the
8455 container, this event_window handles the events.
8457 (hildon_pannable_area_class_init):
8458 Replaced the signal connections with overrides of the event
8461 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8463 Bouncing effect added when touching the borders, you can change
8464 the elasticity of the border changing the ELASTICITY define.
8466 * src/hildon-pannable-area.c: Added ELASTICITY define.
8467 (hildon_pannable_area_timeout): Added inverse velocity when
8468 touching the border of the child widget, that causes a bounce.
8470 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8472 Improved performance, we now do not go to the X server in order to
8473 get the list of window children. Apparently the effect is the
8474 same, we have to be careful and check if this breaks something in
8477 * src/hildon-pannable-area.c:
8478 (get_ordered_children): Removed this function.
8479 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8480 the children windows function with gdk_window_get_children.
8482 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8484 * src/hildon-pannable-area.c:
8485 (hildon_pannable_area_dispose): Fixed a crash when closing the
8486 window and kinetics is activated.
8488 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8490 * src/hildon-pannable-area.h
8491 * src/hildon-pannable-area.c
8492 Changed indentation style to meet the one used in Hildon
8494 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8496 Reviewed the interaction of the AUTO mode, now we use the time
8497 attribute of the events and calculate the velocity in the motion,
8498 doing a gimp like calculation. The velocity is calculated in each
8499 motion event using the last velocity and the current one, the
8500 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8502 * src/hildon-pannable-area.c: Replaced the time based algorithm
8504 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8505 timeout for the AUTO mode when we are still moving the cursor. We
8506 added also the velocity calculation in this function.
8507 (hildon_pannable_area_button_release_cb): launch the timeout in
8508 case we are in AUTO mode. There are still some constants here that
8509 come from the old implementation that should be reviewed and
8512 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8514 * doc/hildon-docs.sgml
8517 * src/hildon-stackable-window.c
8518 * src/hildon-stackable-window.h
8520 New HildonStackableWindow widget
8522 * examples/hildon-dialog-example.c
8523 * examples/hildon-pannable-area-example.c
8526 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8528 * src/hildon-dialog.c
8529 (hildon_dialog_new_with_buttons): New constructor.
8531 * examples/hildon-dialog-example.c
8532 (main): Update the example to use the new
8533 hildon_dialog_new_with_buttons().
8535 * examples/hildon-pannable-area-example.c
8536 (main): Update example.
8538 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8540 * doc/hildon-docs.sgml
8542 Added HildonPannableArea to the documentation.
8544 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8546 * doc/visual_index.xml
8547 Fix reference to HildonLoginDialog in documentation
8549 * doc/hildon-docs.sgml
8551 * examples/Makefile.am
8552 * examples/hildon-dialog-example.c
8554 * src/hildon-dialog.c
8555 * src/hildon-dialog.h
8557 New HildonDialog widget.
8559 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8561 * src/hildon-pannable-area.c
8562 Merge latest changes (r4318, r4342) from libmokoui trunk
8564 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8566 * examples/Makefile.am
8567 * examples/hildon-pannable-area-example.c
8569 * src/hildon-pannable-area.c
8570 * src/hildon-pannable-area.h
8572 New HildonPannableArea widget.
8574 2008-04-15 18:05:19 <timj@imendio.com>
8576 * src/hildon-banner.c: revert the recent change, that introduced
8577 gtk_window_present() calls. this reopens:
8578 Bug 78481 - [freetest] information banners are hidden under browser menu
8579 But resolves another variant of:
8580 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8582 2008-04-15 13:21:13 <timj@imendio.com>
8584 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8585 recreated its layout, spotted by Kris. this fixes all remaining
8586 artefacts and stability issues with the banner code. in particular:
8587 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8589 2008-04-14 16:52:59 <timj@imendio.com>
8591 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8592 operating on unrealized widgets, fixes:
8593 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8595 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8597 2008-04-09 Kristian Rietveld <kris@imendio.com>
8599 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8600 makes banner disappear.
8601 Fixes: NB#79182: info banner flickering with certain message lengts.
8603 * src/hildon-banner.c (hildon_banner_constructor),
8604 (hildon_banner_init), (hildon_banner_set_text),
8605 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8606 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8607 FALSE, reset size requests of label and banner,
8608 (force_to_wrap_truncated): when the text is too wide, always enforce
8609 the maximum possible width instead of recalculating it from the
8610 layout; enforce the maximum banner height of 3 lines,
8611 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8612 nicer wrapping and no truncated chars if space gets tight.
8614 * src/hildon-banner-private.h: add has_been_wrapped and
8615 has_been_truncated fields.
8617 2008-04-07 Sven Herzberg <sven@imendio.com>
8619 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8620 local values in hildon_date_editor_size_allocate
8622 * src/hildon-date-editor.c: moved the real allocation code into the
8625 2008-04-07 Sven Herzberg <sven@imendio.com>
8627 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8628 local values in hildon_date_editor_size_allocate
8630 * src/hildon-date-editor.c: merged the two if() branches together
8632 2008-04-07 Sven Herzberg <sven@imendio.com>
8634 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8635 local values in hildon_date_editor_size_allocate
8637 * src/hildon-date-editor.c: changed the arguments of the if()
8640 2008-04-07 Sven Herzberg <sven@imendio.com>
8642 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8643 local values in hildon_date_editor_size_allocate
8645 * src/hildon-date-editor.c: split the calculation of the allocation
8646 from the real allocation
8648 2008-03-27 Michael Natterer <mitch@imendio.com>
8650 Fixes: NB#81696: The passcode is not overwritten even after
8653 * src/hildon-code-dialog.c
8654 (hildon_code_dialog_button_clicked)
8655 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8656 because that doesn't overwrite selected text. Instead, emit the
8657 "commit" signal on the entry's im_context so the entry's normal
8658 insert logic is triggered. Set the cursor to the end of the entry
8659 after each insert operation so that we *only* insert in the middle
8660 of the text if something was selected.
8662 2008-03-27 Michael Natterer <mitch@imendio.com>
8664 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8665 selector cannot be opened
8667 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8668 when the popup color selector is created. Please connect to this
8669 signal in order to set the dialog's help ID.
8671 2008-03-25 Sven Herzberg <sven@imendio.com>
8673 Fixes: MB#1212: Hide info banners (infoprints) on click
8675 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8676 extracted the close event simulation into an extra function
8677 (hildon_banner_button_press_event): simulate a close event and destroy
8678 the widget if the event wasn't handled
8679 (hildon_banner_class_init): added the button_press_event handler
8680 (hildon_banner_init): added button-press events to the widget
8682 2008-03-25 Sven Herzberg <sven@imendio.com>
8684 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8685 Patch from: Mohammad Anwari <mdamt@maemo.org>
8687 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8688 instead of the right in RTL mode
8689 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8690 breadcrumb button list in RTL mode
8691 * src/hildon-caption.c: mirror the appearance of the caption widget in
8693 * src/hildon-date-editor.c: mirror appearance of the date editor in
8695 * src/hildon-time-editor.c: mirror appearance of the time editor in
8697 * src/hildon-window.c: fix the position of the popup in RTL mode
8699 2008-03-25 Sven Herzberg <sven@imendio.com>
8701 Amendment to the fix of NB#22072. Fix compilation.
8703 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8705 2008-03-19 Sven Herzberg <sven@imendio.com>
8707 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8710 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8711 timeout id properly when the timeout will disappear this leaves no
8712 artifacts around in the destroy(); there will only be the timeout
8713 created by hildon_banner_ensure_timeout() and adding a new timeout
8714 will also work if the timeout gets removed because the timeout_handler
8717 2008-03-19 Michael Natterer <mitch@imendio.com>
8719 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8721 * src/hildon-volumebar.c
8722 * src/hildon-vvolumebar.c
8723 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8724 the widget becomes focussable at all.
8726 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8727 set the focus to wither the mute button or the volumebar.
8729 Remove own "can-focus" property and instead listen to
8730 notify::can-focus in order to update the widget's state.
8732 Implement GtkWidget::focus() and make sure we can also *leave* the
8733 widget, not only enter it, depending on volumebar orientation and
8734 requested focus direction.
8736 Clean up set_mute() to cooperate nicely with all the above.
8738 2008-03-04 Michael Natterer <mitch@imendio.com>
8740 Fixes: NB#78481: information banners are hidden under browser menu
8742 * src/hildon-banner.c: call gtk_window_present() on the banners so
8743 they are risen if they are already visible.
8745 2008-03-03 Sven Herzberg <sven@imendio.com>
8747 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8749 * examples/hildon-window-menu-example.c: (main): extended the window
8750 menu example to serve as a testcase for automatically added
8751 accelerator groups, too
8752 * src/hildon-window.c: (hildon_window_add_accel_group),
8753 (hildon_window_set_menu): added patch by Tommi Komulainen
8755 2008-03-03 Sven Herzberg <sven@imendio.com>
8757 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8759 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8760 knowledge about the border allocators used within GTK+
8762 2008-02-26 Sven Herzberg <sven@imendio.com>
8764 Fixes: MB#2981: Build with asserts broken
8766 * src/hildon-date-editor.c,
8767 * src/hildon-number-editor.c,
8768 * src/hildon-time-editor.c,
8769 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8770 the proper GType instance check
8772 2008-02-25 Sven Herzberg <sven@imendio.com>
8774 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8776 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8777 * examples/hildon-window-menu-example.c: (main): explicitly show
8779 * src/hildon-window.c:
8780 (hildon_window_set_main_menu): moved most of the code from set_menu()
8781 to this place; skipped the call to gtk_widget_show_all(); also didn't
8782 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8783 (hildon_window_set_menu): removed most of the code, just keep the
8784 questionable gtk_widget_show_all()
8785 * src/hildon-window.h: added the new function and deprecate the old
8788 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8794 * debian/changelog: Updating.
8796 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8799 * pkgconfig/Makefile.am:
8800 * pkgconfig/hildon.pc.in:
8803 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8804 use newly created API_MAJOR_VERSION.
8806 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8812 * debian/changelog: Updating.
8814 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8816 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8818 Add outer_border style property, we use it but don't define it (!).
8822 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8824 * examples/hildon-bread-crumb-trail-example.c (main):
8828 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8830 Fix logic for the bread crumb trail node removal.
8834 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * debian/changelog: Updating.
8842 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8844 Patch by Alejandro to get/set passwords dialogs accesibility.
8846 * hildon-1/src/hildon-get-password-dialog.c:
8847 * hildon-1/src/hildon-set-password-dialog.c:
8848 Set atk_set_name to the passwd entries in order to allow
8849 accessibility by name on this entries.
8851 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8856 * debian/control: Updating gtk dep.
8858 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8860 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8861 USE_MAEMO_GTK is enabled.
8863 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8865 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8866 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8868 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8874 * debian/changelog: Updating.
8876 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8878 * examples/Makefile.am:
8879 * examples/hildon-logical-color-example.c:
8880 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8881 applied + adding a test case. Fixes: NB#71660.
8883 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8885 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8886 to be visible, fixes warning on map for windows without toolbars.
8888 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8890 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8891 2.11.0, add a check for that besides the MAEMO_GTK check.
8893 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8899 * debian/changelog: Updating.
8901 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8903 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8904 visibility. Fixes: NB#70842 and MB#615.
8906 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8908 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8909 set the separator as no-show-all so it doesn't unintentionally appear when
8910 someone does a show_all.
8912 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8914 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8915 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8916 toplevel item. Fixes: NB#62031
8918 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8920 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8921 fix the name of the function in the docs.
8923 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8929 * debian/changelog: Updating.
8931 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8933 * examples/hildon-banner-long-example.c: Adding a test-case for long
8936 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8938 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8940 * src/hildon-color-chooser-dialog.c:
8941 * src/hildon-color-chooser.c:
8942 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8943 memory leaks in font selector and color selector. Fixes: NB#70499 and
8946 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8948 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8950 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8953 little bit bigger. Fixes: #NB63694.
8955 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8961 * debian/changelog: Updating.
8963 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8966 * doc/hildon-docs.sgml:
8967 * doc/images/bread-crumb-trail.png:
8968 * doc/images/calendar-popup.png:
8969 * doc/images/caption.png:
8970 * doc/images/code-dialog.png:
8971 * doc/images/color-button.png:
8972 * doc/images/color-chooser-dialog.png:
8973 * doc/images/color-chooser.png:
8974 * doc/images/controlbar.png:
8975 * doc/images/date-editor.png:
8976 * doc/images/font-selection-dialog.png:
8977 * doc/images/get-password-dialog.png:
8978 * doc/images/hvolumebar.png:
8979 * doc/images/login-dialog.png:
8980 * doc/images/note.png:
8981 * doc/images/number-editor.png:
8982 * doc/images/range-editor.png:
8983 * doc/images/seekbar.png:
8984 * doc/images/set-password-dialog.png:
8985 * doc/images/sort-dialog.png:
8986 * doc/images/time-editor.png:
8987 * doc/images/time-picker.png:
8988 * doc/images/vvolumebar.png:
8989 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8990 Adding the bread-crumb-trial and helpers to the documentation.
8992 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * examples/hildon-find-toolbar-example.c:
8995 * src/hildon-find-toolbar.c:
8996 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8997 actually continue firing the other handlers if connected. Adding a new
8999 hildon_find_toolbar_get_last_index that gets the index of the most
9000 recently added (last) item. Fixes: NB#52301.
9002 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9004 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9005 behaviour. Fixes: NB#68610.
9007 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9012 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9015 when realizing the banner. Should make the infonbanner effect a bit more
9018 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9020 * src/hildon-volumebar.c:
9021 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9022 hildon_volumebar_set_range_insensitive_message and
9023 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9025 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * src/hildon-window.c: Fixing the border freeing on destroy.
9029 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9031 * src/hildon-code-dialog-private.h:
9032 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9033 kw keyboard support in HildonCodeDialog.
9035 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9041 * debian/changelog: Updating.
9043 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9045 * src/hildon-date-editor.c:
9046 * src/hildon-number-editor.c:
9047 * src/hildon-private.c:
9048 * src/hildon-private.h:
9049 * src/hildon-time-editor.c:
9050 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9051 handling in subclassed composite widgets. Fixes: NB#66628.
9053 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9055 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9056 from destroy_ callback as it introduces problems in async dbus signal
9057 handlers. Fixes NB#66673.
9059 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9061 * examples/hildon-hvolumebar-example.c:
9062 * src/hildon-volumebar.c: Improving the focus handling in the
9063 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9064 set_property accessor so that "mute" property can be actually set. I'm
9065 scared that nobody noticed it's totally broken.
9067 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9069 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9072 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9074 * src/hildon-calendar.c:
9075 * src/hildon-number-editor.c:
9076 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9077 matches the spec of 6 chars per second. Fixes: NB#60489.
9079 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9081 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9082 gtk_style_lookup_color sometime returns FALSE even though color was
9083 found and values were filled properly. Weird. Removing the warning for the
9086 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9089 expand vertically. Adding some extra space to the find toolbar buttons to
9090 make them thumbable. Fixes NB#66060.
9092 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9094 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9095 popup with "Ok" and "Cancel". Fixes NB#59299.
9097 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9099 * src/hildon-calendar.c: Process all window updates before executing next
9100 timeout. Fixes: NB#54146.
9102 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9108 * debian/changelog: Updating.
9110 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9112 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9113 the client event and ignore it, since we use the delete event to close
9116 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9118 * src/hildon-helper.c: Remove the bogus warning about color not being
9119 found. Fixes NB#58352.
9121 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9123 * examples/Makefile.am:
9124 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9125 HildonSeekbar widget inside a toolbar.
9127 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9129 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9130 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9131 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9132 don't want to be closed by non-temporary windows on map.
9134 Also use G_DEFINE_TYPE instead of manually typed code.
9136 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * debian/rules: Updating.
9145 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9147 * examples/Makefile.am:
9148 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9149 bug NB#61128. Strangely it works.
9151 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9153 * src/hildon-date-editor.c: When the date editor entry has been changed
9154 but the numbers of characters < max, turn off the skip validation flag.
9155 Prevents a situation when we enter first a valid year and later re-write
9156 it with an invalid one. Fixes NB#60154.
9158 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9160 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9161 code dialog. Fixes NB#64355.
9163 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9165 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9166 switching the page. Fixes NB#49374.
9168 * examples/Makefile.am:
9169 * examples/hildon-wizard-dialog-example.c: Adding an example for
9170 HildonWizardDialog that shows how to handle manual sensitivity setting on
9173 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9177 * src/hildon-version.h.in:
9178 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9180 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9182 * src/hildon-volumebar.c: Updating the docs.
9184 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9190 * debian/changelog: Updating.
9192 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9194 * src/hildon-find-toolbar.c:
9195 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9196 selected item: hildon_find_toolbar_set_active,
9197 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9198 hildon_find_toolbar_get_active_iter . They correspond to respective
9199 GtkComboBox functions.
9201 * examples/Makefile.am:
9202 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9205 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9207 * examples/Makefile.am:
9208 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9211 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9212 when font size > 32 and we pack a focusable widget inside. Actually using
9213 the default response would work too, but since we don't show default
9214 response state in any way (no theming) it would not be visible to the
9215 user. Fixes NB#63430.
9217 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9219 * src/hildon-date-editor.c: Adding the missing variable setter in the
9220 set_property handler. Fixes NB#54182.
9222 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9224 * src/hildon-window.h: Changing the long key press time from 1500ms to
9225 800ms as requested in NB#63700. I have a bad feeling about this, let's
9226 see... Fixes NB#63700.
9228 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9230 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9231 hildon_time_picker_map, hildon_time_picker_realize,
9232 hildon_time_picker_style_set): Split the contents of map to more
9233 appropriate functions; set window decorations on realize and update
9234 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9236 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9241 * debian/changelog: Updating.
9243 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9245 * src/Makefile.am: fixed installation of the header files
9247 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * debian/changelog: Updating.
9255 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * configure.ac: Removing some remaining of --enable-xan.
9259 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9261 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9262 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9264 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9265 2.10.12-osso6 because the move-focus signal needs to be available in
9268 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9270 * examples/Makefile.am:
9271 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9272 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9273 fine. Prolly NB#61128 is fixed now.
9275 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9277 * src/hildon-volumebar.c:
9278 * src/hildon-volumebar.h: Adding the
9279 hildon_volumebar_set_range_insensitive_message and
9280 hildon_volumebar_set_range_insensitive_messagef functions to set
9281 insensitive message on the slider of the volumebar. Fixes NB#61129.
9283 * examples/Makefile.am:
9284 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9285 test the new insensitive messsage functionality on HildonVolumebar.
9287 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9289 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9292 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9294 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9295 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9296 button on after clearing the trail.
9298 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9300 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9302 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9304 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9305 by splitting the installed headers in generated and non-generated groups. Use
9306 only the non-generated headers to create the hildon-enum-types.h file.
9308 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9310 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9312 * src/hildon-window.c: Hide the window before performing the destroy.
9313 Should make the app closing a little tiny bit more snappy.
9315 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9317 * src/hildon-seekbar.c: add gtkrange.h header
9318 * src/hildon-caption.c: remove unused variable
9320 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9322 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9325 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9331 * debian/changelog: Updating.
9333 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9335 * src/hildon-window.c (hildon_window_window_state_event,
9336 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9337 escape timeout on focus-out-event rather than notify::is-topmost; the
9338 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9340 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9342 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9343 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9345 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9347 * src/hildon-window: actually, you need to use the macro always, there's
9348 no private pointer in the instance structure. We should have cleaned this up
9349 when we had the chance...
9351 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9353 * src/hildon-window.c: do not get the private date from HildonWindow before
9354 it passes the g_return_if_fail check. Once it's passed the test, there's no
9355 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9356 if you are only going to access the data once. Whitespace cleanups.
9358 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9360 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9361 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9363 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9369 * debian/changelog: Updating.
9371 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9373 * src/hildon-window.c: When destroying the window, remove (if exists) the
9374 escape timeout handler. Fixes #NB59276.
9376 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9378 * src/hildon-banner.c: When realizing the widget, set the window
9379 transiency. Setting the transiency in the gobject constructor is not
9380 good, as the widget is not realized at that point. Fixes: #NB56624.
9382 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9384 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9385 Add padding for future expansions.
9387 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9389 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9390 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9391 will fake an activation on the previous to the last item of the trail, so
9392 the effect can be overrided by the developer as usual.
9393 Also change the callback for the back button to do the same thing, so its
9394 effect can be overrided too. Fixes: NB#58982
9396 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9398 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9399 HildonCaption. Fixes NB#52379.
9401 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9403 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9404 the internal state of the trail after the user has had the chance of executing
9405 his handler for the signal. Specifically, it may happen that the activated button
9406 is removed and the user still lets the default handler run. This would segfault
9409 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9411 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9412 scrollbar to the preview dialog. Fixes NB#54147.
9414 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9416 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9417 max/min year properties can be altered, so the client can modify it
9418 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9420 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9422 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9423 hildonlike by default. Fixing a problem with disappearing arrows when
9424 scrolling through months and years. Fixes NB#54127.
9426 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9428 * examples/hildon-date-editor-example.c: Adding error callback to the date
9431 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9437 * configure.ac: Updating.
9439 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9441 * configure.ac: Adding a special '--enable-xan' configure option that
9442 turns off the -Werror compilation setting. Usefull for development.
9444 * src/hildon-calendar.c:
9445 * src/hildon-number-editor.c:
9446 * src/hildon-time-picker.c: Adding the 5* multiplier to
9449 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9451 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9452 instead of g_object_ref + gtk_object_sink.
9454 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9460 * debian/changelog: Updating.
9462 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9464 * src/hildon-color-chooser-dialog.c:
9465 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9466 straight from Tommi labs.
9468 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9470 * examples/hildon-finger-example.c: Correcting the header file path.
9472 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9473 the changed signal. Fixes a small memory leak.
9475 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9479 * src/hildon-banner.c: Importing several usefull fixes from the
9480 ubuntu-mobile branch.
9482 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9484 * examples/Makefile.am:
9485 * examples/hildon-finger-example.c: Adding a finger-checking code
9488 * src/hildon-font-selection-dialog.c: Do not allocate the color
9489 structure using the g_new. Fixes NB#54061.
9491 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9493 * src/hildon-helper.c: Correcting tabs in file.
9495 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9497 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9498 control the visibility of the children.
9500 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9502 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9508 * debian/changelog: Updating.
9510 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9512 * src/hildon-bread-crumb-trail.c:
9513 (hildon_bread_crumb_trail_size_allocate):
9515 Make the back button always a square.
9517 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9519 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9520 from the .c file as it's a private file.
9522 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9524 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9525 uses slightly bigger height.
9527 * src/hildon-font-selection-dialog.c: Adding some checks before
9528 freeing memory in the font selection dialog.
9530 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9532 * src/hildon-font-selection-dialog.c: Adding a small check when
9535 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9536 buttons sensitivity on page switching.
9538 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9540 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9541 internal details of adding a bread crumb to the trail.
9543 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9549 * debian/changelog: Updating.
9551 * src/hildon-bread-crumb-trail.h:
9552 * src/hildon-bread-crumb.h: Changing the API guard to
9553 HILDON_ENABLE_UNSTABLE_API.
9555 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9563 * src/hildon-helper.h: Updating.
9565 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9573 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9577 * src/hildon-helper.h: Small fix to make the package actually compile.
9579 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9581 * src/hildon-bread-crumb-trail.h:
9582 * src/hildon-bread-crumb.h:
9584 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9585 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9587 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9589 * examples/hildon-bread-crumb-trail-example.c:
9591 * src/hildon-bread-crumb-trail.c:
9592 * src/hildon-bread-crumb-trail.h:
9593 * src/hildon-bread-crumb.c:
9594 * src/hildon-bread-crumb.h:
9595 * src/hildon-marshalers.list:
9596 * src/hildon-bread-crumb-widget.c:
9597 * src/hildon-bread-crumb-widget.h:
9599 Slight change in the widget design. The bread crumb trail API is
9600 unchanged, but HildonBreadCrumb is now an interface. A *private*
9601 implementation, hildon-bread-crumb-widget, is provided and used
9602 internally by the trail for the push_text/push_icon functions.
9604 The generic push API is still available, so anyone can implement
9605 and use its own bread crumb widget.
9607 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9609 * debian/rules: Fixing the shlibs.
9611 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9613 * src/hildon-banner.c: Fixing a problem with timed banners having
9614 their parrent destroyed before they are.
9616 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9618 * src/hildon-bread-crumb.c:
9619 * src/hildon-bread-crumb.h:
9621 Make the get_natural_size function a vfunc.
9623 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9625 * src/hildon-bread-crumb.c:
9626 * src/hildon-bread-crumb-trail.c:
9630 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9637 * debian/changelog: Updating for release.
9639 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9641 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9642 don't leak the pango layout.
9644 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9647 * examples/hildon-bread-crumb-trail-example.c:
9651 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9653 * debian/changelog: Removing the bug-fixed entries that were actually
9654 resolved as WONTFIX.
9656 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9659 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9661 * src/hildon-bread-crumb-trail.c:
9662 * src/hildon-bread-crumb-trail.h:
9663 * src/hildon-bread-crumb.c:
9664 * src/hildon-bread-crumb.h:
9668 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9670 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9671 until it's passed the type check.
9673 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9675 * examples/hildon-bread-crumb-trail-example.c
9679 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9681 * examples/Makefile.am
9682 * examples/hildon-bread-crumb-trail-example.c
9684 * src/hildon-bread-crumb-trail.c
9685 * src/hildon-bread-crumb-trail.h
9686 * src/hildon-bread-crumb.c
9687 * src/hildon-bread-crumb.h
9689 New HildonBreadCrumbTrail widget.
9691 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9693 * src/hildon-range-editor.c (hildon_range_editor_init),
9694 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9695 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9696 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9697 hildon_time_editor_class_init, hildon_time_editor_init),
9698 src/hildon-get-password-dialog.c (invalid_input,
9699 hildon_get_password_set_property, hildon_get_password_get_property,
9700 create_contents, hildon_get_password_dialog_set_max_characters),
9701 src/hildon-set-password-dialog.c (create_contents),
9702 src/hildon-date-editor.c (hildon_date_editor_init),
9703 src/hildon-login-dialog.c (hildon_login_dialog_init),
9704 src/hildon-number-editor.c (hildon_number_editor_init),
9705 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9706 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9707 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9708 configure option and adding the respective checks in the code.
9709 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9710 hildon_calendar_drag_data_received): fixed some build warnings.
9712 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9714 * debian/changelog: A 1.0.0 release notes.