1 2009-09-07 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_class_init):
5 Change the default value of the scrollbar_fade_delay.
7 Fixes: NB#127018 (Panning indicator fades out too slowly)
9 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
11 [2.2.0 Release Candidate 1]
14 * configure.ac: Bump version
15 * debian/changelog: updates
17 2009-09-04 Alejandro G. Castro <alex@igalia.com>
19 * hildon/hildon-pannable-area.c,
20 (hildon_pannable_area_init),
21 (hildon_pannable_area_button_press_cb),
22 (hildon_pannable_area_button_release_cb): Added a new acceleration
23 system to help traversing big lists, tuned the stop threshold.
25 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
27 2009-09-04 Alberto Garcia <agarcia@igalia.com>
29 * hildon/hildon-window.h:
30 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
32 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
34 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
38 * configure.ac: bump version
40 * debian/changelog: updates
42 2009-09-04 Alberto Garcia <agarcia@igalia.com>
44 * hildon/hildon-entry.c
45 * hildon/hildon-text-view.c:
48 2009-09-04 Alberto Garcia <agarcia@igalia.com>
50 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
51 Redraw menu when the number of items change.
53 Fixes: NB#131911 (Appmenu does not resize properly, when number of
56 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
58 * hildon/hildon-pannable-area.c:
59 (hildon_pannable_area_launch_fade_timeout),
60 (hildon_pannable_area_motion_event_scroll),
61 (hildon_pannable_area_check_move),
62 (hildon_pannable_area_button_release_cb),
63 (hildon_pannable_area_scroll_to):
65 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
66 area drawing operations, since this is the recommended for drawing
69 Fixes: NB#110894 (In event view containing very large description
70 field, application menu is displayed blank while panning)
71 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
74 2009-09-03 Alberto Garcia <agarcia@igalia.com>
76 * doc/hildon-sections.txt
77 * hildon/hildon-button.c
78 * hildon/hildon-edit-toolbar.c
79 * hildon/hildon-gtk.[ch]
80 * hildon/hildon-main.c
81 * hildon/hildon-program.c
82 * hildon/hildon-stackable-window.c:
85 2009-08-28 Alberto Garcia <agarcia@igalia.com>
87 * hildon/hildon-app-menu.c
88 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
89 Close the menu if it receives a grab-notify signal.
91 Fixes: NB#134533 (UI freezes if we show a dialog with
92 gtk_dialog_run() while a menu is opened)
94 2009-08-27 Alejandro G. Castro <alex@igalia.com>
96 * hildon/hildon-pannable-area.c,
97 (hildon_pannable_area_class_init): Reverted tuning modifications:
98 "Pannign needs to be faster" and "Pannable kinetics in large lists
101 2009-08-26 Alberto Garcia <agarcia@igalia.com>
103 * hildon/hildon-sound.c (hildon_play_system_sound):
104 Set "module-stream-restore.id" to "x-maemo-system-sound" when
105 playing system sounds
107 Fixes: NB#133767 (Information and confirmation note sound should
108 follow system profile setting)
110 2009-08-26 Alejandro G. Castro <alex@igalia.com>
112 * hildon/hildon-pannable-area.c,
113 (hildon_pannable_area_class_init): Added more force and increased
114 the max speed threshold.
116 Fixes: NB#135344 (Pannign needs to be faster)
118 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
120 [Release 2.1.96, this time for real]
123 * debian/changelog: updates
125 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
127 * hildon/hildon-pannable-area.c
128 (hildon_pannable_area_get_topmost): change the computation of the
129 co-ordinates transformed when no one of the children is a topmost
131 Fixes: NB#133252 (Opening any feed item from RSS always opens the
132 first feed item in browser)
134 2009-08-26 Alejandro G. Castro <alex@igalia.com>
136 * hildon/hildon-pannable-area.c,
137 (hildon_pannable_area_remove_timeouts): Adding this new function
138 with the code that removes the timeouts of the widget.
139 (hildon_pannable_area_dispose),
140 (hildon_pannable_area_unrealize): Use the new remove function to
141 stop timeouts when unrealizing and disposing.
142 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
143 calculation to avoid negative values in some cases.
145 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
147 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
149 * examples/hildon-check-button-example.c: (button_toggled_cb):
150 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
151 (hildon_check_button_set_active), (hildon_check_button_new),
152 (hildon_check_button_clicked), (hildon_check_button_class_init):
153 * hildon/hildon-check-button.h:
154 * hildon/hildon-set-password-dialog.c: (create_contents),
155 (hildon_set_password_response_change), (hildon_checkbox_toggled):
157 Revert "Make HildonCheckButton derive from GtkToggleButton"
159 2009-08-21 Alberto Garcia <agarcia@igalia.com>
163 * configure.ac: bump version
165 * debian/changelog: updates
167 2009-08-21 Alberto Garcia <agarcia@igalia.com>
169 * hildon/hildon-check-button.h
170 * hildon/hildon-check-button.c
171 (hildon_check_button_clicked, hildon_check_button_class_init):
172 Make HildonCheckButton derive from GtkToggleButton
173 (hildon_check_button_toggled, hildon_check_button_set_active)
174 (hildon_check_button_get_active):
175 Deprecate unnecessary HildonCheckButton API and use the
176 one from GtkToggleButton instead.
178 * hildon/hildon-set-password-dialog.c (create_contents)
179 (hildon_set_password_response_change, hildon_checkbox_toggled)
180 * examples/hildon-check-button-example.c (button_toggled_cb):
181 Update to use the GtkToggleButton API
183 Fixes: MB#4739 (HildonCheckButton should inherit from
186 Fixes: NB#132661 (HildonCheckButton should inherit from
189 2009-08-20 Alberto Garcia <agarcia@igalia.com>
191 * hildon/hildon-pannable-area.c
192 (hildon_pannable_area_class_init):
193 Increase default value of HildonPannableArea:velocity_max to 2000
195 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
197 2009-08-18 Alberto Garcia <agarcia@igalia.com>
201 * configure.ac: bump version
203 * debian/changelog: updates
205 2009-08-11 Alejandro G. Castro <alex@igalia.com>
207 * hildon/hildon-pannable-area.c
208 (hildon_pannable_area_size_allocate): Checked the scrollbars
209 before the first try when defining the layout, avoids two
210 allocations in some situations.
212 Fixes: NB#131794 (pannable area produces unnecessary allocations
213 causing performance problems)
215 2009-08-11 Alejandro G. Castro <alex@igalia.com>
217 * hildon/hildon-pannable-area.c
218 (hildon_pannable_area_button_press_cb),
219 (hildon_pannable_area_motion_notify_cb),
220 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
221 the spurious ref added in the copy, fixes leak of window.
223 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
224 if it's realized without showing and then deleted)
226 2009-08-10 Alberto Garcia <agarcia@igalia.com>
230 * configure.ac: bump version
232 * debian/changelog: updates
234 2009-08-06 Alberto Garcia <agarcia@igalia.com>
236 * examples/hildon-hvolumebar-timer-example.c
238 * hildon/hildon-banner.c
239 (hildon_banner_timeout, hildon_banner_ensure_timeout)
240 * hildon/hildon-calendar.c
241 (calendar_timer, start_spinning)
242 * hildon/hildon-color-chooser.c
243 (inline_limited_expose)
244 * hildon/hildon-date-editor.c
245 (hildon_date_editor_entry_focus_in)
246 (hildon_date_editor_entry_validate)
247 (hildon_date_editor_entry_select_all)
248 * hildon/hildon-note.c
250 * hildon/hildon-number-editor.c
251 (hildon_number_editor_button_pressed)
252 (hildon_number_editor_start_timer, do_mouse_timeout),
253 (add_select_all_idle, hildon_number_editor_select_all)
254 * hildon/hildon-time-editor.c
255 (hildon_time_editor_entry_focus_in)
256 (highlight_callback, hildon_time_editor_validate)
257 (hildon_time_editor_entry_select_all)
258 * hildon/hildon-time-picker.c
259 (hildon_time_picker_arrow_press)
260 (hildon_time_picker_key_repeat_timeout)
261 * hildon/hildon-window.c
262 (hildon_window_key_press_event)
263 (hildon_window_escape_timeout):
264 Replace all calls to g_idle_add/g_timeout_add with their
265 gdk_threads counterparts.
267 Fixes: NB#126198 (gdk-threads API should be used to install idle
268 and timeout handlers)
270 2009-08-06 Alejandro G. Castro <alex@igalia.com>
272 * hildon/hildon-pannable-area.c,
273 (hildon_pannable_area_class_init): Increased the overshooting max
274 speed to get a faster effect.
275 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
276 deceleration of the overshooting
277 (hildon_pannable_area_button_release_cb): Calculate initial
278 overshooting speed when finger on the screen using the distance to
279 launch the effect faster.
281 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
282 lists with slow row renderers)
284 2009-08-05 Alberto Garcia <agarcia@igalia.com>
286 * doc/hildon-sections.txt: Add new functions
288 2009-08-05 Alberto Garcia <agarcia@igalia.com>
290 * hildon/hildon-text-view.[ch]
291 * hildon/hildon-entry.[ch]:
292 Add deprecation guards around deprecated functions.
294 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
296 * hildon/hildon-app-menu.c: Remove leftover function declaration.
298 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
300 Remove the grab from HildonAppMenu
302 * hildon/hildon-app-menu.c:
303 Now hildon-desktop places a blocker window behind the menu to handle
304 its closing, so the grab is no longer needed. This simplifies its
305 implementation and allows the system blanking to succeed.
307 Fixes: NB#130910 (Screen gets unlocked when menu is open)
309 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
313 * configure.ac: bump version
315 * debian/changelog: updates
316 * debian/control: raise debian dependency on GTK+
318 2009-08-04 Alberto Garcia <agarcia@igalia.com>
320 * hildon/hildon-text-view.c
321 * hildon/hildon-entry.c:
322 Remove all placeholder code from HildonEntry and HildonTextView
323 and use the API in GtkEntry and GtkTextView instead.
325 * examples/hildon-entry-example.c
326 * examples/hildon-text-view-example.c
327 * examples/hildon-wizard-dialog-example.c
328 * hildon/hildon-get-password-dialog.c
329 * hildon/hildon-login-dialog.c
330 * hildon/hildon-picker-dialog.c
331 * hildon/hildon-set-password-dialog.c
332 * hildon/hildon-touch-selector-entry.c:
333 Replace all deprecated calls to HildonEntry and HildonTextView
334 with their Gtk counterparts.
336 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
339 2009-08-03 Alejandro G. Castro <alex@igalia.com>
341 * hildon/hildon-pannable-area.c,
342 (hildon_pannable_area_check_move),
343 (hildon_pannable_area_button_release_cb),
344 (hildon_pannable_area_scroll_to): Reverted the priority change of
345 the timeout, in some situations, slow renderers, the click do not
346 make it to the mainloop on time.
348 Fixes NB#131013 (unable to stop panning file manager by tapping on
351 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
353 * configure.ac: bump version
355 * debian/changelog: updates
357 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
359 * hildon/hildon-touch-selector.[ch]
360 (hildon_touch_selector_center_on_index): New method that allows to center
361 on a item not selected
363 Fixes NB#130291 (New HildonTouchSelector API is required to center on
366 2009-07-29 Alberto Garcia <agarcia@igalia.com>
368 * hildon/hildon-text-view.c
369 (+set_logical_color, +hildon_text_view_style_set)
370 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
371 (hildon_text_view_init)
372 * hildon/hildon-entry.c
373 (+set_logical_color, +hildon_entry_style_set)
374 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
375 (hildon_entry_class_init, hildon_entry_init)
376 * hildon/hildon-button.c
377 (+set_logical_font, +set_logical_color)
378 (hildon_button_style_set, hildon_button_init)
379 (hildon_button_set_arrangement, hildon_button_set_style):
380 Remove all calls to hildon_helper_set_logical_font() and
381 hildon_helper_set_logical_color(), which are recursive, from
384 Fixes: NB#123409 (Showing dialog consumes significant amount of
387 2009-07-29 Alejandro G. Castro <alex@igalia.com>
389 * hildon/hildon-pannable-area.c,
390 (hildon_pannable_area_timeout): Added the process updates of the
391 scrollbars window in the pannable.
393 Fixes: NB#130043 (scrollindicator not smooth while panning)
395 2009-07-23 Alejandro G. Castro <alex@igalia.com>
397 * hildon/hildon-pannable-area.c,
398 (hildon_pannable_area_check_move),
399 (hildon_pannable_area_button_release_cb),
400 (hildon_pannable_area_scroll_to): Increased the priority of the
401 timeout this way it is going to be handled before the events.
403 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
407 * configure.ac: bump version
408 * debian/changelog: updates
410 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
412 * hildon/hildon-entry.c: (set_property): Do not allow to set
413 automatic height and use finger height instead, to prevent an to
414 have a smaller size than than its theme pixbuf.
416 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
418 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
420 * configure.ac: postrelease version bump.
421 * debian/changelog: post release version bump
423 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
428 * configure.ac: Bump version.
429 * debian/changelog: Updates.
431 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
433 * hildon/hildon-note.c: (label_size_request): Take the note
434 padding into account when setting the size request.
436 Fixes: NB#127896 (Information notes text truncated)
438 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
440 * configure.ac: postrelease version bump.
441 * debian/changelog: post release version bump
443 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
448 * configure.ac: Bump version.
449 * debian/changelog: Updates.
451 2009-07-16 Alejandro G. Castro <alex@igalia.com>
454 * hildon/hildon-text-view.c,
455 (hildon_text_view_button_press_event): Grabbed the focus in button
456 press, this way we are sure the widget has the focus in the
457 release event, required for HIM.
459 Fixes: NB#121445 (Virtual keyboard opening is not working in same
460 way for each text entry field)
462 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
464 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
465 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
466 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
467 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
468 (hildon_pannable_area_[gs]et_center_on_child_focus)
469 Redefined GtkContainer set-focus-child signal, in order to center
470 properly on a child when it receives the focus. Defined a new property
471 "center-on-child-focus" in order to activate this feature (deactivated
472 by default). Public get/set methods defined to manage the property.
474 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
476 2009-07-14 László Pere <lpere@blumsoft.eu>
478 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
479 the new size is applied.
481 Fixes: NB#124510 (The Application Menu is distorted when switched
482 between portrait and landscape mode)
483 Fixes: NB#115388 (Power key menu does not resize itself)
485 2009-07-01 Alberto Garcia <agarcia@igalia.com>
487 * hildon/hildon-banner.c (hildon_banner_map):
488 Set banner position after mapping.
490 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
492 * configure.ac: postrelease version bump.
493 * debian/changelog: post release version bump
495 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
500 * configure.ac: Bump version.
501 * debian/changelog: Updates.
503 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
505 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
508 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
510 * tests/check-hildon-banner.c
512 * tests/test_suites.h
513 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
514 were testing deprecated functions.
515 * examples/hildon-banner-example.c: typo on button3 type, that causes
516 a fail compiling with --with-examples but without --disable-deprecated
518 Missed commit in order to fix compilation using '--enable-fatal' and
519 '--disable-deprecated' (see previous commit)
521 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
523 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
524 functions with #ifndef HILDON_DISABLE_DEPRECATED
525 * examples/hildon-find-toolbar.c: Protect deprecated
526 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
527 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
528 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
529 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
531 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
532 to allow proper compilation of deprecated functions defined on the header
534 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
536 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
538 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
539 Cache the panning indicator color.,
540 (hildon_pannable_area_style_set): Query the color on style changes.
541 (hildon_pannable_draw_vscroll),
542 (hildon_pannable_draw_hscroll),
543 (hildon_pannable_area_expose_event): Use the cached panning indicator
544 color instead of looking it up on every expose and more.
546 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
548 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
549 (hildon_pannable_draw_hscroll),
550 (hildon_pannable_area_expose_event): Fix the panning indicator color,
551 so that it's "SecondaryTextColor", as desired.
553 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
555 * hildon/hildon-picker-dialog.c:
556 (selection_completed): take into account HILDON_UI_MODE_NORMAL
557 * hildon/hildon-touch-selector.c
558 (hildon_touch_selector_init): Initialize hildon-ui-mode
559 (hildon_touch_selector_row_activated): new callback for the
560 "row-activated" signal, in order to save the last activated
561 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
562 if the current hildon-ui-mode is coherent with the touch selector
563 (hildon_touch_selector_class_init)
564 (hildon_touch_selector_get_property)
565 (hildon_touch_selector_set_property)
566 Added "hildon-ui-mode" property
567 (disconnect_model_handlers): renamed to clean_column
568 (hildon_touch_selector_remove): use clean_column function
569 (_create_new_column): use the hildon-ui-mode to create the treeview, and
570 only select the first element on HILDON_UI_MODE_EDIT
571 (hildon_touch_selector_column_init): Initialize last_activate
572 (hildon_touch_selector_append_column): check that the touch selector
573 is coherent with the current hildon-ui-mode
574 (hildon_touch_selector_get_hildon_ui_mode)
575 (hildon_touch_selector_set_hildon_ui_mode)
576 Added a getter/setter for the hildon-ui-mode property
577 (hildon_touch_selector_get_last_activated_row): Added this method in
578 order to get the last activated row.
579 * examples/hildon-touch-selector-normal-mode-example.c
580 New example, that shows how to use the HildonTouchSelector in
581 HILDON_UI_MODE_NORMAL
583 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
584 Kristian Rietveld <kris@lanedo.com> advices
586 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
588 * hildon/hildon-time-selector.c: (update_format_policy): Do
589 not call update_format_dependant_columns() if not necessary.
590 (update_format_dependant_columns): Remove unnecessary check for
591 the number of columns.
593 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
595 * hildon/hildon-note.c (+hildon_note_constructor),
596 (hildon_note_class_init), (+hildon_note_set_padding),
597 (hildon_note_rebuild): Install a constructor where to set the
598 padding properties in the note, so that it actually works fine.
599 Use hildon_note_set_padding() for this, and also to set it during
602 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
604 * configure.ac: Bump GTK+ requirement to 2.14.3.
605 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
606 when using maemo-gtk to define proper margins for the notes.
608 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
609 with the dialog edge)
611 2009-06-24 Alberto Garcia <agarcia@igalia.com>
613 * hildon/hildon-banner.c
614 (hildon_banner_class_init):
616 (+hildon_banner_size_request):
617 Request always the full width of the screen.
618 (hildon_banner_realize)
619 (-hildon_banner_check_position, hildon_banner_map):
620 hildon_banner_check_position() is not needed in Hildon 2.2.
621 (-hildon_banner_reset_wrap_state)
622 (hildon_banner_constructor, hildon_banner_init):
623 Remove unnecessary calls to hildon_banner_reset_wrap_state()
624 (+banner_do_set_text)
625 (force_to_wrap_truncated):
626 Remove has_been_wrapped and has_been_truncated attributes.
627 (+reshow_banner, hildon_banner_real_show_information)
628 (hildon_banner_show_information_with_markup)
629 (hildon_banner_show_animation, hildon_banner_show_progress)
630 (hildon_banner_set_text, hildon_banner_set_markup):
631 Refactor code. Shrink banner vertically to use the minimum space
632 necessary everytime the text of the label is updated.
633 (screen_size_changed):
634 Call force_to_wrap_truncated() when the size of the screen
637 Fixes: NB#120500 (only device memory connect mmc in use info
638 banner is left aligned)
640 Fixes: NB#120613 (Size of HildonBanner varies depending on
641 previously opened banners)
643 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
645 * hildon/hildon-color-chooser.c
646 (hildon_color_chooser_pointer_motion): Take the widget allocation
649 Fixes: NB#124385 (Unable to select exact point in color mixing box
650 in color palette dialog)
652 2009-06-23 Alejandro G. Castro <alex@igalia.com>
654 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
655 (hildon_pannable_area_dispose)
656 (hildon_pannable_area_button_press_cb)
657 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
658 (hildon_pannable_area_button_release_cb)
659 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
660 New 'panning-started' and 'panning-finished' signals.
662 Fixes: NB#121732 (New feature request: Signal to pannable area
663 that informs when panning is stopped.)
665 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
667 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
668 instead of hardcoded colon.
670 Fixes: NB#124090 (New calendar wizard title is not using
671 ecdg_ti_caption_separator)
673 2009-06-22 David King <davidk@openismus.com>
675 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
676 constants and functions, as well as correct many typos throughout the
679 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
682 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
684 * configure.ac: postrelease version bump.
685 * debian/changelog: post release version bump
687 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
692 * configure.ac: Bump version.
693 * debian/changelog: Updates.
695 2009-06-18 Alberto Garcia <agarcia@igalia.com>
697 * hildon/hildon-window-stack.c
698 (hildon_window_stack_pop_and_push_list):
699 Prevent windows from having the same stack index
701 2009-06-18 Alberto Garcia <agarcia@igalia.com>
703 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
704 Use the index of the previous window rather than the stack length
705 to calculate the new index.
709 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
711 * hildon/hildon-date-selector.c
712 (hildon_date_selector_select_current_date)
713 (hildon_date_selector_get_date)
714 (hildon_date_selector_select_day):
715 Update the documentation: uses always the range (1-31), as it is obvious
716 that the final one will depend on the month and the year, but globally
717 the range is this, in a similar GtkCalendar approach
718 (hildon_date_selector_get_date):
719 Update the documentation: add NULL as a valid value for the day, month
722 Fix some details, after talk with David King on bug MB#4698
724 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
726 * hildon/hildon-touch-selector-entry.c
727 * hildon/hildon-touch-selector.c
728 Update the documentation of the "text-column" property
730 2009-06-18 David King <davidk@openismus.com>
732 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
733 several typos and errors throughout the documentation.
735 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
738 2009-06-18 Alberto Garcia <agarcia@igalia.com>
740 * hildon/hildon-note.c (hildon_note_realize):
741 Make HildonNote support portrait mode.
743 Fixes: NB#123448 (HildonNote is not portrait-friendly)
745 2009-06-17 Alberto Garcia <agarcia@igalia.com>
747 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
748 Document this function
750 2009-06-17 David King <davidk@openismus.com>
752 * hildon/hildon-date-selector.c
753 (hildon_date_selector_select_current_date)
754 (hildon_date_selector_get_date): Update documentation regarding days,
755 as the day of the month is dependent on both the month and the year.
756 (hildon_date_selector_get_date): Fix documentation of output arguments.
758 Fixes: MB#4698 (DateSelector documentation has bad output argument
759 description, and the day depends on both the month and the year)
761 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
763 * hildon/hildon-caption.c: Other documentation fixes to
766 2009-06-17 David King <davidk@openismus.com>
768 * hildon/hildon-caption.c: Minor documentation updates for
769 HildonCaption. Fixes MB#4697.
771 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
773 * doc/hildon-docs.sgml: Add hildon-version section.
774 * doc/hildon-sections.txt:
775 * hildon/hildon-version.h.in: Document versioning macros and
778 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
780 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
781 from HildonPickerDialog section.
783 2009-06-16 Alberto Garcia <agarcia@igalia.com>
785 * hildon/hildon-banner.c (hildon_banner_bind_style)
786 (screen_size_changed, hildon_banner_init)
787 (hildon_banner_real_show_information)
788 (hildon_banner_show_information_with_markup)
789 (hildon_banner_show_animation, hildon_banner_show_progress):
790 Set a different widget name to banners in portrait mode, for them
791 to be themed correctly.
793 2009-06-16 Alberto Garcia <agarcia@igalia.com>
795 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
796 Set a different widget name to notes in portrait mode, for them to
799 Partially fixes: NB#118401 (HildonNote causes unnecessary
802 2009-06-16 Alberto Garcia <agarcia@igalia.com>
804 * hildon/hildon-note.c (hildon_note_class_init)
805 (+hildon_note_size_request, screen_size_changed):
806 Always request the full width of the screen.
808 Fixes: NB#118375 (unnecessary rescaling of images)
810 2009-06-16 Alejandro G. Castro <alex@igalia.com>
812 * hildon/hildon-pannable-area.c,
813 (hildon_pannable_area_init),
814 (hildon_pannable_area_realize): Replaced old code adding flags in
815 the object init, now we add it with the other flags in the realize
818 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
820 * hildon/hildon-note.c: (hildon_note_class_init): Several
821 documentation improvements to the HildonNote widget.
823 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
825 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
827 Fixes: MB#4556 (HildonNoteType is undocumented)
829 2009-06-15 Alberto Garcia <agarcia@igalia.com>
831 * hildon/hildon-picker-button.c:
832 Explain how HildonPickerButton sets the title of its dialog
834 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
835 the title of its dialog)
837 2009-06-15 Alberto Garcia <agarcia@igalia.com>
839 * hildon/hildon-check-button.c:
840 Documentation updates
842 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
845 2009-06-15 Alberto Garcia <agarcia@igalia.com>
848 * hildon/hildon-edit-toolbar-private.h
849 * hildon/hildon-edit-toolbar.c
850 (+hildon_edit_toolbar_set_progress_indicator)
851 (hildon_edit_toolbar_init): Add progress indicator to the
854 * hildon/hildon-gtk.c
855 (hildon_gtk_window_set_progress_indicator):
856 If the window contains a HildonEditToolbar, enable the progress
859 * hildon/hildon-private.h
860 * hildon/hildon-private.c
861 (+hildon_private_create_animation)
862 * hildon/hildon-banner.c
863 (-hildon_banner_create_animation):
864 Moved to hildon-private.c
866 Fixes: NB#102373 (Progress indicator also for the Edit mode
869 2009-06-15 Alberto Garcia <agarcia@igalia.com>
871 * hildon/hildon-app-menu-private.h
872 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
873 (hildon_app_menu_add_filter, +menu_item_button_event)
874 (hildon_app_menu_button_release, hildon_app_menu_init):
875 Make sure that buttons receive 'button-release-event' in spite of
876 the grab held by HildonAppMenu
878 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
880 2009-06-15 Alberto Garcia <agarcia@igalia.com>
882 * hildon/hildon-app-menu.c
883 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
884 New style property to set the size of the group of filter buttons.
886 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
888 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
893 * configure.ac: Bump version.
894 * debian/changelog: Updates.
896 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
898 * hildon/hildon-main.c: Minor documentation fixes.
900 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
902 * doc/hildon-sections.txt:
903 * hildon/hildon-defines.h: Document the defines, organize them,
904 and mark deprecations as such.
906 Fixes: MB#4463 (Hildon size #defines are undocumented)
908 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
910 * hildon/hildon-animation-actor.c:
911 * hildon/hildon-app-menu.c:
912 * hildon/hildon-button.c:
913 * hildon/hildon-date-editor.c:
914 * hildon/hildon-dialog.c:
915 * hildon/hildon-edit-toolbar.c:
916 * hildon/hildon-entry.c:
917 * hildon/hildon-program.c:
918 * hildon/hildon-remote-texture.c:
919 * hildon/hildon-stackable-window.c:
920 * hildon/hildon-text-view.c:
921 * hildon/hildon-touch-selector.c:
922 * hildon/hildon-window-stack.c:
923 * hildon/hildon-window.c:
925 Remove redundant "represents" wording from most of the documentation.
927 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
929 2009-06-12 Alberto Garcia <agarcia@igalia.com>
934 * hildon/hildon-banner-private.h
935 * hildon/hildon-banner.c:
936 Move HildonBannerPrivate to hildon-banner.c and remove
937 hildon-banner-private.h
938 Use a bit field to store private booleans.
940 2009-06-12 Alberto Garcia <agarcia@igalia.com>
942 * hildon/hildon-app-menu.c (hildon_app_menu_map):
943 Don't install a new idle function if there's already one
948 2009-06-11 Alberto Garcia <agarcia@igalia.com>
950 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
951 (+legacy_menu_realized, +legacy_menu_unmapped)
952 (+set_legacy_menu_type):
953 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
954 they can be identified by the window manager.
956 Fixes: NB#101437 (Invoking CSM on the left side of page area is
957 displayed in wrong location)
959 Fixes: MB#4563 (Popup menu won't locate at the left side of the
962 2009-06-11 Alberto Garcia <agarcia@igalia.com>
964 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
966 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
969 2009-06-11 Alberto Garcia <agarcia@igalia.com>
971 * hildon/hildon-code-dialog.c
972 * hildon/hildon-date-editor.c
973 * hildon/hildon-number-editor.c
974 * hildon/hildon-seekbar.c
975 * hildon/hildon-stackable-window.c
976 * hildon/hildon-window.c:
977 Misc documentation updates
979 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
981 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
982 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
984 Fixes: NB#117931 (Theming issues in accounts dialogs)
986 2009-06-09 Alejandro G. Castro <alex@igalia.com>
988 * hildon/hildon-pannable-area.c,
989 (hildon_pannable_area_button_release_cb): Changed the coordinates
990 of the original release in case we want to discard the release,
991 some widgets in Fremantle do not handle the leave-notify.
993 2009-06-09 Alejandro G. Castro <alex@igalia.com>
995 * hildon/hildon-pannable-area.c,
996 (hildon_pannable_area_button_release_cb): Reviewed the logic of
997 the release using the last refactored functions and avoiding the
998 movement if an element was selected.
1000 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1002 * hildon/hildon-pannable-area.c,
1003 (hildon_pannable_area_check_move),
1004 (hildon_pannable_area_handle_move),
1005 (hildon_pannable_area_motion_notify_cb): Refactored the
1006 motion_notify method using a couple of new functions.
1008 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1010 * hildon/hildon-date-selector.c:
1011 (hildon_date_selector_construct_ui):
1012 * hildon/hildon-time-selector.c:
1013 (hildon_time_selector_constructor):
1014 * hildon/hildon-touch-selector-entry.c:
1015 (hildon_touch_selector_entry_set_text_column),
1016 (hildon_touch_selector_entry_get_text_column):
1017 * hildon/hildon-touch-selector.c: (_default_print_func),
1018 (hildon_touch_selector_new_text): Use
1019 hildon_touch_selector_set/get_text_column() instead of
1020 setting/getting the "text-column" property.
1022 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1024 * doc/hildon-sections.txt: Add the new public methods below.
1026 * examples/hildon-picker-button-multicolumn-example.c:
1027 (create_touch_selector):
1028 * examples/hildon-touch-selector-example.c: (create_selector):
1029 * examples/hildon-touch-selector-multi-cells-example.c:
1031 Use hildon_touch_selector_column_set_text_column()
1033 * hildon/hildon-touch-selector-column.h:
1034 * hildon/hildon-touch-selector.c:
1035 (hildon_touch_selector_column_set_text_column),
1036 (hildon_touch_selector_column_get_text_column):
1037 Make hildon_touch_selector_column_set/get_column() public, use
1038 them in the inline example, document them, and reference to them
1041 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1043 * hildon/hildon-time-selector.c: Fix the docs for
1044 hildon_time_selector_new_step().
1046 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1048 * hildon/hildon-touch-selector.c: Improve the documentation for
1049 hildon_touch_selector_append_column().
1051 Fixes MB#4641 (Documentation:
1052 hildon_touch_selector_append_column() ref-counting)
1054 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1056 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1057 Comment out test 5, since the hildon_controlbar_set_range() range
1058 check is broken and fixing it would have side effects. Also,
1059 this finally fixes make distcheck.
1061 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1063 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1065 * tests/TEST-CASES.txt: Remove other bogus test.
1066 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1067 Remove bogus test that was setting/retrieving a valid value.
1069 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1071 * tests/TEST-CASES.txt: Remove bogus tests.
1072 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1073 Remove three bogus tests that were actually setting valid colors.
1075 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1077 * configure.ac: post release version bump
1078 * debian/changelog: post release version bump
1080 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1085 * configure.ac: Bump version.
1086 * debian/changelog: Updates.
1088 2009-06-08 Christian Dywan <christian@lanedo.com>
1092 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1093 Correct errors in hildon_format_file-size_for_display and use
1094 translations from the hildon-fm package instead of osso-filemanager.
1096 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1098 * hildon/hildon-pannable-area.c,
1099 (hildon_pannable_area_init): Initialized new values to handle the
1100 adjustment position.
1101 (hildon_pannable_area_adjust_value_changed): Check if the values
1102 changed before even call the redraw function.
1103 (hildon_pannable_area_size_allocate),
1104 (hildon_pannable_axis_scroll),
1105 (hildon_pannable_area_scroll),
1106 (hildon_pannable_area_jump_to): Improved the diagonal movement
1109 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1112 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1114 * examples/hildon-banner-example.c:
1115 Several style updates
1116 (on_animation_clicked, on_animation_idle)
1117 (on_progress_clicked, on_progress_idle):
1118 Add additional reference for the cases when the parent window is
1121 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1123 * doc/hildon-sections.txt
1124 * hildon/hildon-pannable-area.c
1125 * hildon/hildon-banner.h
1126 * hildon/hildon-banner.c: Documentation updates.
1128 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1131 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1133 * hildon/hildon-calendar-popup.h:
1134 * hildon/hildon-caption.h:
1135 * hildon/hildon-code-dialog.h:
1136 * hildon/hildon-controlbar.h:
1137 * hildon/hildon-date-editor.h:
1138 * hildon/hildon-dialog.h:
1139 * hildon/hildon-get-password-dialog.h:
1140 * hildon/hildon-hvolumebar.h:
1141 * hildon/hildon-login-dialog.h:
1142 * hildon/hildon-note.h:
1143 * hildon/hildon-number-editor.h:
1144 * hildon/hildon-range-editor.h:
1145 * hildon/hildon-seekbar.h:
1146 * hildon/hildon-set-password-dialog.h:
1147 * hildon/hildon-sort-dialog.h:
1148 * hildon/hildon-time-editor.h:
1149 * hildon/hildon-time-picker.h:
1150 * hildon/hildon-volumebar-range.h:
1151 * hildon/hildon-volumebar.h:
1152 * hildon/hildon-vvolumebar.h:
1153 * hildon/hildon-weekday-picker.h:
1154 * hildon/hildon-window.h:
1155 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1156 macros with the current replacements
1158 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1160 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1162 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1163 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1164 itself, to make it fit better with Fremantle style.
1166 Fixes: NB#109878 (height and width of focus on color icon is not
1167 consistent with other item in the application tool bar)
1169 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1171 * hildon/hildon-touch-selector.c:
1172 (hildon_touch_selector_optimal_size_request): use the current requisition
1173 as the base, in order to include any possible extra widget, like the
1174 hildon entry on HildonTouchSelectorEntry
1176 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1178 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1180 * configure.ac: post release version bump
1181 * debian/changelog: post release version bump
1183 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1188 * configure.ac: Bump version.
1189 * debian/changelog: Updates.
1191 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1193 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1195 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1196 to ensure the banner contents are centered, instead of relying on
1197 the expand and fill properties in GtkHBox.
1198 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1200 Fixes: NB#108265 (Animation banner not properly centered)
1202 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1204 * hildon/hildon-pannable-area.c
1205 (hildon_pannable_area_initial_effect): Remove the initial_effect
1206 management, check initial_hint
1207 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1208 set initial_effect to FALSE
1209 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1210 by launching the fade_timeout if the scrollbars state has changed and are
1212 * examples/hildon-pannable-area-initial-hint-example.c
1213 Modified to allow to remove rows too. Add and remove rows one by one.
1215 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1217 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1218 Don't close the menu if there's an animation actor below it.
1220 Fixes: NB#117927 (Application menu not usable with animation
1223 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1225 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1226 "focus-on-click" from the dialog button, to avoid stealing the
1227 focus from the entry.
1229 Fixes: NB#118903 (Account setup wizard: Text in Search field
1230 should be focused when "Region" touch list picker is reopened
1233 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1235 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1236 (prepare_action_area): Completely hide the dialog separator.
1238 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1240 * hildon/hildon-touch-selector-entry.c
1241 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1242 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1243 now that the entry is exposed.
1245 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1247 * hildon/hildon-touch-selector-entry.c
1248 (hildon_touch_selector_entry_init): Change the entry's size
1249 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1251 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1253 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1254 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1255 avoid unnecessary scaling.
1257 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1259 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1260 Create grab transfer window before calling parent's map function.
1262 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1263 "crushed" button(s) in the top left corner)
1265 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1267 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1268 Check if the window is already realized when pushing it.
1270 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1272 * configure.ac: post release version bump
1273 * debian/changelog: post release version bump
1275 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1280 * configure.ac: Bump version.
1281 * debian/changelog: Updates.
1283 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1285 * hildon/hildon-app-menu.c: Doc updates.
1287 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1289 * hildon/hildon-banner.c: Remove leftover macro.
1291 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1293 * hildon/hildon-pannable-area.c,
1294 (hildon_pannable_area_scroll_indicator_fade),
1295 (hildon_pannable_area_button_release_cb): Reviewed vmin
1296 conditions, it could cause problems in the fadeout procedure.
1298 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1300 * hildon/hildon-pannable-area.c
1301 (hildon_pannable_area_button_release_cb): Added a threshold to
1302 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1304 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1306 * hildon/hildon-pannable-area.c,
1307 (hildon_pannable_area_set_property): Added code to sync the gtk
1308 dnd threshold with the panning threshold.
1310 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1312 * hildon/hildon-pannable-area.c,
1313 (hildon_pannable_area_class_init): Changed some of the default
1314 values, now it should be less responsive and more accurate.
1316 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1318 * hildon/hildon-pannable-area.c,
1319 (hildon_pannable_area_init),
1320 (hildon_pannable_area_scroll_indicator_fade),
1321 (hildon_pannable_area_button_press_cb),
1322 (hildon_pannable_axis_scroll),
1323 (hildon_pannable_area_timeout),
1324 (hildon_pannable_area_motion_notify_cb),
1325 (hildon_pannable_area_button_release_cb): Changed the name of the
1326 clicked attribute to button_pressed, it is more clear about its use.
1328 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1330 * src/hildon-pannable-area.c
1331 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1333 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1334 vertical scrollbar visibility, and use the data on private section instead,
1335 remove the initial_hint check
1336 (hildon_pannable_area_expose_event): add the initial_hint check here
1338 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1340 * src/hildon-pannable-area.c
1341 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1342 if the fadeout effect was used
1343 (hildon_pannable_area_expose_event): check if it is required to
1344 manage the initial effect on the begining of the function. Previously
1345 it was made at the end, but this doesn't ensure that the scrollbars
1346 will be painted on the first show. Do not set to FALSE initial_effect,
1347 to ensure that the initial hint is showed the first time the pannable
1349 * examples/Makefile.am
1350 * examples/hildon-pannable-area-initial-hint-example.c:
1351 New example, to show that the initial-hint is showed when the widget
1354 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1355 initially if the application can be scrolled)
1357 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1359 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1360 Resize table before adding new items to make sure that
1361 gtk_table_resize() is called just once.
1363 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1365 * hildon/hildon-app-menu-private.h
1366 * hildon/hildon-app-menu.c (item_visibility_changed)
1367 (filter_visibility_changed, hildon_app_menu_show_all)
1368 (hildon_app_menu_hide_all, hildon_app_menu_init):
1369 Rearrange items just once when gtk_widget_show_all()/hide_all()
1372 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1374 * hildon/hildon-app-menu.c
1375 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1376 Don't call gtk_widget_show() on added items.
1378 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1379 automatically when they're added)
1381 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1383 * hildon/hildon-banner.c
1384 (hildon_banner_realize, +hildon_banner_unrealize)
1385 (+screen_size_changed, hildon_banner_class_init):
1386 Redisplay the banner if the screen is rotated.
1388 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1389 on transition from landscape to portrait)
1391 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1393 * hildon/hildon-banner.[ch]:
1394 (hildon_banner_show_information_override_dnd): remove icon_name from the
1395 method definition as it is ignored.
1396 * examples/hildon-banner-dnd-example.c: updated with the change on
1399 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1401 * hildon/hildon-banner-private.h: new require_override_dnd and
1402 overrides_dnd variables
1403 * hildon/hildon-banner.h:
1404 (hildon_banner_show_information_override_dnd): new method, that shows
1405 the information but sets the override flag, in order to show important
1407 * hildon/hildon-banner.c
1408 (hildon_banner_show_information_override_dnd): new method
1409 (hildon_banner_set_override_flag): new utility function
1410 (hildon_banner_real_show_information): new utility function, in order to
1411 generalize the current hildon_banner_show_information_override_dnd and
1412 hildon_banner_show_information_override_dnd
1413 * examples/Makefile.am
1414 * examples/hildon-banner-dnd-example.c: New example that show how to
1415 use the new hildon_banner_show_information_override_dnd
1417 Fixes: NB#114874 (There is no possibility to show hildon banners with
1420 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1422 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1423 behind hildon_pannable_calculate_vel_factor().
1425 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1427 * hildon/hildon-pannable-area.c
1428 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1429 deceleration factors.
1431 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1433 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1434 Reduce the default value for 'scroll_time' to 1 second, since the
1435 current initial scrolling takes too much time.
1437 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1439 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1440 calculate velocity factor during initialization, since the properties
1443 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1445 * hildon/hildon-pannable-area.c
1446 (hildon_pannable_area_set_property): Calculate the velocity factor
1447 after setting the deceleration property and not after.
1449 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1451 * hildon/hildon-entry.c
1452 (hildon_entry_class_init, +set_property, hildon_entry_new)
1453 * hildon/hildon-check-button.c
1454 (hildon_check_button_class_init)
1455 (+set_property, hildon_check_button_new):
1456 Make the theme size a property.
1458 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1459 others) do too much in the _new function)
1461 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1463 * configure.ac: post release version bump
1464 * debian/changelog: post release version bump
1466 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1471 * configure.ac: Bump version.
1472 * debian/changelog: Updates.
1474 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1476 * hildon/hildon-gtk.h
1477 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1478 New API function to take a screenshot of a window
1480 Fixes: NB#106374 (Need API to take a loading screenshot)
1482 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1484 * hildon/hildon-time-selector.c
1485 (update_format_policy): prevent to use hours and minutes unitialized
1487 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1489 * hildon/hildon-window.c (hildon_window_size_request):
1490 Always request the full size of the screen (minus the title bar if
1491 not in fullscreen mode).
1493 Fixes: NB#107486 (HildonWindow should size itself properly)
1495 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1497 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1498 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1499 (on_show_cb), (sound_handling): Disconnect the idle handler for
1500 the sound when the note is finalized to avoid possible crashes.
1502 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1505 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1507 * src/hildon-animation-actor.c,
1508 * src/hildon-remote-texture.c:
1509 Added proper object cleanup to remove signal handler and object
1510 references as HildonAnimationActor and HildonRemoteTexture
1511 objects get destroyed.
1513 Fixes: NB#116682 (Destroying parented animation actors when
1514 parent in unmapped leads to crash)
1516 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1518 Based on a patch by Christian Dywan (christian@imendio.com)
1520 * doc/hildon-sections.txt:
1521 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1522 * hildon/hildon-helper.h: New file size formatting method.
1524 * debian/control: Depend on osso-filemanager l10n package for
1525 proper localization strings.
1527 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1529 * tests/Makefile.am: Include top_srcdir to make possible to build
1530 tests in a different builddir.
1531 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1532 on a different builddir.
1534 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1536 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1537 (hildon_touch_selector_remove): Disconnect model's signal handler
1540 Fixes: NB#116289 (Hildon home crashes while adding task
1543 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1545 * hildon/hildon-button.c
1546 (hildon_button_set_title, hildon_button_set_value):
1547 Hide labels containing an empty string.
1549 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1551 * configure.ac: post release version bump
1552 * debian/changelog: post release version bump
1554 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1559 * configure.ac: Bump version.
1560 * debian/changelog: Updates.
1562 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1564 * hildon/hildon-note-private.h: Removed sound_signal_handler
1565 * hildon/hildon-note.c
1566 (on_show_cb): new callback on note "show" event, this simply adds
1567 a idle, with the function sound_handling
1568 (sound_handling): removed the sound_signal_handler management
1569 (hildon_note_init): connect note "show" event to on_show_cb
1570 (hildon_note_realize): remove the connection to "expose-event"
1572 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1573 device?' confirmation note)
1575 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1577 * hildon/hildon-note.c
1578 (hildon_note_new_information_with_icon_name)
1579 (hildon_note_new_confirmation_with_icon_name):
1580 Terminate the list of parameters in g_object_set() calls
1582 Fixes: NB#115166 (Formatting memory card is not taking place)
1584 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1586 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1587 "dialog-information" role for the sound being played.
1589 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1591 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1592 Don't make the menu a modal window, it causes strange interactions
1593 with the pointer grab and it's not really needed.
1595 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1597 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1599 * hildon/hildon-touch-selector.[ch]
1600 (hildon_touch_selector_optimal_size_request): function added to get a
1601 optimal size request from the touch selector, when you want a dialog to
1602 show as much of the selector
1603 * hildon/hildon-picker-dialog.c:
1604 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1605 (hildon_app_menu_class_init):
1606 New "max-height-landscape" and "max-height-portrait" style properties
1607 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1608 (hildon_picker_dialog_get_max_height): returns the maximum height using
1609 the style properties defined and checking the current portrait/landscape
1611 (_hildon_picker_dialog_set_selector): removed the set_size_request
1613 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1615 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1617 * hildon/hildon-bread-crumb-trail.c:
1618 * hildon/hildon-bread-crumb.c:
1619 * hildon/hildon-seekbar.c:
1620 Add reference to replacements for these deprecated widgets.
1622 Fixes: MB#4461 (Documentation: All deprecations should mention
1625 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1627 * examples/hildon-remote-texture-example.c
1629 Change the include to the hildon-remote-texture in order to compile
1630 properly the examples on the installed libhildon1-examples package
1632 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1634 * tests/Makefile.am: Add check for HildonPickerButton.
1635 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1636 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1637 checks for the HildonPickerButton.
1638 * tests/check_test.c (configure_tests): Add the test suite.
1639 * tests/test_suites.h: likewise.
1641 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1643 * hildon/hildon-touch-selector.c
1644 (+on_row_changed): Emit HildonTouchSelector:changed when the
1645 contents of a selected row change.
1646 (_create_new_column), (_hildon_touch_selector_set_model): connect
1647 to GtkTreeModel:row-changed on a newly set model.
1649 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1651 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1653 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1655 * hildon/hildon-banner.c (hildon_banner_destroy)
1656 (hildon_banner_show_progress, hildon_banner_set_fraction):
1657 Remove the progress bar from HildonBanner and use a progress
1660 Fixes: NB#113761 (Update progress banner to use progress
1663 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1665 * hildon/hildon-banner.c:
1666 Calculate size of the banner label using the actual screen width
1667 rather than using a fixed value.
1669 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1672 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1674 * hildon/hildon-pannable-area.c,
1675 (hildon_pannable_area_class_init): Fixed signals documentation
1678 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1680 * configure.ac: post release version bump
1681 * debian/changelog: post release version bump
1683 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1688 * configure.ac: Bump version.
1689 * debian/changelog: Updates.
1691 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1693 * hildon/hildon-edit-toolbar.c
1694 (hildon_edit_toolbar_init):
1695 Don't let buttons in HildonEditToolbar receive focus.
1697 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1698 typing on an HW arrows key)
1700 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1702 * doc/Makefile.am: Fix build.
1704 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1706 * doc/Makefile.am: Do not redefine content_files.
1708 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1716 Renamed src/ to hildon/
1721 Include <hildon/hildon.h> directly in all examples.
1723 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1725 * src/hildon-sort-dialog.c
1726 (hildon_sort_dialog_add_sort_key_with_sorting)
1730 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1733 make distcheck passes.
1735 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1737 * Makefile.am: Enable gtk-doc during distcheck.
1739 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1741 * Makefile.am: Do not distribute the debian/ directory.
1743 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1745 * doc/Makefile.am: Add the extra SGML files to content_files,
1746 so that they are distributed properly.
1748 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1750 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1753 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1755 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1756 (hildon_note_new_information_with_icon_name): Set the "icon" property
1757 to preserve soundness.
1759 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1761 * src/hildon-font-selection-dialog.c
1762 (hildon_font_selection_dialog_set_property): Fail when the "family"
1763 property is set to NULL.
1765 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1767 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1770 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1772 * src/hildon-time-selector.h:
1773 Added HildonTimeSelectorFormatPolicy
1774 * src/hildon-time-selector.c:
1775 Added PROP_TIME_FORMAT_POLICY
1776 (_check_ampm_format): renamed to check_automatic_ampm_format
1777 (update_format_policy), (update_format_dependant_columns): new functions
1778 (hildon_time_selector_class_init)
1779 (hildon_time_selector_contructor)
1780 (hildon_time_selector_init)
1781 (hildon_time_selector_get_property)
1782 (hildon_time_selector_set_property)
1783 (hildon_time_selector_get_time)
1784 (hildon_time_selector_set_time)
1785 * src/hildon-touch-selector.h: new file
1786 * src/hildon-touch-selector.c
1787 (hildon_touch_selector_emit_changed)
1788 (hildon_touch_selector_block_changed)
1789 (hildon_touch_selector_unblock_changed)
1790 Added functions to allow to block the emission of the "changed" signal
1791 * src/hildon-picker-dialog.c
1792 (hildon_picker_dialog_show): call the parent show before the custom code
1793 * examples/hildon-time-button-example.c
1794 Modified, so now you can configure the time format using the new property
1796 Added a new property "time-format-policy" that allow to choose the time
1797 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1798 case it uses gconf in order to check if the time selector must use
1801 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1804 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1806 * src/hildon-note.c (hildon_note_init):
1807 Label in HildonNote must be left aligned, not centered. This
1808 reverts the last commit in HildonNote.
1810 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1811 is connectivity dialog)
1813 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1818 * doc/hildon-sections.txt:
1819 Added hildon_gtk_window_set_do_not_disturb()
1821 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1823 * src/hildon-note.c (hildon_note_init): Center label.
1825 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1828 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1833 * configure.ac: Bump version.
1834 * debian/changelog: Updates.
1836 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1838 * src/hildon-note-private.h: Add button-width to the private data.
1839 * src/hildon-note.c (+resize_button),
1840 (+hildon_note_orientation_update): methods to repack widgets on orientation
1842 (screen_size_changed): Call above method for confirmation notes.
1843 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1844 (hildon_note_rebuild): Store the original width request from buttons.
1846 Fixes: NB#109635 (Confirmation notes do not support portrait)
1848 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1850 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1851 when it is a progress note.
1853 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1855 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1856 in the note, since there are no horizontally arranged contents.
1858 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1860 * src/hildon-gtk.c (+set_flag): new generic method to
1861 set/delay a flag setting in a window.
1862 (hildon_gtk_window_set_progress_indicator):
1863 (hildon_gtk_window_set_do_not_disturb),
1864 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1865 avoid code redundance.
1867 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1869 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1871 * src/hildon-gtk.c (set_clear_window_flag),
1872 (do_set_progress_indicator), (do_set_do_not_disturb),
1873 (do_set_portrait_flags),
1874 (hildon_gtk_window_set_progress_indicator),
1875 (hildon_gtk_window_set_do_not_disturb),
1876 (hildon_gtk_window_set_portrait_flags):
1877 Allow setting dnd-flag, progress indicator, and portrait flags
1878 when the window is not realized.
1880 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1882 * src/hildon-pannable-area.c,
1883 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1884 the size request policy function and defines.
1886 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1888 * doc/hildon-sections.txt: Add the new API.
1889 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1890 method to set the portrait flags.
1891 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1893 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1895 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1897 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1898 to allow using this method with other flags.
1899 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1900 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1902 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1904 * src/hildon-touch-selector.c
1905 (hildon_touch_selector_append_text_column):
1906 Make the cell renderer use the smallest width possible.
1908 Fixes: NB#108470 (Selected items in multiple selection are either
1909 having a tick that is cut or not visible at all.)
1911 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1913 * src/hildon-touch-selector.c
1914 (hildon_touch_selector_append_text_column):
1917 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1919 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1920 Use g_strdup_printf() instead of a fixed size buffer.
1922 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1924 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1925 Close banners when a HildonAppMenu is popped up.
1927 Fixes: NB#111027 (Title menu closed immediately if activated when
1928 "Invalid e-mail address" banner is shown)
1930 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1935 * configure.ac: Bump version.
1936 * debian/changelog: Updates.
1938 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-banner.c (hildon_banner_realize):
1941 Mark HildonBanner as supporting portrait mode.
1942 Use GDK to set window properties insetad of direct Xlib calls.
1944 Fixes: NB#111830 (HildonBanner should be marked as supporting
1947 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1949 * src/hildon-note.c (hildon_note_rebuild):
1950 Hide action area in information notes. Prevents text from being
1951 slightly aligned to the left.
1953 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1956 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1958 Patch by Mox Soini (ext-mox.soini@nokia.com)
1960 * src/hildon-banner.c (hildon_banner_create_animation):
1961 Use stylus-sized icons in animation banner.
1963 Fixes: NB#111206 (stylus sized icon for animation banner)
1965 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1969 (+hildon_gtk_window_set_do_not_disturb):
1970 New API to set the do-not-disturb flag.
1972 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1974 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1976 * examples/hildon-progress-indicator-example.c: Fix example
1978 * src/hildon-gtk.c (set_clear_window_flag)
1979 (hildon_gtk_window_set_progress_indicator):
1980 Create a generic function for setting flags to a window.
1981 Use GDK instead of direct Xlib calls.
1983 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1985 * src/hildon-button.c (hildon_button_set_arrangement):
1986 Due to NB#88126, if one of the labels is too long it will be
1987 painted outside the button. The 'value' label is more likely to be
1988 the longest one, so we change its packing options in order to
1989 truncate it if necessary. As a side effect, the 'title' label will
1990 no longer be truncated.
1992 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1994 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1999 * configure.ac: Bump version.
2000 * debian/changelog: Updates.
2002 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2004 Deprecation of the hildon_pannable_area_set_size_request_policy
2005 API, the only policy properly supported in gtk+ nowadays is the
2008 * src/hildon-pannable-area.c,
2009 (hildon_pannable_area_size_request): Added a workaround for the
2010 size_request to avoid the problems of huge pixmaps in case someone
2011 is still using the function.
2012 * src/hildon-pannable-area.h: Deprecated the enum with the
2015 Fixes: NB#110244 (Problems with the
2016 hildon_pannable_area_set_size_request_policy API)
2018 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2020 * src/hildon-pannable-area.c,
2021 (hildon_pannable_area_init),
2022 (hildon_pannable_area_size_request),
2023 (hildon_pannable_area_style_set),
2024 (hildon_pannable_draw_vscroll),
2025 (hildon_pannable_draw_hscroll),
2026 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2027 indicator_width to clarify the use of the attribute.
2029 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2034 * configure.ac: Bump version.
2035 * debian/changelog: Updates.
2037 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2039 * src/hildon-picker-dialog.c
2040 * src/hildon-touch-selector.c
2041 Reverting the change that tried to avoid the hardcoded height on
2042 the picker dialog, as causes problems on the hildon-touch-selector
2045 Fixes: NB#110029 (selectors not scrolling to selected value)
2047 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2049 * src/hildon-touch-selector.c: Fix typos
2051 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2054 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2055 request more motions after using it.
2057 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2059 * src/hildon-calendar.c (hildon_calendar_expose),
2060 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2061 Remove unused variables.
2063 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2065 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2066 variable assignment.
2068 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2070 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2071 Check the return value of gtk_tree_selection_get_selected()
2074 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2076 * src/hildon-animation-actor.c
2077 * src/hildon-button.c
2079 * src/hildon-pannable-area.c
2080 * src/hildon-picker-button.c
2081 * src/hildon-program.c
2082 * src/hildon-remote-texture.c
2083 * src/hildon-text-view.c
2084 * src/hildon-touch-selector.c
2085 * src/hildon-window-stack.c
2086 * src/hildon-window.c:
2087 Add missing 'Since: 2.2' tags.
2089 * doc/hildon-sections.txt:
2090 Add some missing symbols.
2092 * doc/hildon-docs.sgml:
2093 New 'Other' section for HildonAnimationActor and
2096 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2098 Patch by Iván Gómez (igomez@igalia.com)
2101 * doc/compiling.sgml
2102 * doc/hildon-docs.sgml
2103 * doc/hildon-sections.txt
2104 * doc/migration.sgml
2105 * doc/resources.sgml
2107 New chapters on using the Hildon library.
2108 Updated the general structure of the reference manual.
2109 Other minor documentation fixes.
2111 * src/hildon-calendar-popup.c
2112 * src/hildon-calendar.c
2113 * src/hildon-controlbar.c
2114 * src/hildon-date-editor.c
2115 * src/hildon-dialog.c
2116 * src/hildon-hvolumebar.c
2117 * src/hildon-number-editor.c
2118 * src/hildon-range-editor.c
2119 * src/hildon-sort-dialog.c
2120 * src/hildon-time-editor.c
2121 * src/hildon-time-picker.c
2122 * src/hildon-volumebar-range.c
2123 * src/hildon-volumebar.c
2124 * src/hildon-vvolumebar.c
2125 * src/hildon-weekday-picker.c:
2126 Add deprecation notes
2128 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2129 Document 'horizontal-movement' and 'vertical-movement' signals.
2131 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2136 * configure.ac: Bump version.
2137 * debian/changelog: Updates.
2139 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2141 * src/hildon-pannable-area.c,
2142 (hildon_pannable_area_class_init): increased the minimum velocity.
2143 (hildon_pannable_area_button_release_cb): Updated the
2144 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2145 setup. Review the code to control that last event.
2147 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2150 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2152 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2154 * src/hildon-get-password-dialog.c
2155 (hildon_get_password_set_property),
2156 (hildon_get_password_get_property), (create_contents):
2157 * src/hildon-login-dialog-private.h:
2158 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2159 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2160 (hildon_login_dialog_get_password):
2161 * src/hildon-set-password-dialog-private.h:
2162 * src/hildon-set-password-dialog.c
2163 (hildon_set_password_set_property),
2164 (hildon_set_password_get_property), (create_contents),
2165 (hildon_set_password_response_change),
2166 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2168 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2169 instead and look more Fremantle style.
2171 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2173 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2175 * doc/hildon-sections.txt
2176 * src/hildon-window-stack.h
2177 * src/hildon-window-stack.c
2178 (+hildon_window_stack_get_windows):
2179 New API to obtain the list of windows on a stack.
2181 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2183 * src/hildon-app-menu.c (hildon_app_menu_popup)
2184 (hildon_app_menu_class_init, -hildon_app_menu_show):
2185 Remove hildon_app_menu_show() and move all its checks to
2186 hildon_app_menu_popup()
2188 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2190 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2191 (_hildon_picker_dialog_set_selector): removed call to
2192 gtk_widget_set_size_request
2193 * src/hildon-touch-selector.c
2194 (_create_new_column): change the pannable size request policy
2196 Avoid to use a hardcoded height for the hildon picker dialog. In order
2197 to get that, we needed to change the hildon pannable size request
2199 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2201 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2203 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2204 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2207 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2209 * debian/control: Depend on osso-system-lock localization package.
2210 * src/hildon-code-dialog.c: Obtain the secu_application_title
2211 translation from osso-system-lock.
2212 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2213 for translation the atk related strings, that's not necessary.
2214 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2215 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2216 cancel button, it is not required.
2218 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2220 * src/hildon-pannable-area.c,
2221 (hildon_pannable_area_class_init): Modified the default value of
2222 the overshooting max speed, we have reduced it.
2224 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2226 * doc/hildon-sections.txt
2227 * src/hildon-window-private.h
2228 * src/hildon-window.h
2229 * src/hildon-window.c (hildon_window_class_init)
2230 (hildon_window_init, hildon_window_finalize)
2231 (hildon_window_realize, hildon_window_get_property)
2232 (hildon_window_set_property, hildon_window_update_markup)
2233 (hildon_window_get_markup, hildon_window_set_markup):
2234 New "markup" property and hildon_window_{get,set}_markup() methods.
2236 * examples/hildon-stackable-window-example.c (new_window):
2237 Update example to use hildon_window_set_markup()
2239 Fixes: NB#106375 (Need API to retitle a window with a title
2242 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2244 * src/hildon-pannable-area.c,
2245 (hildon_pannable_area_class_init): Changed the default value of
2246 the initial_hint to TRUE.
2247 (hildon_pannable_area_initial_effect): Changed the initial effect,
2248 not the effect is just the fade-out of the scrollbars.
2250 Fixes: NB#107775 (No scrollbars can be seen when several items are
2251 available in a dialog)
2253 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2255 * src/hildon-program.c (hildon_program_update_top_most):
2258 Fixes: NB#109179 (Memory leak in Hildon program)
2260 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-banner.c (-get_current_app_window):
2263 Remove unused function.
2265 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2267 * src/hildon-pannable-area.c: Modified the documentation of the
2268 get adjustments functions to explain the problem of using the
2269 adjustment directly.
2270 (hildon_pannable_area_class_init): Improved the explanation about
2273 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2275 * src/hildon-app-menu-private.h
2276 * src/hildon-app-menu.c
2277 (hildon_app_menu_class_init):
2278 Bring back the 'external-border' style property
2279 (hildon_app_menu_class_init, hildon_app_menu_init)
2280 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2281 Set a fixed width-request for the menu, independent of the number
2284 Fixes: NB#94957 (Smoothly opened application menu)
2286 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2288 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2290 * src/hildon-banner.c
2291 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2293 Make sure that the banner is correctly placed the first time it's
2295 (hildon_banner_check_position, -check_fullscreen_state):
2296 Show the banner in the same place no matter if the window is in
2297 fullscreen mode or not.
2299 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2301 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2303 * src/hildon-touch-selector.c (_default_print_func): reorder
2304 concatenation for clarity.
2306 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2309 for multicolumn selectors.
2311 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2313 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2318 * configure.ac: Bump version.
2319 * debian/changelog: Updates.
2321 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2323 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2326 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2328 * configure.ac: removed libcangerra-gtk dependency
2329 * debian/control: removed libcanberra-gtk dependency
2330 * src/Makefile.am: removed libcanberra gtk related flags
2331 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2332 context, and manage a global canberra context instead
2334 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2336 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2338 Patch by Daniel Borgmann (danielb@openismus.com)
2340 * src/hildon-edit-toolbar.c:
2341 Adjust the left padding.
2342 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2343 Paint background of the edit toolbar.
2345 Fixes: NB#107897 (Patch to make editmodetoolbar background
2346 themeable and adjust margin)
2348 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2350 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2352 * src/hildon-program.c (hildon_program_update_top_most):
2353 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2355 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2356 change when the user tasks in/out of an application)
2358 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2360 * configure.ac: added libcangerra-gtk dependency
2361 * debian/control: added libcanberra-gtk dependency
2362 * src/Makefile.am: added libcanberra gtk related flags
2363 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2366 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2368 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2370 * src/hildon-program.c (hildon_program_remove_window)
2371 (hildon_program_add_window): Add checks for the window
2372 parameter. Don't decrease the window counter if the window is not
2375 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2377 * src/hildon-pannable-area.c,
2378 (hildon_pannable_area_realize): Fixed position of the event_window
2379 in the realize method.
2381 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2383 * src/hildon-app-menu-private.h
2384 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2385 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2386 (hildon_app_menu_key_press, hildon_app_menu_init)
2387 (hildon_app_menu_finalize):
2388 Make sure that all idle functions are removed when the widget is
2391 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2393 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2398 * configure.ac: Bump version.
2399 * debian/changelog: Updates.
2401 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2403 * src/hildon-entry.c
2404 (+hildon_entry_show_placeholder),
2405 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2406 that replace hildon_entry_update_contents().
2407 (hildon_entry_set_text),
2408 (hildon_entry_set_placeholder),
2409 (hildon_entry_focus_in_event),
2410 (hildon_entry_focus_out_event): Determine when it is needed
2411 either to show or hide the placeholder and call the above methods.
2413 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2414 when the placeholder text is already set)
2416 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2419 simple GdkPixbufAnim using the new icons for the banner.
2420 (hildon_banner_show_animation): Use the above mentioned method to
2421 create the animation widget.
2423 Fixes: NB#103564 (Make hildon animation banner use individual
2424 image files as the animation)
2426 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2428 * src/hildon-pannable-area.c,
2429 (hildon_pannable_leave_notify_event): Check if the child is NULL
2430 to avoid sending the leave.
2432 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2434 * src/hildon-pannable-area.c,
2435 (hildon_pannable_area_class_init),
2436 (hildon_pannable_leave_notify_event): Added a handler of the
2437 leave-notify-signal to consider when no motion notify before
2440 Fixes: NB#107494 (Items stay selected when clicking and moving
2441 away when inside pannable area)
2443 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2448 * configure.ac: Bump version.
2449 * debian/changelog: Updates.
2451 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2453 Patch by Alberto Garcia (agarcia@igalia.com)
2455 * src/hildon-date-button.c,
2456 (hildon_date_button_class_init),
2457 (hildon_date_button_init): Removed the construct property handling
2458 and created a default selector in the init method.
2459 * src/hildon-picker-button.c,
2460 (hildon_picker_button_class_init): Removed the construct flag of the
2463 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2465 * src/hildon-main.c (hildon_init):
2466 Don't allow hildon_init() to be called more than once.
2468 Fixes: NB#106607 (hildon_init should issue error message upon
2471 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2473 * examples/hildon-pannable-area-touch-list-example.c
2474 * examples/hildon-pannagle-area-touch-grid-example.c
2475 * examples/hildon-edit-toolbar-example.c
2476 * examples/hildon-touch-selector-multi-cells-example.c
2477 Removed the call to gtk_rc_parse_string, as it is not required since
2480 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2482 * src/hildon-pannable-area.c,
2483 (hildon_pannable_area_class_init): Modified the default panning
2484 threshold of the widget to 6px.
2486 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2487 than the threshold value ) within the button is not sending the
2490 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2492 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2493 for the treeview in the new column. This way, the touch list will never
2496 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2497 be selected manually for the HW keys to work)
2499 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2501 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2502 comparison instead of using strcmp(). Fixes a compiler warning as well.
2504 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2506 * doc/hildon-docs.sgml: Do not set the library version in the
2507 document title, use the releaseinfo tag for that purpose instead.
2509 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2511 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2512 Do not jump to the first item if the text in the entry is removed.
2514 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2519 * configure.ac: Bump version.
2520 * debian/changelog: Updates.
2522 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2524 * src/hildon-entry.c (hildon_entry_refresh_contents):
2525 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2526 Use "ReversedSecondaryTextColor" for the placeholder text.
2528 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2530 * src/hildon-text-view.c: Fix compilation warning.
2532 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2534 * src/hildon-button.c (hildon_button_class_init): Don't make
2535 "title" and "value" construction properties, to prevent them from
2536 overwriting labels set from derived classes.
2538 * src/hildon-picker-button.c
2539 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2540 (hildon_picker_button_class_init): Make touch-selector a
2541 construction property.
2543 * src/hildon-date-button.c (hildon_date_button_class_init)
2544 (+hildon_date_button_constructed): Add a default date selector if
2547 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2549 * src/hildon-touch-selector.c: Small documentation fixes.
2551 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2553 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2555 * src/hildon-entry.c (hildon_entry_refresh_contents),
2556 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2557 widget name, set the logical color directly instead and a boolean
2558 showing_placeholder instead.
2559 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2560 use the widget name here either.
2562 Fixes: NB#105678 (HildonTextView should use logical colours
2563 instead of setting widget name)
2565 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2567 Patch by Daniel Elster (danielk@openismus.com)
2569 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2570 Add user_data parameter.
2571 (hildon_touch_selector_set_print_func_full): New function akin
2572 hildon_touch_selector_set_print_func() but with support for user
2573 data and a destroy callback.
2574 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2575 to clean up the print function user data.
2576 (hildon_touch_selector_class_init): Install dispose function.
2577 (HildonTouchSelectorPrivate::print_user_data),
2578 (HildonTouchSelectorPrivate::print_destroy_func): New private
2580 (hildon_touch_selector_init): Initialize new private members.
2581 (hildon_touch_selector_get_current_text): Pass along user data
2582 to the print function.
2583 (_default_print_func): Add dummy user_data to parameter list.
2584 * hildon-date-selector.c (_custom_print_func): ditto,
2585 * hildon-time-selector.c (_custom_print_func): ditto,
2586 * hildon-touch-selector-entry.c
2587 (hildon_touch_selector_entry_print_func): ditto.
2589 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2591 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2593 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2595 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2597 * src/hildon-pannable-area.c,
2598 (hildon_pannable_area_init),
2599 (hildon_pannable_area_button_press_cb),
2600 (hildon_pannable_area_motion_notify_cb): We have added code to
2601 handle the leave and enter events when using the motion events.
2603 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2605 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2607 * src/hildon-date-button.c (hildon_date_button_get_date)
2608 (hildon_date_button_set_date): Make sure that the button has a
2611 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2613 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2615 * src/hildon-pannable-area.c,
2616 (hildon_pannable_area_class_init),
2617 (hildon_pannable_area_calculate_velocity): Modify the use of the
2618 force and adapt the value.
2620 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2622 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2623 (hildon_app_menu_class_init): Hide the menu if it receives a
2624 delete-event, but don't destroy it
2626 Fixes: NB#104485 (Not able to address the call when application
2627 menu is opened at background)
2629 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2631 * src/hildon-app-menu.c
2632 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2633 Remove the "external-border" style property, let the menu take its
2634 natural size (or the one set by the window manager)
2635 (hildon_app_menu_repack_items):
2636 Don't reshow the menu, avoid flickers.
2638 Partially fixes NB#94957 (Smoothly opened application menu)
2640 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2645 * configure.ac: Bump version.
2646 * debian/changelog: Updates.
2648 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2650 * src/hildon-pannable-area.c,
2651 (hildon_pannable_area_motion_notify_cb): We control that the
2652 direction error margin is used just in case the movement is
2653 allowed in the other direction.
2655 Fixes: NB#105012 (buttons inside a pannable area not getting
2656 release event when dragging/releasing)
2658 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2660 * src/hildon-pannable-area.c,
2661 (hildon_pannable_area_class_init),
2662 (hildon_pannable_area_get_property),
2663 (hildon_pannable_area_set_property),
2664 (hildon_pannable_area_initial_effect),
2665 (hildon_pannable_axis_scroll),
2666 (hildon_pannable_area_button_release_cb): Reviewed the
2667 overshooting effect, now it has its own max
2668 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2669 speed when bouncing.
2671 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2676 * configure.ac: Bump version.
2677 * debian/changelog: Updates.
2679 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2681 * src/hildon-pannable-area.c,
2682 (hildon_pannable_area_class_init): Changed the max speed, now
2683 users can launch the widget very fast. Reduced the default force,
2684 that way it is easier to control the launch speed.
2686 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2688 * src/hildon-pannable-area.c,
2689 (hildon_pannable_area_button_release_cb): Removed this check
2690 because it causes problems when the device is overloaded.
2692 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2694 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2695 add a current_text field to store the text entered in the
2696 touch selector entry.
2697 (_clean_current_selection): clean up the current text as well.
2698 (_save_current_selection), (_restore_current_selection):
2699 Save/restore the text in the entry if the selector is a
2700 HildonTouchSelectorEntry.
2702 Fixes: NB#102541 (value entered in the touch selector entry is not
2703 shown when opened for second time)
2705 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2707 * doc/hildon-sections.txt:
2708 * src/hildon-touch-selector-entry.c
2709 (+hildon_touch_selector_entry_get_entry):
2710 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2712 Fixes: NB#104815 (I need accessor to the entry inside
2713 HildonTouchSelectorEntry)
2715 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2717 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2718 (hildon_app_menu_class_init):
2719 New "filter-vertical-spacing" style property.
2721 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2723 * src/hildon-find-toolbar.c
2724 (hildon_find_toolbar_emit_close)
2725 (hildon_find_toolbar_emit_invalid_input)
2726 (hildon_find_toolbar_entry_activate):
2727 Use g_signal_emit() instead of g_signal_emit_by_name()
2729 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2731 Patch by Mox Soini (ext-mox.soini@nokia.com)
2733 * tests/TEST-CASES.txt
2734 * tests/check-hildon-banner.c
2735 * tests/check-hildon-note.c
2736 * src/hildon-banner.c
2737 * src/hildon-code-dialog.c
2738 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2739 * src/hildon-time-editor.c
2740 * examples/hildon-lookup-example.c (main):
2741 Replace obsolete icon names with new ones.
2743 * src/hildon-find-toolbar-private.h:
2744 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2745 (-hildon_find_toolbar_emit_search):
2746 Remove find button and change icon of close button.
2748 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2750 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2752 * src/hildon-time-button.c (hildon_time_button_new_step):
2753 Use the "touch-selector" property to set the selector directly
2754 when creating the object.
2756 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2758 Added a new example application that allows tuning the pannable
2759 area and replaced defines with properties in order to simplify the
2760 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2761 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2762 PROP_DIRECTION_ERROR_MARGIN.
2764 * examples/hildon-pannable-area-tuning-example.c: New example
2766 * src/hildon-pannable-area.c,
2767 (hildon_pannable_area_class_init),
2768 (hildon_pannable_area_init),
2769 (hildon_pannable_area_get_property),
2770 (hildon_pannable_area_set_property),
2771 (hildon_pannable_area_launch_fade_timeout),
2772 (hildon_pannable_area_adjust_value_changed),
2773 (hildon_pannable_axis_scroll),
2774 (hildon_pannable_area_motion_notify_cb),
2775 (hildon_pannable_area_scroll_cb),
2776 (hildon_pannable_area_button_release_cb): We have converted some
2777 of the defines that control the widget to properties to simplify
2780 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-app-menu.c (hildon_app_menu_map)
2783 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2784 so it's closed if a new window appears.
2786 Fixes: NB#104485 (Not able to address the call when application
2787 menu is opened at background)
2789 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2791 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2792 missing 'break' statement in in 'case' construct to avoid
2795 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2797 * src/hildon-touch-selector-entry.c
2798 (hildon_touch_selector_entry_get_property),
2799 (hildon_touch_selector_entry_set_property): Add missing 'break'
2800 statements in in 'case' constructs to avoid incorrect warnings.
2802 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2804 * src/hildon-time-editor.c
2805 (hildon_time_editor_get_time_separators): Do not crash if
2806 the first label is NULL.
2808 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/hildon-date-selector.c (_month_days): Check for month to be
2811 strictly less than 12, since otherwise we may overrun the array.
2813 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2815 * src/hildon-date-button.c (+hildon_date_button_new_full)
2816 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2817 (hildon_date_button_init): Set the date selector using a
2818 construction property, to make it happen after HildonButton's
2819 "value" property is set.
2821 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2822 current date by default)
2824 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2826 * doc/hildon-sections.txt
2827 * src/hildon-program.c
2828 * src/hildon-stackable-window.c
2829 * src/hildon-window.c:
2830 Documentation updates
2832 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2835 (hildon_window_stack_new, +hildon_window_stack_set_property)
2836 (+hildon_window_stack_get_property)
2837 (hildon_window_stack_class_init)
2838 (+hildon_window_stack_set_window_group)
2839 (+hildon_window_stack_get_window_group):
2840 Make the window group a construction property.
2842 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2844 * doc/hildon-sections.txt
2845 * src/hildon-stackable-window-private.h
2846 * src/hildon-stackable-window.h
2847 * src/hildon-stackable-window.c
2848 (-hildon_stackable_window_set_app_menu)
2849 (-hildon_stackable_window_get_app_menu)
2850 (-hildon_stackable_window_toggle_menu)
2851 (-hildon_stackable_window_finalize)
2852 (hildon_stackable_window_class_init)
2853 (hildon_stackable_window_init)
2854 * src/hildon-window-private.h
2855 * src/hildon-window.h
2856 * src/hildon-window.c (hildon_window_init)
2857 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2858 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2859 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2860 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2861 Moved all HildonAppMenu code to HildonWindow. The menu does not
2862 require a HildonStackableWindow anymore.
2864 * src/hildon-app-menu.c
2865 * src/hildon-program.c
2866 * examples/hildon-app-menu-example.c (main):
2867 Update examples and documentation to reflect HildonAppMenu
2870 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2872 * src/hildon-remote-texture.c
2873 * src/hildon-animation-actor.c:
2874 Don't include unused private headers.
2876 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-program-private.h
2879 * src/hildon-program.c
2880 (hildon_program_set_common_menu)
2881 (hildon_program_get_common_menu)
2882 (hildon_program_set_common_app_menu)
2883 (hildon_program_get_common_app_menu):
2884 Change common menu pointers from GtkWidget* to GtkMenu* and
2885 HildonAppMenu* to avoid unnecessary casts.
2887 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-window.c (hildon_window_set_main_menu):
2890 Removed incorrect 'Since:' tag
2892 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2894 * src/hildon-pannable-area.c,
2895 (hildon_pannable_area_calculate_velocity): We use now the
2896 RATIO_TOLERANCE here to check the distance, fixed typo in the
2898 (hildon_pannable_area_motion_notify_cb): We have to set the type
2899 and time even if we are not sending the motion.
2901 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2903 * doc/hildon-sections.txt
2904 * src/hildon-app-menu.h
2905 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2906 (+hildon_app_menu_get_filters): New methods to get the contents of
2909 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2912 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2914 * src/hildon-app-menu.c (hildon_app_menu_popup):
2917 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2919 * src/hildon-window.h
2920 * src/hildon-window.c (+hildon_window_get_main_menu)
2921 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2922 and deprecated hildon_window_get_menu().
2924 * src/hildon-stackable-window.h
2925 * src/hildon-stackable-window.c
2926 (+hildon_stackable_window_set_app_menu)
2927 (+hildon_stackable_window_get_app_menu)
2928 (hildon_stackable_window_set_main_menu): Created
2929 hildon_stackable_window_{get,set}_app_menu() and deprecated
2930 hildon_stackable_window_set_main_menu().
2932 * doc/hildon-sections.txt
2933 * examples/hildon-app-menu-example.c (main)
2934 * src/hildon-app-menu.c
2935 * src/hildon-program.c:
2936 Updated examples and documentation.
2938 Fixes: NB#103758 (No way to obtain a menu from a
2939 HildonStackableWindow)
2941 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2946 * configure.ac: Bump version.
2947 * debian/changelog: Updates.
2949 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2951 * examples/hildon-remote-texture-example.c: Include
2952 hildon-remote-texture.h explicitely.
2953 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2954 applications not defining _XOPEN_SOURCE which don't require this header.
2956 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2958 * doc/hildon-sections.txt
2959 * src/hildon-app-menu.h
2960 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2961 New function to pop up a HildonAppMenu
2963 * src/hildon-stackable-window.c
2964 (hildon_stackable_window_toggle_menu):
2965 Use hildon_app_menu_popup() to show the menu.
2967 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2969 * src/hildon-app-menu.c (hildon_app_menu_show)
2970 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2971 menu if there's another window between it and its parent window.
2973 Fixes: NB#100468 (Application menu window is launched even when a
2974 new secondary-window/dialog is pending to be shown/realized)
2976 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2978 * src/hildon-window-stack.c (hildon_window_stack_push)
2979 (hildon_window_stack_pop_and_push):
2980 Don't forget to push/pop the first window.
2981 Reverse the window list before calling _push_list()
2983 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2985 * src/hildon-picker-button.h
2986 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2987 Remove "value_changed" slot to avoid ABI breakage
2989 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2991 * src/hildon-pannable-area.c,
2992 (hildon_pannable_area_realize),
2993 (hildon_pannable_area_unrealize),
2994 (hildon_pannable_draw_vscroll),
2995 (hildon_pannable_draw_hscroll): Changed the method to handle the
2996 GC used to draw the transparent scrollbar, this way we avoid
2997 creating the GC all the time when drawing the scrollbars.
2999 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3001 * src/hildon-pannable-area.c,
3002 (hildon_pannable_area_init),
3003 (hildon_pannable_area_remove): Removed some unnecessary casts.
3004 (hildon_pannable_area_dispose): Disconnected some signals before
3005 releasing the adjustments.
3007 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3009 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3010 Make sure that all widgets contained in the toolbar are shown.
3012 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3014 * doc/hildon-sections.txt
3015 * src/hildon-picker-button.h
3016 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3017 (_selection_changed, hildon_picker_button_on_dialog_response)
3018 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3019 New hildon_picker_button_value_changed() method.
3022 * src/hildon-picker-button-private.h
3023 * src/hildon-picker-button.c (hildon_picker_button_init)
3024 (+hildon_picker_button_disable_value_changed): Add protected
3025 function for disabling the "value-changed" signal.
3027 * src/hildon-date-button.c (hildon_date_button_set_date):
3028 Don't emit "value-changed" for each one of the three columns.
3030 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3031 before actual change of values)
3033 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3035 * src/hildon-pannable-area.c,
3036 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3037 for the treeview overshooting.
3039 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3041 * src/hildon-banner.c (+hildon_banner_bind_style):
3042 Renamed from hildon_banner_bind_label_style(), now naming the
3043 banner itself as well.
3044 (hildon_banner_show_information),
3045 (hildon_banner_show_information_with_markup),
3046 (hildon_banner_show_animation), (hildon_banner_show_progress):
3047 Name the widgets and labels, based on their type.
3049 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3052 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3054 * src/hildon-note.c (hildon_note_set_property): call
3055 hildon_note_rename() on HildonNote:note-type set.
3056 (hildon_note_rename): Name the note and its label, based on the
3057 HildonNote:note-type property.
3059 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3062 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3064 * src/hildon-pannable-area.c,
3065 (hildon_pannable_area_class_init),
3066 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3067 panning parameters, increased SPS and deceleration factor. Added
3068 also a margin to control fake directions.
3070 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3072 Patch by Sven Herzberg (sven@imendio.com)
3074 * configure.ac: Add missing AM_PROG_CC_C_0
3075 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3077 See NB#101420 (Update unit tests and fix make check)
3079 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3081 This patch was applied before but reverted because it caused
3082 problems, we have changed the main condition and tested the
3083 regressions we detected before and they work ok. We have done a
3084 complete review of the topmost algorithm in order to get a more
3087 * src/hildon-pannable-area.c,
3088 (hildon_pannable_area_get_topmost): Added a new parameter to
3089 filter the the windows that do not include those events.
3090 (hildon_pannable_area_button_press_cb),
3091 (hildon_pannable_area_button_release_cb),
3092 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3093 topmost function, we have added the new parameter.
3095 Fixes: NB#97458 (Pannable area prevents propagation of button
3098 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3100 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3101 if all columns in the selector have an item selected.
3102 (_on_dialog_response): Stop "response" signal emission if there is
3103 any selector column without selected items.
3105 Fixes: NB#101889 (Picker dialog should not close when nothing is
3106 selected in multiple selection list)
3108 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3110 * src/hildon-font-selection-dialog.c
3111 (hildon_font_selection_dialog_class_init),
3112 (hildon_font_selection_dialog_init): Remove the preview
3113 button and dialog, since previewing with default theming is likely
3114 to be overcomplicated. The :preview property has now no effect.
3115 Update documentation blurbs to inform about this.
3117 Fixes: NB#92297 (Preview content is not clearly visible for
3118 default colour text)
3120 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3122 Reviewed the geometry that handles the children size and
3123 scrollbar, now it tries a size and reviews the results depending
3124 on the scrollbars visibility.
3126 * src/hildon-pannable-area.c,
3127 (hildon_pannable_area_realize): Fixed a typo.
3128 (hildon_pannable_area_child_allocate_calculate): Added this
3129 function to calculate the child allocation.
3130 (hildon_pannable_area_size_allocate): Reviewed the allocation
3132 (hildon_pannable_area_check_scrollbars),
3133 (hildon_pannable_area_refresh): Refactored refresh function, this
3134 way we can call the code handling the scrollbars without causing a
3135 size_request, it is interesting in the allocate.
3136 (hildon_pannable_area_init): Replace the callbacks of the
3137 value_changed and changed signals to propertly deal with the
3139 (hildon_pannable_area_grab_notify),
3140 (hildon_pannable_area_initial_effect),
3141 (hildon_pannable_area_launch_fade_timeout),
3142 (hildon_pannable_area_adjust_changed),
3143 (hildon_pannable_area_adjust_value_changed),
3144 (hildon_pannable_area_redraw),
3145 (hildon_pannable_area_button_press_cb),
3146 (hildon_pannable_area_button_release_cb),
3147 (hildon_pannable_area_scroll_cb),
3148 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3149 code and use the new functions adjust_changed and
3150 adjust_value_changed.
3152 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3153 Contact editor dialog)
3155 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3160 * configure.ac: Bump version.
3161 * debian/changelog: Updates.
3163 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3165 * src/hildon-pannable-area.c,
3166 (hildon_pannable_area_get_topmost),
3167 (hildon_pannable_area_button_press_cb),
3168 (hildon_pannable_area_button_release_cb),
3169 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3170 topmost function adding the event mask. We have to try a
3171 differente approach because it is still causing problems (NB#9745,
3174 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3176 * src/hildon-banner.c:
3177 Update the maximum width of timed banners.
3178 (force_to_wrap_truncated): Enforce the maximum text width if the
3181 Fixes: NB#102413 (The text margins (wrapping) in information
3182 banner should be HILDON_MARGIN_TRIPLE)
3184 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3186 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3188 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3189 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3190 bound when calculating the scroll indicator position.
3192 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3193 treat ->lower correctly)
3195 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3197 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3198 expose event handling, since it is not necessary to draw the focus
3201 Fixes: NB#102467 (Do not show highlight on the text in
3204 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3206 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3207 full height of the toolbar for the button and the label.
3209 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3211 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3212 padding before the label and after the button.
3214 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3216 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3218 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3219 Add a GtkVSeparator between the button and the back arrow.
3220 Let the button have automatic size.
3221 Set a name to the widget for theming handling.
3223 Fixes: NB#101793 (Make edit toolbar the same height as window
3224 title bar (use title area theming))
3226 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3228 * src/hildon-helper.c (attach_new_color_element): Fix memory
3231 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3233 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3235 * examples/hildon-button-example.c (common_buttons_window): Don't
3238 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3240 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3241 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3243 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3245 * src/hildon-gtk.c: Check that the window is realized.
3247 Fixes: NB#102225 (Crash setting the progress indicator to a non
3250 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3252 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3253 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3254 instead of modifying the one in the widget style.
3256 Fixes: NB#101043 (Second row of all the command button are
3257 displayed in transparent mode.)
3259 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3261 * src/hildon-date-button.c
3262 * src/hildon-time-button.c: Add gettext macros
3264 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3266 * src/hildon-date-button.c (hildon_date_button_new):
3267 * src/hildon-time-button.c (hildon_time_button_new_step):
3268 Use new logical strings to set the button default title.
3270 Fixes: NB#99915 (Date and Time options are not localised in Date
3273 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3275 * src/hildon-pannable-area.c
3276 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3277 the PANNING_THRESHOLD.
3279 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3281 * src/hildon-pannable-area.c,
3282 (hildon_pannable_area_class_init): Increased the maximum speed.
3283 (hildon_pannable_area_get_property),
3284 (hildon_pannable_area_set_property),
3285 (hildon_pannable_area_timeout): Added a new low friction mode, it
3286 allows the user avoid friction when launching the widget fast
3287 enough. It is interesting to traverse long lists.
3289 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3291 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3292 (+hildon_stackable_window_delete_event): Ignore delete events if
3293 the window is not the topmost one.
3295 Fixes: NB#101698 (Back button long press and delete-event handling)
3297 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3299 * src/hildon-pannable-area.c,
3300 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3301 gtk-dnd-drag-threshold, it was too big. We have defined our own
3302 dnd define and set a smaller value: PANNIG_THRESHOLD.
3304 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3306 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3307 user-defined icons, use always the default one.
3309 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3311 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3313 This patch was applied before but reverted because it caused
3314 problems, we have changed the main condition and tested the
3315 regressions we detected before and they work ok.
3317 * src/hildon-pannable-area.c,
3318 (hildon_pannable_area_get_topmost): Added a new parameter to
3319 filter the the windows that do not include those events. Added
3320 also a condition when finding the window to filter windows that do
3321 not ask for those events.
3322 (hildon_pannable_area_button_press_cb),
3323 (hildon_pannable_area_button_release_cb),
3324 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3325 topmost function, we have added the new parameter.
3327 Fixes: NB#97458 (Pannable area prevents propagation of button
3330 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3332 * tests/check-hildon-color-button.c (START_TEST): do not leak
3335 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3337 * src/hildon-font-selection-dialog.c
3338 (hildon_font_selection_dialog_get_preview_text): Return NULL
3339 instead of FALSE on the g_return_val_if_fail().
3341 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3343 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3344 * src/hildon-date-selector.c
3345 (hildon_date_selector_select_current_date):
3346 Do not compare unsigned integers to be greater than or equal 0,
3347 because it's always TRUE.
3349 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3352 (hildon_date_selector_constructor): Do not select the current
3353 date until we are handle the "changed" signal, to avoid having bogus
3354 elements in the days model.
3356 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3358 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3359 for num_days, since _month_days() can return a negative value.
3361 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3363 * src/hildon-caption.c (hildon_caption_size_allocate):
3364 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3365 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3367 Initialize allocation variables to 0, to avoid eventually using
3368 unitialized variables.
3370 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3372 * src/hildon-bread-crumb-trail.c
3373 (hildon_bread_crumb_trail_size_allocate):
3374 * src/hildon-calendar.c (hildon_calendar_set_background):
3375 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3376 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3377 * src/hildon-seekbar.c (hildon_seekbar_init):
3378 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3379 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3380 * src/hildon-touch-selector-entry.c
3381 (hildon_touch_selector_get_text_from_model):
3382 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3383 * src/hildon-window.c (hildon_window_finalize):
3385 Remove many unused variables.
3387 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3389 * src/hildon-seekbar.c: (hildon_seekbar_init),
3390 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3392 Remove unnecessary g_assert() calls.
3394 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3396 * src/hildon-caption.c: (hildon_caption_expose),
3397 (hildon_caption_set_property), (hildon_caption_init),
3398 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3399 (hildon_caption_size_request), (hildon_caption_size_allocate),
3400 (hildon_caption_forall), (hildon_caption_set_separator),
3401 (hildon_caption_activate), (hildon_caption_set_child_expand),
3402 (hildon_caption_set_label_text),
3403 (hildon_caption_get_label_alignment):
3405 Remove unnecessary g_assert() calls.
3407 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-banner.c
3410 (hildon_banner_map, hildon_banner_init): Make banner temporary
3411 before mapping it to avoid closing other temporary windows, but
3412 make it non-temporary afterwards to avoid being closed by other
3413 non-temporary windows.
3414 (-hildon_banner_client_event, hildon_banner_init):
3415 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3417 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3420 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3422 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3425 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3427 * src/hildon-remote-texture.c
3428 * src/hildon-remote-texture.h
3429 * src/hildon-remote-texture-private.h
3430 * examples/hildon-remote-texture-example.c:
3431 Updates/fixes to remote-texture and its example.
3433 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3435 Patch by Mox Soini (ext-mox.soini@nokia.com)
3437 * src/hildon-code-dialog.c: Update logical id.
3438 * src/hildon-set-password-dialog.c: Update logical id.
3440 Fixes: NB#100646 (Logical strings is shown for ok in set
3441 password,Password needed dialogs)
3443 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3446 * src/hildon-remote-texture.c
3447 * src/hildon-remote-texture.h
3448 * src/hildon-remote-texture-private.h
3450 Added remote texture widget (for Clutter shared memory textures)
3452 * examples/hildon-remote-texture-example.c
3453 * examples/Makefile.am
3454 Added example file for remote texture usage
3456 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3458 * configure.ac: post release version bump.
3459 * debian/changelog: version bump.
3461 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3466 * configure.ac: Bump version.
3467 * debian/changelog: Updates.
3469 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-date-selector.c (hildon_date_selector_init)
3472 (hildon_date_selector_constructor): Don't connect to the "changed"
3473 signal until the selector is completely constructed.
3475 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3477 * src/hildon-touch-selector.c: (_create_new_column),
3478 (hildon_touch_selector_append_column),
3479 (hildon_touch_selector_set_column_selection_mode),
3480 (hildon_touch_selector_set_active),
3481 (hildon_touch_selector_select_iter):
3482 Emit the HildonTouchSelector::changed signal every time selection
3483 is changed in any of the methods above. This behavior was already
3484 documented but not fully functional.
3486 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3487 selection is programmatically changed)
3489 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3491 * doc/hildon-sections.txt: Remove obsolete icon
3492 sizes from here as well.
3494 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3496 * examples/hildon-stackable-window-example.c (add_window): Remove
3499 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3501 * src/hildon-app-menu.c
3502 (hildon_app_menu_show): Check whether the parent window of a menu
3503 is topmost before popping it up.
3505 Fixes: NB#100468 (Application menu window is launched even when a
3506 new secondary-window/dialog is pending to be shown/realized.)
3508 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3510 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3513 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3515 Patch by Mox Soini (ext-mox.soini@nokia.com)
3517 * src/hildon-banner.c: (hildon_banner_show_animation):
3518 use stylus size instead of obsolete note size.
3519 * src/hildon-defines.h: Update icon sizes.
3521 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3523 * src/hildon-touch-selector-entry.c:
3524 (hildon_touch_selector_entry_init): Disable unsupported
3526 (hildon_touch_selector_entry_get_text_column): Emit a warning
3527 if an unsupported input modes is used and explicitile state
3528 these modes in the documentation.
3530 Fixes: NB#99802 (Hildon touch selector entry not working properly
3531 for some of the input modes)
3533 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3535 * src/hildon-pannable-area.c,
3536 (hildon_pannable_area_init): Added the changed signal handlers of
3539 Fixes: NB#100320 (HildonPannableArea does not listen to
3540 GtkAdjustment "change" signals)
3542 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3544 * doc/hildon-sections.txt
3545 * src/hildon-window-private.h
3546 * src/hildon-window.h
3547 * src/hildon-window.c (hildon_window_init)
3548 (hildon_window_realize, hildon_window_unrealize)
3549 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3550 (hildon_window_size_request, hildon_window_size_allocate)
3551 (hildon_window_forall, hildon_window_show_all)
3552 (hildon_window_destroy, +paint_edit_toolbar)
3553 (+hildon_window_set_edit_toolbar):
3554 New hildon_window_set_edit_toolbar() method, to add a
3555 HildonEditToolbar to a window without having to pack it manually.
3557 Reorganize hildon_window_size_allocate()
3559 * src/hildon-edit-toolbar.c: Update documentation.
3561 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3562 example to use the new API.
3564 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3566 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3568 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3569 Remove from stack before calling parent's hide.
3571 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3573 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3574 window is removed from the middle of the stack, update the
3575 transiency of the previous one.
3577 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3580 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3582 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3583 block/unblock the signal handler if it's not actually being used.
3584 Fixes some critical warnings.
3586 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3588 Based on a patch by Iván Gómez (igomez@igalia.com)
3590 * src/hildon-banner.c
3594 * src/hildon-pannable-area.c
3595 * src/hildon-picker-dialog.c
3596 * src/hildon-wizard-dialog.h
3597 * src/hildon-wizard-dialog.c: Documentation updates.
3599 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3600 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3602 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3604 * configure.ac: post release version bump.
3605 * debian/changelog: version bump.
3607 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3612 * configure.ac: Bump version.
3613 * debian/changelog: Updates.
3615 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3617 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3618 a stock icon nor change the relief of the back arrow.
3620 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3621 graphics from theme)
3623 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3625 * src/hildon-button.c (hildon_button_set_alignment): Use
3626 priv->alignment if the button has no child yet.
3628 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3630 * src/hildon-button.c: (hildon_button_init): Set the
3631 button style during initialization to give it the proper
3634 Fixes: NB#99713 (HildonButton value label color is wrong)
3636 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3638 * src/hildon-touch-selector.c: Document
3639 hildon_touch_selector_center_on_selected()
3641 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3643 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3644 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3645 all menu items, but not the menu itself.
3646 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3647 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3648 items after adding them to the menu so keyboard accelerators work.
3649 (hildon_app_menu_show): Don't show the menu if it contains items
3650 but none of them are visible.
3652 * examples/hildon-app-menu-example.c (create_menu): Use
3653 gtk_widget_show_all() to show all menu items.
3655 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3657 * src/hildon-picker-dialog.c:
3658 (-_update_title_on_selector_changed_cb),
3659 (-_dialog_update_title): Removed.
3660 (_select_on_selector_changed_cb), (_on_dialog_response),
3661 (on_selector_columns_changed): Do not update the dialog title.
3662 (setup_interaction_mode): Do not connect to
3663 HildonTouchSelector::changed signal if there's a "done" button, as
3664 the dialog title doesn't need to be updated.
3666 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3669 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3671 Patch by Kristian Rietveld (kris@imendio.com)
3673 * src/hildon-touch-selector.c: (_create_new_column): Use new
3674 GtkTreeView::hildon-row-tapped signal to react to user interactions
3675 instead of ::changed.
3677 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3678 with some dynamic tree model)
3680 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3682 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3683 (+screen_size_changed, +label_size_request)
3684 (hildon_note_class_init): Make the Hildon information note have a
3685 minimum height, and make its text hvae a maximum width.
3687 Fixes: NB#98614 (Hildon information note (background) should have
3688 minimum height and maximum text width)
3690 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3692 * src/hildon-banner.h
3693 * src/hildon-banner.c (hildon_banner_show_information)
3694 (hildon_banner_show_informationf)
3695 (hildon_banner_show_information_with_markup): Update documentation
3696 to reflect that the icon_name parameter is not used anymore.
3697 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3698 Remove all code from these functions and mark them as deprecated.
3699 (hildon_banner_show_progress): Mark as deprecated.
3701 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3703 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3705 * src/hildon-pannable-area.c,
3706 (hildon_pannable_area_class_init),
3707 (tranparency_color),
3708 (hildon_pannable_draw_vscroll),
3709 (hildon_pannable_draw_hscroll),
3710 (hildon_pannable_area_expose_event): Added a new way to render the
3711 scrollbars of the pannable area avoiding using cairo at all. This
3712 way we improve the performance of the pannable area rendering. The
3713 cairo rendering procedure is still in the code, we can control
3714 which one to use changing the value of the define
3715 USE_CAIRO_SCROLLBARS.
3717 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3719 * configure.ac: post release version bump.
3720 * debian/changelog: version bump.
3722 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3727 * configure.ac: Bump version.
3728 * debian/changelog: Updates.
3730 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3732 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3733 banners instead of destroying them when they receive a button
3736 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3738 Reverted commit 34028, it was causing regressions, probably the
3739 topmost condition is not correct, we have to check it in more
3740 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3741 propagation of button press events)
3743 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3745 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3746 that the selection is not empty before attempting to retrieve the
3747 current ampm selection.
3749 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3751 * src/hildon-picker-button.c:
3752 (hildon_picker_button_on_dialog_response): Directly update the
3753 button contents when required instead of calling _selection_changed.
3755 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3757 * src/hildon-program.c (hildon_program_update_top_most): Update
3758 'is-topmost' property also when wm_hints is not set.
3760 Fixes: NB#98383 (is-topmost signal is not emitted when task
3761 switcher is clicked.)
3763 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3765 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3769 * src/hildon-animation-actor.c,
3770 * src/hildon-animation-actor.h: Added the animation actor class,
3771 this widget represents an animation actor for WM-assisted
3772 animation effects in the Hildon framework.
3774 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3776 * src/hildon-window-stack-private.h
3777 * src/hildon-window-stack.c
3778 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3779 Avoid calling gtk_widget_show() again indirectly from
3780 hildon_stackable_window_show()
3782 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3784 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3787 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3789 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3790 (hildon_time_selector_init): Move the construction of the hours and
3791 ampm columns to the constructor to preserve the order the columns
3794 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3796 * src/hildon-picker-dialog.c:
3797 (hildon_picker_dialog_class_init): Connect a realize method.
3798 (+hildon_picker_dialog_realize): Setup the interaction mode here
3800 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3801 yet, do it during the realize instead.
3802 (_on_dialog_response):
3803 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3804 if the widget is not realized, to avoid the dialog response before it
3807 Avoid premature responses in the HildonPickerDialog that can cause it
3808 to be hidden before it's even shown.
3810 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3812 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3813 (on_selector_columns_changed), (requires_done_button),
3814 (+prepare_action_area), (setup_interaction_mode),
3815 (_hildon_picker_dialog_set_selector):
3817 Split the interaction mode setup into preparation of the
3818 action area (prepare_action_area()) and the connection of
3819 the signals in setup_interaction_mode() and update the code to
3822 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3824 * src/hildon-pannable-area.c,
3825 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3826 per second to 15, we will check if this is ok regarding
3829 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3831 * src/hildon-pannable-area.c,
3832 (hildon_pannable_axis_scroll): Avoid resize if we already have
3833 reached overshoot_max.
3835 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3837 * src/hildon-pannable-area.c,
3838 (hildon_pannable_area_init),
3839 (hildon_pannable_area_realize),
3840 (hildon_pannable_area_size_allocate),
3841 (hildon_pannable_area_map),
3842 (hildon_pannable_area_unmap),
3843 (hildon_pannable_draw_vscroll),
3844 (hildon_pannable_draw_hscroll),
3845 (hildon_pannable_area_expose_event),
3846 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3847 pannable are to avoid the expose events go to the window and
3848 redraw the window. We save this way that part of the stack and the
3849 paint_boxes. We had to change the positions of the elements when
3852 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3854 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3855 * src/hildon-color-chooser-dialog.c:
3856 (hildon_color_chooser_dialog_init):
3857 * src/hildon-font-selection-dialog.c:
3858 (hildon_font_selection_dialog_init),
3859 (hildon_font_selection_dialog_show_preview):
3860 * src/hildon-get-password-dialog.c:
3861 * src/hildon-login-dialog.c:
3862 * src/hildon-set-password-dialog.c:
3863 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3864 * src/hildon-time-picker.c: (hildon_time_picker_init):
3866 Remove obsolete logical string IDs and update to the appropriate ones.
3868 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3870 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3872 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3873 that happens if the window hasn't been realized yet.
3875 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3876 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3878 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3880 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3881 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3884 Fixes: NB#98537 (Device hangs in account settings dialog)
3886 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3888 * configure.ac: post release version bump.
3889 * debian/changelog: version bump
3891 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3896 * configure.ac: Bump version.
3897 * debian/changelog: Updates.
3899 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3901 Added a new function to the HildonTimeButton widget that allows to
3902 change the step of the minutes in the selector associated with the
3903 button: hildon_time_button_new_step
3905 * src/hildon-time-button.c,
3906 (hildon_time_button_init),
3907 (hildon_time_button_new),
3908 (hildon_time_button_new_step):
3909 * src/hildon-time-button.h: Added the new function and refactored
3911 * examples/hildon-time-button-example.c,
3912 (main): We have replaced the function without parameters with the
3913 function with the steps set to 5
3915 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3917 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3919 * src/hildon-time-selector.c,
3920 (hildon_time_selector_class_init),
3921 (hildon_time_selector_constructor),
3922 (hildon_time_selector_get_property),
3923 (hildon_time_selector_set_property),
3924 (_create_minutes_model),
3925 (hildon_time_selector_new_step),
3926 (hildon_time_selector_set_time),
3927 * src/hildon-time-selector.h: Added a new property to the
3928 HildonTimeSelector (minutes-step), we use that property to control
3929 the steps between the minutes in the list of the selector. We have
3930 added a new function to the API to create a widget changing the
3931 step: hildon_time_selector_new_step.
3933 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3935 * src/hildon-time-selector.c,
3936 (hildon_time_selector_class_init),
3937 (hildon_time_selector_constructor),
3938 (hildon_time_selector_init): Overrided the construct function when
3939 creating the time selector object. We have moved the minutes model
3940 handling code from the init to the new construction function:
3941 hildon_time_selector_constructor.
3943 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3945 * examples/hildon-date-button-example.c: (main): Use the new
3946 hildon_date_button_new_with_year_range() method in the example.
3947 * src/hildon-date-button.c:
3948 (+hildon_date_button_new_with_year_range): New public method
3949 to conveniently create a HildonDateButton with a custom year range
3950 in its HildonDateSelector.
3951 * src/hildon-date-button.h: Add the new public method definition.
3953 Fixes: NB#97908 (Not possible to change the year range in
3954 HildonDateSelector/HildonDateButton)
3956 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3958 * src/hildon-date-selector.c:
3959 (+hildon_date_selector_set_property),
3960 (+hildon_date_selector_get_property),
3961 (hildon_date_selector_class_init): Install new properties "min-year"
3962 and "max-year" to define boundaries for the year column.
3963 (_create_year_model): Use the boundary properties to populate the model.
3964 (+hildon_date_selector_new_with_year_range): New public method to
3965 create a HildonDateSelector with a user defined year range.
3966 (hildon_date_selector_select_current_date): Use the new boundaries to
3967 calculate the iterator of current year.
3968 * src/hildon-date-selector.h: Add the new public method definition.
3970 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3972 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3973 Install a constructor method.
3974 (+hildon_date_selector_construct_ui): construct the widget.
3975 (+hildon_date_selector_constructor): new constructor.
3976 (+hildon_date_selector_init): move out widget construction code to
3977 the new constructor.
3979 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3981 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3982 that there's actually a month or year selected before obtaining them.
3983 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3984 of the HildonTouchSelector::changed signal, as it was emitted on every
3985 single item selection.
3987 Fix some warnings and possible crashers due to the selection restoring.
3989 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3991 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3992 the signal handlers only after creating the dialog instead of on every
3995 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3997 * src/hildon-button.c (hildon_button_init)
3998 * src/hildon-check-button.c (hildon_check_button_init)
3999 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4000 focus when clicked by default.
4002 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4004 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4007 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4009 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4010 Alejandro G. Castro (alex@igalia.com)
4012 * src/hildon-picker-dialog.c:
4013 (hildon_picker_dialog_class_init): install new "center-on-show"
4015 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4016 (hildon_picker_dialog_set_property): add setter code for the new
4018 (hildon_picker_dialog_get_property): add getter code for the new
4020 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4021 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4024 Fixes: NB#92849 (Selected item is not always visible when
4025 HildonTouchSelector is shown)
4027 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4029 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4030 Alejandro G. Castro (alex@igalia.com)
4032 * src/hildon-touch-selector.c:
4033 (_create_new_column): Do not connect to the "realize" signal of the
4035 (hildon_touch_selector_append_column): center on the selected items
4036 when a new column is appended.
4037 (hildon_touch_selector_select_iter): Factor out the code to select a
4038 column to hildon_touch_selector_scroll_to().
4039 (+search_nearest_element): Method to retrieve the nearest selected
4040 element to the visible area of the pannable area in a column.
4041 (+on_realize_cb): scroll to the initially selected item.
4042 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4043 the pannable area is realized, otherwise delay this until it is.
4044 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4045 selected items of a given column.
4046 (+hildon_touch_selector_center_on_selected): Public method to center
4047 all columns on the nearest selected item.
4048 * src/hildon-touch-selector.h: Add definition for
4049 hildon_touch_selector_center_on_selected().
4051 Implement public API to ensure visibility of all selected items in
4052 a HildonTouchSelector.
4054 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4056 Fixed a problem in the fading when calling the scroll_to API, and
4057 improve scrollbar fading handling.
4059 * src/hildon-pannable-area.c,
4060 (hildon_pannable_area_grab_notify): avoid the timeout when the
4062 (hildon_pannable_area_button_press_cb),
4063 (hildon_pannable_area_motion_notify_cb): Code style changes.
4064 (hildon_pannable_area_button_release_cb): Review the conditions
4065 when releasing the mouse button to avoid unrequired fading
4067 (hildon_pannable_area_scroll_to): Do not calculate and set the
4068 velocity if the scroll is not required.
4070 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4072 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4073 Don't check whether the new selector is NULL: it cannot be.
4074 Hold a reference to the selector while doing the replacement.
4076 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4078 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4079 unnecessary size_request in a removed widget.
4081 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4083 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4084 an unnecessary reference tracking that was leaking.
4086 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4088 Added delayed motion notify event handling, this way we can
4089 discard redrawing if more than 25 events arrive per second.
4091 * src/hildon-pannable-area.c,
4092 (hildon_pannable_area_init): Initialized the new private atributes
4093 controlling this timeout
4094 (hildon_pannable_area_dispose): Remove the timeout that controls
4095 the motion notify events.
4096 (hildon_pannable_area_scroll): Added a condition to control the
4097 use of the acceleration.
4098 (hildon_pannable_area_motion_event_scroll_timeout),
4099 (hildon_pannable_area_motion_event_scroll): Added this two
4100 functions, they handle the motion notify events inside the
4102 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4103 to the scroll method with the new function.
4104 (hildon_pannable_area_button_release_cb): We have to remove the
4105 timeout handler and move to the last position if the last motion
4106 events were not handled.
4108 Fixes: NB#97028 (Pannable area updates on every motion event)
4110 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4112 * src/hildon-pannable-area.c,
4113 (hildon_pannable_area_get_topmost): Added a new parameter to
4114 filter the the windows that do not include those events. Added
4115 also a condition when finding the window to filter windows that do
4116 not ask for those events.
4117 (hildon_pannable_area_button_press_cb),
4118 (hildon_pannable_area_button_release_cb),
4119 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4120 topmost function, we have added the new parameter.
4122 Fixes: NB#97458 (Pannable area prevents propagation of button
4125 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4127 * src/hildon-pannable-area.c,
4128 (hildon_pannable_area_initial_effect): Added controls before
4129 launching the timeout and the idle functions.
4130 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4131 of the method, in some situations it can return with TRUE and 0 in
4133 (hildon_pannable_area_button_press_cb): We do not need to set
4134 DELAY for fading out here.
4136 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4138 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4140 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4141 post-cleaning if the selection is not NULL.
4143 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4145 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4146 all items before restoring the selection.
4148 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4150 * src/hildon-touch-selector.c:
4151 (+hildon_touch_selector_unselect_all):
4152 * src/hildon-touch-selector.h: New API to unselect all items in a
4153 column of the touch selector.
4155 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4157 * src/hildon-pannable-area.c,
4158 (hildon_pannable_area_redraw): Added a call to the refresh
4159 function inside the redraw because apparently in some cases the
4160 change in the adjustment does not imply a size allocate.
4162 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4163 despite the view not being scrollable)
4165 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4167 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4168 leak. Check for NULL before attempting to set the window title.
4170 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4172 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4173 whether to show or not the 'Done' button each time the dialog is
4174 shown, as it depends on the HildonTouchSelector selection mode.
4176 Fixes: NB#96226 (In multiple selection mode Done button is shown
4177 sometimes in listpicker)
4179 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4181 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4182 for the number of columns in the HildonTouchSelector more than once.
4184 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4186 * src/hildon-touch-selector.c: Minor documentation fixes.
4188 * src/hildon-picker-dialog.c (+_dialog_update_title)
4189 (_select_on_selector_changed_cb)
4190 (_update_title_on_selector_changed_cb)
4191 (on_selector_columns_changed): Update dialog title when there's no
4192 'Done' button and also when the number of columns in the selector
4196 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4197 (+_selection_changed, hildon_picker_button_on_dialog_response)
4198 (hildon_picker_button_selector_selection_changed)
4199 (+hildon_picker_button_selector_columns_changed)
4200 (hildon_picker_button_set_selector): Update button value and emit
4201 'value-changed' when the number of columns in the selector
4205 Fixes: NB#96225 (Dialog titles are not shown according to the
4206 values selected in the list picker)
4208 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4210 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4211 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4212 New "arrow-width" and "arrow-height" style properties to set the
4213 size of the arrow button.
4214 Set name of arrow button ("hildon-edit-toolbar-arrow").
4216 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4217 graphics from theme)
4219 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4221 * src/hildon-picker-button.c:
4222 (hildon_picker_button_selector_selection_changed): Use
4223 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4224 the dialog is present.
4226 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4227 the selection is accepted in the dialog)
4229 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4231 * src/hildon-color-chooser.h
4232 * src/hildon-color-chooser-dialog.h:
4233 Added G_BEGIN_DECLS and G_END_DECLS
4235 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4237 (_clean_current_selection): plug a leak in the list.
4239 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-picker-dialog.c:
4242 (+free_path_list): Method to free a GList of GtkTreePaths.
4243 (_clean_current_selection), (_save_current_selection),
4244 (_restore_current_selection): Save the current selection in
4245 as a list of lists, to support multiple selection properly.
4247 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4249 patch by Claudio Saavedra (csaavedra@igalia.com)
4251 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4252 Store the press position.
4253 (+hildon_text_view_button_release_event): If the release position is
4254 close enough to the press position, move the cursor here. Otherwise,
4256 (hildon_text_view_class_init): Override GtkTextView press, release, and
4257 motion event handlers, disabling this way text selection through
4258 pointer interaction, and allowing the container widget to handle the
4261 Fixes: NB#95828 (HildonTextView functionality)
4263 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4265 Based on a patch by Iván Gómez (igomez@igalia.com)
4267 * src/hildon-button.[ch]
4268 * src/hildon-calendar.c
4269 * src/hildon-check-button.c
4270 * src/hildon-date-editor.c
4271 * src/hildon-date-selector.c
4272 * src/hildon-picker-button.c
4273 * src/hildon-time-editor.c
4274 * src/hildon-time-selector.c
4275 * src/hildon-touch-selector.[ch]:
4276 Documentation updates
4278 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4280 * src/hildon-pannable-area.c,
4281 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4282 threshold, it was required due to X events handling.
4284 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4286 * src/hildon-pannable-area.c,
4287 (hildon_pannable_area_grab_notify),
4288 (hildon_pannable_area_initial_effect),
4289 (hildon_pannable_area_button_press_cb),
4290 (hildon_pannable_area_button_release_cb),
4291 (hildon_pannable_area_scroll_cb),
4292 (hildon_pannable_area_scroll_to): Review the timeout management of
4293 the scrollbar, the frecuency was incorrectly set.
4295 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4297 * src/hildon-picker-button.c:
4298 (+hildon_picker_button_on_dialog_response),
4299 (hildon_picker_button_clicked): Present the dialog instead of
4300 running it with gtk_dialog_run().
4302 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4305 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4307 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4308 (hildon_app_menu_finalize): When a window is hidden it doesn't
4309 emit notify::is-topmost, so make sure than the menu also
4310 disappears in that case.
4311 (parent_window_topmost_notify): Renamed from parent_window_hidden
4313 Fixes: NB#94460 (stackable window's menu is not closed when its
4316 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-touch-selector-entry.c:
4319 (+hildon_touch_selector_entry_set_input_mode),
4320 (+hildon_touch_selector_entry_get_input_mode):
4321 * src/hildon-touch-selector-entry.h: New methods to access the input
4322 mode in the selector's entry.
4324 Fixes: NB#93410 (API required for setting IM mode in
4325 HildonTouchSelectorEntry)
4327 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4329 * configure.ac: post release version bump.
4330 * debian/changelog: version bump
4332 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4337 * configure.ac: Bump version.
4338 * debian/changelog: Updates.
4340 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4342 * src/hildon-touch-selector.c:
4343 (_hildon_touch_selector_has_multiple_selection): No need
4344 to initialize the variables here.
4346 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4348 * src/hildon-note-private.h
4349 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4350 (hildon_note_finalize, hildon_note_rebuild): Close information
4351 notes when they receive a button press.
4353 Fixes: NB#89890 (Information notes does not get disappeared after
4356 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4358 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4359 mark from the wizard title, as it's not really necessary. Also,
4360 do not display the page title if not set.
4362 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4364 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4365 (parent_window_hidden): Use the window's "is-topmost" property to
4366 detect when to hide the menu.
4368 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4370 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4371 (hildon_app_menu_finalize): If the parent window of the menu is
4372 hidden, hide the menu too.
4374 Fixes: NB#94460 (stackable window's menu is not closed when its
4377 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4380 * debian/libhildon1-examples.install
4382 * examples/Makefile.am:
4383 Use dh_install to install all examples.
4384 Use DEB_SRCDIR instead of defining SOURCE_DIR
4386 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4388 * configure.ac: post release version bump.
4389 * debian/changelog: version bump
4391 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4396 * configure.ac: bump version
4397 * debian/changelog: updates
4398 * debian/control: bump gtk+ dependency
4400 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4402 patch by Christian Dywan (christian@imendio.com)
4404 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4405 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4407 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4409 * src/hildon-check-button.c (hildon_check_button_init)
4410 (hildon_check_button_class_init, hildon_check_button_style_set)
4411 (hildon_check_button_apply_style):
4412 New "checkbox-size" style property.
4414 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4415 larger / configurable size)
4417 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4419 * configure.ac: post release version bump.
4420 * debian/changelog: version bump
4422 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4427 * configure.ac: bump version
4428 * debian/changelog: updates
4430 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4432 * doc/hildon-sections.txt
4433 * src/hildon-pannable-area.c
4434 * src/hildon-program.c
4435 * src/hildon-time-editor.c
4436 * src/hildon-touch-selector-entry.c:
4438 More documentation updates.
4440 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4442 * doc/hildon-sections.txt
4443 * src/hildon-caption.c
4444 * src/hildon-code-dialog.c
4445 * src/hildon-color-button.c
4446 * src/hildon-controlbar.c
4447 * src/hildon-date-editor.c
4448 * src/hildon-date-selector.c
4449 * src/hildon-edit-toolbar.c
4450 * src/hildon-find-toolbar.c
4451 * src/hildon-font-selection-dialog.c
4453 * src/hildon-program.c
4454 * src/hildon-range-editor.c
4455 * src/hildon-seekbar.c
4456 * src/hildon-time-editor.c
4457 * src/hildon-time-selector.c
4458 * src/hildon-volumebar-range.c
4459 * src/hildon-volumebar.c
4460 * src/hildon-vvolumebar.c
4461 * src/hildon-weekday-picker.c
4462 * src/hildon-window.c
4463 * src/hildon-wizard-dialog.c:
4465 Lots of documentation fixes.
4467 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4469 Patch contributed by Iván Gómez (igomez@igalia.com)
4471 * src/hildon-check-button.c:
4472 * src/hildon-date-button.c:
4473 * src/hildon-date-selector.c:
4474 * src/hildon-dialog.c:
4475 * src/hildon-edit-toolbar.c:
4476 * src/hildon-entry.c:
4477 * src/hildon-picker-button.c:
4478 * src/hildon-program.c:
4479 * src/hildon-text-view.c:
4480 * src/hildon-time-button.c:
4481 * src/hildon-touch-selector-entry.c:
4482 * src/hildon-window-stack.c:
4484 Add more "since" tags to the new API.
4486 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4488 * doc/hildon-sections.txt: Add below method.
4489 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4490 version for the hildonized scale.
4491 * src/hildon-gtk.h: Add the definition.
4493 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4495 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4497 * doc/hildon-sections.txt: Add missing entries for new methods.
4499 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4501 Added API to pannable are in order to get its adjustments. We
4502 added two properties to manage the values we had in the private
4505 * src/hildon-pannable-area.c:
4506 (hildon_pannable_area_class_init): Added hadjustment and
4507 vadjustment properties in order to expose horizontal and vertical
4509 (hildon_pannable_area_get_property),
4510 (hildon_pannable_area_set_property): Added code to handle the new
4512 (hildon_pannable_area_get_hadjustment),
4513 (hildon_pannable_area_get_vadjustment): API functions to get the
4515 * src/hildon-pannable-area.h:
4516 (hildon_pannable_area_get_hadjustment),
4517 (hildon_pannable_area_get_vadjustment): API functions to get the
4520 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4522 Fixed some leaks, after valgrinding.
4524 * src/hildon-touch-selector.c:
4525 (_default_print_func): Fixed a leak.
4526 (hildon_touch_selector_append_column): Fixed a leak.
4527 * src/hildon-date-button.c:
4528 (hildon_date_button_init): Fixed a leak.
4529 * src/hildon-date-selector.c
4530 (hildon_date_selector_finalize): Fixed a leak.
4532 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4534 Based on a patch by Christian Dywan (christian@imendio.com)
4536 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4538 * src/hildon-gtk.h: Add definition.
4540 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4542 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4544 * src/hildon-picker-button.c: (hildon_picker_button_init),
4545 (hildon_picker_button_new): Set the HildonButton::style property
4546 in the init method, to propagate the value to the derived classes.
4548 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4550 * src/hildon-button.c: (hildon_button_class_init): Do not make
4551 the "style" property a construct property.
4553 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4555 * src/hildon-wizard-dialog.h
4556 * src/hildon-wizard-dialog.c
4557 (hildon_wizard_dialog_set_forward_page_func)
4558 * src/hildon-pannable-area.h
4559 * src/hildon-pannable-area.c
4560 (hildon_pannable_area_set_size_request_policy):
4561 Documentation fixes.
4563 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4565 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4567 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4569 * doc/hildon-sections.txt: Added sections file.
4571 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4574 * src/*.[ch]: Updates.
4576 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4578 * examples/hildon-progress-indicator-example.c: new file
4579 * examples/Makefile.am: include the new example program
4581 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4583 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4585 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4587 * configure.ac: post release version bump
4588 * debian/changelog: version bump
4590 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4595 * configure.ac: bump version
4596 * debian/changelog: updates
4597 * debian/control: bump gtk+ dependency
4599 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4601 * src/hildon-dialog.c: Mark as deprecated.
4602 * src/hildon-dialog.h: Mark as deprecated.
4603 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4604 from HildonDialog and still work, even if
4605 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4606 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4608 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4609 maemo changes) instead)
4611 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4613 * src/hildon-pannable_area.h:
4614 * src/hildon-pannable_area.c:
4615 (hildon_pannable_area_class_init),
4616 (hildon_pannable_area_set_property),
4617 (hildon_pannable_area_get_property),
4618 (hildon_pannable_area_size_request),
4619 (hildon_pannable_area_get_size_request_policy),
4620 (hildon_pannable_area_set_size_request_policy): Added new API
4621 allowing applications to control the request policy. Now they can
4622 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4623 children allocation (HILDON_MOVEMENT_CHILDREN).
4625 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4629 (hildon_gtk_tree_view_set_ui_mode)
4630 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4631 mode of treeviews and iconviews.
4633 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4635 * src/hildon-touch-selector-entry.c:
4636 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4637 of a GtkEntry to get proper theming.
4639 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4640 widget, not GtkEntry)
4642 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4644 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4645 no HildonWizardDialogPageFunc.
4647 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4649 Patch contributed by Iván Gómez (igomez@igalia.com)
4651 * src/hildon-app-menu.c:
4652 * src/hildon-button.c:
4653 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4654 * src/hildon-stackable-window.c:
4655 * src/hildon-time-selector.c:
4656 * src/hildon-touch-selector.c:
4657 * src/hildon-window.c:
4659 Add more "since" tags to the new API in hildon 2.2.
4661 2008-12-05 Tim Janik <timj@imendio.com>
4663 Patch contributed by Christian Dywan (christian@imendio.com)
4665 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4666 HildonSizeType, which are supplied by Gtk+ now.
4668 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4670 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4671 (with maemo changes) instead)
4673 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4675 Patch contributed by Iván Gómez (igomez@igalia.com)
4677 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4680 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4682 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4683 (some_page_func), (main): Update the example to use a
4684 HildonWizardDialogPageFunc function.
4686 * src/hildon-wizard-dialog-private.h: Add private data for
4687 the HildonWizardDialogPageFunc function usage.
4689 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4690 (destroy), (hildon_wizard_dialog_init), (response),
4691 (hildon_wizard_dialog_set_forward_page_func):
4692 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4693 that applications can use to stop a HildonWizardDialog to jump to
4696 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4699 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4701 * src/hildon-program.h
4702 * src/hildon-program-private.h
4703 * src/hildon-program.c (hildon_program_init)
4704 (hildon_program_set_common_app_menu)
4705 (hildon_program_get_common_app_menu):
4706 New API for setting a common HildonAppMenu for all
4707 HildonStackableWindows registered with the HildonProgram.
4709 * src/hildon-stackable-window.c
4710 (hildon_stackable_window_toggle_menu):
4711 Use the common HildonAppMenu if a window doesn't have a specific
4714 * src/hildon-app-menu-private.h
4715 * src/hildon-app-menu.c
4716 (hildon_app_menu_get_parent_window):
4717 Function to obtain the window a HildonAppMenu is attached to.
4718 (hildon_app_menu_set_parent_window):
4719 Hide the menu if the parent window is set to NULL.
4721 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4723 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4724 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4725 search widget to popup.
4727 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4729 * configure.ac: post release version bump
4730 * debian/changelog: version bump
4732 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4737 * configure.ac: bump version
4738 * debian/changelog: updates
4740 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4742 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4744 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4745 (hildon_window_stack_window_realized)
4746 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4747 Set the leader GdkWindow when a window is stacked and realized,
4748 unset it when it's unstacked.
4749 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4751 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4753 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4755 * src/hildon-stackable-window.h
4756 * src/hildon-window-stack.h:
4757 Protect definition of HildonWindowStack using the preprocessor.
4759 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4761 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4762 Fix warning if all menu items are hidden.
4764 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4766 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4768 * src/hildon-controlbar.c:
4769 * src/hildon-hvolumebar.c:
4770 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4771 Multiple scale size defines updates.
4773 Fixes: NB#94322 (Scale Updates)
4775 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4777 * examples/hildon-app-menu-example.c (create_menu)
4778 Show items after adding them to the menu, as in the future the
4779 menu will no longer call gtk_widget_show() on the added items.
4781 * src/hildon-app-menu.c:
4782 Update example as explained above.
4784 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4786 * src/hildon-app-menu.c
4787 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4788 Make sure that all menu items have finger height.
4790 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4792 * src/hildon-picker-dialog.c:
4793 (_on_dialog_response), (_save_current_selection),
4794 (_restore_current_selection), (_clean_current_selection),
4795 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4796 Defined new functions in order to save the current internal selector
4797 selection previous open the dialog, in case that the use cancel the
4798 interaction, so the widget restores the previous selection.
4800 Fixes: NB#92032 (In calendar application, date values in 'new event'
4803 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4805 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4807 * src/hildon-button.c: Add a reference to the button examples in
4808 hildon-button-example.c
4810 * examples/hildon-button-example.c: Added examples of the most
4811 common button layouts.
4813 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4815 * src/hildon-app-menu.c (hildon_app_menu_show)
4816 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4818 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4820 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4822 * src/hildon-picker-dialog.c:
4823 (hildon_picker_dialog_init): Initialize the signal id for
4824 HildonTouchSelector::columns-changed.
4825 (+on_selector_columns_changed): Set up the interaction mode everytime a
4826 column is added or removed from the HildonTouchSelector.
4827 (_hildon_picker_dialog_set_selector): Connect to
4828 HildonTouchSelector::columns-changed and keep track of it.
4830 Make sure to update the interaction mode of the dialog everytime a
4831 column is added or removed in the HildonTouchSelector.
4833 Fixes: NB#93228 (Done button is not shown always in listpicker)
4835 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4837 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4838 a new ::columns-changed signal.
4839 (hildon_touch_selector_append_column): Emit ::columns-changed.
4840 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4842 Add a ::columns-changed signal, emitted when the number of columns in a
4843 HildonTouchSelector changes.
4845 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4847 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4848 (_hildon_picker_dialog_set_selector): Factor out the code
4849 to set up the dialog interaction mode.
4851 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4853 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4854 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4855 to signal_changed_id.
4857 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4859 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4862 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4864 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4865 Updated the logical ids related to ampm format, as now it is required to
4866 show it correctly localized even on languages with no default
4867 abbreviations for am or pm
4868 (_check_am_pm_format): check correctly the 24h format gconf property
4870 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4872 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4874 * src/hildon-button.c: Documentation updates.
4876 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4878 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4879 * src/hildon-caption.c: (hildon_caption_class_init):
4880 * src/hildon-color-button.c: (hildon_color_button_class_init):
4881 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4882 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4883 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4884 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4886 Remove deprecated GTK+ marshalers and replace them with the ones
4887 provided by GLib, for those available, add a marshaler for
4888 BOOLEAN:VOID, which is not available in GLib, and use it.
4890 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4892 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4893 the text from the previous column if there is no
4894 HildonTouchSelectorColumn::text-property set.
4896 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4898 * src/hildon-button.h
4899 * src/hildon-button.c (hildon_button_set_property)
4900 (hildon_button_get_property, hildon_button_class_init)
4901 (hildon_button_set_style, hildon_button_get_style):
4902 New "style" property to change the visual appearance of the
4905 * src/hildon-picker-button.c (hildon_picker_button_new):
4906 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4908 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4909 HildonButton look like PickerButton)
4911 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4913 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4914 column while building the default string.
4916 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4918 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4919 scroll indicator by default.
4921 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4923 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4925 * src/hildon-main.c: Fix the documentation for hildon_init()
4927 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4929 * doc/hildon-docs.sgml
4933 * src/hildon-window-stack-private.h
4934 * src/hildon-window-stack.h
4935 * src/hildon-window-stack.c:
4936 New HildonWindowStack object, that adds support for multiple
4937 stacks of windows per process.
4939 * src/hildon-stackable-window-private.h
4940 * src/hildon-stackable-window.h
4941 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4942 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4943 (hildon_stackable_window_show, hildon_stackable_window_hide)
4944 (hildon_stackable_window_class_init)
4945 (hildon_stackable_window_init):
4946 Use HildonWindowStack for stack management.
4948 * src/hildon-program.c (hildon_program_pop_window_stack)
4949 (hildon_program_peek_window_stack)
4950 (hildon_program_go_to_root_window):
4951 Add a fallback implementation to the deprecated functions using
4954 * examples/hildon-stackable-window-example.c:
4955 Use the new HildonWindowStack API.
4957 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4959 * src/hildon-stackable-window-private.h
4960 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4961 (hildon_stackable_window_hide, hildon_stackable_window_init):
4962 Remove all window stack management.
4964 * src/hildon-program-private.h
4965 * src/hildon-program.h
4966 * src/hildon-program.c (hildon_program_init)
4967 (hildon_program_pop_window_stack)
4968 (hildon_program_peek_window_stack)
4969 (hildon_program_go_to_root_window):
4970 Remove all window stack management and mark functions as
4973 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4975 * src/hildon-app-menu.c (hildon_app_menu_realize):
4976 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4978 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4980 * configure.ac: post release version bump
4981 * debian/changelog: version bump
4983 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4988 * configure.ac: bump version
4989 * debian/changelog: updates
4991 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4993 Based on initial code by Christian Dywan (christian@imendio.com)
4995 * doc/hildon-docs.sgml: Add section for hildon-main.
4996 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4997 * src/Makefile.am: Add new hildon-main.[ch]
4998 * src/hildon-defines.h: Update the icon sizes.
4999 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5000 new library initialization files and register icon sizes.
5001 * src/hildon-main.h: New declarations.
5002 * src/hildon.h: Include hildon-main.h
5004 Add new initialization functions to the library. These methods
5005 will register the hildon specific icon sizes and can be used in the
5006 future for other hildon specific bits.
5008 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5010 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5012 * src/hildon-window.c: (hildon_window_realize),
5013 (hildon_window_notify), (-hildon_window_update_title): Do not set
5014 the application name in the window title.
5016 Fixes: NB#89754 (Applications shouldn't display their names in the
5019 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5021 * src/hildon-note-private.h:
5022 * src/hildon-note.c: (hildon_note_set_property),
5023 (hildon_note_get_property), (hildon_note_class_init),
5024 (hildon_note_init), (hildon_note_finalize),
5025 (hildon_note_new_confirmation_with_icon_name),
5026 (hildon_note_new_information_with_icon_name):
5028 No need to mark as deprecated the actual code. Revert
5029 to avoid missing symbols in widgets using deprecated API.
5031 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5033 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5035 * src/hildon-volumebar.h
5036 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5037 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5039 * src/hildon-helper.h
5040 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5041 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5043 * examples/Makefile.am:
5044 Deprecate hildon-insensitive-example
5046 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5048 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5050 * examples/hildon-pannable-area-buttons-scroll-example.c:
5051 Make all buttons finger height
5053 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5055 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5057 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5058 update the day model only if it is really required, and to avoid the
5059 full-reconstruction aproach. Now it only add or remove the required days.
5061 The purpose of this is avoid superfluous HildonTouchSelector::changed
5064 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5065 with strange parameters)
5067 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5069 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5071 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5072 the WINDOW_TYPE property.
5074 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5076 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5079 Fix dependency to allow parallel compilation with make -jX
5081 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5083 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5084 color frame and some minor tweaks to make it more consistent with
5087 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5088 highlighted but not visible)
5090 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5092 * examples/Makefile.am: Fixed typo in the Makefile.am.
5094 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5096 Reviewed the use of MAEMO_GTK define, now we add the define in the
5097 compilation line, and we also add it to the pc file.
5099 * configure.ac: Added MAEMO_GTK define to the compilation command
5100 and removed it from the config.h.
5102 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5103 do not have to take care about this define if the library was
5107 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5109 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5111 * examples/Makefile.am,
5112 * examples/hildon-pannable-area-buttons-scroll-example.c,
5113 * examples/hildon-pannable-area-gesture-signals-example.c,
5114 * examples/hildon-pannable-area-scroll-jump-example.c,
5115 * examples/hildon-pannable-area-tree-view-example.c:
5116 Renamed the pannable area examples, now they have more meaningful
5119 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5121 * src/hildon-touch-selector.c:
5122 (hildon_touch_selector_set_column_selection_mode): Used of
5123 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5124 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5125 to avoid re-seting the same selection mode.
5127 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5128 breaks HildonPickerDialog)
5130 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5132 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5133 conditional in the Makefile.am
5135 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5138 Remove unused methods.
5140 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5142 * src/hildon-button.c (hildon_button_init):
5143 Make button images center-aligned by default
5145 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5148 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5149 activated, we have to think about how to deal with both defines
5150 MAEMO_GTK and MAEMO_CHANGES.
5152 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5154 * examples/hildon-app-menu-example.c (create_menu): Make all
5155 buttons finger size.
5157 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5159 Fixed the compilation without maemo gtk adding ifdefs with
5160 MAEMO_GTK define to the code, we have to check this version more
5163 * examples/Makefile.am: Added control to avoid some examples that
5164 just make sense with maemo gtk.
5167 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5168 hildon modes with the define.
5170 * examples/hildon-edit-toolbar-example.c,
5171 (create_icon_view): Create the icon view without hildon-gtk
5172 helpers if we are not using maemo gtk.
5174 * src/hildon-touch-selector.c,
5175 (_create_new_column): Create the treeview without hildon-gtk
5176 helpers if we are not using maemo gtk.
5178 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5180 * src/hildon-pnnable-area.c,
5181 (hildon_pannable_area_dispose),
5182 (hildon_pannable_area_button_press_cb),
5183 (hildon_pannable_area_child_mapped),
5184 (hildon_pannable_area_add),
5185 (hildon_pannable_area_remove): Added code to control the position
5186 of the event_window when adding and removing children from the
5187 pannable. We have to raise the event window when the child is
5190 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5191 selection mode using custom widget inside pannable)
5193 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5195 * configure.ac: post release version bump
5196 * debian/changelog: version bump
5198 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5203 * configure.ac: bump version
5204 * debian/changelog: updates
5206 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5208 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5209 search mode, in order to avoid lose the focus on the treeview when
5210 a hw key (like enter) is pressed.
5212 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5213 in HildonDateSelector dialog)
5215 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5217 * debian/rules: Added --enable-maintainer-mode
5218 * Makefile.am: Added ACLOCAL_AMFLAGS
5220 This allows to properly regenerate the Makefiles if you modify the
5221 configure.ac or any Makefile.am.
5223 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5225 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5226 properties, not needed at all.
5228 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5230 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5232 * src/hildon-note.c: (hildon_note_set_property),
5233 (hildon_note_get_property), (hildon_note_class_init),
5234 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5235 (hildon_note_new_confirmation_add_buttons): Remove icons.
5236 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5237 (hildon_note_new_information_with_icon_name): Deprecate.
5238 (hildon_note_new_confirmation): Act directly, without calling
5239 the deprecated constructor.
5240 (hildon_note_new_information): Act directly, without calling
5241 the deprecated constructor.
5242 * src/hildon-note.h: Mark deprecate methods as such.
5243 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5244 not run tests on the deprecated methods if built with deprecation
5247 Fixes: NB#91688 (Never show icons in information notes/confirmation
5250 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5252 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5253 (hildon_app_menu_key_press): Remove leftover usage of the
5254 private structure in HildonAppMenu struct.
5255 * src/hildon-app-menu.h: Remove leftover private structure
5256 from the HildonAppMenu struct.
5258 Fixes a crasher when using the HildonAppMenu.
5260 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5262 * src/hildon-picker-dialog.c: Use appropriate logical id
5263 for the default "Done" text.
5265 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5267 * configure.ac: post release version bump
5268 * debian/changelog: version bump
5270 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5272 Modified the way to scroll to the current selection just when the touch
5273 selector is shown on the screen, avoiding a g_idle. Added too a property
5274 to configure this behaviour. See hildon_pannable_area_jump_to_child
5275 documentation for more information.
5277 * src/hildon-touch-selector.c
5278 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5279 Added 'initial-scroll' property
5280 (hildon_touch_selector_set_property): Added
5281 (hildon_touch_selector_map): Removed as not required anymore
5282 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5283 only a concrete column, instead of iterate along all the columns
5285 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5290 * configure.ac: bump version
5291 * debian/changelog: updates
5293 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5295 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5296 compilation time warnings.
5298 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5300 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5301 the default value for HildonPannableArea::mov-mode to
5302 HILDON_PANNABLE_AREA_MODE_VERT.
5304 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5306 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5308 Reverting following commit:
5310 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5312 * src/hildon-app-menu-private.h
5313 * src/hildon-app-menu.[ch]
5314 * src/hildon-button.[ch]
5315 * src/hildon-check-button.[ch]
5316 * src/hildon-entry.[ch]
5317 * src/hildon-pannable-area.[ch]
5318 * src/hildon-text-view.[ch]:
5319 Added private field to the object's structure.
5321 because it causes an ABI breakage. We will need to introduce these
5322 changes later at some point. See NB#91636 for an extensive
5323 explanation and status.
5325 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5327 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5329 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5330 remove special cases that are no longer necessary.
5332 Fixes: NB#91016 (Change toolbar sizes, simplification)
5334 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5336 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5337 is shown in the cancel note.
5339 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5341 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5342 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5343 (hildon_seekbar_init): Remove steppers, remove expose event.
5344 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5346 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5348 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5350 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5351 label font to "SmallSystemFont" for vertically arranged buttons.
5353 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5356 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5358 * src/hildon-check-button.c
5359 (hildon_check_button_set_active, hildon_check_button_clicked):
5360 Don't access private parts directly, use getters instead.
5362 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5364 * src/hildon-check-button.c (hildon_check_button_new):
5365 Align the contents of the check button to the left.
5367 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5369 * src/hildon-pannable-area.c,
5370 (hildon_pannable_area_scroll_to),
5371 (hildon_pannable_area_jump_to),
5372 (hildon_pannable_area_scroll_to_child),
5373 (hildon_pannable_area_jump_to_child): Replace the mapped
5374 precondition of these functions with the realized, it is the
5375 correct state of the widget in this case. Changed the
5376 documentation according to this modification.
5378 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5380 Added a new EXTRA_CFLAGS option to add the deprecated define to
5381 the compilation command. This way we can avoid using the define in
5382 the documentation compilation.
5384 * configure.ac: Defined EXTRA_CFLAGS.
5386 * examples/Makefile.am:
5388 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5390 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5392 * src/hildon-picker-dialog.c:
5393 Defined a utility macro with the desired touch selector height
5394 Removed currently unused separator, and title_label variables from
5396 (hildon_picker_dialog_init): Removed code related to the creation
5397 of unused private variables title_label and separator.
5398 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5399 to ensure correct visualization of the touch selector inside the dialog.
5400 * src/hildon-touch-selector.c
5401 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5402 ensure a concrete height of the widget.
5404 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5407 * tests/Makefile.am:
5409 Remove spurious whitespaces.
5411 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5413 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5414 compilation warning after the cancel button removal.
5416 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5418 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5420 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5421 Makefile.am, that way we can choose not to compile some examples
5422 and tests of the deprecated widgets.
5424 * examples/Makefile.am: Divided the sources in deprecated and
5427 * src/Makefile.am: Added undef statement of the deprecated
5428 symbol to the enums file generation process.
5430 * src/hildon-color-chooser-dialog.c
5431 * src/hildon-color-chooser-dialog.h
5432 * src/hildon-color-button.c
5433 * src/hildon-color-button.h
5434 * src/hildon-color-chooser.c
5435 * src/hildon-color-chooser.h
5436 * src/hildon-controlbar.c
5437 * src/hildon-controlbar.h
5438 * src/hildon-date-editor.c
5439 * src/hildon-date-editor.h
5440 * src/hildon-hvolumebar.c
5441 * src/hildon-hvolumebar.h
5442 * src/hildon-private.c
5443 * src/hildon-private.h
5444 * src/hildon-range-editor.c
5445 * src/hildon-range-editor.h
5446 * src/hildon-seekbar.c
5447 * src/hildon-seekbar.h
5448 * src/hildon-time-editor.c
5449 * src/hildon-time-editor.h
5450 * src/hildon-time-picker.c
5451 * src/hildon-time-picker.h
5452 * src/hildon-volumebar.c
5453 * src/hildon-volumebar.h
5454 * src/hildon-vvolumebar.c
5455 * src/hildon-vvolumebar.h
5456 * src/hildon-bread-crumb-trail.h
5457 * src/hildon-bread-crumb-trail.c
5458 * src/hildon-calendar-popup.c
5459 * src/hildon-calendar-popup.h
5460 * src/hildon-weekday-picker.c:
5461 * src/hildon-weekday-picker.h:
5462 * src/hildon-bread-crumb-widget.c:
5463 * src/hildon-bread-crumb-widget.h:
5464 * src/hildon-bread-crumb.c:
5465 * src/hildon-bread-crumb.h:
5466 * src/hildon-calendar.c:
5467 * src/hildon-calendar.h:
5468 * src/hildon-caption.c:
5469 * src/hildon-code-dialog.c:
5470 * src/hildon-code-dialog.h:
5471 * src/hildon-font-selection-dialog.c:
5472 * src/hildon-font-selection-dialog.h:
5473 * src/hildon-get-password-dialog.c:
5474 * src/hildon-get-password-dialog.h:
5475 * src/hildon-login-dialog.c:
5476 * src/hildon-login-dialog.h:
5477 * src/hildon-number-editor.c:
5478 * src/hildon-number-editor.h:
5479 * src/hildon-set-password-dialog.c:
5480 * src/hildon-set-password-dialog.h:
5481 * src/hildon-sort-dialog.c:
5482 * src/hildon-sort-dialog.h: This is the list of deprecated
5485 * src/hildon-touch-selector.c:
5486 * src/hildon-window.c: Added undef statement to avoid compilation
5489 * tests/Makefile.am: Divided the sources in deprecated and
5492 * tests/check_test.c,
5493 (configure_tests): Marked the deprecated code that was adding
5494 suites with deprecated tests.
5496 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5498 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5500 * src/hildon-touch-selector.c: (_default_print_func): Do not
5501 duplicate a string returned by gtk_tree_model_get(), it is already
5504 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5507 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5509 * src/hildon-pannable-area.c
5510 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5511 method, it had problems when adding a widget with viewport the
5512 second time. Now checks if it already has a viewport and uses it.
5514 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5517 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5519 * src/hildon-pannable-area.c,
5520 (hildon_pannable_area_scroll_to),
5521 (hildon_pannable_area_jump_to),
5522 (hildon_pannable_area_scroll_to_child),
5523 (hildon_pannable_area_jump_to_child): Added a precondition to the
5524 scroll and jump to functions: the widget must be mapped before we
5525 can safely call these functions. We have also added documentation
5526 to the functions to explain how to use them in this situation.
5529 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5531 Reviewed the threading handling of the pannable widget, we have
5532 used the gdk_threads_add_timeout function instead of the usual
5533 glib handlers. This avoids some problems with the threads.
5535 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5536 (hildon_pannable_area_initial_effect),
5537 (hildon_pannable_area_scroll_indicator_fade),
5538 (hildon_pannable_area_button_press_cb),
5539 (hildon_pannable_area_timeout),
5540 (hildon_pannable_area_motion_notify_cb),
5541 (hildon_pannable_area_button_release_cb),
5542 (hildon_pannable_area_scroll_cb),
5543 (hildon_pannable_area_scroll_to): Removed the
5544 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5545 gdk_threads_add_timeout.
5547 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5549 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5554 * configure.ac: bump version
5555 * debian/changelog: updates
5557 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5559 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5560 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5561 * src/hildon-color-chooser-dialog.c:
5562 (hildon_color_chooser_dialog_init):
5563 * src/hildon-font-selection-dialog.c:
5564 (hildon_font_selection_dialog_init):
5565 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5567 Remove all cancel/close-like dialogs, as these are not going to be
5570 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5572 * src/hildon-note.c: (hildon_note_rebuild),
5573 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5576 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5578 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5580 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5581 sure all buttons are shown, even the Cancel/Close-like ones.
5583 Fixes: NB#90861 (Custom Confirmation dialogs should be
5584 protected from cancel button removal)
5586 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5588 * debian/control: Change libhildon1-examples dependency from libhildon1
5590 * debian/libhildon1-examples.install
5592 * Makefile.am: Modified the final install directory for the examples on
5593 package libhildon1-examples
5594 * Makefile.static: Update clean target in order to remove all the binary
5597 Changes suggested by Claudio after review new libhildon1-examples package
5599 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5601 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5602 * src/hildon-touch-selector.c: Ditto.
5604 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5606 * debian/control: Added new package libhildon1-examples, in order to pack
5607 the current hildon examples as documentation
5608 * debian/rules: Not to compress .c files, modify some includes on the
5609 examples (as normally are compiled locally, but when installed it will
5610 require to include the installed libhildon1 library), and rename
5612 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5613 install all the example files on the new example package
5614 * examples/Makefile.static: Added static makefile that can be used to
5615 compile the examples, once installed the new example package
5616 * examples: Most of the examples were modified in order to grant that
5617 all use only '#include "hildon.h"', in order to be easy to prepare
5618 it on the example package
5620 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5623 * debian/libhildon1-dev.install
5624 * debian/libhildon1-doc.install:
5625 Move all gtk-doc files to a separate libhildon1-doc package.
5627 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5629 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5631 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5633 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5635 * debian/rules: Fixed a error in order to avoid unnecessary calls
5636 to autogen.sh on package building
5638 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5640 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5642 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5644 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5647 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-picker-button.c
5650 (hildon_picker_button_finalize):
5651 Free priv->done_button_text
5653 * src/hildon-time-button.c
5654 (hildon_time_button_set_time)
5655 * src/hildon-picker-button.c
5656 (hildon_picker_button_clicked)
5657 (hildon_picker_button_selector_selection_changed)
5658 (hildon_picker_button_set_selector)
5659 * src/hildon-date-button.c
5660 (hildon_date_button_set_date):
5661 Free strings returned by hildon_touch_selector_get_current_text()
5663 * src/hildon-button.c (hildon_button_construct_child):
5664 Fix leaks in priv->image and priv->label_box
5666 Fixes: NB#90535 (Memory leak in picker button)
5668 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5670 * src/hildon-button.c: (hildon_button_get_property): Do not access
5671 private elements directly, use getters instead.
5673 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5675 * src/hildon-app-menu-private.h
5676 * src/hildon-app-menu.c
5677 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5678 Store the menu's parent window.
5680 * src/hildon-stackable-window.c
5681 (hildon_stackable_window_toggle_menu)
5682 (hildon_stackable_window_finalize):
5683 Set the menu's parent window when the menu is shown, unset it when
5686 * src/hildon-app-menu.c
5687 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5688 (hildon_app_menu_class_init):
5689 Send unhandled keyboard accelerators to the parent window.
5691 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5693 * src/hildon-stackable-window.c
5694 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5696 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5698 * configure.ac: post release version bump
5700 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5703 * configure.ac: Bump version
5704 * debian/changelog: Updates
5705 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5708 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5710 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5713 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5714 GtkMenu with Hildon style.
5716 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5718 * src/hildon-picker-button.c:
5719 (hildon_picker_button_set_done_button_text): Set the dialog's
5720 done button text here as well.
5722 Fixes: NB#90232 (Picker button does not set the label on done button
5723 for the second time)
5725 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5727 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5730 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5732 * src/hildon-app-menu.c (hildon_app_menu_insert)
5733 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5734 the HildonAppMenu to be activatable using keyboard accelerators
5735 when the menu is not being shown.
5737 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5739 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5741 * src/hildon-stackable-window.c
5742 (hildon_stackable_window_show):
5743 Don't hide old windows automatically when new windows are shown:
5744 this is now a task for the window manager.
5745 (hildon_stackable_window_class_init)
5746 (hildon_stackable_window_hide):
5747 Remove windows from the stack everytime they're hidden.
5748 (hildon_stackable_window_realize):
5749 Don't change the _NET_WM_WINDOW_TYPE property. Use
5750 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5751 it as a stackable window.
5753 * src/hildon-program.c
5754 (hildon_program_pop_window_stack):
5755 Just hide the window to remove it from the stack.
5756 (hildon_program_go_to_root_window):
5757 Don't call gtk_widget_show(), this is now a task for the window
5760 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5762 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5764 * src/hildon-button.c
5765 (hildon_button_construct_child):
5766 Don't pack anything in the button until text or image are
5767 set. This allows adding a custom child after creating the button
5768 with hildon_button_new().
5769 (hildon_button_finalize, hildon_button_class_init)
5770 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5771 alignment and the label box even when they're not packed in the
5774 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5776 * src/hildon-touch-selector.h:
5777 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5778 currently the type definition was using GTK_TYPE_VBOX
5779 * src/hildon-touch-selector.c:
5780 Added some implementation notes in order to clarify that any other widget
5781 added without the column related API will not be included on the
5782 selection logic, and how the widget is freed, as some people ask about
5784 (hildon_touch_selector_remove): Reimplemented in order to free properly
5785 the column related data when you remove the private hbox.
5786 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5787 to get a proper HildonTouchSelectorColumn documentation
5789 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5791 * src/hildon-touch-selector-entry.c:
5792 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5793 text in the GtkEntry and there is no item selected. Fixes a
5796 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5798 * src/hildon-app-menu-private.h
5799 * src/hildon-app-menu.[ch]
5800 * src/hildon-button.[ch]
5801 * src/hildon-check-button.[ch]
5802 * src/hildon-entry.[ch]
5803 * src/hildon-pannable-area.[ch]
5804 * src/hildon-text-view.[ch]:
5805 Added private field to the object's structure.
5807 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5809 * configure.ac: post-release version bump
5811 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5815 * configure.ac: pre-release version bump
5817 * debian/changelog: updates.
5819 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5821 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5822 Disconnect the handler for HildonTouchSelector::changed.
5824 (hildon_picker_button_selector_selection_changed): Update the button
5825 value if the selection change was not triggered by the
5828 (hildon_picker_button_set_selector): connect to
5829 HildonTouchSelector::changed.
5831 Fixes: NB#89650 (Picker button is not updated, when selection in
5832 selector has changed)
5834 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5836 * src/hildon-picker-dialog.c
5837 (hildon_picker_dialog_realize): Removed as not required
5838 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5839 * src/hildon-picker-button.c
5840 (_current_selector_empty): New function, checks if the selector is empty
5841 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5842 if the current selector is empty, in order to avoid to show the dialog
5843 close the dialog in this case (and shows a g_warning).
5845 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5847 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5849 * src/hildon-pannable-area.c,
5850 (hildon_pannable_area_scroll): Added clause to stop movement when
5851 the child of pannable is smaller than one page.
5852 (hildon_pannable_area_scroll_to): Added conditions to avoid
5853 starting the scrolling movement if the child is smaller than one
5854 page, the complete child is in the screen, we do not have to move.
5856 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5858 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5860 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5861 this is managed automatically by the widget when the size of the
5864 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5866 * src/hildon-picker-button.c
5867 (hildon_picker_button_set_done_button_text): Make a copy of the
5868 text, and free the previous value.
5870 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5872 * src/hildon-touch-selector-entry.c:
5873 (hildon_touch_selector_entry_print_func): Return the selected row's
5874 text if the entry is empty.
5876 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5879 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5881 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5883 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5886 * src/hildon-check-button.h
5887 * src/hildon-check-button.c
5888 * examples/hildon-check-button-example.c:
5889 HildonCheckButton is now a new widget. 'toggled' signal added.
5891 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5893 * src/hildon-program-private.h
5894 * src/hildon-program.c (hildon_program_init)
5895 (hildon_program_finalize): Removed unused variables group_leader
5896 and name from HildonProgramPrivate.
5898 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5900 * src/hildon-check-button.c (hildon_check_button_set_active)
5901 (hildon_check_button_get_active, hildon_check_button_new): Use
5902 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5904 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5906 * src/hildon-touch-selector.h
5907 (hildon_touch_selector_set_column_attributes): added deprecation
5908 guard HILDON_DISABLE_DEPRECATED
5909 * src/hildon-time-selector.c
5910 (hildon_time_selector_set_time)
5911 (hildon_time_selector_get_time): Fixed a typo on documentation
5912 * src/hildon-touch-selector.c: update HildonTouchSelector and
5913 HildonTouchSelectorColumn documentation
5914 * src/hildon-touch-selector-entry.c: update "text-column" property
5916 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5917 to be added to the general documentation.
5919 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5921 * examples/hildon-pannable-area-example-4.c,
5923 * examples/hildon-pannable-area-example.c,
5924 (main): Modified the code in order to use the container add, with
5925 viewport treeviews could have problems if they are really big.
5927 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5929 * src/hildon-weekday-picker.c,
5930 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5931 the agreement regarding deprecation in the library.
5933 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5935 * examples/hildon-picker-button-multicolumn-example.c:
5936 (main): Use custom "done" button text.
5938 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5939 (hildon_picker_button_set_property),
5940 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5941 (hildon_picker_button_init),
5942 (+hildon_picker_button_get_done_button_text),
5943 (+hildon_picker_button_set_done_button_text): New methods to customize
5944 the "done" button label in the launched HildonPickerDialog. Also,
5947 * src/hildon-picker-button.h: add the public API.
5949 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5951 * src/hildon-date-selector.h:
5952 * src/hildon-picker-dialog.h:
5953 * src/hildon-time-selector.h:
5954 * src/hildon-touch-selector-column.h:
5955 * src/hildon-touch-selector.h:
5957 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5958 declarations. Fixes gtk-doc warnings.
5960 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5962 * src/hildon-picker-dialog.h
5963 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5964 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5966 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5967 long text is set as label for done button)
5969 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5971 * src/hildon-dialog.c (hildon_dialog_add_button):
5972 Set fixed width to all buttons in the HildonDialog.
5974 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5976 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5978 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5979 Set widget name using class name plus "-finger" or "-thumb".
5981 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5983 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5984 'clicked' when the state of the button is manually changed.
5986 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5988 * src/hildon-app-menu.c (hildon_app_menu_realize)
5989 (hildon_app_menu_unrealize, hildon_app_menu_init)
5990 (hildon_app_menu_class_init, item_visibility_changed):
5991 Change the menu layout when the size of the screen changes.
5992 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5993 Show warning only when changing the number of colums using the
5996 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5998 * debian/compat: Set to 5
5999 * debian/control: Update dependencies.
6000 * debian/libhildon1-dbg.install: Remove.
6001 * debian/libhildon1-dev.install: Update according to cdbs paths.
6002 * debian/libhildon1.install: Update according to cdbs paths.
6003 * debian/rules: Switch to cdbs.
6005 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6007 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6008 'item' variable renamed to 'filter'
6010 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6012 * src/hildon-app-menu.c (hildon_app_menu_insert)
6013 (hildon_app_menu_add_filter, remove_item_from_list)
6014 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6015 Don't leak hidden items when the menu is destroyed.
6017 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6019 * src/hildon-app-menu.c (hildon_app_menu_insert)
6020 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6021 (hildon_app_menu_set_columns, item_visibility_changed)
6022 (filter_visibility_changed, hildon_app_menu_repack_filters)
6023 (hildon_app_menu_repack_items):
6024 Repack items and filters separately.
6026 Don't repack all items, change only the ones that are needed to
6029 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6031 * src/Makefile.am: added hildon-touch-selector-column.h
6033 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6035 * src/hildon-touch-selector.c: added the property "text-column" to the
6036 class HildonTouchSelectorColumn, and related get/set functions
6037 (_default_printf_func): updated to use "text-column" property
6038 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6039 "text-column" in his documentation, as this is now included on
6040 HildonTouchSelectorColumn. The get/set_property can still be used,
6041 working as a wrapper to the concrete column "text-column" property
6042 (_text_column_modified): callback added in order to handle the signal
6043 "notify::text-column" of the concrete HildonTouchSelectorColumn
6044 (hildon_touch_selector_entry_get_text_column)
6045 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6046 modified in order to use the HildonTouchSelectorColumn "text-column"
6048 * src/hildon-time-selector.c:
6049 * src/hildon-date-selector.c:
6050 * examples/hildon-touch-selector-example.c
6051 * examples/hildon-touch-selector-multi-cells-example.c
6052 * examples/hildon-picker-button-multicolumn-example.c
6053 Set the right value to "text-column" property on the creation of a new
6054 column using hildon_touch_selector_append_column()
6056 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6058 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6060 * src/hildon-app-menu.c
6061 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6062 updating the layout of the menu, don't create all widgets again,
6063 just repack the items in their new places.
6065 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6067 * src/hildon-time-selector.c
6068 (hildon_time_selector_get_time)
6069 (hildon_time_selector_set_time)
6070 Added documentation of these public methods
6072 * src/hildon-date-button.h
6073 * src/hildon-touch-selector-column.h
6074 * src/hildon-time-button.h
6075 * src/hildon-picker-dialog.h
6076 * src/hildon-time-selector.h
6077 * src/hildon-picker-button.h
6078 * src/hildon-touch-selector.h
6079 * src/hildon-time-picker.h
6080 * src/hildon-date-selector.h
6081 * src/hildon-touch-selector-entry.h
6082 Modified in order to use hildon-widgets code style
6084 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6086 Added deprecated support to the compilation process using
6087 HILDON_DISABLE_DEPRECATED
6089 * configure.ac: Added the --disable-deprecated to the configure
6092 * src/hildon-weekday-picker.c:
6093 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6094 to use the deprecated support. We will update the other deprecated
6095 widgets status in a new patch.
6097 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6099 * configure.ac: Fixed typo with fatal warnings support, the
6100 variable name was not correct
6102 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6104 * src/hildon-app-menu.c
6105 * src/hildon-program.c: Update documentation.
6107 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6109 * configure.ac: Post-release version bump.
6111 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6116 * configure.ac: Pre-release version bump.
6117 * debian/changelog: Updates.
6119 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6121 * NEWS: Update news for previous releases.
6123 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6125 * examples/hildon-touch-selector-multi-cells-example.c:
6126 (create_selector): Update the example to use
6127 hildon_touch_selector_append_column() with a NULL renderer and set
6128 the renderers later.
6129 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6130 passed a NULL renderer. This is documented behavior now.
6132 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6133 This must be used if the developer wants full control on the layout of
6134 the renderers to be added to the column.
6136 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6138 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6140 * src/hildon-touch-selector.c: Documentation fixes.
6142 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6144 * src/hildon-wizard-dialog-private.h: Remove image and box.
6145 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6146 (hildon_wizard_dialog_set_property), (response): Completely remove
6147 image/icon support, and the containers required for the layout.
6149 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6151 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6153 * src/hildon-app-menu.c: Updated documentation.
6155 * src/hildon-stackable-window.c
6156 (hildon_stackable_window_set_main_menu): Unref the old menu after
6157 ref'ing the new one.
6159 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6161 * src/hildon-stackable-window.c
6162 (hildon_stackable_window_set_main_menu): Unref the previous menu
6163 instead of destroying it.
6165 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6166 floating reference and set has_user_ref_count to FALSE to make
6167 HildonAppMenu act like a normal ref-counted widget and not a
6170 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6173 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6175 * src/hildon-touch-selector-column.h: new file
6176 * src/hildon-touch-selector.h
6177 * src/hildon-touch-selector.c
6178 Implemented GtkCellLayout interface, in order to allow to configure
6179 the cell layout on each individual selector column
6180 (hildon_touch_selector_set_column_attributes): marked as deprecated
6181 * examples/hildon-touch-selector-multi-cells-example.c
6182 Example of how to use the GtkCellLayout interface on the selector
6184 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6186 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6188 * src/hildon-app-menu.h
6189 * src/hildon-app-menu.c
6190 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6191 (hildon_app_menu_append, hildon_app_menu_prepend):
6192 New methods to prepend, insert and move items in the menu.
6194 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6196 * src/hildon-wizard-dialog.c:
6198 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6200 (create_title): Update logical IDs and related code.
6201 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6203 * src/hildon-wizard-dialog.h: Note that
6204 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6205 point, as it is not used anymore.
6207 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6209 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6211 * src/hildon-note.c:
6212 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6213 shown. Do not display an icon in confirmation notes nor information
6215 (hildon_note_set_button_text): Update logical ID for cancel button.
6217 Fixes: NB#88850 (Update HildonNote button strings + signals)
6219 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6221 * src/hildon-stackable-window.c
6222 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6224 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6226 * src/hildon-app-menu-private.h
6227 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6228 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6229 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6230 temporary property 'columns' to change the number of columns.
6232 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6234 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6236 * examples/hildon-note-example.c: (on_information_clicked),
6237 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6238 debugging information.
6239 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6241 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6242 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6243 in order to close: this will be handled by the WM from now on.
6245 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6247 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6249 * src/hildon-app-menu-private.h
6250 * src/hildon-app-menu.c
6251 (hildon_app_menu_append, hildon_app_menu_add_filter)
6252 (button_visibility_changed, hildon_app_menu_apply_style)
6253 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6254 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6255 layout everytime a button (item or filter) is shown or hidden.
6257 * src/hildon-stackable-window.c
6258 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6261 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6263 * src/hildon-touch-selector.c:
6264 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6265 that the treeview inside the touch selector is in fremantle hildon mode
6266 * examples/hildon-date-button-example.c
6267 * examples/hildon-picker-button-multicolumn-example.c
6268 * examples/hildon-touch-selector-entry-example.c
6269 * examples/hildon-touch-selector-example.c
6270 * examples/hildon-time-button-example.c
6271 * examples/hildon-picker-button-example.c:
6272 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6274 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6276 * examples/hildon-text-view-example.c: (main): Remove the
6277 gtkrc bits, now handled by the theme.
6279 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6281 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6284 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6286 * po/Makefile.am: Install properly the mo files.
6287 * po/en_GB.po: Update translation, to ease testing purposes.
6289 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6291 * examples/hildon-picker-button-example.c: (main): Select an item
6292 in the selector before setting it to the button.
6294 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6296 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6297 Update button's value if the selector has an item active.
6299 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6300 'value' with the selector)
6302 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6304 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6305 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6306 (hildon_picker_button_class_init): Plug the finalize method.
6307 (hildon_picker_button_set_selector): If there's a previously set
6308 selector, unref'it before setting a new one.
6310 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6311 HildonTouchSelector)
6313 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6315 * src/hildon-touch-selector-entry.c:
6316 (hildon_touch_selector_entry_changed): Check if there is no text
6317 selected before setting the entry text.
6320 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6322 * src/hildon-touch-selector.h
6323 * src/hildon-touch-selector.c
6324 (hildon_touch_selector_get_active)
6325 (hildon_touch_selector_set_active): New methods to set/get the
6326 index of the selected item.
6328 * src/hildon-picker-button.h
6329 * src/hildon-picker-button.c
6330 (hildon_picker_button_get_active)
6331 (hildon_picker_button_set_active): New methods to set/get the
6332 index of the selected item.
6334 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6336 * configure.ac: post-release version bump.
6338 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6342 * configure.ac: Pre-release version bump.
6343 * debian/changelog: Updates.
6344 * debian/control: Add myself as maintainer and depend on l10n
6347 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6349 * src/hildon-window.c
6350 (hildon_window_set_main_menu)
6351 * src/hildon-stackable-window.c
6352 (hildon_stackable_window_set_main_menu):
6353 Updated documentation.
6355 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6357 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6358 Don't free selector->priv manually.
6361 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6364 (hildon_gtk_window_set_progress_indicator):
6365 * src/hildon-gtk.h: Added the new API
6366 hildon_gtk_window_set_progress_indicator, it changes the state of
6367 the window progress hint.
6369 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6371 * src/hildon-button.c
6372 * src/hildon-stackable-window.c: Minor documentation updates.
6374 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6376 * src/hildon-stackable-window.c: Updated documentation.
6378 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6380 * src/hildon-defines.h: Update margins definitions
6381 to the Fremantle sizes.
6384 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6386 * src/hildon-touch-selector.c,
6387 (_hildon_touch_selector_set_model): Cleaning the code after
6388 review, removed g_print and #if 0 from the code.
6390 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6392 * src/hildon-edit-toolbar.c: Update documentation.
6394 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6396 * src/hildon-check-button.h
6397 * src/hildon-check-button.c
6398 (hildon_check_button_set_label, hildon_check_button_get_label)
6399 * examples/hildon-check-button-example.c
6400 (button_clicked_cb):
6401 Removed deprecated methods.
6403 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6405 * src/hildon-text-view.c:
6406 Add sample code to the documentation.
6408 * src/hildon-entry.h
6409 * src/hildon-text-view.h:
6410 Minor cosmetic changes.
6412 * src/hildon-entry.c:
6413 Add sample code to the documentation.
6414 (hildon_entry_init, hildon_entry_refresh_contents):
6415 Don't allow NULL values in the placeholder.
6417 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6419 * doc/hildon-docs.sgml
6421 * examples/Makefile.am
6422 * examples/hildon-text-view-example.c
6424 * src/hildon-text-view.c
6425 * src/hildon-text-view.h
6427 New HildonTextView widget, with example.
6429 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6431 * po/POTFILES.in: Add missing files with translatable strings.
6432 Partially fixes NB#88287.
6434 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6436 * examples/hildon-pannable-area-example-2.c: (main): No need to
6437 set the cellrenderer height inside hildon touch lists, the theme does
6440 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6442 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6443 they are integrated in the theme.
6445 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6447 * examples/hildon-entry-example.c: Update the example adding
6448 widgets to modify the text and the placeholder of the HildonEntry.
6450 * src/hildon-entry.c: Show the placeholder everytime the widget
6451 is empty and loses the focus.
6453 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6455 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6457 * src/hildon-pannable-area.c,
6458 (hildon_pannable_area_size_request): Fixed bug in height
6459 requisition, avoid increasing size and add border twice.
6461 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6463 * configure.ac: postrelease version bump.
6465 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6469 * configure.ac: Prerelease version bump.
6470 * debian/changelog: update.
6471 * debian/rules: make -dbg package contain useful debugging symbols.
6473 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6475 * src/hildon-dialog.h
6476 * src/hildon-dialog.c
6477 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6478 New methods to add buttons with finger size.
6479 (hildon_dialog_new_with_buttons):
6480 Create buttons with finger size.
6482 * examples/hildon-dialog-example.c (main): Use HildonDialog
6483 methods to add buttons.
6485 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6487 * src/hildon-entry.c: Updated HildonButton documentation.
6489 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6491 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6492 button value label with (FALSE, FALSE) to prevent NB#88126 from
6495 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6497 * examples/hildon-pannable-area-example.c,
6498 (main): Removed examples panning a vbox inside a pannable
6499 area. Check bug NB#87965
6501 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6503 Patch contributed by Kris Rietveld (kris@imendio.com)
6505 * src/hildon-pannable-area.c,
6506 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6507 get_size and get_position, this saves an X server roundtrip.
6509 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6511 * doc/hildon-docs.sgml
6513 * examples/Makefile.am
6514 * examples/hildon-entry-example.c
6516 * src/hildon-entry.c
6517 * src/hildon-entry.h
6519 New HildonEntry widget, with example.
6521 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6523 * src/hildon-button.c (hildon_button_construct_child): Pack the
6524 image with expand == fill == FALSE. This is a workaround for a bug
6527 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6529 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6530 labels for the text column, to make it more look more dynamic.
6532 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6534 * src/hildon-time-selector.c
6535 Define gettext auxiliar macro N_
6536 (_create_minutes_model)
6537 (_create_hours_model)
6538 (_create_ampm_model): use of strftime in order to fill the model
6539 * src/hildon-date-selector.c
6540 (hildon_date_selector_finalize):
6541 (_locales_init): remove the logic related to get the name of the months
6542 using nl_langinfo, as it is not required anymore
6544 (_create_year_model)
6545 (_create_month_model)
6546 (_update_day_model): use of strftime in order to fill the model properly
6549 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6551 * src/hildon-button.h
6552 * src/hildon-button.c (hildon_button_get_image): New method to
6555 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6557 * src/hildon-touch-selector.c:
6558 (hildon_touch_selector_remove_column): Remove from the correct parent
6559 and also remove the list element and free it.
6562 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6564 * src/hildon-time-selector.c
6565 (_create_hours_model): change the range on 12h ampm format in order to use
6566 a 12-11 range instead of previous 01-12 range
6567 (hildon_time_selector_set_time): change the way to select the current time
6568 on 12h ampm format, due the change on the range
6569 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6572 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6574 * src/hildon-touch-selector.c
6575 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6576 in order to allow use this function on multiple row selection mode if
6577 the column is different that the first one
6580 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6582 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6583 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6585 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6587 * src/hildon-date-selector.h: clean some comments, now on the .c
6588 * src/hildon-date-selector.c
6589 (hildon_date_selector_select_month): first implementation
6590 (hildon_date_selector_select_day): added documentation, reimplemented
6591 using hildon_date_selector_select_current_date to avoid repeat code
6594 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6596 Reviewed interaction logic based on device experiences, refactored
6599 * src/hildon-pannable-area.c,
6600 (hildon_pannable_area_class_init): Updated default vmax speed.
6601 (hildon_pannable_area_calculate_velocity): Added this function, it
6602 avoids duplicate valocity calculation. Adjusted calculation to
6603 avoid problems with zero dist events.
6605 (hildon_pannable_area_motion_notify_cb): Now we use the
6606 calculate_velocity function.
6608 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6610 * src/hildon-date-selector.c
6611 (hildon_date_selector_select_current_date): fix the day range check
6612 as it failed using the last day of the current month
6615 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6617 * src/hildon-touch-selector.c
6618 (hildon_touch_selector_get_num_columns): added a parameter validation
6621 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6623 * examples/Makefile.am
6624 * examples/hildon-edit-toolbar-example.c: Example of the
6625 HildonEditToolbar widget.
6627 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6629 * configure.ac: postrelease version bump.
6631 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6635 * configure.ac: prerelease version bump.
6636 * debian/changelog: update.
6638 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6640 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6641 renderer to display stock icons in the touch list. Also, set the sizes
6642 to the recommended in the style guide.
6644 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6645 * src/hildon-touch-selector.h
6646 (hildon_touch_selector_set_active_iter): renamed, now is
6647 hildon_touch_selector_select_iter
6648 (hildon_touch_selector_get_active_iter): renamed, now is
6649 hildon_touch_selector_get_selected
6650 (hildon_touch_selector_unselect_iter): added
6651 * src/hildon-touch-selector.c
6652 Update after API modification (methods renamed)
6653 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6654 order to avoid problems selecting multiple elements on the column
6655 (hildon_touch_selector_unselect_iter): added the implementation
6656 * src/hildon-time-selector.c
6657 * src/hildon-date-selector.c
6658 * src/hildon-touch-selector-entry.c
6659 Update methods calls after hildon-touch-selector.h API modification (methods
6662 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6664 * src/hildon-stackable-window.c
6665 (hildon_stackable_window_finalize): Call the parent class's finalize.
6667 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6669 * examples/hildon-touch-selector-example.c: (create_selector): Use
6670 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6673 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6675 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6676 set a cell background color, to respect theming.
6678 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6680 * doc/hildon-docs.sgml
6683 * src/hildon-edit-toolbar.c
6684 * src/hildon-edit-toolbar.h
6685 * src/hildon.h: New HildonEditToolbar widget.
6687 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6689 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6692 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6693 * src/hildon-touch-selector.c
6694 (_create_new_column): use g_object_set instead of two g_object_set_property
6696 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6697 * src/hildon-touch-selector.c
6698 (_create_new_column): use of hildon_gtk_tree_view_new to create
6699 the treeview, instead of use directly g_object_new
6700 (_create_new_column): update the property name "vindicator-mode" for the
6701 new one "vscrollbar-policy"
6702 * examples/hildon-date-button-example.c
6703 * examples/hildon-picker-button-multicolumn-example.c
6704 * examples/hildon-touch-selector-entry-example.c
6705 * examples/hildon-touch-selector-example.c
6706 * examples/hildon-time-button-example.c
6707 * examples/hildon-picker-button-example.c
6708 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6709 to all the treeviews inside a pannable area.
6711 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6713 * src/hildon-button.h
6714 * src/hildon-button.c (hildon_button_init)
6715 (hildon_button_set_arrangement, hildon_button_set_alignment)
6716 (hildon_button_set_title_alignment)
6717 (hildon_button_set_value_alignment)
6718 (hildon_button_set_image_alignment)
6719 (hildon_button_construct_child): New methods to set the alignment
6720 of the individual components of the button (title, value,
6721 image). Also, new method to alter the xscale and yscale properties
6722 of the GtkAlignment inside the button, so more complex layouts can
6725 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6727 * src/hildon-button.c (hildon_button_style_set)
6728 (hildon_button_class_init, hildon_button_set_arrangement)
6729 (hildon_button_construct_child): Apply style properties
6730 correctly. Use the 'image-spacing' style property too.
6732 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6734 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6735 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6738 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6740 * src/hildon-pannable-area.c,
6741 (hildon_pannable_area_size_request): Fixed problem with
6742 pannable-area size_request.
6744 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6746 Added management for the grab-focus to a child widget, like a
6747 range, we need to fade out the scrollbar when releasing.
6749 * src/hildon-pannable-area.c,
6750 (hildon_pannable_area_init): Connected the grab-focus signal to
6752 (hildon_pannable_area_grab_notify): Added this function in order
6753 to manage the situation when the grab-focus ends. We have to
6754 fade-out the scrollbar.
6756 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6758 * src/hildon-app-menu.c: Minor documentation update.
6760 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6762 * src/hildon-app-menu.c
6763 * examples/hildon-app-menu-example.c (create_menu): Update
6764 examples and documentation to explain how to connect callbacks.
6766 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6768 * examples/hildon-button-example.c
6769 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6770 hildon_stackable_window_new instead of gtk_window_new
6772 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6774 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6775 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6776 (hildon_pannable_area_set_property),
6777 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6778 (hildon_pannable_area_unrealize),
6779 (hildon_pannable_area_size_request),
6780 (hildon_pannable_area_size_allocate),
6781 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6782 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6783 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6784 (hildon_pannable_area_initial_effect),
6785 (hildon_pannable_area_redraw),
6786 (hildon_pannable_area_scroll_indicator_fade),
6787 (hildon_pannable_area_expose_event),
6788 (hildon_pannable_area_get_topmost), (synth_crossing),
6789 (hildon_pannable_area_button_press_cb),
6790 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6791 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6792 (hildon_pannable_area_motion_notify_cb),
6793 (hildon_pannable_area_button_release_cb),
6794 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6795 (hildon_pannable_area_remove),
6796 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6797 chage the code layout to a more GtkWidget like. Review the use of
6800 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6802 * examples/hildon-pannable-area-example-4.c,
6803 (main): Modified the name of the hindicator_mode to
6806 * src/hildon-pannable-area.c,
6807 (hildon_pannable_area_class_init),
6808 (hildon_pannable_area_motion_notify_cb),
6809 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6810 we have reduced the amount of signals and managed reviewed its
6811 rationale. Changed the default decelerate value.
6813 (hildon_pannable_area_add),
6814 (hildon_pannable_area_redraw): Refactored functions.
6816 (hildon_pannable_area_init),
6817 (hildon_pannable_area_get_property),
6818 (hildon_pannable_area_set_property):
6819 (hildon_pannable_draw_vscroll),
6820 (hildon_pannable_draw_hscroll),
6821 (hildon_pannable_area_initial_effect),
6822 (hildon_pannable_area_expose_event),
6823 (hildon_pannable_area_scroll),
6824 (hildon_pannable_area_button_press_cb),
6825 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6826 and vindicator_mode with hscrollbar_policy and
6827 vscrollbar_policy. Replaced hscroll and vscroll with
6828 hscroll_visible and vscroll_visible.
6830 (hildon_pannable_area_refresh): Refactor the function, remove
6831 variables and check the calls to this function, added resize
6832 conditions in case the children change their layout.
6834 (hildon_pannable_area_size_request): Added more detailed
6835 size_request calculation.
6838 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6840 * src/hildon-color-chooser.c
6841 (init_borders): use the correct gtk_border_free instead of g_free, to
6842 avoid a crash when this widget is used (ie: the three color selection
6845 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6847 * src/hildon-check-button.c,
6848 (hildon_check_button_set_active): Fixed problem when setting the
6849 active value, the widget was not redrawn.
6851 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6853 * src/hildon-pannable-area.c,
6854 (hildon_pannable_area_refresh),
6855 (hildon_pannable_area_scroll),
6856 (hildon_pannable_area_motion_notify_cb): Small code style change.
6858 (hildon_pannable_area_class_init): Default initial_hint set to
6859 FALSE, it is not in the specs.
6861 (hildon_pannable_area_initial_effect),
6862 (hildon_pannable_area_expose_event),
6863 (hildon_pannable_area_map),
6864 (hildon_pannable_area_init): Moved the launching point of the
6865 initial effect, it was in map but the sizes where not correct in
6866 that method so we do not know if we have the reproduce it. Now it
6867 is placed in the expose_event method and uses a variable to
6868 reproduce it just once.
6870 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6872 * src/hildon-pannable-area.c,
6873 (hildon_pannable_draw_vscroll),
6874 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6875 position allowed for the scrollbars.
6877 (hildon_pannable_area_size_allocate): Small style change.
6879 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6881 * src/hildon-pannable-area.c,
6882 (hildon_pannable_area_scroll_indicator_fade),
6883 (hildon_pannable_area_button_press_cb),
6884 (hildon_pannable_area_button_release_cb),
6885 (hildon_pannable_area_scroll_cb),
6886 (hildon_pannable_area_expose_event),
6887 (hildon_pannable_area_init): Added the define parameter
6888 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6889 and refactor the fade variable.
6891 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6893 * src/hildon-pannable-area.c,
6894 (hildon_pannable_area_redraw),
6895 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6896 lines, we were reimplemeting the redraw code.
6898 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6900 * src/hildon-pannable-area.c,
6901 (hildon_pannable_area_scroll_cb),
6902 (hildon_pannable_area_realize),
6903 (hildon_pannable_area_class_init): Added scroll_event management
6904 for pannable area, now we can scroll the usual desktop method.
6906 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6907 initialization of the parameters should depend on idle_id.
6909 (hildon_pannable_area_init),
6910 (hildon_pannable_area_map): Small code style modifications
6912 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6914 * src/hildon-pannable-area.c
6915 (hildon_pannable_area_button_press_cb),
6916 (hildon_pannable_area_motion_notify_cb),
6917 (hildon_pannable_area_button_release_cb),
6918 (hildon_pannable_area_size_allocate),
6919 (hildon_pannable_area_scroll_to): Improved the timeouts
6920 management, we avoid creating them each time.
6922 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6924 * src/hildon-pannable-area.c:
6925 (hildon_pannable_area_refresh),
6926 (hildon_pannable_area_motion_notify_cb),
6927 (hildon_pannable_area_class_init):
6928 * src/hildon-pannable-area.h:
6929 * src/hildon-touch-selector.c
6930 (_create_new_column):
6931 * examples/hildon-pannable-area-example-4.c:
6932 (horizontal_movement),
6933 (vertical_movement),
6935 Replaced the names of enums in the HildonPannableArea:
6936 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6937 HILDON_MOVEMENT_MODE_*
6938 - HILDON_PANNABLE_AREA_MOV_* ->
6940 - Removed HildonPannableAreaIndicatorMode, now we
6943 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6945 * examples/hildon-pannable-area-touch-grid-example.c
6946 * examples/hildon-pannable-area-touch-list-example.c: Fix
6947 compilation warnings.
6949 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6951 * src/hildon-gtk.c (hildon_gtk_button_new)
6952 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6953 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6954 images overriding the value of the "gtk-button-images" setting.
6956 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6958 * src/hildon-check-button.c (hildon_check_button_new):
6959 Instead of using a custom container, display the label and the
6960 checkbox using the standard GtkButton API.
6962 * examples/hildon-check-button-example.c (main): Don't use
6963 hildon_check_button_set_label() anymore
6965 * src/hildon-check-button.h
6966 * src/hildon-check-button.c
6967 (hildon_check_button_set_label, hildon_check_button_get_label):
6968 Set as deprecated, now we're using gtk_button_{get,set}_label()
6970 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6972 * src/hildon-pannable-area.c,
6973 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6974 GtkTreeview first line we detected it after the inclusion of the
6975 GtkWindowImpl in gtk+. We now check if the window is visible, not
6976 just if the pointer is over the window.
6977 (hildon_pannable_axis_scroll),
6978 (hildon_pannable_area_expose_event): Small style changes.
6980 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6982 * src/hildon-button.c: Update documentation.
6984 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6986 * examples/hildon-button-example.c: Add a switch to show images in
6989 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6991 * doc/hildon-docs.sgml: Some docs reorganization.
6993 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6995 * examples/hildon-pannable-area-touch-list-example.c
6997 * examples/hildon-pannable-area-touch-grid-example.c
6998 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6999 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7000 Fix memory leak when setting the tree model.
7002 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7006 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7008 * doc/hildon.types: Remove duplicated hildon_window_get_type
7009 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7010 documentation comment.
7012 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7014 * doc/Makefile.am: Complete list of private headers.
7016 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7018 * doc/hildon-docs.sgml
7019 * src/hildon-app-menu.c
7020 * src/hildon-bread-crumb.c
7021 * src/hildon-button.c
7023 * src/hildon-program.c
7024 * src/hildon-stackable-window.c
7025 * src/hildon-window.c: Lots of documentation updates.
7027 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7029 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7031 * configure.ac: Require Gtk+ 2.12.9 at least
7033 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7035 * src/hildon-pannable-area.c
7036 (hildon_pannable_area_scroll_indicator_fade),
7037 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7038 to protect the return of this timeout callbacks, avoiding deadlocks.
7040 2008-08-12 Christian Dywan <christian@imendio.com>
7043 * src/hildon-*.h: Ensure a consistent include order,
7044 include <gtk/gtk.h> instead of particular files and
7045 only include the topmost header in the gtk stack. See NB #39857
7047 2008-08-12 Christian Dywan <christian@imendio.com>
7049 * src/hildon-picker-dialog.c
7050 * src/hildon-touch-selector.c: Fix warnings about unused and
7051 uninitialized variables.
7053 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7055 * examples/Makefile.am
7056 * examples/hildon-check-button-example.c: Example of the hildon
7059 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7061 * src/hildon-window.h
7062 * src/hildon-window.c (hildon_window_class_init)
7063 (hildon_window_unset_program): Don't make
7064 hildon_window_unset_program a virtual function anymore.
7066 * src/hildon-stackable-window.c: Update documentation
7068 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7071 * doc/hildon-docs.sgml
7072 * doc/visual_index.xml
7073 * src/hildon-defines.c
7075 * src/hildon-helper.c
7076 * src/hildon-range-editor.c: Lots of documentation fixes.
7078 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7080 * examples/hildon-picker-button-multicolumn-example.c
7081 (create_touch_selector): Fix compilation warning.
7083 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7085 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7086 (hildon_pannable_area_button_release_cb)
7087 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7089 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7091 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7094 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7096 * src/hildon-bread-crumb-trail.h
7097 * src/hildon-date-editor.c
7098 * src/hildon-date-selector.c
7099 * src/hildon-pannable-area.c
7100 * src/hildon-picker-dialog.c
7101 * src/hildon-time-selector.c
7102 * src/hildon-touch-selector-entry.c
7103 * src/hildon-touch-selector.c
7104 * src/hildon-touch-selector.h: Misc documentation fixes
7106 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7108 * examples/hildon-date-editor-example.c (main): Updated date
7111 * examples/hildon-note-example.c (on_confirmation_clicked):
7112 Updated confirmation note example.
7114 * src/hildon-date-editor.c
7115 * src/hildon-note.c: Updated sample programs in documentation.
7118 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7120 * src/hildon-date-button.h:
7121 * src/hildon-picker-button.h:
7122 * src/hildon-time-button.c:
7123 * src/hildon-time-button.h:
7125 Some declarations changes to allow gtk-doc to document the widgets
7128 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7130 * src/hildon-date-button.c: Document the widget.
7131 * src/hildon-time-button.c: Document the widget.
7133 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7135 * src/hildon-picker-button.c: Document the widget.
7136 * src/hildon-touch-selector-entry.c: Document the widget.
7138 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7140 * doc/hildon-docs.sgml
7143 * src/hildon-check-button.h
7144 * src/hildon-check-button.c: New functions to create the Hildon
7148 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7150 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7152 * src/hildon-button.h
7153 * src/hildon-button.c
7154 (hildon_button_add_title_size_group)
7155 (hildon_button_add_value_size_group)
7156 (hildon_button_add_image_size_group)
7157 (hildon_button_add_size_groups): New functions to set size groups
7158 for the button labels and image.
7159 (hildon_button_new_full): Removed
7161 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7163 * src/hildon-time-selector.c
7164 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7165 in order to avoid a crash if gconf is not available
7167 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7169 * src/hildon-button.c (hildon_button_set_arrangement)
7170 (hildon_button_construct_child): Don't construct the button child
7171 before setting the arrangement.
7173 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7175 * src/hildon-program-private.h
7176 * src/hildon-program.c
7177 * src/hildon-program.h
7178 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7179 (hildon_program_peek_window_stack)
7180 (hildon_program_pop_window_stack)
7181 (hildon_program_go_to_root_window): HildonProgram now has a
7182 separate list for stackable windows. Functions are provided to
7183 manage that list with a stack-like API.
7185 * src/hildon-stackable-window.c: Stackable window management is
7186 now much simpler with the new HildonProgram API. Windows no
7187 longer need to be manually added to the program, they're
7188 automatically pushed to the top of the stack when shown.
7190 * examples/hildon-stackable-window-example.c: Updated example to
7191 reflect the API changes.
7193 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7195 * src/hildon-touch-selector.c: Comment out unimplemented
7196 hildon_touch_selector_insert_column() to avoid a compile warning.
7198 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7200 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7201 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7202 (hildon_touch_selector_set_column_selection_mode),
7203 (_hildon_touch_selector_set_model),
7204 (hildon_touch_selector_set_model):
7206 Complete review of HildonTouchSelector documentation.
7208 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7210 * doc/hildon-docs.sgml
7214 * src/hildon-gtk.c: Convenience functions for standard Gtk
7215 widgets, used to easily perform frequent operations.
7217 * src/hildon-button-helpers.h
7218 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7220 * src/hildon-helper.h
7221 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7222 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7224 * src/hildon-button.h
7225 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7227 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7229 * src/hildon-button.c (hildon_button_init)
7230 (hildon_button_set_arrangement, hildon_button_construct_child):
7231 Pack the image and the labels inside the same GtkAlignment so
7232 gtk_button_set_alignment() can be used
7234 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7236 * src/hildon-button.h
7237 * src/hildon-button.c
7238 (hildon_button_init, hildon_button_set_image)
7239 (hildon_button_set_image_position)
7240 (hildon_button_construct_child): New functions to add an image to
7243 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7245 * src/hildon-date-button.c
7246 * src/hildon-picker-button.c
7247 * src/hildon-time-button.c
7248 * src/hildon-button.c:
7249 (hildon_button_class_init): "size-flags" renamed to "size"
7250 (hildon_button_set_title): Hide the title label if set to NULL.
7252 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7254 HildonButtonFlags split into HildonButtonArrangement (to set the
7255 button layout) and HildonSizeType (which can be used for any
7258 * src/hildon-button.h
7259 * src/hildon-button.c
7260 (hildon_button_class_init)
7261 (hildon_button_set_arrangement)
7262 (hildon_button_set_property): New "size-flags"
7263 property. "arrangement-flags" renamed to "arrangement".
7264 (hildon_button_new, hildon_button_new_with_text)
7265 (hildon_button_new_full): Constructors updated to reflect type changes.
7267 * src/hildon-helper.h
7268 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7269 to set the size of a widget.
7273 * src/hildon-button-helpers.c
7274 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7276 * src/hildon-date-button.c
7277 * src/hildon-date-button.h
7278 * src/hildon-picker-button.c
7279 * src/hildon-picker-button.h
7280 * src/hildon-time-button.c
7281 * src/hildon-time-button.h: Updated widgets to reflect
7282 HildonButton API changes.
7284 * examples/hildon-button-example.c
7285 * examples/hildon-date-button-example.c
7286 * examples/hildon-picker-button-example.c
7287 * examples/hildon-picker-button-multicolumn-example.c
7288 * examples/hildon-time-button-example.c
7289 * examples/hildon-touch-selector-entry-example.c
7290 * examples/hildon-touch-selector-example.c: Updated examples to
7291 reflect HildonButton API changes.
7293 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7295 * doc/hildon-docs.sgml:
7297 * examples/Makefile.am:
7298 * examples/hildon-touch-selector-entry-example.c:
7300 * src/hildon-touch-selector-entry.c:
7301 * src/hildon-touch-selector-entry.h:
7304 Moved HildonTouchSelectorEntry from sandbox. Added its
7305 documentation and examples.
7307 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7309 * src/hildon-touch-selector.h:
7310 * examples/hildon-picker-button-multicolumn-example.c:
7311 (hildon_touch_selector_append_text_column): Add a gboolean
7312 parameter to determine if text must be centered in the column.
7314 * src/hildon-date-selector.c: (hildon_date_selector_init):
7315 * src/hildon-time-selector.c: (hildon_time_selector_init):
7316 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7317 (create_touch_selector): Update widgets and example to reflect
7320 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7322 * src/hildon-touch-selector.c:
7323 (hildon_touch_selector_set_active_iter): Set also the cursor in
7326 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7328 * doc/hildon-docs.sgml
7331 * src/hildon-toggle-button.c
7332 * src/hildon-toggle-button.h
7333 * src/hildon.h: Removed HildonToggleButton widget, a derived
7334 class is not necessary for this.
7336 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7338 * src/hildon-pannable-area.c,
7339 (hildon_pannable_area_realize),
7340 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7343 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7345 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7346 "done" button the default widget for the dialog.
7348 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7350 * src/hildon-touch-selector.c:
7351 (hildon_touch_selector_class_init),
7352 (hildon_touch_selector_get_property),
7353 (_hildon_touch_selector_set_model),
7354 (_hildon_touch_selector_has_multiple_selection),
7355 (hildon_touch_selector_has_multiple_selection):
7356 Add a "has-multiple-selection" property with a virtual
7357 has_multiple_selection() method to allow derived classes to
7358 override the default value for it. See the method and property
7359 documentation for details.
7361 * src/hildon-touch-selector.h: Add the new API.
7363 * src/hildon-picker-dialog.c: (requires_done_button): Call
7364 hildon_touch_selector_has_multiple_selection() instead of
7365 determining the need for a button itself.
7367 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7369 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7370 (_hildon_touch_selector_set_model),
7371 (hildon_touch_selector_set_model): Move working code to
7372 _hildon_touch_selector_set_mode(). Call the class method instead.
7374 * src/hildon-touch-selector.h: Add (*set_model) to
7375 HildonTouchSelectorClass.
7377 Make hildon_touch_selector_set_model() a virtual method, so that
7378 derived classes can extend it and do fancy stuff with the model.
7380 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7382 * configure.ac: Set back the tarname in AC_INIT to hildon.
7384 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7388 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7389 instead of libesd (NB#86876). Volume handling is still an open issue.
7391 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7394 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7396 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7397 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7398 derived class to ease placement of an entry widget in
7399 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7400 end, where the selector columns are packed now.
7402 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7404 * src/hildon-picker-button.c: Removed the simple _text() API.
7405 * src/hildon-picker-button.h: Likewise.
7407 * src/hildon-touch-selector.h:
7408 * src/hildon-touch-selector.c:
7409 (hildon_touch_selector_new_text),
7410 (hildon_touch_selector_append_text),
7411 (hildon_touch_selector_prepend_text),
7412 (hildon_touch_selector_insert_text):
7414 Moved the simple _text() API from HildonPickerButton to
7415 HildonTouchPicker, to provide better escalability and not to tie
7416 that API to HildonPickerButton.
7418 * examples/hildon-picker-button-example.c: (main): Example updated.
7420 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7422 * src/hildon-button.c: Updated documentation.
7424 * examples/hildon-button-example.c: Add the posibility to create
7425 the buttons using horizontal layout for title and value.
7427 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7429 * src/hildon-app-menu-private.h
7430 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7431 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7432 GtkSizeGroup for the filters, use the 'homogeneous' property of
7435 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7437 * examples/hildon-button-example.c: Updated example.
7439 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7441 * doc/hildon-docs.sgml:
7444 Update documentation.
7446 * examples/Makefile.am: Update renamed examples.
7448 * examples/hildon-picker-button-multicolumn-example.c:
7449 (create_touch_selector), (main): Update after the rename.
7451 * examples/hildon-touch-picker-example.c: Removed.
7452 * examples/hildon-touch-selector-example.c: (value_changed),
7453 (create_selector), (get_visible_content), (main): Renamed from
7454 hildon-touch-picker-example.c
7456 * src/Makefile.am: Updated renamed files.
7458 * src/hildon-date-button.c: (hildon_date_button_init),
7459 (hildon_date_button_get_date), (hildon_date_button_set_date):
7460 * src/hildon-date-selector.c: (hildon_date_selector_init),
7461 (_custom_print_func), (_update_day_model),
7462 (_manage_selector_change_cb),
7463 (hildon_date_selector_select_current_date),
7464 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7465 * src/hildon-date-selector.h:
7466 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7467 (hildon_picker_button_set_property),
7468 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7469 (hildon_picker_button_init), (hildon_picker_button_new_text),
7470 (hildon_picker_button_append_text),
7471 (hildon_picker_button_prepend_text),
7472 (hildon_picker_button_insert_text),
7473 (hildon_picker_button_set_selector),
7474 (hildon_picker_button_get_selector):
7475 * src/hildon-picker-button.h:
7476 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7477 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7478 (_update_title_on_selector_changed_cb), (requires_done_button),
7479 (_hildon_picker_dialog_set_selector),
7480 (hildon_picker_dialog_set_selector),
7481 (hildon_picker_dialog_get_selector):
7482 * src/hildon-picker-dialog.h:
7483 * src/hildon-time-button.c: (hildon_time_button_init),
7484 (hildon_time_button_get_time), (hildon_time_button_set_time):
7485 * src/hildon-time-selector.c: (hildon_time_selector_init),
7486 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7487 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7488 * src/hildon-time-selector.h:
7491 Massive code updates after the rename.
7493 * src/hildon-touch-picker.c: Removed.
7494 * src/hildon-touch-picker.h: Removed.
7496 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7497 (hildon_touch_selector_init), (hildon_touch_selector_map),
7498 (hildon_touch_selector_remove), (_default_print_func),
7499 (_selection_changed_cb), (_create_new_column),
7500 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7501 (hildon_touch_selector_append_text_column),
7502 (hildon_touch_selector_remove_column),
7503 (hildon_touch_selector_set_column_attributes),
7504 (hildon_touch_selector_insert_column),
7505 (hildon_touch_selector_get_num_columns),
7506 (hildon_touch_selector_get_column_selection_mode),
7507 (hildon_touch_selector_set_column_selection_mode),
7508 (hildon_touch_selector_set_print_func),
7509 (hildon_touch_selector_get_print_func),
7510 (hildon_touch_selector_get_active_iter),
7511 (hildon_touch_selector_set_active_iter),
7512 (hildon_touch_selector_get_selected_rows),
7513 (hildon_touch_selector_get_model),
7514 (hildon_touch_selector_set_model),
7515 (hildon_touch_selector_get_current_text),
7516 (_hildon_touch_selector_center_on_selected_items):
7517 * src/hildon-touch-selector.h: Renamed from
7518 hildon-touch-picker.[ch]
7520 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7521 references, code examples, and related documentation.
7523 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7525 * doc/hildon-docs.sgml
7528 * src/hildon-toggle-button.c
7529 * src/hildon-toggle-button.h
7530 * src/hildon.h: New HildonToggleButton widget.
7532 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7534 * src/hildon-button.c: Add API documentation.
7535 (hildon_button_set_size_groups): Check input parameters
7537 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7539 * src/hildon-pannable-area.c
7540 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7541 effect after reaching the movement thredshold. This way we start
7542 using the distance after passing the thredshold.
7544 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7546 * src/hildon-button.c: (hildon_button_set_property): Use the
7547 appropriate g_value_get_flags() method.
7549 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7551 * doc/hildon-docs.sgml:
7554 Add the touch pickers, picker dialogs, and picker button widgets
7555 to the documentation.
7557 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7559 * src/hildon-button.c: (hildon_button_set_property),
7560 (hildon_button_class_init): Make "arrangement-flags" a proper
7561 G_TYPE_FLAGS derived property.
7563 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7565 * examples/Makefile.am: Add below examples.
7566 * examples/hildon-date-button-example.c:
7567 * examples/hildon-picker-button-example.c:
7568 * examples/hildon-picker-button-multicolumn-example.c:
7569 * examples/hildon-time-button-example.c:
7570 * examples/hildon-touch-picker-example.c:
7572 Add examples for the recently added touch pickers,
7573 picker dialogs, and picker button widgets.
7575 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7577 * src/hildon-button.c: Add some API documentation
7579 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7581 * src/hildon-button.h
7582 * src/hildon-button.c
7584 (hildon_button_new_with_text): New constructor to create a button
7585 with no text at all.
7586 (hildon_button_init, hildon_button_set_arrangement)
7587 (hildon_button_set_title, hildon_button_set_value)
7588 (hildon_button_set_text)
7589 (hildon_button_construct_child): Hide the value when it's not used
7590 so the rest of the text is properly aligned.
7591 Allow creating buttons with arbitrary widgets inside (not just
7592 title/value labels).
7594 * examples/hildon-button-example.c (vertical_buttons_window)
7595 (horizontal_buttons_window): Update example to use new API.
7597 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7599 * src/Makefile.am: Added HildonTimeButton.
7600 * src/hildon-time-button.c: Added missing LGPL header.
7601 * src/hildon-time-button.h: Added missing LGPL header.
7602 * src/hildon.h: Add hildon-time-button.h
7604 Copied HildonTimeButton from sandbox to trunk. Future work on this
7605 widget must take place in trunk.
7607 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7609 * src/Makefile.am: Added HildonDateButton.
7610 * src/hildon-date-button.c: Update includes.
7611 * src/hildon.h: Add hildon-date-button.h
7613 Copied HildonDateButton from sandbox to trunk. Future work on this
7614 widget must take place in trunk.
7616 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7618 * src/Makefile.am: Added HildonPickerButton.
7619 * src/hildon-picker-button.h: Update includes.
7620 * src/hildon.h: Add hildon-picker-button.h
7622 Copied HildonPickerButton from sandbox to trunk. Future work on
7623 this widget must take place in trunk.
7625 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7627 * src/Makefile.am: Added HildonPickerDialog.
7628 * src/hildon-picker-dialog.c: Update includes.
7629 * src/hildon.h: Add hildon-picker-dialog.h
7631 Copied HildonPickerDialog from sandbox to trunk. Future work
7632 on this widget must take place in trunk.
7634 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7636 * src/Makefile.am: Added HildonTimeSelector.
7637 * src/hildon.h: Add hildon-time-selector.h
7639 Copied HildonTimeSelector widget from sandbox to trunk. Future
7640 work on this widget must happen in trunk.
7642 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7644 * src/Makefile.am: Added HildonDateSelector.
7645 * src/hildon.h: Add hildon-date-selector.h
7647 Copied HildonDateSelector widget from sandbox to trunk. Future
7648 work on this widget must happen in trunk.
7650 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7652 * src/Makefile.am: Added HildonTouchPicker.
7653 * src/hildon-touch-picker.c: Update includes.
7654 * src/hildon.h: Add hildon-touch-picker.h
7656 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7657 on this widget must happen in trunk.
7659 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7661 * src/hildon-pannable-area.c:
7662 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7664 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7666 * examples/hildon-app-menu-example.c (main): Let the window
7669 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7671 * src/hildon-pannable-area.c
7672 (hildon_pannable_area_class_init): Set the min value of the
7673 overshoot properties to zero, which points out that not
7674 overshooting allowed.
7676 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7678 Modified the procedure to get the widget at a point inside the
7679 pannable area when using the movement type signals. Now the user
7680 has to call a function to get the child, that way we just
7681 calculate the child in case the user really want to use it and not
7684 * src/hildon-marshalers.list: Modified the marshallers, now we do
7685 not have the widget as a parameter.
7687 * src/hildon-pannable-area.c
7688 (hildon_pannable_area_motion_notify_cb),
7689 (hildon_pannable_area_class_init),
7690 (hildon_pannable_get_child_widget_at): Removed the widget
7691 parameter from the signal callback. We have also refactored the
7692 emission of the signals.
7694 * src/hildon-pannable-area.h: Added a new method to the API to
7695 calculate a widget at a point inside the pannable area,
7696 hildon_pannable_get_child_widget_at.
7698 * examples/hildon-pannable-area-example-4.c
7699 (horizontal_movement): Modified the example to use the new API,
7700 added condition to control which widget is under the event. This
7701 way we can avoid scrolling laterally over other widgets.
7703 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7705 * src/hildon-pannable-area.c
7706 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7707 modes, we stop getting the pointer events due to returning the
7708 callback without properly calling the get pointer again. Fixed
7709 also an error using the hscroll and vscroll.
7711 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7713 * src/hildon-app-menu-private.h
7714 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7715 (hildon_app_menu_button_release, hildon_app_menu_init)
7716 (hildon_app_menu_class_init): Don't hide the menu on button
7717 release if the user didn't press outside first.
7719 * src/hildon-window.h
7720 * src/hildon-window.c (hildon_window_toggle_menu)
7721 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7722 hildon_window_toggle_menu a virtual function for the stackable
7723 window to override it.
7725 * src/hildon-stackable-window.h
7726 * src/hildon-stackable-window-private.h
7727 * src/hildon-stackable-window.c
7728 (hildon_stackable_window_realize)
7729 (hildon_stackable_window_finalize)
7730 (hildon_stackable_window_class_init)
7731 (hildon_stackable_window_init)
7732 (hildon_stackable_window_set_main_menu): New function to set the
7733 app menu of a HildonStackableWindow.
7735 * examples/hildon-app-menu-example.c: Remove the button to show
7736 the app menu, now it'll be shown when clicking on the title bar
7739 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7741 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7742 set the widget name if the arrangement flags do not specify
7745 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7747 * src/hildon-button.c: (hildon_button_set_property),
7748 (hildon_button_class_init), (hildon_button_new_full),
7749 (hildon_button_set_arrangement): Added "arrangement-flags"
7752 Make the HildonButtonFlags a construction-only property, to allow
7753 subclasses to set them properly.
7755 2008-07-21 Tim Janik <timj@imendio.com>
7757 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7758 insertion position after backspace, so additional digits are appended,
7761 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7763 * src/hildon-pannable-area.c,
7764 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7765 TODO list, it was complete and removed the g_debug and g_print
7768 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7770 Added the movement modes to the hildon-pannable-area, with this
7771 modes the developers can control in which directions the widget
7772 can scroll. They can also connect to signals in order to do
7773 something when that happens, allowing applications scroll. There
7774 is an example uploaded showing how to use it.
7776 * examples/Makefile.am:
7777 * examples/hildon-pannable-area-example-4.c: Added this example of
7778 an application using the modes.
7780 * src/hildon-marshalers.list: Added a new marshaller for the new
7783 * src/hildon-pannable-area.h: Added new enumerations and flags in
7784 order to control the movement modes and the new signals to warn
7785 about the movements in the area.
7787 * src/hildon-pannable-area.c:
7788 (hildon_pannable_axis_scroll),
7789 (hildon_pannable_area_scroll),
7790 (hildon_pannable_area_motion_notify_cb),
7791 (hildon_pannable_area_get_property),
7792 (hildon_pannable_area_set_property),
7793 (hildon_pannable_area_map),
7794 (hildon_pannable_area_class_init),
7795 (hildon_pannable_area_init),
7796 (hildon_pannable_area_jump_to): Added the modes to control the
7797 movement in the widget. We have added properties to control it,
7798 signals to warn about the movements and refactored some code.
7800 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7802 Changes required in order to allow vfast_factor set to zero to
7805 * src/hildon-pannable-area.c:
7806 (hildon_pannable_area_button_press_cb): Changed the condition, it
7807 is required for not allowing click when vfast_factor is zero.
7808 (hildon_pannable_area_timeout): Initialized velocity variables
7809 when we stop moving, it was less than 1 but not zero and we need
7810 to check zero in some situations.
7811 (hildon_pannable_area_class_init): Changed the default value of
7812 the speed factor, now the button_press is just sent in case the
7813 speed is 2 per cent of the max speed.
7814 (hildon_pannable_area_init): Initialization with 0.
7816 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7818 * src/hildon-pannable-area.c,
7819 (hildon_pannable_area_get_topmost): replaced
7820 gdk_window_get_children with gdk_window_peek_children, this way we
7821 do not have to free the list because it is not a copy.
7823 (hildon_pannable_axis_scroll),
7824 (hildon_pannable_area_scroll),
7825 (hildon_pannable_area_timeout),
7826 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7827 two parameters that were only used inside the
7828 hildon_pannable_area_scroll function.
7830 * examples/hildon-pannable-area-example.c,
7831 (get_sawtooth_label): Fixed small memory leak.
7833 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7835 More checks for the case where the overshoot is bigger than the
7838 * src/hildon-pannable-area.c:
7839 (hildon_pannable_draw_vscroll),
7840 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7841 to draw the slider of the scrollbar under the other scrollbar.
7842 (hildon_pannable_area_expose_event): added new checks to control
7843 the drawing of the overshooting area rectangle, in case it is too
7844 big for the area of the widget.
7845 (hildon_pannable_area_size_allocate): add more checks to avoid
7846 setting a position to the child widget outside the area.
7848 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7850 * src/hildon-pannable-area.c
7851 (hildon_pannable_area_size_allocate): Added conditions to control
7852 when overshooting is bigger than the allocated space for the
7853 children, this avoids negative allocations.
7855 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7857 * doc/hildon-docs.sgml
7859 * examples/Makefile.am
7860 * examples/hildon-button-example.c
7862 * src/hildon-button.c
7863 * src/hildon-button.h
7864 * src/hildon.h: Initial version of the new HildonButton widget,
7867 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7869 * src/hildon-pannable-area.c:
7870 (hildon_pannable_area_button_press_cb),
7871 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7872 (hildon_pannable_area_motion_notify_cb),
7873 (hildon_pannable_area_button_release_cb),
7874 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7875 (hildon_pannable_area_jump_to_child):
7877 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7879 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7881 * examples/Makefile.am
7882 * examples/hildon-pannable-area-touch-grid-example.c
7883 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7884 the Hildon Touch List and Hildon Touch Grid using the
7885 HildonPannableArea widget.
7887 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7889 * src/hildon-pannable-area.c,
7890 (hildon_pannable_area_button_press_cb),
7891 (hildon_pannable_area_refresh),
7892 (hildon_pannable_area_scroll),
7893 (hildon_pannable_area_motion_notify_cb),
7894 (hildon_pannable_area_button_release_cb),
7895 (hildon_pannable_area_expose_event),
7896 (hildon_pannable_area_add),
7897 (hildon_pannable_area_remove),
7898 (hildon_pannable_area_realize),
7899 (hildon_pannable_area_size_allocate),
7900 (hildon_pannable_area_class_init),
7901 (hildon_pannable_area_init),
7902 (hildon_pannable_area_scroll_to_child),
7903 (hildon_pannable_area_jump_to_child): Fixed the problem of
7904 removing the child from the GtkBin, we have rearranged the widget
7905 hierarchy, now there is no GtkAlignment which was not doing
7906 anything interesting but breaking some of the assumptions of
7907 GtkContainer. Now developers if they want to add a GtkAlignment
7908 they could, but it is not inside the area.
7910 We had to review the whole allocation/expose process, now it is
7911 improved and we save at least three signals which would be saving
7912 some time when rendering the widget. The allocation of the
7913 scrollbars is now made in the allocate method as usual.
7915 We have also added some conditions in order to control when there
7916 is no child of the pannable area. Maybe we will need more work
7919 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7921 * src/hildon-pannable-area.c,
7922 (hildon_pannable_area_dispose): Released the fade-out timeout when
7923 disposing the widget.
7925 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7927 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7928 zero, we are going to use that property in order to deactivate the
7930 (hildon_pannable_axis_scroll),
7931 (hildon_pannable_area_size_allocate): Added conditions to control
7932 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7933 call, now it is called in all situations and we can remove calls
7934 in the allocate method.
7935 (hildon_pannable_area_map): Control the situation when
7936 overshoot_max is zero, we do not need the timeout.
7937 (hildon_pannable_area_class_init): Added documentation in order to
7938 point out that setting zero to overshoot_max means deactivate
7941 NOTE: removed trailing whitespaces from my previous comments of
7944 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7946 * src/hildon-pannable-area.c
7947 (hildon_pannable_area_get_property),
7948 (hildon_pannable_area_set_property),
7949 (hildon_pannable_area_map),
7950 (hildon_pannable_area_class_init),
7951 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7952 to cause the widget give a hint about its panning abilities upon
7955 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7957 * src/hildon-pannable-area.c: Several documentation improvements.
7959 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7961 * src/hildon-program.c
7962 * src/hildon-stackable-window.c: Update documentation.
7964 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7966 * src/hildon-stackable-window.c (get_previous_window_if_last):
7967 Renamed get_last_window()
7968 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7969 (hildon_stackable_window_unset_program):
7971 (get_previous_window_if_last):
7972 Detect if the window hasn't been added to a HildonProgram.
7974 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7976 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7978 * src/hildon-pannable-area.c
7979 (hildon_pannable_area_button_press_cb),
7980 (hildon_pannable_axis_scroll),
7981 (hildon_pannable_area_scroll),
7982 (hildon_pannable_area_timeout),
7983 (hildon_pannable_calculate_vel_factor),
7984 (hildon_pannable_area_get_property),
7985 (hildon_pannable_area_set_property),
7986 (hildon_pannable_area_class_init),
7987 (hildon_pannable_area_init),
7988 (hildon_pannable_area_scroll_to),
7989 (hildon_pannable_area_jump_to),
7990 (hildon_pannable_area_scroll_to_child),
7991 (hildon_pannable_area_jump_to_child):
7992 * src/hildon-pannable-area.h: Added the new API functions:
7993 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7994 hildon_pannable_area_scroll_to_child,
7995 hildon_pannable_area_jump_to_child
7998 * examples/Makefile.am
7999 * examples/hildon-pannable-area-example-2.c
8000 * examples/hildon-pannable-area-example-3.c: Added these two new
8001 examples in order to test and show how the new APIs work.
8003 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8005 * examples/hildon-stackable-window-example.c (new_window):
8006 * src/Makefile.am (noinst_HEADERS):
8007 * src/hildon-program.c (hildon_program_go_to_root_window):
8008 * src/hildon-program.h:
8009 * src/hildon-stackable-window-private.h:
8010 * src/hildon-stackable-window.c:
8011 * src/hildon-stackable-window.h:
8012 Create hildon-stackable-window-private.h
8013 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8015 * examples/hildon-app-menu-example.c (create_menu):
8016 * examples/hildon-hvolumebar-insensitive-example.c (main):
8017 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8018 * examples/hildon-toolbar-seekbar-example.c (main):
8019 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8020 * src/hildon-banner.c (hildon_banner_set_property):
8021 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8022 Fix compilation warnings
8024 * src/hildon-window.c:
8027 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8029 * src/hildon-stackable-window.c
8030 (hildon_stackable_window_unset_program):
8031 Calculate correctly whether to show the previous window if the
8032 last one is removed from the stack.
8033 (hildon_stackable_window_go_to_root_window):
8034 Send delete events starting from the topmost window.
8035 Stop if one of the windows is not destroyed.
8037 (hildon_stackable_window_delete_event)
8038 (hildon_stackable_window_class_init):
8039 Ignore the delete event if the window is not the topmost one.
8041 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8043 * src/hildon-pannable-area.c
8044 (hildon_pannable_area_expose_event): Fixed a problem when
8045 selecting the background color of the scrollbars.
8047 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8049 * examples/hildon-stackable-window-example.c
8050 * src/hildon-stackable-window.c
8051 * src/hildon-stackable-window.h
8052 hildon_stackable_window_go_home() renamed to
8053 hildon_stackable_window_go_to_root_window()
8054 Send delete events to windows rather than closing them with
8055 gtk_widget_destroy()
8057 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8059 * src/hildon-pannable-area.c
8060 (hildon_pannable_area_button_release_cb): Fix overshooting in
8063 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8065 * src/hildon-pannable-area.c
8066 (hildon_pannable_area_init): Initially show the scroll indicators.
8067 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8069 Add initial effect showing the widget is pannable.
8071 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8073 * src/hildon-pannable-area.c
8074 (hildon_pannable_area_class_init)
8075 (hildon_pannable_area_set_property)
8076 (hildon_pannable_area_get_property)
8077 (hildon_pannable_area_button_press_cb):
8078 New 'velocity_fast_factor' property to decide which velocity is
8081 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8083 * src/hildon-pannable-area.c
8084 (hildon_pannable_draw_hscroll)
8085 (hildon_pannable_draw_vscroll):
8086 Use float variables to calculate the size of the scrollbars to
8087 avoid error propagation and resizing during scrolling.
8089 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8091 * src/hildon-pannable-area.c
8092 (hildon_pannable_draw_vscroll)
8093 (hildon_pannable_draw_hscroll):
8094 Define a minimum size for the scroll bars
8096 * src/hildon-stackable-window.c
8097 (hildon_stackable_window_go_home): Fix compilation warning
8098 (get_last_window): Minor optimizations
8099 (hildon_stackable_window_class_init): Fix initialization of
8102 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8104 * src/hildon-stackable-window.c: Fixed typos in doc
8106 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8108 * src/hildon-pannable-area.c
8109 (hildon_pannable_area_scroll):
8110 Calculate here whether we need to scroll instead of using the booleans
8111 that tell us whether to /draw/ the scrolling bars.
8113 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8115 * src/hildon-app-menu.h
8117 * src/hildon-app-menu.c
8118 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8119 multiple filter groups related code and API. Now we support only
8121 * examples/hildon-app-menu-example.c:
8123 Update to reflect API changes.
8125 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8127 * src/hildon-stackable-window.c
8128 (hildon_stackable_window_class_init):
8129 Add hildon_stackable_window_realize.
8130 (hildon_stackable_window_realize):
8131 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8132 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8133 to apply theming and behavior specific to HildonStackableWindow
8136 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8138 * src/hildon-note.c (hildon_note_button_release):
8139 Close information notes also when tapping on them
8141 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8143 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8144 ELASTICITY, refactor and review, fix some issues with drawing
8147 * src/hildon-pannable-area.c:
8148 (hildon_pannable_area_button_press_cb): removed the conditions to
8149 avoid clicks when overshooting. It is not required
8151 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8152 define. Refatored and reviewed the code, now we do not need to
8153 manage velocity in motion_notify.
8155 (hildon_pannable_area_motion_notify_cb): We have moved the code
8156 that controls the area_scroll to the axis_scroll function and get
8157 rid of duplicated code.
8159 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8161 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8163 (hildon_pannable_draw_vscroll),
8164 (hildon_pannable_draw_hscroll): Fixed the problems with the
8165 scrollbar drawing, now we do not use two surfaces, it is easier
8166 and saves resources.
8168 (hildon_pannable_area_get_property): Style modification.
8170 (hildon_pannable_area_class_init): Changed some default values.
8172 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8174 * src/hildon-stackable-window.c: Fix some typos in the
8177 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8179 * src/hildon-dialog.c:
8180 Change indentation style
8183 (hildon_note_button_release):
8184 Use root coordinates to check if the release event happened
8187 * src/hildon-app-menu.c
8188 (hildon_app_menu_button_release):
8189 Remove unnecessary check
8191 * examples/hildon-app-menu-example.c
8193 Add cast to fix warning
8195 * src/hildon-app-menu.c
8196 (hildon_app_menu_class_init):
8197 New inner-border style property.
8198 Set all default spacings to 16
8199 (hildon_app_menu_init):
8200 Use vertical-spacing to set the space between filter buttons and
8201 regular menu buttons.
8202 Set the default container border using the inner-border value.
8204 * examples/hildon-app-menu-example.c
8206 Don't set the menu border explicitly, now we have the inner-border
8207 style property for that.
8209 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8211 * src/hildon-app-menu.c (hildon_app_menu_init):
8212 Make the window modal
8214 * src/hildon-note.c (hildon_note_map)
8215 * src/hildon-app-menu.c (hildon_app_menu_map):
8216 Destroy the grab window if we're unable to grab the pointer
8218 * src/hildon-app-menu-private.h
8219 * src/hildon-app-menu.c
8220 (hildon_app_menu_init, hildon_app_menu_finalize)
8221 (hildon_app_menu_map, hildon_app_menu_unmap)
8222 (hildon_app_menu_button_release)
8223 (grab_transfer_window_get):
8224 Bring back the grab window
8225 (hildon_app_menu_realize):
8226 Decorate the window, set WM hint for Matchbox
8228 * src/hildon-note.c (hildon_note_realize):
8229 * src/hildon-banner.c (hildon_banner_realize):
8230 Add WM hints for Matchbox
8232 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8234 * src/hildon-app-menu-private.h
8235 * src/hildon-app-menu.c
8236 (hildon_app_menu_init, hildon_app_menu_finalize)
8237 (hildon_app_menu_map, hildon_app_menu_unmap)
8238 (hildon_app_menu_button_release):
8239 Remove the grab window, it's not needed anymore
8241 * src/hildon-program.c
8242 Fixed typo in documentation
8244 * src/hildon-app-menu.h
8245 * src/hildon-app-menu.c
8246 * examples/hildon-app-menu-example.c
8247 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8249 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8252 Added new transfer_window and close_if_pressed_outside private
8254 (hildon_note_rebuild):
8255 Don't add a cancel button to the information note. It will be
8256 closed when tapping outside
8257 Remove the comment about the OK button in the documentation
8258 (hildon_note_realize):
8259 Set the notification type hint
8260 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8261 Grab/ungrab pointer and keyboard if the note has to be closed when
8263 (hildon_note_button_release):
8264 Close the note when tapping outside (if applicable)
8266 * src/hildon-app-menu.c
8267 Grab/ungrab pointer and keyboard on map/unmap
8268 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8269 Close the menu on button release, not button press
8271 * src/hildon-banner.c
8272 (hildon_banner_set_property)
8273 (hildon_banner_check_position):
8274 Make the banner use the full width of the screen
8275 (hildon_banner_show_information)
8276 (hildon_banner_show_information_with_markup):
8277 Don't display an icon by default
8279 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8281 Added fading scrollbars and adapted all the overshooting code to
8282 horizontal scrolling. We have also fixed bugs with overshooting
8283 and current fading implementation.
8285 * src/hildon-pannable-area.c
8286 (hildon_pannable_area_scroll_indicator_fade): Time out function
8287 used to change the transparency of the scrollbars.
8289 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8290 control and fixed a problem with fading, we now remove the fade
8291 timeout before adding a new one.
8293 (hildon_pannable_axis_scroll):
8294 (hildon_pannable_area_scroll):
8295 (hildon_pannable_area_timeout): Added this functions so we can use
8296 the scroll code both for vertical and horizontal.
8298 (hildon_pannable_area_motion_notify_cb):
8299 (hildon_pannable_area_button_release_cb): Added the horizontal
8300 scrolling control, fixed a problem with the overshooting timeout.
8302 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8303 painting of the scrolls.
8305 (hildon_pannable_draw_vscroll):
8306 (hildon_pannable_draw_hscroll):
8307 (hildon_pannable_area_expose_event):
8308 Draw both scrollbars and rectangles in the overshooting area.
8310 (hildon_pannable_area_get_property):
8311 (hildon_pannable_area_set_property):
8312 Modified the overshoot property to overshoot_max
8314 (hildon_pannable_area_map):
8315 Replaced the comments symbols.
8317 (hildon_pannable_area_size_allocate):
8318 (hildon_pannable_area_class_init):
8319 (hildon_pannable_area_init): Added horizontal scroll, fading
8320 effect properties, fixed a problem when overshooting in the bottom
8323 * examples/hildon-pannable-area-example.c:
8324 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8325 looks better in the example.
8327 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8329 * src/hildon-window.c
8330 * src/hildon-window.h
8331 (hildon_window_class_init)
8332 (hildon_window_unset_program)
8333 (hildon_window_unset_program_real):
8334 Make unset_program a virtual function
8336 * src/hildon-stackable-window.c
8337 * src/hildon-stackable-window.h
8338 Added hildon_stackable_window_go_home()
8340 * examples/Makefile.am
8341 * examples/hildon-stackable-window-example.c
8342 HildonStackableWindow example
8344 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8346 * hildon-pannable-area.c: Added the overshoot property and removed
8347 the OVERSHOOT define. Fixed an indent style error.
8348 (hildon_pannable_area_motion_notify_cb):
8349 (hildon_pannable_area_get_property):
8350 (hildon_pannable_area_set_property): Add overshoot property.
8352 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8355 (hildon_pannable_area_class_init): Installed the new property.
8357 * hildon-pannable-area-example.c: Added a sawtooth function, this
8358 way it is easier to check the movement in the pannable.
8359 (get_sawtooth_label): Added this function.
8360 (main): Now we get the labels from the new get_sawtooth_label
8363 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8365 * src/hildon-app-menu.h
8366 * src/hildon-app-menu.c
8367 Renamed API variables for consistency
8369 (hildon_app_menu_popup): Use also the default window size to
8370 decide where to place the menu
8372 (hildon_app_menu_init, hildon_app_menu_class_init): New
8373 external-border style property
8375 2008-05-26 Michael Natterer <mitch@imendio.com>
8377 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8378 widget_class->tap_and_hold_setup signal slot doesn't exist any
8379 longer, stop overriding it.
8381 (hildon_time_editor_init): g_signal_connect() to the
8382 tap-and-hold-setup signal instead.
8384 (hildon_time_editor_entry_keypress): add cast to fix warning.
8386 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8388 * doc/hildon-docs.sgml
8390 * examples/Makefile.am
8391 * examples/hildon-app-menu-example.c
8393 * src/hildon-app-menu-private.h
8394 * src/hildon-app-menu.c
8395 * src/hildon-app-menu.h
8397 New HildonAppMenu widget
8399 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8401 Rearranged the inheritance of the pannable area, now it inherits
8402 from GtkBin. This will allow us to control the event_window and
8403 the allocation process of the widget, required for some effects.
8405 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8406 GtkBin structures. * src/hildon-pannable-area.c: Added the
8407 event_window variable.
8408 (hildon_pannable_area_button_press_cb):
8409 (hildon_pannable_area_button_release_cb):
8410 (hildon_pannable_area_motion_notify_cb):
8411 Changed the signature of the method, now we override the event
8412 callback instead of connecting to the signal.
8414 (hildon_pannable_area_realize):
8415 (hildon_pannable_area_unrealize):
8416 (hildon_pannable_area_map):
8417 (hildon_pannable_area_unmap):
8418 (hildon_pannable_area_size_allocate):
8419 Added functions to control the widget construction. We add a
8420 INPUT_ONLY window and we put it over the widgets inside the
8421 container, this event_window handles the events.
8423 (hildon_pannable_area_class_init):
8424 Replaced the signal connections with overrides of the event
8427 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8429 Bouncing effect added when touching the borders, you can change
8430 the elasticity of the border changing the ELASTICITY define.
8432 * src/hildon-pannable-area.c: Added ELASTICITY define.
8433 (hildon_pannable_area_timeout): Added inverse velocity when
8434 touching the border of the child widget, that causes a bounce.
8436 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8438 Improved performance, we now do not go to the X server in order to
8439 get the list of window children. Apparently the effect is the
8440 same, we have to be careful and check if this breaks something in
8443 * src/hildon-pannable-area.c:
8444 (get_ordered_children): Removed this function.
8445 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8446 the children windows function with gdk_window_get_children.
8448 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8450 * src/hildon-pannable-area.c:
8451 (hildon_pannable_area_dispose): Fixed a crash when closing the
8452 window and kinetics is activated.
8454 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8456 * src/hildon-pannable-area.h
8457 * src/hildon-pannable-area.c
8458 Changed indentation style to meet the one used in Hildon
8460 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8462 Reviewed the interaction of the AUTO mode, now we use the time
8463 attribute of the events and calculate the velocity in the motion,
8464 doing a gimp like calculation. The velocity is calculated in each
8465 motion event using the last velocity and the current one, the
8466 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8468 * src/hildon-pannable-area.c: Replaced the time based algorithm
8470 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8471 timeout for the AUTO mode when we are still moving the cursor. We
8472 added also the velocity calculation in this function.
8473 (hildon_pannable_area_button_release_cb): launch the timeout in
8474 case we are in AUTO mode. There are still some constants here that
8475 come from the old implementation that should be reviewed and
8478 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8480 * doc/hildon-docs.sgml
8483 * src/hildon-stackable-window.c
8484 * src/hildon-stackable-window.h
8486 New HildonStackableWindow widget
8488 * examples/hildon-dialog-example.c
8489 * examples/hildon-pannable-area-example.c
8492 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8494 * src/hildon-dialog.c
8495 (hildon_dialog_new_with_buttons): New constructor.
8497 * examples/hildon-dialog-example.c
8498 (main): Update the example to use the new
8499 hildon_dialog_new_with_buttons().
8501 * examples/hildon-pannable-area-example.c
8502 (main): Update example.
8504 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8506 * doc/hildon-docs.sgml
8508 Added HildonPannableArea to the documentation.
8510 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8512 * doc/visual_index.xml
8513 Fix reference to HildonLoginDialog in documentation
8515 * doc/hildon-docs.sgml
8517 * examples/Makefile.am
8518 * examples/hildon-dialog-example.c
8520 * src/hildon-dialog.c
8521 * src/hildon-dialog.h
8523 New HildonDialog widget.
8525 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8527 * src/hildon-pannable-area.c
8528 Merge latest changes (r4318, r4342) from libmokoui trunk
8530 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8532 * examples/Makefile.am
8533 * examples/hildon-pannable-area-example.c
8535 * src/hildon-pannable-area.c
8536 * src/hildon-pannable-area.h
8538 New HildonPannableArea widget.
8540 2008-04-15 18:05:19 <timj@imendio.com>
8542 * src/hildon-banner.c: revert the recent change, that introduced
8543 gtk_window_present() calls. this reopens:
8544 Bug 78481 - [freetest] information banners are hidden under browser menu
8545 But resolves another variant of:
8546 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8548 2008-04-15 13:21:13 <timj@imendio.com>
8550 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8551 recreated its layout, spotted by Kris. this fixes all remaining
8552 artefacts and stability issues with the banner code. in particular:
8553 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8555 2008-04-14 16:52:59 <timj@imendio.com>
8557 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8558 operating on unrealized widgets, fixes:
8559 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8561 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8563 2008-04-09 Kristian Rietveld <kris@imendio.com>
8565 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8566 makes banner disappear.
8567 Fixes: NB#79182: info banner flickering with certain message lengts.
8569 * src/hildon-banner.c (hildon_banner_constructor),
8570 (hildon_banner_init), (hildon_banner_set_text),
8571 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8572 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8573 FALSE, reset size requests of label and banner,
8574 (force_to_wrap_truncated): when the text is too wide, always enforce
8575 the maximum possible width instead of recalculating it from the
8576 layout; enforce the maximum banner height of 3 lines,
8577 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8578 nicer wrapping and no truncated chars if space gets tight.
8580 * src/hildon-banner-private.h: add has_been_wrapped and
8581 has_been_truncated fields.
8583 2008-04-07 Sven Herzberg <sven@imendio.com>
8585 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8586 local values in hildon_date_editor_size_allocate
8588 * src/hildon-date-editor.c: moved the real allocation code into the
8591 2008-04-07 Sven Herzberg <sven@imendio.com>
8593 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8594 local values in hildon_date_editor_size_allocate
8596 * src/hildon-date-editor.c: merged the two if() branches together
8598 2008-04-07 Sven Herzberg <sven@imendio.com>
8600 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8601 local values in hildon_date_editor_size_allocate
8603 * src/hildon-date-editor.c: changed the arguments of the if()
8606 2008-04-07 Sven Herzberg <sven@imendio.com>
8608 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8609 local values in hildon_date_editor_size_allocate
8611 * src/hildon-date-editor.c: split the calculation of the allocation
8612 from the real allocation
8614 2008-03-27 Michael Natterer <mitch@imendio.com>
8616 Fixes: NB#81696: The passcode is not overwritten even after
8619 * src/hildon-code-dialog.c
8620 (hildon_code_dialog_button_clicked)
8621 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8622 because that doesn't overwrite selected text. Instead, emit the
8623 "commit" signal on the entry's im_context so the entry's normal
8624 insert logic is triggered. Set the cursor to the end of the entry
8625 after each insert operation so that we *only* insert in the middle
8626 of the text if something was selected.
8628 2008-03-27 Michael Natterer <mitch@imendio.com>
8630 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8631 selector cannot be opened
8633 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8634 when the popup color selector is created. Please connect to this
8635 signal in order to set the dialog's help ID.
8637 2008-03-25 Sven Herzberg <sven@imendio.com>
8639 Fixes: MB#1212: Hide info banners (infoprints) on click
8641 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8642 extracted the close event simulation into an extra function
8643 (hildon_banner_button_press_event): simulate a close event and destroy
8644 the widget if the event wasn't handled
8645 (hildon_banner_class_init): added the button_press_event handler
8646 (hildon_banner_init): added button-press events to the widget
8648 2008-03-25 Sven Herzberg <sven@imendio.com>
8650 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8651 Patch from: Mohammad Anwari <mdamt@maemo.org>
8653 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8654 instead of the right in RTL mode
8655 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8656 breadcrumb button list in RTL mode
8657 * src/hildon-caption.c: mirror the appearance of the caption widget in
8659 * src/hildon-date-editor.c: mirror appearance of the date editor in
8661 * src/hildon-time-editor.c: mirror appearance of the time editor in
8663 * src/hildon-window.c: fix the position of the popup in RTL mode
8665 2008-03-25 Sven Herzberg <sven@imendio.com>
8667 Amendment to the fix of NB#22072. Fix compilation.
8669 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8671 2008-03-19 Sven Herzberg <sven@imendio.com>
8673 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8676 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8677 timeout id properly when the timeout will disappear this leaves no
8678 artifacts around in the destroy(); there will only be the timeout
8679 created by hildon_banner_ensure_timeout() and adding a new timeout
8680 will also work if the timeout gets removed because the timeout_handler
8683 2008-03-19 Michael Natterer <mitch@imendio.com>
8685 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8687 * src/hildon-volumebar.c
8688 * src/hildon-vvolumebar.c
8689 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8690 the widget becomes focussable at all.
8692 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8693 set the focus to wither the mute button or the volumebar.
8695 Remove own "can-focus" property and instead listen to
8696 notify::can-focus in order to update the widget's state.
8698 Implement GtkWidget::focus() and make sure we can also *leave* the
8699 widget, not only enter it, depending on volumebar orientation and
8700 requested focus direction.
8702 Clean up set_mute() to cooperate nicely with all the above.
8704 2008-03-04 Michael Natterer <mitch@imendio.com>
8706 Fixes: NB#78481: information banners are hidden under browser menu
8708 * src/hildon-banner.c: call gtk_window_present() on the banners so
8709 they are risen if they are already visible.
8711 2008-03-03 Sven Herzberg <sven@imendio.com>
8713 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8715 * examples/hildon-window-menu-example.c: (main): extended the window
8716 menu example to serve as a testcase for automatically added
8717 accelerator groups, too
8718 * src/hildon-window.c: (hildon_window_add_accel_group),
8719 (hildon_window_set_menu): added patch by Tommi Komulainen
8721 2008-03-03 Sven Herzberg <sven@imendio.com>
8723 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8725 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8726 knowledge about the border allocators used within GTK+
8728 2008-02-26 Sven Herzberg <sven@imendio.com>
8730 Fixes: MB#2981: Build with asserts broken
8732 * src/hildon-date-editor.c,
8733 * src/hildon-number-editor.c,
8734 * src/hildon-time-editor.c,
8735 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8736 the proper GType instance check
8738 2008-02-25 Sven Herzberg <sven@imendio.com>
8740 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8742 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8743 * examples/hildon-window-menu-example.c: (main): explicitly show
8745 * src/hildon-window.c:
8746 (hildon_window_set_main_menu): moved most of the code from set_menu()
8747 to this place; skipped the call to gtk_widget_show_all(); also didn't
8748 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8749 (hildon_window_set_menu): removed most of the code, just keep the
8750 questionable gtk_widget_show_all()
8751 * src/hildon-window.h: added the new function and deprecate the old
8754 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8760 * debian/changelog: Updating.
8762 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8765 * pkgconfig/Makefile.am:
8766 * pkgconfig/hildon.pc.in:
8769 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8770 use newly created API_MAJOR_VERSION.
8772 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8778 * debian/changelog: Updating.
8780 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8782 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8784 Add outer_border style property, we use it but don't define it (!).
8788 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8790 * examples/hildon-bread-crumb-trail-example.c (main):
8794 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8796 Fix logic for the bread crumb trail node removal.
8800 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8806 * debian/changelog: Updating.
8808 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8810 Patch by Alejandro to get/set passwords dialogs accesibility.
8812 * hildon-1/src/hildon-get-password-dialog.c:
8813 * hildon-1/src/hildon-set-password-dialog.c:
8814 Set atk_set_name to the passwd entries in order to allow
8815 accessibility by name on this entries.
8817 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8822 * debian/control: Updating gtk dep.
8824 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8826 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8827 USE_MAEMO_GTK is enabled.
8829 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8831 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8832 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8834 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * debian/changelog: Updating.
8842 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8844 * examples/Makefile.am:
8845 * examples/hildon-logical-color-example.c:
8846 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8847 applied + adding a test case. Fixes: NB#71660.
8849 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8851 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8852 to be visible, fixes warning on map for windows without toolbars.
8854 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8856 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8857 2.11.0, add a check for that besides the MAEMO_GTK check.
8859 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8865 * debian/changelog: Updating.
8867 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8869 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8870 visibility. Fixes: NB#70842 and MB#615.
8872 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8874 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8875 set the separator as no-show-all so it doesn't unintentionally appear when
8876 someone does a show_all.
8878 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8880 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8881 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8882 toplevel item. Fixes: NB#62031
8884 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8886 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8887 fix the name of the function in the docs.
8889 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8895 * debian/changelog: Updating.
8897 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8899 * examples/hildon-banner-long-example.c: Adding a test-case for long
8902 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8904 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8906 * src/hildon-color-chooser-dialog.c:
8907 * src/hildon-color-chooser.c:
8908 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8909 memory leaks in font selector and color selector. Fixes: NB#70499 and
8912 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8914 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8916 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8918 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8919 little bit bigger. Fixes: #NB63694.
8921 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8927 * debian/changelog: Updating.
8929 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8932 * doc/hildon-docs.sgml:
8933 * doc/images/bread-crumb-trail.png:
8934 * doc/images/calendar-popup.png:
8935 * doc/images/caption.png:
8936 * doc/images/code-dialog.png:
8937 * doc/images/color-button.png:
8938 * doc/images/color-chooser-dialog.png:
8939 * doc/images/color-chooser.png:
8940 * doc/images/controlbar.png:
8941 * doc/images/date-editor.png:
8942 * doc/images/font-selection-dialog.png:
8943 * doc/images/get-password-dialog.png:
8944 * doc/images/hvolumebar.png:
8945 * doc/images/login-dialog.png:
8946 * doc/images/note.png:
8947 * doc/images/number-editor.png:
8948 * doc/images/range-editor.png:
8949 * doc/images/seekbar.png:
8950 * doc/images/set-password-dialog.png:
8951 * doc/images/sort-dialog.png:
8952 * doc/images/time-editor.png:
8953 * doc/images/time-picker.png:
8954 * doc/images/vvolumebar.png:
8955 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8956 Adding the bread-crumb-trial and helpers to the documentation.
8958 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * examples/hildon-find-toolbar-example.c:
8961 * src/hildon-find-toolbar.c:
8962 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8963 actually continue firing the other handlers if connected. Adding a new
8965 hildon_find_toolbar_get_last_index that gets the index of the most
8966 recently added (last) item. Fixes: NB#52301.
8968 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8971 behaviour. Fixes: NB#68610.
8973 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8975 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8978 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8981 when realizing the banner. Should make the infonbanner effect a bit more
8984 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8986 * src/hildon-volumebar.c:
8987 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8988 hildon_volumebar_set_range_insensitive_message and
8989 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8991 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8993 * src/hildon-window.c: Fixing the border freeing on destroy.
8995 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8997 * src/hildon-code-dialog-private.h:
8998 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8999 kw keyboard support in HildonCodeDialog.
9001 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9007 * debian/changelog: Updating.
9009 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9011 * src/hildon-date-editor.c:
9012 * src/hildon-number-editor.c:
9013 * src/hildon-private.c:
9014 * src/hildon-private.h:
9015 * src/hildon-time-editor.c:
9016 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9017 handling in subclassed composite widgets. Fixes: NB#66628.
9019 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9022 from destroy_ callback as it introduces problems in async dbus signal
9023 handlers. Fixes NB#66673.
9025 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * examples/hildon-hvolumebar-example.c:
9028 * src/hildon-volumebar.c: Improving the focus handling in the
9029 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9030 set_property accessor so that "mute" property can be actually set. I'm
9031 scared that nobody noticed it's totally broken.
9033 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9035 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9038 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * src/hildon-calendar.c:
9041 * src/hildon-number-editor.c:
9042 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9043 matches the spec of 6 chars per second. Fixes: NB#60489.
9045 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9047 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9048 gtk_style_lookup_color sometime returns FALSE even though color was
9049 found and values were filled properly. Weird. Removing the warning for the
9052 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9054 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9055 expand vertically. Adding some extra space to the find toolbar buttons to
9056 make them thumbable. Fixes NB#66060.
9058 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9060 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9061 popup with "Ok" and "Cancel". Fixes NB#59299.
9063 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * src/hildon-calendar.c: Process all window updates before executing next
9066 timeout. Fixes: NB#54146.
9068 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9074 * debian/changelog: Updating.
9076 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9078 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9079 the client event and ignore it, since we use the delete event to close
9082 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9084 * src/hildon-helper.c: Remove the bogus warning about color not being
9085 found. Fixes NB#58352.
9087 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9089 * examples/Makefile.am:
9090 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9091 HildonSeekbar widget inside a toolbar.
9093 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9095 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9096 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9097 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9098 don't want to be closed by non-temporary windows on map.
9100 Also use G_DEFINE_TYPE instead of manually typed code.
9102 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * debian/rules: Updating.
9111 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9113 * examples/Makefile.am:
9114 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9115 bug NB#61128. Strangely it works.
9117 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * src/hildon-date-editor.c: When the date editor entry has been changed
9120 but the numbers of characters < max, turn off the skip validation flag.
9121 Prevents a situation when we enter first a valid year and later re-write
9122 it with an invalid one. Fixes NB#60154.
9124 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9126 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9127 code dialog. Fixes NB#64355.
9129 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9131 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9132 switching the page. Fixes NB#49374.
9134 * examples/Makefile.am:
9135 * examples/hildon-wizard-dialog-example.c: Adding an example for
9136 HildonWizardDialog that shows how to handle manual sensitivity setting on
9139 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * src/hildon-version.h.in:
9144 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9146 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9148 * src/hildon-volumebar.c: Updating the docs.
9150 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9156 * debian/changelog: Updating.
9158 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9160 * src/hildon-find-toolbar.c:
9161 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9162 selected item: hildon_find_toolbar_set_active,
9163 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9164 hildon_find_toolbar_get_active_iter . They correspond to respective
9165 GtkComboBox functions.
9167 * examples/Makefile.am:
9168 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9171 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9173 * examples/Makefile.am:
9174 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9177 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9178 when font size > 32 and we pack a focusable widget inside. Actually using
9179 the default response would work too, but since we don't show default
9180 response state in any way (no theming) it would not be visible to the
9181 user. Fixes NB#63430.
9183 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9185 * src/hildon-date-editor.c: Adding the missing variable setter in the
9186 set_property handler. Fixes NB#54182.
9188 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9190 * src/hildon-window.h: Changing the long key press time from 1500ms to
9191 800ms as requested in NB#63700. I have a bad feeling about this, let's
9192 see... Fixes NB#63700.
9194 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9196 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9197 hildon_time_picker_map, hildon_time_picker_realize,
9198 hildon_time_picker_style_set): Split the contents of map to more
9199 appropriate functions; set window decorations on realize and update
9200 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9202 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9207 * debian/changelog: Updating.
9209 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9211 * src/Makefile.am: fixed installation of the header files
9213 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9219 * debian/changelog: Updating.
9221 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9223 * configure.ac: Removing some remaining of --enable-xan.
9225 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9227 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9228 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9230 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9231 2.10.12-osso6 because the move-focus signal needs to be available in
9234 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9236 * examples/Makefile.am:
9237 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9238 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9239 fine. Prolly NB#61128 is fixed now.
9241 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9243 * src/hildon-volumebar.c:
9244 * src/hildon-volumebar.h: Adding the
9245 hildon_volumebar_set_range_insensitive_message and
9246 hildon_volumebar_set_range_insensitive_messagef functions to set
9247 insensitive message on the slider of the volumebar. Fixes NB#61129.
9249 * examples/Makefile.am:
9250 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9251 test the new insensitive messsage functionality on HildonVolumebar.
9253 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9255 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9258 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9260 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9261 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9262 button on after clearing the trail.
9264 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9266 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9268 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9270 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9271 by splitting the installed headers in generated and non-generated groups. Use
9272 only the non-generated headers to create the hildon-enum-types.h file.
9274 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9276 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9278 * src/hildon-window.c: Hide the window before performing the destroy.
9279 Should make the app closing a little tiny bit more snappy.
9281 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9283 * src/hildon-seekbar.c: add gtkrange.h header
9284 * src/hildon-caption.c: remove unused variable
9286 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9288 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9291 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9297 * debian/changelog: Updating.
9299 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9301 * src/hildon-window.c (hildon_window_window_state_event,
9302 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9303 escape timeout on focus-out-event rather than notify::is-topmost; the
9304 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9306 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9308 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9309 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9311 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9313 * src/hildon-window: actually, you need to use the macro always, there's
9314 no private pointer in the instance structure. We should have cleaned this up
9315 when we had the chance...
9317 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9319 * src/hildon-window.c: do not get the private date from HildonWindow before
9320 it passes the g_return_if_fail check. Once it's passed the test, there's no
9321 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9322 if you are only going to access the data once. Whitespace cleanups.
9324 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9326 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9327 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9329 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9335 * debian/changelog: Updating.
9337 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9339 * src/hildon-window.c: When destroying the window, remove (if exists) the
9340 escape timeout handler. Fixes #NB59276.
9342 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9344 * src/hildon-banner.c: When realizing the widget, set the window
9345 transiency. Setting the transiency in the gobject constructor is not
9346 good, as the widget is not realized at that point. Fixes: #NB56624.
9348 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9350 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9351 Add padding for future expansions.
9353 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9355 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9356 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9357 will fake an activation on the previous to the last item of the trail, so
9358 the effect can be overrided by the developer as usual.
9359 Also change the callback for the back button to do the same thing, so its
9360 effect can be overrided too. Fixes: NB#58982
9362 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9364 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9365 HildonCaption. Fixes NB#52379.
9367 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9369 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9370 the internal state of the trail after the user has had the chance of executing
9371 his handler for the signal. Specifically, it may happen that the activated button
9372 is removed and the user still lets the default handler run. This would segfault
9375 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9377 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9378 scrollbar to the preview dialog. Fixes NB#54147.
9380 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9382 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9383 max/min year properties can be altered, so the client can modify it
9384 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9386 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9388 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9389 hildonlike by default. Fixing a problem with disappearing arrows when
9390 scrolling through months and years. Fixes NB#54127.
9392 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9394 * examples/hildon-date-editor-example.c: Adding error callback to the date
9397 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9403 * configure.ac: Updating.
9405 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9407 * configure.ac: Adding a special '--enable-xan' configure option that
9408 turns off the -Werror compilation setting. Usefull for development.
9410 * src/hildon-calendar.c:
9411 * src/hildon-number-editor.c:
9412 * src/hildon-time-picker.c: Adding the 5* multiplier to
9415 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9417 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9418 instead of g_object_ref + gtk_object_sink.
9420 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9426 * debian/changelog: Updating.
9428 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9430 * src/hildon-color-chooser-dialog.c:
9431 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9432 straight from Tommi labs.
9434 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9436 * examples/hildon-finger-example.c: Correcting the header file path.
9438 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9439 the changed signal. Fixes a small memory leak.
9441 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9445 * src/hildon-banner.c: Importing several usefull fixes from the
9446 ubuntu-mobile branch.
9448 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9450 * examples/Makefile.am:
9451 * examples/hildon-finger-example.c: Adding a finger-checking code
9454 * src/hildon-font-selection-dialog.c: Do not allocate the color
9455 structure using the g_new. Fixes NB#54061.
9457 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9459 * src/hildon-helper.c: Correcting tabs in file.
9461 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9463 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9464 control the visibility of the children.
9466 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9468 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9474 * debian/changelog: Updating.
9476 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9478 * src/hildon-bread-crumb-trail.c:
9479 (hildon_bread_crumb_trail_size_allocate):
9481 Make the back button always a square.
9483 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9485 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9486 from the .c file as it's a private file.
9488 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9490 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9491 uses slightly bigger height.
9493 * src/hildon-font-selection-dialog.c: Adding some checks before
9494 freeing memory in the font selection dialog.
9496 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9498 * src/hildon-font-selection-dialog.c: Adding a small check when
9501 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9502 buttons sensitivity on page switching.
9504 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9506 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9507 internal details of adding a bread crumb to the trail.
9509 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9515 * debian/changelog: Updating.
9517 * src/hildon-bread-crumb-trail.h:
9518 * src/hildon-bread-crumb.h: Changing the API guard to
9519 HILDON_ENABLE_UNSTABLE_API.
9521 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9529 * src/hildon-helper.h: Updating.
9531 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9539 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9543 * src/hildon-helper.h: Small fix to make the package actually compile.
9545 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9547 * src/hildon-bread-crumb-trail.h:
9548 * src/hildon-bread-crumb.h:
9550 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9551 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9553 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9555 * examples/hildon-bread-crumb-trail-example.c:
9557 * src/hildon-bread-crumb-trail.c:
9558 * src/hildon-bread-crumb-trail.h:
9559 * src/hildon-bread-crumb.c:
9560 * src/hildon-bread-crumb.h:
9561 * src/hildon-marshalers.list:
9562 * src/hildon-bread-crumb-widget.c:
9563 * src/hildon-bread-crumb-widget.h:
9565 Slight change in the widget design. The bread crumb trail API is
9566 unchanged, but HildonBreadCrumb is now an interface. A *private*
9567 implementation, hildon-bread-crumb-widget, is provided and used
9568 internally by the trail for the push_text/push_icon functions.
9570 The generic push API is still available, so anyone can implement
9571 and use its own bread crumb widget.
9573 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9575 * debian/rules: Fixing the shlibs.
9577 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9579 * src/hildon-banner.c: Fixing a problem with timed banners having
9580 their parrent destroyed before they are.
9582 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9584 * src/hildon-bread-crumb.c:
9585 * src/hildon-bread-crumb.h:
9587 Make the get_natural_size function a vfunc.
9589 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9591 * src/hildon-bread-crumb.c:
9592 * src/hildon-bread-crumb-trail.c:
9596 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9603 * debian/changelog: Updating for release.
9605 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9607 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9608 don't leak the pango layout.
9610 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9613 * examples/hildon-bread-crumb-trail-example.c:
9617 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9619 * debian/changelog: Removing the bug-fixed entries that were actually
9620 resolved as WONTFIX.
9622 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9625 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9627 * src/hildon-bread-crumb-trail.c:
9628 * src/hildon-bread-crumb-trail.h:
9629 * src/hildon-bread-crumb.c:
9630 * src/hildon-bread-crumb.h:
9634 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9636 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9637 until it's passed the type check.
9639 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9641 * examples/hildon-bread-crumb-trail-example.c
9645 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9647 * examples/Makefile.am
9648 * examples/hildon-bread-crumb-trail-example.c
9650 * src/hildon-bread-crumb-trail.c
9651 * src/hildon-bread-crumb-trail.h
9652 * src/hildon-bread-crumb.c
9653 * src/hildon-bread-crumb.h
9655 New HildonBreadCrumbTrail widget.
9657 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9659 * src/hildon-range-editor.c (hildon_range_editor_init),
9660 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9661 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9662 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9663 hildon_time_editor_class_init, hildon_time_editor_init),
9664 src/hildon-get-password-dialog.c (invalid_input,
9665 hildon_get_password_set_property, hildon_get_password_get_property,
9666 create_contents, hildon_get_password_dialog_set_max_characters),
9667 src/hildon-set-password-dialog.c (create_contents),
9668 src/hildon-date-editor.c (hildon_date_editor_init),
9669 src/hildon-login-dialog.c (hildon_login_dialog_init),
9670 src/hildon-number-editor.c (hildon_number_editor_init),
9671 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9672 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9673 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9674 configure option and adding the respective checks in the code.
9675 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9676 hildon_calendar_drag_data_received): fixed some build warnings.
9678 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9680 * debian/changelog: A 1.0.0 release notes.