1 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
3 [2.2.0 Release Candidate 2]
6 * debian/changelog: bump version, updates
8 2009-09-07 Alejandro G. Castro <alex@igalia.com>
10 * hildon/hildon-pannable-area.c,
11 (hildon_pannable_area_class_init),
12 (hildon_pannable_area_button_release_cb): More tuning for the
15 2009-09-07 Alejandro G. Castro <alex@igalia.com>
17 * hildon/hildon-pannable-area.c,
18 (hildon_pannable_area_class_init):
19 Change the default value of the scrollbar_fade_delay.
21 Fixes: NB#127018 (Panning indicator fades out too slowly)
23 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
25 [2.2.0 Release Candidate 1]
28 * configure.ac: Bump version
29 * debian/changelog: updates
31 2009-09-04 Alejandro G. Castro <alex@igalia.com>
33 * hildon/hildon-pannable-area.c,
34 (hildon_pannable_area_init),
35 (hildon_pannable_area_button_press_cb),
36 (hildon_pannable_area_button_release_cb): Added a new acceleration
37 system to help traversing big lists, tuned the stop threshold.
39 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
41 2009-09-04 Alberto Garcia <agarcia@igalia.com>
43 * hildon/hildon-window.h:
44 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
46 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
48 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
52 * configure.ac: bump version
54 * debian/changelog: updates
56 2009-09-04 Alberto Garcia <agarcia@igalia.com>
58 * hildon/hildon-entry.c
59 * hildon/hildon-text-view.c:
62 2009-09-04 Alberto Garcia <agarcia@igalia.com>
64 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
65 Redraw menu when the number of items change.
67 Fixes: NB#131911 (Appmenu does not resize properly, when number of
70 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
72 * hildon/hildon-pannable-area.c:
73 (hildon_pannable_area_launch_fade_timeout),
74 (hildon_pannable_area_motion_event_scroll),
75 (hildon_pannable_area_check_move),
76 (hildon_pannable_area_button_release_cb),
77 (hildon_pannable_area_scroll_to):
79 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
80 area drawing operations, since this is the recommended for drawing
83 Fixes: NB#110894 (In event view containing very large description
84 field, application menu is displayed blank while panning)
85 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
88 2009-09-03 Alberto Garcia <agarcia@igalia.com>
90 * doc/hildon-sections.txt
91 * hildon/hildon-button.c
92 * hildon/hildon-edit-toolbar.c
93 * hildon/hildon-gtk.[ch]
94 * hildon/hildon-main.c
95 * hildon/hildon-program.c
96 * hildon/hildon-stackable-window.c:
99 2009-08-28 Alberto Garcia <agarcia@igalia.com>
101 * hildon/hildon-app-menu.c
102 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
103 Close the menu if it receives a grab-notify signal.
105 Fixes: NB#134533 (UI freezes if we show a dialog with
106 gtk_dialog_run() while a menu is opened)
108 2009-08-27 Alejandro G. Castro <alex@igalia.com>
110 * hildon/hildon-pannable-area.c,
111 (hildon_pannable_area_class_init): Reverted tuning modifications:
112 "Pannign needs to be faster" and "Pannable kinetics in large lists
115 2009-08-26 Alberto Garcia <agarcia@igalia.com>
117 * hildon/hildon-sound.c (hildon_play_system_sound):
118 Set "module-stream-restore.id" to "x-maemo-system-sound" when
119 playing system sounds
121 Fixes: NB#133767 (Information and confirmation note sound should
122 follow system profile setting)
124 2009-08-26 Alejandro G. Castro <alex@igalia.com>
126 * hildon/hildon-pannable-area.c,
127 (hildon_pannable_area_class_init): Added more force and increased
128 the max speed threshold.
130 Fixes: NB#135344 (Pannign needs to be faster)
132 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
134 [Release 2.1.96, this time for real]
137 * debian/changelog: updates
139 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
141 * hildon/hildon-pannable-area.c
142 (hildon_pannable_area_get_topmost): change the computation of the
143 co-ordinates transformed when no one of the children is a topmost
145 Fixes: NB#133252 (Opening any feed item from RSS always opens the
146 first feed item in browser)
148 2009-08-26 Alejandro G. Castro <alex@igalia.com>
150 * hildon/hildon-pannable-area.c,
151 (hildon_pannable_area_remove_timeouts): Adding this new function
152 with the code that removes the timeouts of the widget.
153 (hildon_pannable_area_dispose),
154 (hildon_pannable_area_unrealize): Use the new remove function to
155 stop timeouts when unrealizing and disposing.
156 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
157 calculation to avoid negative values in some cases.
159 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
161 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
163 * examples/hildon-check-button-example.c: (button_toggled_cb):
164 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
165 (hildon_check_button_set_active), (hildon_check_button_new),
166 (hildon_check_button_clicked), (hildon_check_button_class_init):
167 * hildon/hildon-check-button.h:
168 * hildon/hildon-set-password-dialog.c: (create_contents),
169 (hildon_set_password_response_change), (hildon_checkbox_toggled):
171 Revert "Make HildonCheckButton derive from GtkToggleButton"
173 2009-08-21 Alberto Garcia <agarcia@igalia.com>
177 * configure.ac: bump version
179 * debian/changelog: updates
181 2009-08-21 Alberto Garcia <agarcia@igalia.com>
183 * hildon/hildon-check-button.h
184 * hildon/hildon-check-button.c
185 (hildon_check_button_clicked, hildon_check_button_class_init):
186 Make HildonCheckButton derive from GtkToggleButton
187 (hildon_check_button_toggled, hildon_check_button_set_active)
188 (hildon_check_button_get_active):
189 Deprecate unnecessary HildonCheckButton API and use the
190 one from GtkToggleButton instead.
192 * hildon/hildon-set-password-dialog.c (create_contents)
193 (hildon_set_password_response_change, hildon_checkbox_toggled)
194 * examples/hildon-check-button-example.c (button_toggled_cb):
195 Update to use the GtkToggleButton API
197 Fixes: MB#4739 (HildonCheckButton should inherit from
200 Fixes: NB#132661 (HildonCheckButton should inherit from
203 2009-08-20 Alberto Garcia <agarcia@igalia.com>
205 * hildon/hildon-pannable-area.c
206 (hildon_pannable_area_class_init):
207 Increase default value of HildonPannableArea:velocity_max to 2000
209 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
211 2009-08-18 Alberto Garcia <agarcia@igalia.com>
215 * configure.ac: bump version
217 * debian/changelog: updates
219 2009-08-11 Alejandro G. Castro <alex@igalia.com>
221 * hildon/hildon-pannable-area.c
222 (hildon_pannable_area_size_allocate): Checked the scrollbars
223 before the first try when defining the layout, avoids two
224 allocations in some situations.
226 Fixes: NB#131794 (pannable area produces unnecessary allocations
227 causing performance problems)
229 2009-08-11 Alejandro G. Castro <alex@igalia.com>
231 * hildon/hildon-pannable-area.c
232 (hildon_pannable_area_button_press_cb),
233 (hildon_pannable_area_motion_notify_cb),
234 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
235 the spurious ref added in the copy, fixes leak of window.
237 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
238 if it's realized without showing and then deleted)
240 2009-08-10 Alberto Garcia <agarcia@igalia.com>
244 * configure.ac: bump version
246 * debian/changelog: updates
248 2009-08-06 Alberto Garcia <agarcia@igalia.com>
250 * examples/hildon-hvolumebar-timer-example.c
252 * hildon/hildon-banner.c
253 (hildon_banner_timeout, hildon_banner_ensure_timeout)
254 * hildon/hildon-calendar.c
255 (calendar_timer, start_spinning)
256 * hildon/hildon-color-chooser.c
257 (inline_limited_expose)
258 * hildon/hildon-date-editor.c
259 (hildon_date_editor_entry_focus_in)
260 (hildon_date_editor_entry_validate)
261 (hildon_date_editor_entry_select_all)
262 * hildon/hildon-note.c
264 * hildon/hildon-number-editor.c
265 (hildon_number_editor_button_pressed)
266 (hildon_number_editor_start_timer, do_mouse_timeout),
267 (add_select_all_idle, hildon_number_editor_select_all)
268 * hildon/hildon-time-editor.c
269 (hildon_time_editor_entry_focus_in)
270 (highlight_callback, hildon_time_editor_validate)
271 (hildon_time_editor_entry_select_all)
272 * hildon/hildon-time-picker.c
273 (hildon_time_picker_arrow_press)
274 (hildon_time_picker_key_repeat_timeout)
275 * hildon/hildon-window.c
276 (hildon_window_key_press_event)
277 (hildon_window_escape_timeout):
278 Replace all calls to g_idle_add/g_timeout_add with their
279 gdk_threads counterparts.
281 Fixes: NB#126198 (gdk-threads API should be used to install idle
282 and timeout handlers)
284 2009-08-06 Alejandro G. Castro <alex@igalia.com>
286 * hildon/hildon-pannable-area.c,
287 (hildon_pannable_area_class_init): Increased the overshooting max
288 speed to get a faster effect.
289 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
290 deceleration of the overshooting
291 (hildon_pannable_area_button_release_cb): Calculate initial
292 overshooting speed when finger on the screen using the distance to
293 launch the effect faster.
295 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
296 lists with slow row renderers)
298 2009-08-05 Alberto Garcia <agarcia@igalia.com>
300 * doc/hildon-sections.txt: Add new functions
302 2009-08-05 Alberto Garcia <agarcia@igalia.com>
304 * hildon/hildon-text-view.[ch]
305 * hildon/hildon-entry.[ch]:
306 Add deprecation guards around deprecated functions.
308 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
310 * hildon/hildon-app-menu.c: Remove leftover function declaration.
312 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
314 Remove the grab from HildonAppMenu
316 * hildon/hildon-app-menu.c:
317 Now hildon-desktop places a blocker window behind the menu to handle
318 its closing, so the grab is no longer needed. This simplifies its
319 implementation and allows the system blanking to succeed.
321 Fixes: NB#130910 (Screen gets unlocked when menu is open)
323 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
327 * configure.ac: bump version
329 * debian/changelog: updates
330 * debian/control: raise debian dependency on GTK+
332 2009-08-04 Alberto Garcia <agarcia@igalia.com>
334 * hildon/hildon-text-view.c
335 * hildon/hildon-entry.c:
336 Remove all placeholder code from HildonEntry and HildonTextView
337 and use the API in GtkEntry and GtkTextView instead.
339 * examples/hildon-entry-example.c
340 * examples/hildon-text-view-example.c
341 * examples/hildon-wizard-dialog-example.c
342 * hildon/hildon-get-password-dialog.c
343 * hildon/hildon-login-dialog.c
344 * hildon/hildon-picker-dialog.c
345 * hildon/hildon-set-password-dialog.c
346 * hildon/hildon-touch-selector-entry.c:
347 Replace all deprecated calls to HildonEntry and HildonTextView
348 with their Gtk counterparts.
350 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
353 2009-08-03 Alejandro G. Castro <alex@igalia.com>
355 * hildon/hildon-pannable-area.c,
356 (hildon_pannable_area_check_move),
357 (hildon_pannable_area_button_release_cb),
358 (hildon_pannable_area_scroll_to): Reverted the priority change of
359 the timeout, in some situations, slow renderers, the click do not
360 make it to the mainloop on time.
362 Fixes NB#131013 (unable to stop panning file manager by tapping on
365 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
367 * configure.ac: bump version
369 * debian/changelog: updates
371 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
373 * hildon/hildon-touch-selector.[ch]
374 (hildon_touch_selector_center_on_index): New method that allows to center
375 on a item not selected
377 Fixes NB#130291 (New HildonTouchSelector API is required to center on
380 2009-07-29 Alberto Garcia <agarcia@igalia.com>
382 * hildon/hildon-text-view.c
383 (+set_logical_color, +hildon_text_view_style_set)
384 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
385 (hildon_text_view_init)
386 * hildon/hildon-entry.c
387 (+set_logical_color, +hildon_entry_style_set)
388 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
389 (hildon_entry_class_init, hildon_entry_init)
390 * hildon/hildon-button.c
391 (+set_logical_font, +set_logical_color)
392 (hildon_button_style_set, hildon_button_init)
393 (hildon_button_set_arrangement, hildon_button_set_style):
394 Remove all calls to hildon_helper_set_logical_font() and
395 hildon_helper_set_logical_color(), which are recursive, from
398 Fixes: NB#123409 (Showing dialog consumes significant amount of
401 2009-07-29 Alejandro G. Castro <alex@igalia.com>
403 * hildon/hildon-pannable-area.c,
404 (hildon_pannable_area_timeout): Added the process updates of the
405 scrollbars window in the pannable.
407 Fixes: NB#130043 (scrollindicator not smooth while panning)
409 2009-07-23 Alejandro G. Castro <alex@igalia.com>
411 * hildon/hildon-pannable-area.c,
412 (hildon_pannable_area_check_move),
413 (hildon_pannable_area_button_release_cb),
414 (hildon_pannable_area_scroll_to): Increased the priority of the
415 timeout this way it is going to be handled before the events.
417 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
421 * configure.ac: bump version
422 * debian/changelog: updates
424 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
426 * hildon/hildon-entry.c: (set_property): Do not allow to set
427 automatic height and use finger height instead, to prevent an to
428 have a smaller size than than its theme pixbuf.
430 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
432 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
434 * configure.ac: postrelease version bump.
435 * debian/changelog: post release version bump
437 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
442 * configure.ac: Bump version.
443 * debian/changelog: Updates.
445 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
447 * hildon/hildon-note.c: (label_size_request): Take the note
448 padding into account when setting the size request.
450 Fixes: NB#127896 (Information notes text truncated)
452 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
454 * configure.ac: postrelease version bump.
455 * debian/changelog: post release version bump
457 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
462 * configure.ac: Bump version.
463 * debian/changelog: Updates.
465 2009-07-16 Alejandro G. Castro <alex@igalia.com>
468 * hildon/hildon-text-view.c,
469 (hildon_text_view_button_press_event): Grabbed the focus in button
470 press, this way we are sure the widget has the focus in the
471 release event, required for HIM.
473 Fixes: NB#121445 (Virtual keyboard opening is not working in same
474 way for each text entry field)
476 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
478 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
479 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
480 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
481 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
482 (hildon_pannable_area_[gs]et_center_on_child_focus)
483 Redefined GtkContainer set-focus-child signal, in order to center
484 properly on a child when it receives the focus. Defined a new property
485 "center-on-child-focus" in order to activate this feature (deactivated
486 by default). Public get/set methods defined to manage the property.
488 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
490 2009-07-14 László Pere <lpere@blumsoft.eu>
492 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
493 the new size is applied.
495 Fixes: NB#124510 (The Application Menu is distorted when switched
496 between portrait and landscape mode)
497 Fixes: NB#115388 (Power key menu does not resize itself)
499 2009-07-01 Alberto Garcia <agarcia@igalia.com>
501 * hildon/hildon-banner.c (hildon_banner_map):
502 Set banner position after mapping.
504 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
506 * configure.ac: postrelease version bump.
507 * debian/changelog: post release version bump
509 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
514 * configure.ac: Bump version.
515 * debian/changelog: Updates.
517 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
519 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
522 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
524 * tests/check-hildon-banner.c
526 * tests/test_suites.h
527 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
528 were testing deprecated functions.
529 * examples/hildon-banner-example.c: typo on button3 type, that causes
530 a fail compiling with --with-examples but without --disable-deprecated
532 Missed commit in order to fix compilation using '--enable-fatal' and
533 '--disable-deprecated' (see previous commit)
535 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
537 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
538 functions with #ifndef HILDON_DISABLE_DEPRECATED
539 * examples/hildon-find-toolbar.c: Protect deprecated
540 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
541 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
542 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
543 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
545 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
546 to allow proper compilation of deprecated functions defined on the header
548 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
550 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
552 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
553 Cache the panning indicator color.,
554 (hildon_pannable_area_style_set): Query the color on style changes.
555 (hildon_pannable_draw_vscroll),
556 (hildon_pannable_draw_hscroll),
557 (hildon_pannable_area_expose_event): Use the cached panning indicator
558 color instead of looking it up on every expose and more.
560 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
562 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
563 (hildon_pannable_draw_hscroll),
564 (hildon_pannable_area_expose_event): Fix the panning indicator color,
565 so that it's "SecondaryTextColor", as desired.
567 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
569 * hildon/hildon-picker-dialog.c:
570 (selection_completed): take into account HILDON_UI_MODE_NORMAL
571 * hildon/hildon-touch-selector.c
572 (hildon_touch_selector_init): Initialize hildon-ui-mode
573 (hildon_touch_selector_row_activated): new callback for the
574 "row-activated" signal, in order to save the last activated
575 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
576 if the current hildon-ui-mode is coherent with the touch selector
577 (hildon_touch_selector_class_init)
578 (hildon_touch_selector_get_property)
579 (hildon_touch_selector_set_property)
580 Added "hildon-ui-mode" property
581 (disconnect_model_handlers): renamed to clean_column
582 (hildon_touch_selector_remove): use clean_column function
583 (_create_new_column): use the hildon-ui-mode to create the treeview, and
584 only select the first element on HILDON_UI_MODE_EDIT
585 (hildon_touch_selector_column_init): Initialize last_activate
586 (hildon_touch_selector_append_column): check that the touch selector
587 is coherent with the current hildon-ui-mode
588 (hildon_touch_selector_get_hildon_ui_mode)
589 (hildon_touch_selector_set_hildon_ui_mode)
590 Added a getter/setter for the hildon-ui-mode property
591 (hildon_touch_selector_get_last_activated_row): Added this method in
592 order to get the last activated row.
593 * examples/hildon-touch-selector-normal-mode-example.c
594 New example, that shows how to use the HildonTouchSelector in
595 HILDON_UI_MODE_NORMAL
597 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
598 Kristian Rietveld <kris@lanedo.com> advices
600 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
602 * hildon/hildon-time-selector.c: (update_format_policy): Do
603 not call update_format_dependant_columns() if not necessary.
604 (update_format_dependant_columns): Remove unnecessary check for
605 the number of columns.
607 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
609 * hildon/hildon-note.c (+hildon_note_constructor),
610 (hildon_note_class_init), (+hildon_note_set_padding),
611 (hildon_note_rebuild): Install a constructor where to set the
612 padding properties in the note, so that it actually works fine.
613 Use hildon_note_set_padding() for this, and also to set it during
616 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
618 * configure.ac: Bump GTK+ requirement to 2.14.3.
619 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
620 when using maemo-gtk to define proper margins for the notes.
622 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
623 with the dialog edge)
625 2009-06-24 Alberto Garcia <agarcia@igalia.com>
627 * hildon/hildon-banner.c
628 (hildon_banner_class_init):
630 (+hildon_banner_size_request):
631 Request always the full width of the screen.
632 (hildon_banner_realize)
633 (-hildon_banner_check_position, hildon_banner_map):
634 hildon_banner_check_position() is not needed in Hildon 2.2.
635 (-hildon_banner_reset_wrap_state)
636 (hildon_banner_constructor, hildon_banner_init):
637 Remove unnecessary calls to hildon_banner_reset_wrap_state()
638 (+banner_do_set_text)
639 (force_to_wrap_truncated):
640 Remove has_been_wrapped and has_been_truncated attributes.
641 (+reshow_banner, hildon_banner_real_show_information)
642 (hildon_banner_show_information_with_markup)
643 (hildon_banner_show_animation, hildon_banner_show_progress)
644 (hildon_banner_set_text, hildon_banner_set_markup):
645 Refactor code. Shrink banner vertically to use the minimum space
646 necessary everytime the text of the label is updated.
647 (screen_size_changed):
648 Call force_to_wrap_truncated() when the size of the screen
651 Fixes: NB#120500 (only device memory connect mmc in use info
652 banner is left aligned)
654 Fixes: NB#120613 (Size of HildonBanner varies depending on
655 previously opened banners)
657 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
659 * hildon/hildon-color-chooser.c
660 (hildon_color_chooser_pointer_motion): Take the widget allocation
663 Fixes: NB#124385 (Unable to select exact point in color mixing box
664 in color palette dialog)
666 2009-06-23 Alejandro G. Castro <alex@igalia.com>
668 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
669 (hildon_pannable_area_dispose)
670 (hildon_pannable_area_button_press_cb)
671 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
672 (hildon_pannable_area_button_release_cb)
673 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
674 New 'panning-started' and 'panning-finished' signals.
676 Fixes: NB#121732 (New feature request: Signal to pannable area
677 that informs when panning is stopped.)
679 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
681 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
682 instead of hardcoded colon.
684 Fixes: NB#124090 (New calendar wizard title is not using
685 ecdg_ti_caption_separator)
687 2009-06-22 David King <davidk@openismus.com>
689 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
690 constants and functions, as well as correct many typos throughout the
693 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
696 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
698 * configure.ac: postrelease version bump.
699 * debian/changelog: post release version bump
701 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
706 * configure.ac: Bump version.
707 * debian/changelog: Updates.
709 2009-06-18 Alberto Garcia <agarcia@igalia.com>
711 * hildon/hildon-window-stack.c
712 (hildon_window_stack_pop_and_push_list):
713 Prevent windows from having the same stack index
715 2009-06-18 Alberto Garcia <agarcia@igalia.com>
717 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
718 Use the index of the previous window rather than the stack length
719 to calculate the new index.
723 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
725 * hildon/hildon-date-selector.c
726 (hildon_date_selector_select_current_date)
727 (hildon_date_selector_get_date)
728 (hildon_date_selector_select_day):
729 Update the documentation: uses always the range (1-31), as it is obvious
730 that the final one will depend on the month and the year, but globally
731 the range is this, in a similar GtkCalendar approach
732 (hildon_date_selector_get_date):
733 Update the documentation: add NULL as a valid value for the day, month
736 Fix some details, after talk with David King on bug MB#4698
738 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
740 * hildon/hildon-touch-selector-entry.c
741 * hildon/hildon-touch-selector.c
742 Update the documentation of the "text-column" property
744 2009-06-18 David King <davidk@openismus.com>
746 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
747 several typos and errors throughout the documentation.
749 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
752 2009-06-18 Alberto Garcia <agarcia@igalia.com>
754 * hildon/hildon-note.c (hildon_note_realize):
755 Make HildonNote support portrait mode.
757 Fixes: NB#123448 (HildonNote is not portrait-friendly)
759 2009-06-17 Alberto Garcia <agarcia@igalia.com>
761 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
762 Document this function
764 2009-06-17 David King <davidk@openismus.com>
766 * hildon/hildon-date-selector.c
767 (hildon_date_selector_select_current_date)
768 (hildon_date_selector_get_date): Update documentation regarding days,
769 as the day of the month is dependent on both the month and the year.
770 (hildon_date_selector_get_date): Fix documentation of output arguments.
772 Fixes: MB#4698 (DateSelector documentation has bad output argument
773 description, and the day depends on both the month and the year)
775 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
777 * hildon/hildon-caption.c: Other documentation fixes to
780 2009-06-17 David King <davidk@openismus.com>
782 * hildon/hildon-caption.c: Minor documentation updates for
783 HildonCaption. Fixes MB#4697.
785 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
787 * doc/hildon-docs.sgml: Add hildon-version section.
788 * doc/hildon-sections.txt:
789 * hildon/hildon-version.h.in: Document versioning macros and
792 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
794 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
795 from HildonPickerDialog section.
797 2009-06-16 Alberto Garcia <agarcia@igalia.com>
799 * hildon/hildon-banner.c (hildon_banner_bind_style)
800 (screen_size_changed, hildon_banner_init)
801 (hildon_banner_real_show_information)
802 (hildon_banner_show_information_with_markup)
803 (hildon_banner_show_animation, hildon_banner_show_progress):
804 Set a different widget name to banners in portrait mode, for them
805 to be themed correctly.
807 2009-06-16 Alberto Garcia <agarcia@igalia.com>
809 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
810 Set a different widget name to notes in portrait mode, for them to
813 Partially fixes: NB#118401 (HildonNote causes unnecessary
816 2009-06-16 Alberto Garcia <agarcia@igalia.com>
818 * hildon/hildon-note.c (hildon_note_class_init)
819 (+hildon_note_size_request, screen_size_changed):
820 Always request the full width of the screen.
822 Fixes: NB#118375 (unnecessary rescaling of images)
824 2009-06-16 Alejandro G. Castro <alex@igalia.com>
826 * hildon/hildon-pannable-area.c,
827 (hildon_pannable_area_init),
828 (hildon_pannable_area_realize): Replaced old code adding flags in
829 the object init, now we add it with the other flags in the realize
832 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
834 * hildon/hildon-note.c: (hildon_note_class_init): Several
835 documentation improvements to the HildonNote widget.
837 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
839 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
841 Fixes: MB#4556 (HildonNoteType is undocumented)
843 2009-06-15 Alberto Garcia <agarcia@igalia.com>
845 * hildon/hildon-picker-button.c:
846 Explain how HildonPickerButton sets the title of its dialog
848 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
849 the title of its dialog)
851 2009-06-15 Alberto Garcia <agarcia@igalia.com>
853 * hildon/hildon-check-button.c:
854 Documentation updates
856 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
859 2009-06-15 Alberto Garcia <agarcia@igalia.com>
862 * hildon/hildon-edit-toolbar-private.h
863 * hildon/hildon-edit-toolbar.c
864 (+hildon_edit_toolbar_set_progress_indicator)
865 (hildon_edit_toolbar_init): Add progress indicator to the
868 * hildon/hildon-gtk.c
869 (hildon_gtk_window_set_progress_indicator):
870 If the window contains a HildonEditToolbar, enable the progress
873 * hildon/hildon-private.h
874 * hildon/hildon-private.c
875 (+hildon_private_create_animation)
876 * hildon/hildon-banner.c
877 (-hildon_banner_create_animation):
878 Moved to hildon-private.c
880 Fixes: NB#102373 (Progress indicator also for the Edit mode
883 2009-06-15 Alberto Garcia <agarcia@igalia.com>
885 * hildon/hildon-app-menu-private.h
886 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
887 (hildon_app_menu_add_filter, +menu_item_button_event)
888 (hildon_app_menu_button_release, hildon_app_menu_init):
889 Make sure that buttons receive 'button-release-event' in spite of
890 the grab held by HildonAppMenu
892 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
894 2009-06-15 Alberto Garcia <agarcia@igalia.com>
896 * hildon/hildon-app-menu.c
897 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
898 New style property to set the size of the group of filter buttons.
900 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
902 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
907 * configure.ac: Bump version.
908 * debian/changelog: Updates.
910 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
912 * hildon/hildon-main.c: Minor documentation fixes.
914 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
916 * doc/hildon-sections.txt:
917 * hildon/hildon-defines.h: Document the defines, organize them,
918 and mark deprecations as such.
920 Fixes: MB#4463 (Hildon size #defines are undocumented)
922 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
924 * hildon/hildon-animation-actor.c:
925 * hildon/hildon-app-menu.c:
926 * hildon/hildon-button.c:
927 * hildon/hildon-date-editor.c:
928 * hildon/hildon-dialog.c:
929 * hildon/hildon-edit-toolbar.c:
930 * hildon/hildon-entry.c:
931 * hildon/hildon-program.c:
932 * hildon/hildon-remote-texture.c:
933 * hildon/hildon-stackable-window.c:
934 * hildon/hildon-text-view.c:
935 * hildon/hildon-touch-selector.c:
936 * hildon/hildon-window-stack.c:
937 * hildon/hildon-window.c:
939 Remove redundant "represents" wording from most of the documentation.
941 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
943 2009-06-12 Alberto Garcia <agarcia@igalia.com>
948 * hildon/hildon-banner-private.h
949 * hildon/hildon-banner.c:
950 Move HildonBannerPrivate to hildon-banner.c and remove
951 hildon-banner-private.h
952 Use a bit field to store private booleans.
954 2009-06-12 Alberto Garcia <agarcia@igalia.com>
956 * hildon/hildon-app-menu.c (hildon_app_menu_map):
957 Don't install a new idle function if there's already one
962 2009-06-11 Alberto Garcia <agarcia@igalia.com>
964 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
965 (+legacy_menu_realized, +legacy_menu_unmapped)
966 (+set_legacy_menu_type):
967 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
968 they can be identified by the window manager.
970 Fixes: NB#101437 (Invoking CSM on the left side of page area is
971 displayed in wrong location)
973 Fixes: MB#4563 (Popup menu won't locate at the left side of the
976 2009-06-11 Alberto Garcia <agarcia@igalia.com>
978 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
980 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
983 2009-06-11 Alberto Garcia <agarcia@igalia.com>
985 * hildon/hildon-code-dialog.c
986 * hildon/hildon-date-editor.c
987 * hildon/hildon-number-editor.c
988 * hildon/hildon-seekbar.c
989 * hildon/hildon-stackable-window.c
990 * hildon/hildon-window.c:
991 Misc documentation updates
993 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
995 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
996 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
998 Fixes: NB#117931 (Theming issues in accounts dialogs)
1000 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1002 * hildon/hildon-pannable-area.c,
1003 (hildon_pannable_area_button_release_cb): Changed the coordinates
1004 of the original release in case we want to discard the release,
1005 some widgets in Fremantle do not handle the leave-notify.
1007 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1009 * hildon/hildon-pannable-area.c,
1010 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1011 the release using the last refactored functions and avoiding the
1012 movement if an element was selected.
1014 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1016 * hildon/hildon-pannable-area.c,
1017 (hildon_pannable_area_check_move),
1018 (hildon_pannable_area_handle_move),
1019 (hildon_pannable_area_motion_notify_cb): Refactored the
1020 motion_notify method using a couple of new functions.
1022 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1024 * hildon/hildon-date-selector.c:
1025 (hildon_date_selector_construct_ui):
1026 * hildon/hildon-time-selector.c:
1027 (hildon_time_selector_constructor):
1028 * hildon/hildon-touch-selector-entry.c:
1029 (hildon_touch_selector_entry_set_text_column),
1030 (hildon_touch_selector_entry_get_text_column):
1031 * hildon/hildon-touch-selector.c: (_default_print_func),
1032 (hildon_touch_selector_new_text): Use
1033 hildon_touch_selector_set/get_text_column() instead of
1034 setting/getting the "text-column" property.
1036 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1038 * doc/hildon-sections.txt: Add the new public methods below.
1040 * examples/hildon-picker-button-multicolumn-example.c:
1041 (create_touch_selector):
1042 * examples/hildon-touch-selector-example.c: (create_selector):
1043 * examples/hildon-touch-selector-multi-cells-example.c:
1045 Use hildon_touch_selector_column_set_text_column()
1047 * hildon/hildon-touch-selector-column.h:
1048 * hildon/hildon-touch-selector.c:
1049 (hildon_touch_selector_column_set_text_column),
1050 (hildon_touch_selector_column_get_text_column):
1051 Make hildon_touch_selector_column_set/get_column() public, use
1052 them in the inline example, document them, and reference to them
1055 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1057 * hildon/hildon-time-selector.c: Fix the docs for
1058 hildon_time_selector_new_step().
1060 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1062 * hildon/hildon-touch-selector.c: Improve the documentation for
1063 hildon_touch_selector_append_column().
1065 Fixes MB#4641 (Documentation:
1066 hildon_touch_selector_append_column() ref-counting)
1068 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1070 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1071 Comment out test 5, since the hildon_controlbar_set_range() range
1072 check is broken and fixing it would have side effects. Also,
1073 this finally fixes make distcheck.
1075 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1077 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1079 * tests/TEST-CASES.txt: Remove other bogus test.
1080 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1081 Remove bogus test that was setting/retrieving a valid value.
1083 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1085 * tests/TEST-CASES.txt: Remove bogus tests.
1086 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1087 Remove three bogus tests that were actually setting valid colors.
1089 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1091 * configure.ac: post release version bump
1092 * debian/changelog: post release version bump
1094 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1099 * configure.ac: Bump version.
1100 * debian/changelog: Updates.
1102 2009-06-08 Christian Dywan <christian@lanedo.com>
1106 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1107 Correct errors in hildon_format_file-size_for_display and use
1108 translations from the hildon-fm package instead of osso-filemanager.
1110 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1112 * hildon/hildon-pannable-area.c,
1113 (hildon_pannable_area_init): Initialized new values to handle the
1114 adjustment position.
1115 (hildon_pannable_area_adjust_value_changed): Check if the values
1116 changed before even call the redraw function.
1117 (hildon_pannable_area_size_allocate),
1118 (hildon_pannable_axis_scroll),
1119 (hildon_pannable_area_scroll),
1120 (hildon_pannable_area_jump_to): Improved the diagonal movement
1123 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1126 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1128 * examples/hildon-banner-example.c:
1129 Several style updates
1130 (on_animation_clicked, on_animation_idle)
1131 (on_progress_clicked, on_progress_idle):
1132 Add additional reference for the cases when the parent window is
1135 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1137 * doc/hildon-sections.txt
1138 * hildon/hildon-pannable-area.c
1139 * hildon/hildon-banner.h
1140 * hildon/hildon-banner.c: Documentation updates.
1142 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1145 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1147 * hildon/hildon-calendar-popup.h:
1148 * hildon/hildon-caption.h:
1149 * hildon/hildon-code-dialog.h:
1150 * hildon/hildon-controlbar.h:
1151 * hildon/hildon-date-editor.h:
1152 * hildon/hildon-dialog.h:
1153 * hildon/hildon-get-password-dialog.h:
1154 * hildon/hildon-hvolumebar.h:
1155 * hildon/hildon-login-dialog.h:
1156 * hildon/hildon-note.h:
1157 * hildon/hildon-number-editor.h:
1158 * hildon/hildon-range-editor.h:
1159 * hildon/hildon-seekbar.h:
1160 * hildon/hildon-set-password-dialog.h:
1161 * hildon/hildon-sort-dialog.h:
1162 * hildon/hildon-time-editor.h:
1163 * hildon/hildon-time-picker.h:
1164 * hildon/hildon-volumebar-range.h:
1165 * hildon/hildon-volumebar.h:
1166 * hildon/hildon-vvolumebar.h:
1167 * hildon/hildon-weekday-picker.h:
1168 * hildon/hildon-window.h:
1169 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1170 macros with the current replacements
1172 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1174 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1176 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1177 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1178 itself, to make it fit better with Fremantle style.
1180 Fixes: NB#109878 (height and width of focus on color icon is not
1181 consistent with other item in the application tool bar)
1183 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1185 * hildon/hildon-touch-selector.c:
1186 (hildon_touch_selector_optimal_size_request): use the current requisition
1187 as the base, in order to include any possible extra widget, like the
1188 hildon entry on HildonTouchSelectorEntry
1190 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1192 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1194 * configure.ac: post release version bump
1195 * debian/changelog: post release version bump
1197 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1202 * configure.ac: Bump version.
1203 * debian/changelog: Updates.
1205 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1207 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1209 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1210 to ensure the banner contents are centered, instead of relying on
1211 the expand and fill properties in GtkHBox.
1212 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1214 Fixes: NB#108265 (Animation banner not properly centered)
1216 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1218 * hildon/hildon-pannable-area.c
1219 (hildon_pannable_area_initial_effect): Remove the initial_effect
1220 management, check initial_hint
1221 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1222 set initial_effect to FALSE
1223 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1224 by launching the fade_timeout if the scrollbars state has changed and are
1226 * examples/hildon-pannable-area-initial-hint-example.c
1227 Modified to allow to remove rows too. Add and remove rows one by one.
1229 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1231 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1232 Don't close the menu if there's an animation actor below it.
1234 Fixes: NB#117927 (Application menu not usable with animation
1237 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1239 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1240 "focus-on-click" from the dialog button, to avoid stealing the
1241 focus from the entry.
1243 Fixes: NB#118903 (Account setup wizard: Text in Search field
1244 should be focused when "Region" touch list picker is reopened
1247 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1249 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1250 (prepare_action_area): Completely hide the dialog separator.
1252 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1254 * hildon/hildon-touch-selector-entry.c
1255 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1256 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1257 now that the entry is exposed.
1259 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1261 * hildon/hildon-touch-selector-entry.c
1262 (hildon_touch_selector_entry_init): Change the entry's size
1263 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1265 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1267 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1268 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1269 avoid unnecessary scaling.
1271 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1273 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1274 Create grab transfer window before calling parent's map function.
1276 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1277 "crushed" button(s) in the top left corner)
1279 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1281 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1282 Check if the window is already realized when pushing it.
1284 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1286 * configure.ac: post release version bump
1287 * debian/changelog: post release version bump
1289 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1294 * configure.ac: Bump version.
1295 * debian/changelog: Updates.
1297 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1299 * hildon/hildon-app-menu.c: Doc updates.
1301 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1303 * hildon/hildon-banner.c: Remove leftover macro.
1305 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1307 * hildon/hildon-pannable-area.c,
1308 (hildon_pannable_area_scroll_indicator_fade),
1309 (hildon_pannable_area_button_release_cb): Reviewed vmin
1310 conditions, it could cause problems in the fadeout procedure.
1312 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1314 * hildon/hildon-pannable-area.c
1315 (hildon_pannable_area_button_release_cb): Added a threshold to
1316 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1318 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1320 * hildon/hildon-pannable-area.c,
1321 (hildon_pannable_area_set_property): Added code to sync the gtk
1322 dnd threshold with the panning threshold.
1324 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1326 * hildon/hildon-pannable-area.c,
1327 (hildon_pannable_area_class_init): Changed some of the default
1328 values, now it should be less responsive and more accurate.
1330 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1332 * hildon/hildon-pannable-area.c,
1333 (hildon_pannable_area_init),
1334 (hildon_pannable_area_scroll_indicator_fade),
1335 (hildon_pannable_area_button_press_cb),
1336 (hildon_pannable_axis_scroll),
1337 (hildon_pannable_area_timeout),
1338 (hildon_pannable_area_motion_notify_cb),
1339 (hildon_pannable_area_button_release_cb): Changed the name of the
1340 clicked attribute to button_pressed, it is more clear about its use.
1342 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1344 * src/hildon-pannable-area.c
1345 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1347 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1348 vertical scrollbar visibility, and use the data on private section instead,
1349 remove the initial_hint check
1350 (hildon_pannable_area_expose_event): add the initial_hint check here
1352 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1354 * src/hildon-pannable-area.c
1355 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1356 if the fadeout effect was used
1357 (hildon_pannable_area_expose_event): check if it is required to
1358 manage the initial effect on the begining of the function. Previously
1359 it was made at the end, but this doesn't ensure that the scrollbars
1360 will be painted on the first show. Do not set to FALSE initial_effect,
1361 to ensure that the initial hint is showed the first time the pannable
1363 * examples/Makefile.am
1364 * examples/hildon-pannable-area-initial-hint-example.c:
1365 New example, to show that the initial-hint is showed when the widget
1368 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1369 initially if the application can be scrolled)
1371 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1373 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1374 Resize table before adding new items to make sure that
1375 gtk_table_resize() is called just once.
1377 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1379 * hildon/hildon-app-menu-private.h
1380 * hildon/hildon-app-menu.c (item_visibility_changed)
1381 (filter_visibility_changed, hildon_app_menu_show_all)
1382 (hildon_app_menu_hide_all, hildon_app_menu_init):
1383 Rearrange items just once when gtk_widget_show_all()/hide_all()
1386 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1388 * hildon/hildon-app-menu.c
1389 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1390 Don't call gtk_widget_show() on added items.
1392 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1393 automatically when they're added)
1395 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1397 * hildon/hildon-banner.c
1398 (hildon_banner_realize, +hildon_banner_unrealize)
1399 (+screen_size_changed, hildon_banner_class_init):
1400 Redisplay the banner if the screen is rotated.
1402 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1403 on transition from landscape to portrait)
1405 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1407 * hildon/hildon-banner.[ch]:
1408 (hildon_banner_show_information_override_dnd): remove icon_name from the
1409 method definition as it is ignored.
1410 * examples/hildon-banner-dnd-example.c: updated with the change on
1413 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1415 * hildon/hildon-banner-private.h: new require_override_dnd and
1416 overrides_dnd variables
1417 * hildon/hildon-banner.h:
1418 (hildon_banner_show_information_override_dnd): new method, that shows
1419 the information but sets the override flag, in order to show important
1421 * hildon/hildon-banner.c
1422 (hildon_banner_show_information_override_dnd): new method
1423 (hildon_banner_set_override_flag): new utility function
1424 (hildon_banner_real_show_information): new utility function, in order to
1425 generalize the current hildon_banner_show_information_override_dnd and
1426 hildon_banner_show_information_override_dnd
1427 * examples/Makefile.am
1428 * examples/hildon-banner-dnd-example.c: New example that show how to
1429 use the new hildon_banner_show_information_override_dnd
1431 Fixes: NB#114874 (There is no possibility to show hildon banners with
1434 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1436 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1437 behind hildon_pannable_calculate_vel_factor().
1439 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1441 * hildon/hildon-pannable-area.c
1442 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1443 deceleration factors.
1445 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1447 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1448 Reduce the default value for 'scroll_time' to 1 second, since the
1449 current initial scrolling takes too much time.
1451 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1453 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1454 calculate velocity factor during initialization, since the properties
1457 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1459 * hildon/hildon-pannable-area.c
1460 (hildon_pannable_area_set_property): Calculate the velocity factor
1461 after setting the deceleration property and not after.
1463 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1465 * hildon/hildon-entry.c
1466 (hildon_entry_class_init, +set_property, hildon_entry_new)
1467 * hildon/hildon-check-button.c
1468 (hildon_check_button_class_init)
1469 (+set_property, hildon_check_button_new):
1470 Make the theme size a property.
1472 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1473 others) do too much in the _new function)
1475 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1477 * configure.ac: post release version bump
1478 * debian/changelog: post release version bump
1480 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1485 * configure.ac: Bump version.
1486 * debian/changelog: Updates.
1488 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1490 * hildon/hildon-gtk.h
1491 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1492 New API function to take a screenshot of a window
1494 Fixes: NB#106374 (Need API to take a loading screenshot)
1496 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1498 * hildon/hildon-time-selector.c
1499 (update_format_policy): prevent to use hours and minutes unitialized
1501 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1503 * hildon/hildon-window.c (hildon_window_size_request):
1504 Always request the full size of the screen (minus the title bar if
1505 not in fullscreen mode).
1507 Fixes: NB#107486 (HildonWindow should size itself properly)
1509 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1511 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1512 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1513 (on_show_cb), (sound_handling): Disconnect the idle handler for
1514 the sound when the note is finalized to avoid possible crashes.
1516 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1519 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1521 * src/hildon-animation-actor.c,
1522 * src/hildon-remote-texture.c:
1523 Added proper object cleanup to remove signal handler and object
1524 references as HildonAnimationActor and HildonRemoteTexture
1525 objects get destroyed.
1527 Fixes: NB#116682 (Destroying parented animation actors when
1528 parent in unmapped leads to crash)
1530 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1532 Based on a patch by Christian Dywan (christian@imendio.com)
1534 * doc/hildon-sections.txt:
1535 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1536 * hildon/hildon-helper.h: New file size formatting method.
1538 * debian/control: Depend on osso-filemanager l10n package for
1539 proper localization strings.
1541 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1543 * tests/Makefile.am: Include top_srcdir to make possible to build
1544 tests in a different builddir.
1545 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1546 on a different builddir.
1548 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1550 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1551 (hildon_touch_selector_remove): Disconnect model's signal handler
1554 Fixes: NB#116289 (Hildon home crashes while adding task
1557 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1559 * hildon/hildon-button.c
1560 (hildon_button_set_title, hildon_button_set_value):
1561 Hide labels containing an empty string.
1563 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1565 * configure.ac: post release version bump
1566 * debian/changelog: post release version bump
1568 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1573 * configure.ac: Bump version.
1574 * debian/changelog: Updates.
1576 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1578 * hildon/hildon-note-private.h: Removed sound_signal_handler
1579 * hildon/hildon-note.c
1580 (on_show_cb): new callback on note "show" event, this simply adds
1581 a idle, with the function sound_handling
1582 (sound_handling): removed the sound_signal_handler management
1583 (hildon_note_init): connect note "show" event to on_show_cb
1584 (hildon_note_realize): remove the connection to "expose-event"
1586 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1587 device?' confirmation note)
1589 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1591 * hildon/hildon-note.c
1592 (hildon_note_new_information_with_icon_name)
1593 (hildon_note_new_confirmation_with_icon_name):
1594 Terminate the list of parameters in g_object_set() calls
1596 Fixes: NB#115166 (Formatting memory card is not taking place)
1598 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1600 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1601 "dialog-information" role for the sound being played.
1603 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1605 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1606 Don't make the menu a modal window, it causes strange interactions
1607 with the pointer grab and it's not really needed.
1609 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1611 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1613 * hildon/hildon-touch-selector.[ch]
1614 (hildon_touch_selector_optimal_size_request): function added to get a
1615 optimal size request from the touch selector, when you want a dialog to
1616 show as much of the selector
1617 * hildon/hildon-picker-dialog.c:
1618 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1619 (hildon_app_menu_class_init):
1620 New "max-height-landscape" and "max-height-portrait" style properties
1621 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1622 (hildon_picker_dialog_get_max_height): returns the maximum height using
1623 the style properties defined and checking the current portrait/landscape
1625 (_hildon_picker_dialog_set_selector): removed the set_size_request
1627 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1629 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1631 * hildon/hildon-bread-crumb-trail.c:
1632 * hildon/hildon-bread-crumb.c:
1633 * hildon/hildon-seekbar.c:
1634 Add reference to replacements for these deprecated widgets.
1636 Fixes: MB#4461 (Documentation: All deprecations should mention
1639 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1641 * examples/hildon-remote-texture-example.c
1643 Change the include to the hildon-remote-texture in order to compile
1644 properly the examples on the installed libhildon1-examples package
1646 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1648 * tests/Makefile.am: Add check for HildonPickerButton.
1649 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1650 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1651 checks for the HildonPickerButton.
1652 * tests/check_test.c (configure_tests): Add the test suite.
1653 * tests/test_suites.h: likewise.
1655 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1657 * hildon/hildon-touch-selector.c
1658 (+on_row_changed): Emit HildonTouchSelector:changed when the
1659 contents of a selected row change.
1660 (_create_new_column), (_hildon_touch_selector_set_model): connect
1661 to GtkTreeModel:row-changed on a newly set model.
1663 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1665 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1667 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1669 * hildon/hildon-banner.c (hildon_banner_destroy)
1670 (hildon_banner_show_progress, hildon_banner_set_fraction):
1671 Remove the progress bar from HildonBanner and use a progress
1674 Fixes: NB#113761 (Update progress banner to use progress
1677 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1679 * hildon/hildon-banner.c:
1680 Calculate size of the banner label using the actual screen width
1681 rather than using a fixed value.
1683 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1686 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1688 * hildon/hildon-pannable-area.c,
1689 (hildon_pannable_area_class_init): Fixed signals documentation
1692 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1694 * configure.ac: post release version bump
1695 * debian/changelog: post release version bump
1697 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1702 * configure.ac: Bump version.
1703 * debian/changelog: Updates.
1705 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1707 * hildon/hildon-edit-toolbar.c
1708 (hildon_edit_toolbar_init):
1709 Don't let buttons in HildonEditToolbar receive focus.
1711 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1712 typing on an HW arrows key)
1714 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1716 * doc/Makefile.am: Fix build.
1718 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1720 * doc/Makefile.am: Do not redefine content_files.
1722 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1730 Renamed src/ to hildon/
1735 Include <hildon/hildon.h> directly in all examples.
1737 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1739 * src/hildon-sort-dialog.c
1740 (hildon_sort_dialog_add_sort_key_with_sorting)
1744 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1746 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1747 make distcheck passes.
1749 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1751 * Makefile.am: Enable gtk-doc during distcheck.
1753 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1755 * Makefile.am: Do not distribute the debian/ directory.
1757 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1759 * doc/Makefile.am: Add the extra SGML files to content_files,
1760 so that they are distributed properly.
1762 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1764 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1767 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1769 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1770 (hildon_note_new_information_with_icon_name): Set the "icon" property
1771 to preserve soundness.
1773 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1775 * src/hildon-font-selection-dialog.c
1776 (hildon_font_selection_dialog_set_property): Fail when the "family"
1777 property is set to NULL.
1779 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1781 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1784 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1786 * src/hildon-time-selector.h:
1787 Added HildonTimeSelectorFormatPolicy
1788 * src/hildon-time-selector.c:
1789 Added PROP_TIME_FORMAT_POLICY
1790 (_check_ampm_format): renamed to check_automatic_ampm_format
1791 (update_format_policy), (update_format_dependant_columns): new functions
1792 (hildon_time_selector_class_init)
1793 (hildon_time_selector_contructor)
1794 (hildon_time_selector_init)
1795 (hildon_time_selector_get_property)
1796 (hildon_time_selector_set_property)
1797 (hildon_time_selector_get_time)
1798 (hildon_time_selector_set_time)
1799 * src/hildon-touch-selector.h: new file
1800 * src/hildon-touch-selector.c
1801 (hildon_touch_selector_emit_changed)
1802 (hildon_touch_selector_block_changed)
1803 (hildon_touch_selector_unblock_changed)
1804 Added functions to allow to block the emission of the "changed" signal
1805 * src/hildon-picker-dialog.c
1806 (hildon_picker_dialog_show): call the parent show before the custom code
1807 * examples/hildon-time-button-example.c
1808 Modified, so now you can configure the time format using the new property
1810 Added a new property "time-format-policy" that allow to choose the time
1811 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1812 case it uses gconf in order to check if the time selector must use
1815 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1818 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1820 * src/hildon-note.c (hildon_note_init):
1821 Label in HildonNote must be left aligned, not centered. This
1822 reverts the last commit in HildonNote.
1824 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1825 is connectivity dialog)
1827 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1832 * doc/hildon-sections.txt:
1833 Added hildon_gtk_window_set_do_not_disturb()
1835 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1837 * src/hildon-note.c (hildon_note_init): Center label.
1839 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1842 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1847 * configure.ac: Bump version.
1848 * debian/changelog: Updates.
1850 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1852 * src/hildon-note-private.h: Add button-width to the private data.
1853 * src/hildon-note.c (+resize_button),
1854 (+hildon_note_orientation_update): methods to repack widgets on orientation
1856 (screen_size_changed): Call above method for confirmation notes.
1857 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1858 (hildon_note_rebuild): Store the original width request from buttons.
1860 Fixes: NB#109635 (Confirmation notes do not support portrait)
1862 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1864 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1865 when it is a progress note.
1867 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1869 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1870 in the note, since there are no horizontally arranged contents.
1872 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1874 * src/hildon-gtk.c (+set_flag): new generic method to
1875 set/delay a flag setting in a window.
1876 (hildon_gtk_window_set_progress_indicator):
1877 (hildon_gtk_window_set_do_not_disturb),
1878 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1879 avoid code redundance.
1881 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1883 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1885 * src/hildon-gtk.c (set_clear_window_flag),
1886 (do_set_progress_indicator), (do_set_do_not_disturb),
1887 (do_set_portrait_flags),
1888 (hildon_gtk_window_set_progress_indicator),
1889 (hildon_gtk_window_set_do_not_disturb),
1890 (hildon_gtk_window_set_portrait_flags):
1891 Allow setting dnd-flag, progress indicator, and portrait flags
1892 when the window is not realized.
1894 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1896 * src/hildon-pannable-area.c,
1897 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1898 the size request policy function and defines.
1900 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1902 * doc/hildon-sections.txt: Add the new API.
1903 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1904 method to set the portrait flags.
1905 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1907 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1909 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1911 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1912 to allow using this method with other flags.
1913 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1914 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1916 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-touch-selector.c
1919 (hildon_touch_selector_append_text_column):
1920 Make the cell renderer use the smallest width possible.
1922 Fixes: NB#108470 (Selected items in multiple selection are either
1923 having a tick that is cut or not visible at all.)
1925 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1927 * src/hildon-touch-selector.c
1928 (hildon_touch_selector_append_text_column):
1931 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1933 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1934 Use g_strdup_printf() instead of a fixed size buffer.
1936 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1939 Close banners when a HildonAppMenu is popped up.
1941 Fixes: NB#111027 (Title menu closed immediately if activated when
1942 "Invalid e-mail address" banner is shown)
1944 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1949 * configure.ac: Bump version.
1950 * debian/changelog: Updates.
1952 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1954 * src/hildon-banner.c (hildon_banner_realize):
1955 Mark HildonBanner as supporting portrait mode.
1956 Use GDK to set window properties insetad of direct Xlib calls.
1958 Fixes: NB#111830 (HildonBanner should be marked as supporting
1961 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1963 * src/hildon-note.c (hildon_note_rebuild):
1964 Hide action area in information notes. Prevents text from being
1965 slightly aligned to the left.
1967 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1970 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1972 Patch by Mox Soini (ext-mox.soini@nokia.com)
1974 * src/hildon-banner.c (hildon_banner_create_animation):
1975 Use stylus-sized icons in animation banner.
1977 Fixes: NB#111206 (stylus sized icon for animation banner)
1979 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1983 (+hildon_gtk_window_set_do_not_disturb):
1984 New API to set the do-not-disturb flag.
1986 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1988 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1990 * examples/hildon-progress-indicator-example.c: Fix example
1992 * src/hildon-gtk.c (set_clear_window_flag)
1993 (hildon_gtk_window_set_progress_indicator):
1994 Create a generic function for setting flags to a window.
1995 Use GDK instead of direct Xlib calls.
1997 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1999 * src/hildon-button.c (hildon_button_set_arrangement):
2000 Due to NB#88126, if one of the labels is too long it will be
2001 painted outside the button. The 'value' label is more likely to be
2002 the longest one, so we change its packing options in order to
2003 truncate it if necessary. As a side effect, the 'title' label will
2004 no longer be truncated.
2006 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2008 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2013 * configure.ac: Bump version.
2014 * debian/changelog: Updates.
2016 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2018 Deprecation of the hildon_pannable_area_set_size_request_policy
2019 API, the only policy properly supported in gtk+ nowadays is the
2022 * src/hildon-pannable-area.c,
2023 (hildon_pannable_area_size_request): Added a workaround for the
2024 size_request to avoid the problems of huge pixmaps in case someone
2025 is still using the function.
2026 * src/hildon-pannable-area.h: Deprecated the enum with the
2029 Fixes: NB#110244 (Problems with the
2030 hildon_pannable_area_set_size_request_policy API)
2032 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2034 * src/hildon-pannable-area.c,
2035 (hildon_pannable_area_init),
2036 (hildon_pannable_area_size_request),
2037 (hildon_pannable_area_style_set),
2038 (hildon_pannable_draw_vscroll),
2039 (hildon_pannable_draw_hscroll),
2040 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2041 indicator_width to clarify the use of the attribute.
2043 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2048 * configure.ac: Bump version.
2049 * debian/changelog: Updates.
2051 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2053 * src/hildon-picker-dialog.c
2054 * src/hildon-touch-selector.c
2055 Reverting the change that tried to avoid the hardcoded height on
2056 the picker dialog, as causes problems on the hildon-touch-selector
2059 Fixes: NB#110029 (selectors not scrolling to selected value)
2061 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2063 * src/hildon-touch-selector.c: Fix typos
2065 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2067 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2068 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2069 request more motions after using it.
2071 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2073 * src/hildon-calendar.c (hildon_calendar_expose),
2074 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2075 Remove unused variables.
2077 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2079 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2080 variable assignment.
2082 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2084 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2085 Check the return value of gtk_tree_selection_get_selected()
2088 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-animation-actor.c
2091 * src/hildon-button.c
2093 * src/hildon-pannable-area.c
2094 * src/hildon-picker-button.c
2095 * src/hildon-program.c
2096 * src/hildon-remote-texture.c
2097 * src/hildon-text-view.c
2098 * src/hildon-touch-selector.c
2099 * src/hildon-window-stack.c
2100 * src/hildon-window.c:
2101 Add missing 'Since: 2.2' tags.
2103 * doc/hildon-sections.txt:
2104 Add some missing symbols.
2106 * doc/hildon-docs.sgml:
2107 New 'Other' section for HildonAnimationActor and
2110 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2112 Patch by Iván Gómez (igomez@igalia.com)
2115 * doc/compiling.sgml
2116 * doc/hildon-docs.sgml
2117 * doc/hildon-sections.txt
2118 * doc/migration.sgml
2119 * doc/resources.sgml
2121 New chapters on using the Hildon library.
2122 Updated the general structure of the reference manual.
2123 Other minor documentation fixes.
2125 * src/hildon-calendar-popup.c
2126 * src/hildon-calendar.c
2127 * src/hildon-controlbar.c
2128 * src/hildon-date-editor.c
2129 * src/hildon-dialog.c
2130 * src/hildon-hvolumebar.c
2131 * src/hildon-number-editor.c
2132 * src/hildon-range-editor.c
2133 * src/hildon-sort-dialog.c
2134 * src/hildon-time-editor.c
2135 * src/hildon-time-picker.c
2136 * src/hildon-volumebar-range.c
2137 * src/hildon-volumebar.c
2138 * src/hildon-vvolumebar.c
2139 * src/hildon-weekday-picker.c:
2140 Add deprecation notes
2142 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2143 Document 'horizontal-movement' and 'vertical-movement' signals.
2145 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2150 * configure.ac: Bump version.
2151 * debian/changelog: Updates.
2153 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2155 * src/hildon-pannable-area.c,
2156 (hildon_pannable_area_class_init): increased the minimum velocity.
2157 (hildon_pannable_area_button_release_cb): Updated the
2158 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2159 setup. Review the code to control that last event.
2161 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2164 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2166 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2168 * src/hildon-get-password-dialog.c
2169 (hildon_get_password_set_property),
2170 (hildon_get_password_get_property), (create_contents):
2171 * src/hildon-login-dialog-private.h:
2172 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2173 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2174 (hildon_login_dialog_get_password):
2175 * src/hildon-set-password-dialog-private.h:
2176 * src/hildon-set-password-dialog.c
2177 (hildon_set_password_set_property),
2178 (hildon_set_password_get_property), (create_contents),
2179 (hildon_set_password_response_change),
2180 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2182 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2183 instead and look more Fremantle style.
2185 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2187 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2189 * doc/hildon-sections.txt
2190 * src/hildon-window-stack.h
2191 * src/hildon-window-stack.c
2192 (+hildon_window_stack_get_windows):
2193 New API to obtain the list of windows on a stack.
2195 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2197 * src/hildon-app-menu.c (hildon_app_menu_popup)
2198 (hildon_app_menu_class_init, -hildon_app_menu_show):
2199 Remove hildon_app_menu_show() and move all its checks to
2200 hildon_app_menu_popup()
2202 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2204 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2205 (_hildon_picker_dialog_set_selector): removed call to
2206 gtk_widget_set_size_request
2207 * src/hildon-touch-selector.c
2208 (_create_new_column): change the pannable size request policy
2210 Avoid to use a hardcoded height for the hildon picker dialog. In order
2211 to get that, we needed to change the hildon pannable size request
2213 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2215 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2217 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2218 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2221 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2223 * debian/control: Depend on osso-system-lock localization package.
2224 * src/hildon-code-dialog.c: Obtain the secu_application_title
2225 translation from osso-system-lock.
2226 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2227 for translation the atk related strings, that's not necessary.
2228 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2229 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2230 cancel button, it is not required.
2232 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2234 * src/hildon-pannable-area.c,
2235 (hildon_pannable_area_class_init): Modified the default value of
2236 the overshooting max speed, we have reduced it.
2238 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2240 * doc/hildon-sections.txt
2241 * src/hildon-window-private.h
2242 * src/hildon-window.h
2243 * src/hildon-window.c (hildon_window_class_init)
2244 (hildon_window_init, hildon_window_finalize)
2245 (hildon_window_realize, hildon_window_get_property)
2246 (hildon_window_set_property, hildon_window_update_markup)
2247 (hildon_window_get_markup, hildon_window_set_markup):
2248 New "markup" property and hildon_window_{get,set}_markup() methods.
2250 * examples/hildon-stackable-window-example.c (new_window):
2251 Update example to use hildon_window_set_markup()
2253 Fixes: NB#106375 (Need API to retitle a window with a title
2256 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2258 * src/hildon-pannable-area.c,
2259 (hildon_pannable_area_class_init): Changed the default value of
2260 the initial_hint to TRUE.
2261 (hildon_pannable_area_initial_effect): Changed the initial effect,
2262 not the effect is just the fade-out of the scrollbars.
2264 Fixes: NB#107775 (No scrollbars can be seen when several items are
2265 available in a dialog)
2267 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2269 * src/hildon-program.c (hildon_program_update_top_most):
2272 Fixes: NB#109179 (Memory leak in Hildon program)
2274 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2276 * src/hildon-banner.c (-get_current_app_window):
2277 Remove unused function.
2279 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2281 * src/hildon-pannable-area.c: Modified the documentation of the
2282 get adjustments functions to explain the problem of using the
2283 adjustment directly.
2284 (hildon_pannable_area_class_init): Improved the explanation about
2287 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2289 * src/hildon-app-menu-private.h
2290 * src/hildon-app-menu.c
2291 (hildon_app_menu_class_init):
2292 Bring back the 'external-border' style property
2293 (hildon_app_menu_class_init, hildon_app_menu_init)
2294 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2295 Set a fixed width-request for the menu, independent of the number
2298 Fixes: NB#94957 (Smoothly opened application menu)
2300 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2302 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2304 * src/hildon-banner.c
2305 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2307 Make sure that the banner is correctly placed the first time it's
2309 (hildon_banner_check_position, -check_fullscreen_state):
2310 Show the banner in the same place no matter if the window is in
2311 fullscreen mode or not.
2313 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2315 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2317 * src/hildon-touch-selector.c (_default_print_func): reorder
2318 concatenation for clarity.
2320 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2323 for multicolumn selectors.
2325 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2327 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2332 * configure.ac: Bump version.
2333 * debian/changelog: Updates.
2335 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2337 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2340 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2342 * configure.ac: removed libcangerra-gtk dependency
2343 * debian/control: removed libcanberra-gtk dependency
2344 * src/Makefile.am: removed libcanberra gtk related flags
2345 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2346 context, and manage a global canberra context instead
2348 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2350 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2352 Patch by Daniel Borgmann (danielb@openismus.com)
2354 * src/hildon-edit-toolbar.c:
2355 Adjust the left padding.
2356 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2357 Paint background of the edit toolbar.
2359 Fixes: NB#107897 (Patch to make editmodetoolbar background
2360 themeable and adjust margin)
2362 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2364 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2366 * src/hildon-program.c (hildon_program_update_top_most):
2367 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2369 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2370 change when the user tasks in/out of an application)
2372 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2374 * configure.ac: added libcangerra-gtk dependency
2375 * debian/control: added libcanberra-gtk dependency
2376 * src/Makefile.am: added libcanberra gtk related flags
2377 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2380 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2382 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-program.c (hildon_program_remove_window)
2385 (hildon_program_add_window): Add checks for the window
2386 parameter. Don't decrease the window counter if the window is not
2389 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2391 * src/hildon-pannable-area.c,
2392 (hildon_pannable_area_realize): Fixed position of the event_window
2393 in the realize method.
2395 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2397 * src/hildon-app-menu-private.h
2398 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2399 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2400 (hildon_app_menu_key_press, hildon_app_menu_init)
2401 (hildon_app_menu_finalize):
2402 Make sure that all idle functions are removed when the widget is
2405 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2407 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2412 * configure.ac: Bump version.
2413 * debian/changelog: Updates.
2415 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2417 * src/hildon-entry.c
2418 (+hildon_entry_show_placeholder),
2419 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2420 that replace hildon_entry_update_contents().
2421 (hildon_entry_set_text),
2422 (hildon_entry_set_placeholder),
2423 (hildon_entry_focus_in_event),
2424 (hildon_entry_focus_out_event): Determine when it is needed
2425 either to show or hide the placeholder and call the above methods.
2427 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2428 when the placeholder text is already set)
2430 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2432 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2433 simple GdkPixbufAnim using the new icons for the banner.
2434 (hildon_banner_show_animation): Use the above mentioned method to
2435 create the animation widget.
2437 Fixes: NB#103564 (Make hildon animation banner use individual
2438 image files as the animation)
2440 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2442 * src/hildon-pannable-area.c,
2443 (hildon_pannable_leave_notify_event): Check if the child is NULL
2444 to avoid sending the leave.
2446 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2448 * src/hildon-pannable-area.c,
2449 (hildon_pannable_area_class_init),
2450 (hildon_pannable_leave_notify_event): Added a handler of the
2451 leave-notify-signal to consider when no motion notify before
2454 Fixes: NB#107494 (Items stay selected when clicking and moving
2455 away when inside pannable area)
2457 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2462 * configure.ac: Bump version.
2463 * debian/changelog: Updates.
2465 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2467 Patch by Alberto Garcia (agarcia@igalia.com)
2469 * src/hildon-date-button.c,
2470 (hildon_date_button_class_init),
2471 (hildon_date_button_init): Removed the construct property handling
2472 and created a default selector in the init method.
2473 * src/hildon-picker-button.c,
2474 (hildon_picker_button_class_init): Removed the construct flag of the
2477 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2479 * src/hildon-main.c (hildon_init):
2480 Don't allow hildon_init() to be called more than once.
2482 Fixes: NB#106607 (hildon_init should issue error message upon
2485 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2487 * examples/hildon-pannable-area-touch-list-example.c
2488 * examples/hildon-pannagle-area-touch-grid-example.c
2489 * examples/hildon-edit-toolbar-example.c
2490 * examples/hildon-touch-selector-multi-cells-example.c
2491 Removed the call to gtk_rc_parse_string, as it is not required since
2494 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2496 * src/hildon-pannable-area.c,
2497 (hildon_pannable_area_class_init): Modified the default panning
2498 threshold of the widget to 6px.
2500 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2501 than the threshold value ) within the button is not sending the
2504 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2506 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2507 for the treeview in the new column. This way, the touch list will never
2510 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2511 be selected manually for the HW keys to work)
2513 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2515 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2516 comparison instead of using strcmp(). Fixes a compiler warning as well.
2518 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2520 * doc/hildon-docs.sgml: Do not set the library version in the
2521 document title, use the releaseinfo tag for that purpose instead.
2523 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2525 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2526 Do not jump to the first item if the text in the entry is removed.
2528 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2533 * configure.ac: Bump version.
2534 * debian/changelog: Updates.
2536 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2538 * src/hildon-entry.c (hildon_entry_refresh_contents):
2539 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2540 Use "ReversedSecondaryTextColor" for the placeholder text.
2542 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2544 * src/hildon-text-view.c: Fix compilation warning.
2546 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2548 * src/hildon-button.c (hildon_button_class_init): Don't make
2549 "title" and "value" construction properties, to prevent them from
2550 overwriting labels set from derived classes.
2552 * src/hildon-picker-button.c
2553 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2554 (hildon_picker_button_class_init): Make touch-selector a
2555 construction property.
2557 * src/hildon-date-button.c (hildon_date_button_class_init)
2558 (+hildon_date_button_constructed): Add a default date selector if
2561 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2563 * src/hildon-touch-selector.c: Small documentation fixes.
2565 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2567 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2569 * src/hildon-entry.c (hildon_entry_refresh_contents),
2570 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2571 widget name, set the logical color directly instead and a boolean
2572 showing_placeholder instead.
2573 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2574 use the widget name here either.
2576 Fixes: NB#105678 (HildonTextView should use logical colours
2577 instead of setting widget name)
2579 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2581 Patch by Daniel Elster (danielk@openismus.com)
2583 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2584 Add user_data parameter.
2585 (hildon_touch_selector_set_print_func_full): New function akin
2586 hildon_touch_selector_set_print_func() but with support for user
2587 data and a destroy callback.
2588 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2589 to clean up the print function user data.
2590 (hildon_touch_selector_class_init): Install dispose function.
2591 (HildonTouchSelectorPrivate::print_user_data),
2592 (HildonTouchSelectorPrivate::print_destroy_func): New private
2594 (hildon_touch_selector_init): Initialize new private members.
2595 (hildon_touch_selector_get_current_text): Pass along user data
2596 to the print function.
2597 (_default_print_func): Add dummy user_data to parameter list.
2598 * hildon-date-selector.c (_custom_print_func): ditto,
2599 * hildon-time-selector.c (_custom_print_func): ditto,
2600 * hildon-touch-selector-entry.c
2601 (hildon_touch_selector_entry_print_func): ditto.
2603 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2605 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2607 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2609 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2611 * src/hildon-pannable-area.c,
2612 (hildon_pannable_area_init),
2613 (hildon_pannable_area_button_press_cb),
2614 (hildon_pannable_area_motion_notify_cb): We have added code to
2615 handle the leave and enter events when using the motion events.
2617 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2619 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2621 * src/hildon-date-button.c (hildon_date_button_get_date)
2622 (hildon_date_button_set_date): Make sure that the button has a
2625 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2627 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2629 * src/hildon-pannable-area.c,
2630 (hildon_pannable_area_class_init),
2631 (hildon_pannable_area_calculate_velocity): Modify the use of the
2632 force and adapt the value.
2634 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2636 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2637 (hildon_app_menu_class_init): Hide the menu if it receives a
2638 delete-event, but don't destroy it
2640 Fixes: NB#104485 (Not able to address the call when application
2641 menu is opened at background)
2643 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-app-menu.c
2646 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2647 Remove the "external-border" style property, let the menu take its
2648 natural size (or the one set by the window manager)
2649 (hildon_app_menu_repack_items):
2650 Don't reshow the menu, avoid flickers.
2652 Partially fixes NB#94957 (Smoothly opened application menu)
2654 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2659 * configure.ac: Bump version.
2660 * debian/changelog: Updates.
2662 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2664 * src/hildon-pannable-area.c,
2665 (hildon_pannable_area_motion_notify_cb): We control that the
2666 direction error margin is used just in case the movement is
2667 allowed in the other direction.
2669 Fixes: NB#105012 (buttons inside a pannable area not getting
2670 release event when dragging/releasing)
2672 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2674 * src/hildon-pannable-area.c,
2675 (hildon_pannable_area_class_init),
2676 (hildon_pannable_area_get_property),
2677 (hildon_pannable_area_set_property),
2678 (hildon_pannable_area_initial_effect),
2679 (hildon_pannable_axis_scroll),
2680 (hildon_pannable_area_button_release_cb): Reviewed the
2681 overshooting effect, now it has its own max
2682 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2683 speed when bouncing.
2685 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2690 * configure.ac: Bump version.
2691 * debian/changelog: Updates.
2693 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2695 * src/hildon-pannable-area.c,
2696 (hildon_pannable_area_class_init): Changed the max speed, now
2697 users can launch the widget very fast. Reduced the default force,
2698 that way it is easier to control the launch speed.
2700 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2702 * src/hildon-pannable-area.c,
2703 (hildon_pannable_area_button_release_cb): Removed this check
2704 because it causes problems when the device is overloaded.
2706 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2708 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2709 add a current_text field to store the text entered in the
2710 touch selector entry.
2711 (_clean_current_selection): clean up the current text as well.
2712 (_save_current_selection), (_restore_current_selection):
2713 Save/restore the text in the entry if the selector is a
2714 HildonTouchSelectorEntry.
2716 Fixes: NB#102541 (value entered in the touch selector entry is not
2717 shown when opened for second time)
2719 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2721 * doc/hildon-sections.txt:
2722 * src/hildon-touch-selector-entry.c
2723 (+hildon_touch_selector_entry_get_entry):
2724 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2726 Fixes: NB#104815 (I need accessor to the entry inside
2727 HildonTouchSelectorEntry)
2729 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2731 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2732 (hildon_app_menu_class_init):
2733 New "filter-vertical-spacing" style property.
2735 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2737 * src/hildon-find-toolbar.c
2738 (hildon_find_toolbar_emit_close)
2739 (hildon_find_toolbar_emit_invalid_input)
2740 (hildon_find_toolbar_entry_activate):
2741 Use g_signal_emit() instead of g_signal_emit_by_name()
2743 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2745 Patch by Mox Soini (ext-mox.soini@nokia.com)
2747 * tests/TEST-CASES.txt
2748 * tests/check-hildon-banner.c
2749 * tests/check-hildon-note.c
2750 * src/hildon-banner.c
2751 * src/hildon-code-dialog.c
2752 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2753 * src/hildon-time-editor.c
2754 * examples/hildon-lookup-example.c (main):
2755 Replace obsolete icon names with new ones.
2757 * src/hildon-find-toolbar-private.h:
2758 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2759 (-hildon_find_toolbar_emit_search):
2760 Remove find button and change icon of close button.
2762 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2764 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2766 * src/hildon-time-button.c (hildon_time_button_new_step):
2767 Use the "touch-selector" property to set the selector directly
2768 when creating the object.
2770 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2772 Added a new example application that allows tuning the pannable
2773 area and replaced defines with properties in order to simplify the
2774 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2775 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2776 PROP_DIRECTION_ERROR_MARGIN.
2778 * examples/hildon-pannable-area-tuning-example.c: New example
2780 * src/hildon-pannable-area.c,
2781 (hildon_pannable_area_class_init),
2782 (hildon_pannable_area_init),
2783 (hildon_pannable_area_get_property),
2784 (hildon_pannable_area_set_property),
2785 (hildon_pannable_area_launch_fade_timeout),
2786 (hildon_pannable_area_adjust_value_changed),
2787 (hildon_pannable_axis_scroll),
2788 (hildon_pannable_area_motion_notify_cb),
2789 (hildon_pannable_area_scroll_cb),
2790 (hildon_pannable_area_button_release_cb): We have converted some
2791 of the defines that control the widget to properties to simplify
2794 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2796 * src/hildon-app-menu.c (hildon_app_menu_map)
2797 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2798 so it's closed if a new window appears.
2800 Fixes: NB#104485 (Not able to address the call when application
2801 menu is opened at background)
2803 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2806 missing 'break' statement in in 'case' construct to avoid
2809 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-touch-selector-entry.c
2812 (hildon_touch_selector_entry_get_property),
2813 (hildon_touch_selector_entry_set_property): Add missing 'break'
2814 statements in in 'case' constructs to avoid incorrect warnings.
2816 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2818 * src/hildon-time-editor.c
2819 (hildon_time_editor_get_time_separators): Do not crash if
2820 the first label is NULL.
2822 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2824 * src/hildon-date-selector.c (_month_days): Check for month to be
2825 strictly less than 12, since otherwise we may overrun the array.
2827 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2829 * src/hildon-date-button.c (+hildon_date_button_new_full)
2830 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2831 (hildon_date_button_init): Set the date selector using a
2832 construction property, to make it happen after HildonButton's
2833 "value" property is set.
2835 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2836 current date by default)
2838 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2840 * doc/hildon-sections.txt
2841 * src/hildon-program.c
2842 * src/hildon-stackable-window.c
2843 * src/hildon-window.c:
2844 Documentation updates
2846 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2849 (hildon_window_stack_new, +hildon_window_stack_set_property)
2850 (+hildon_window_stack_get_property)
2851 (hildon_window_stack_class_init)
2852 (+hildon_window_stack_set_window_group)
2853 (+hildon_window_stack_get_window_group):
2854 Make the window group a construction property.
2856 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2858 * doc/hildon-sections.txt
2859 * src/hildon-stackable-window-private.h
2860 * src/hildon-stackable-window.h
2861 * src/hildon-stackable-window.c
2862 (-hildon_stackable_window_set_app_menu)
2863 (-hildon_stackable_window_get_app_menu)
2864 (-hildon_stackable_window_toggle_menu)
2865 (-hildon_stackable_window_finalize)
2866 (hildon_stackable_window_class_init)
2867 (hildon_stackable_window_init)
2868 * src/hildon-window-private.h
2869 * src/hildon-window.h
2870 * src/hildon-window.c (hildon_window_init)
2871 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2872 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2873 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2874 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2875 Moved all HildonAppMenu code to HildonWindow. The menu does not
2876 require a HildonStackableWindow anymore.
2878 * src/hildon-app-menu.c
2879 * src/hildon-program.c
2880 * examples/hildon-app-menu-example.c (main):
2881 Update examples and documentation to reflect HildonAppMenu
2884 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2886 * src/hildon-remote-texture.c
2887 * src/hildon-animation-actor.c:
2888 Don't include unused private headers.
2890 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2892 * src/hildon-program-private.h
2893 * src/hildon-program.c
2894 (hildon_program_set_common_menu)
2895 (hildon_program_get_common_menu)
2896 (hildon_program_set_common_app_menu)
2897 (hildon_program_get_common_app_menu):
2898 Change common menu pointers from GtkWidget* to GtkMenu* and
2899 HildonAppMenu* to avoid unnecessary casts.
2901 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2903 * src/hildon-window.c (hildon_window_set_main_menu):
2904 Removed incorrect 'Since:' tag
2906 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2908 * src/hildon-pannable-area.c,
2909 (hildon_pannable_area_calculate_velocity): We use now the
2910 RATIO_TOLERANCE here to check the distance, fixed typo in the
2912 (hildon_pannable_area_motion_notify_cb): We have to set the type
2913 and time even if we are not sending the motion.
2915 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2917 * doc/hildon-sections.txt
2918 * src/hildon-app-menu.h
2919 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2920 (+hildon_app_menu_get_filters): New methods to get the contents of
2923 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2926 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2928 * src/hildon-app-menu.c (hildon_app_menu_popup):
2931 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2933 * src/hildon-window.h
2934 * src/hildon-window.c (+hildon_window_get_main_menu)
2935 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2936 and deprecated hildon_window_get_menu().
2938 * src/hildon-stackable-window.h
2939 * src/hildon-stackable-window.c
2940 (+hildon_stackable_window_set_app_menu)
2941 (+hildon_stackable_window_get_app_menu)
2942 (hildon_stackable_window_set_main_menu): Created
2943 hildon_stackable_window_{get,set}_app_menu() and deprecated
2944 hildon_stackable_window_set_main_menu().
2946 * doc/hildon-sections.txt
2947 * examples/hildon-app-menu-example.c (main)
2948 * src/hildon-app-menu.c
2949 * src/hildon-program.c:
2950 Updated examples and documentation.
2952 Fixes: NB#103758 (No way to obtain a menu from a
2953 HildonStackableWindow)
2955 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2960 * configure.ac: Bump version.
2961 * debian/changelog: Updates.
2963 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2965 * examples/hildon-remote-texture-example.c: Include
2966 hildon-remote-texture.h explicitely.
2967 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2968 applications not defining _XOPEN_SOURCE which don't require this header.
2970 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2972 * doc/hildon-sections.txt
2973 * src/hildon-app-menu.h
2974 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2975 New function to pop up a HildonAppMenu
2977 * src/hildon-stackable-window.c
2978 (hildon_stackable_window_toggle_menu):
2979 Use hildon_app_menu_popup() to show the menu.
2981 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2983 * src/hildon-app-menu.c (hildon_app_menu_show)
2984 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2985 menu if there's another window between it and its parent window.
2987 Fixes: NB#100468 (Application menu window is launched even when a
2988 new secondary-window/dialog is pending to be shown/realized)
2990 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2992 * src/hildon-window-stack.c (hildon_window_stack_push)
2993 (hildon_window_stack_pop_and_push):
2994 Don't forget to push/pop the first window.
2995 Reverse the window list before calling _push_list()
2997 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-picker-button.h
3000 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3001 Remove "value_changed" slot to avoid ABI breakage
3003 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3005 * src/hildon-pannable-area.c,
3006 (hildon_pannable_area_realize),
3007 (hildon_pannable_area_unrealize),
3008 (hildon_pannable_draw_vscroll),
3009 (hildon_pannable_draw_hscroll): Changed the method to handle the
3010 GC used to draw the transparent scrollbar, this way we avoid
3011 creating the GC all the time when drawing the scrollbars.
3013 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3015 * src/hildon-pannable-area.c,
3016 (hildon_pannable_area_init),
3017 (hildon_pannable_area_remove): Removed some unnecessary casts.
3018 (hildon_pannable_area_dispose): Disconnected some signals before
3019 releasing the adjustments.
3021 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3023 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3024 Make sure that all widgets contained in the toolbar are shown.
3026 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3028 * doc/hildon-sections.txt
3029 * src/hildon-picker-button.h
3030 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3031 (_selection_changed, hildon_picker_button_on_dialog_response)
3032 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3033 New hildon_picker_button_value_changed() method.
3036 * src/hildon-picker-button-private.h
3037 * src/hildon-picker-button.c (hildon_picker_button_init)
3038 (+hildon_picker_button_disable_value_changed): Add protected
3039 function for disabling the "value-changed" signal.
3041 * src/hildon-date-button.c (hildon_date_button_set_date):
3042 Don't emit "value-changed" for each one of the three columns.
3044 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3045 before actual change of values)
3047 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3049 * src/hildon-pannable-area.c,
3050 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3051 for the treeview overshooting.
3053 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3055 * src/hildon-banner.c (+hildon_banner_bind_style):
3056 Renamed from hildon_banner_bind_label_style(), now naming the
3057 banner itself as well.
3058 (hildon_banner_show_information),
3059 (hildon_banner_show_information_with_markup),
3060 (hildon_banner_show_animation), (hildon_banner_show_progress):
3061 Name the widgets and labels, based on their type.
3063 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3066 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3068 * src/hildon-note.c (hildon_note_set_property): call
3069 hildon_note_rename() on HildonNote:note-type set.
3070 (hildon_note_rename): Name the note and its label, based on the
3071 HildonNote:note-type property.
3073 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3076 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3078 * src/hildon-pannable-area.c,
3079 (hildon_pannable_area_class_init),
3080 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3081 panning parameters, increased SPS and deceleration factor. Added
3082 also a margin to control fake directions.
3084 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3086 Patch by Sven Herzberg (sven@imendio.com)
3088 * configure.ac: Add missing AM_PROG_CC_C_0
3089 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3091 See NB#101420 (Update unit tests and fix make check)
3093 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3095 This patch was applied before but reverted because it caused
3096 problems, we have changed the main condition and tested the
3097 regressions we detected before and they work ok. We have done a
3098 complete review of the topmost algorithm in order to get a more
3101 * src/hildon-pannable-area.c,
3102 (hildon_pannable_area_get_topmost): Added a new parameter to
3103 filter the the windows that do not include those events.
3104 (hildon_pannable_area_button_press_cb),
3105 (hildon_pannable_area_button_release_cb),
3106 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3107 topmost function, we have added the new parameter.
3109 Fixes: NB#97458 (Pannable area prevents propagation of button
3112 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3114 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3115 if all columns in the selector have an item selected.
3116 (_on_dialog_response): Stop "response" signal emission if there is
3117 any selector column without selected items.
3119 Fixes: NB#101889 (Picker dialog should not close when nothing is
3120 selected in multiple selection list)
3122 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3124 * src/hildon-font-selection-dialog.c
3125 (hildon_font_selection_dialog_class_init),
3126 (hildon_font_selection_dialog_init): Remove the preview
3127 button and dialog, since previewing with default theming is likely
3128 to be overcomplicated. The :preview property has now no effect.
3129 Update documentation blurbs to inform about this.
3131 Fixes: NB#92297 (Preview content is not clearly visible for
3132 default colour text)
3134 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3136 Reviewed the geometry that handles the children size and
3137 scrollbar, now it tries a size and reviews the results depending
3138 on the scrollbars visibility.
3140 * src/hildon-pannable-area.c,
3141 (hildon_pannable_area_realize): Fixed a typo.
3142 (hildon_pannable_area_child_allocate_calculate): Added this
3143 function to calculate the child allocation.
3144 (hildon_pannable_area_size_allocate): Reviewed the allocation
3146 (hildon_pannable_area_check_scrollbars),
3147 (hildon_pannable_area_refresh): Refactored refresh function, this
3148 way we can call the code handling the scrollbars without causing a
3149 size_request, it is interesting in the allocate.
3150 (hildon_pannable_area_init): Replace the callbacks of the
3151 value_changed and changed signals to propertly deal with the
3153 (hildon_pannable_area_grab_notify),
3154 (hildon_pannable_area_initial_effect),
3155 (hildon_pannable_area_launch_fade_timeout),
3156 (hildon_pannable_area_adjust_changed),
3157 (hildon_pannable_area_adjust_value_changed),
3158 (hildon_pannable_area_redraw),
3159 (hildon_pannable_area_button_press_cb),
3160 (hildon_pannable_area_button_release_cb),
3161 (hildon_pannable_area_scroll_cb),
3162 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3163 code and use the new functions adjust_changed and
3164 adjust_value_changed.
3166 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3167 Contact editor dialog)
3169 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3174 * configure.ac: Bump version.
3175 * debian/changelog: Updates.
3177 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3179 * src/hildon-pannable-area.c,
3180 (hildon_pannable_area_get_topmost),
3181 (hildon_pannable_area_button_press_cb),
3182 (hildon_pannable_area_button_release_cb),
3183 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3184 topmost function adding the event mask. We have to try a
3185 differente approach because it is still causing problems (NB#9745,
3188 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3190 * src/hildon-banner.c:
3191 Update the maximum width of timed banners.
3192 (force_to_wrap_truncated): Enforce the maximum text width if the
3195 Fixes: NB#102413 (The text margins (wrapping) in information
3196 banner should be HILDON_MARGIN_TRIPLE)
3198 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3200 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3202 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3203 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3204 bound when calculating the scroll indicator position.
3206 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3207 treat ->lower correctly)
3209 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3211 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3212 expose event handling, since it is not necessary to draw the focus
3215 Fixes: NB#102467 (Do not show highlight on the text in
3218 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3221 full height of the toolbar for the button and the label.
3223 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3225 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3226 padding before the label and after the button.
3228 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3232 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3233 Add a GtkVSeparator between the button and the back arrow.
3234 Let the button have automatic size.
3235 Set a name to the widget for theming handling.
3237 Fixes: NB#101793 (Make edit toolbar the same height as window
3238 title bar (use title area theming))
3240 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3242 * src/hildon-helper.c (attach_new_color_element): Fix memory
3245 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3247 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3249 * examples/hildon-button-example.c (common_buttons_window): Don't
3252 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3254 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3255 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3257 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3259 * src/hildon-gtk.c: Check that the window is realized.
3261 Fixes: NB#102225 (Crash setting the progress indicator to a non
3264 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3266 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3267 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3268 instead of modifying the one in the widget style.
3270 Fixes: NB#101043 (Second row of all the command button are
3271 displayed in transparent mode.)
3273 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3275 * src/hildon-date-button.c
3276 * src/hildon-time-button.c: Add gettext macros
3278 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3280 * src/hildon-date-button.c (hildon_date_button_new):
3281 * src/hildon-time-button.c (hildon_time_button_new_step):
3282 Use new logical strings to set the button default title.
3284 Fixes: NB#99915 (Date and Time options are not localised in Date
3287 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3289 * src/hildon-pannable-area.c
3290 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3291 the PANNING_THRESHOLD.
3293 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3295 * src/hildon-pannable-area.c,
3296 (hildon_pannable_area_class_init): Increased the maximum speed.
3297 (hildon_pannable_area_get_property),
3298 (hildon_pannable_area_set_property),
3299 (hildon_pannable_area_timeout): Added a new low friction mode, it
3300 allows the user avoid friction when launching the widget fast
3301 enough. It is interesting to traverse long lists.
3303 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3305 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3306 (+hildon_stackable_window_delete_event): Ignore delete events if
3307 the window is not the topmost one.
3309 Fixes: NB#101698 (Back button long press and delete-event handling)
3311 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3313 * src/hildon-pannable-area.c,
3314 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3315 gtk-dnd-drag-threshold, it was too big. We have defined our own
3316 dnd define and set a smaller value: PANNIG_THRESHOLD.
3318 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3320 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3321 user-defined icons, use always the default one.
3323 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3325 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3327 This patch was applied before but reverted because it caused
3328 problems, we have changed the main condition and tested the
3329 regressions we detected before and they work ok.
3331 * src/hildon-pannable-area.c,
3332 (hildon_pannable_area_get_topmost): Added a new parameter to
3333 filter the the windows that do not include those events. Added
3334 also a condition when finding the window to filter windows that do
3335 not ask for those events.
3336 (hildon_pannable_area_button_press_cb),
3337 (hildon_pannable_area_button_release_cb),
3338 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3339 topmost function, we have added the new parameter.
3341 Fixes: NB#97458 (Pannable area prevents propagation of button
3344 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3346 * tests/check-hildon-color-button.c (START_TEST): do not leak
3349 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-font-selection-dialog.c
3352 (hildon_font_selection_dialog_get_preview_text): Return NULL
3353 instead of FALSE on the g_return_val_if_fail().
3355 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3357 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3358 * src/hildon-date-selector.c
3359 (hildon_date_selector_select_current_date):
3360 Do not compare unsigned integers to be greater than or equal 0,
3361 because it's always TRUE.
3363 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3365 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3366 (hildon_date_selector_constructor): Do not select the current
3367 date until we are handle the "changed" signal, to avoid having bogus
3368 elements in the days model.
3370 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3372 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3373 for num_days, since _month_days() can return a negative value.
3375 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-caption.c (hildon_caption_size_allocate):
3378 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3379 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3381 Initialize allocation variables to 0, to avoid eventually using
3382 unitialized variables.
3384 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3386 * src/hildon-bread-crumb-trail.c
3387 (hildon_bread_crumb_trail_size_allocate):
3388 * src/hildon-calendar.c (hildon_calendar_set_background):
3389 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3390 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3391 * src/hildon-seekbar.c (hildon_seekbar_init):
3392 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3393 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3394 * src/hildon-touch-selector-entry.c
3395 (hildon_touch_selector_get_text_from_model):
3396 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3397 * src/hildon-window.c (hildon_window_finalize):
3399 Remove many unused variables.
3401 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3403 * src/hildon-seekbar.c: (hildon_seekbar_init),
3404 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3406 Remove unnecessary g_assert() calls.
3408 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3410 * src/hildon-caption.c: (hildon_caption_expose),
3411 (hildon_caption_set_property), (hildon_caption_init),
3412 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3413 (hildon_caption_size_request), (hildon_caption_size_allocate),
3414 (hildon_caption_forall), (hildon_caption_set_separator),
3415 (hildon_caption_activate), (hildon_caption_set_child_expand),
3416 (hildon_caption_set_label_text),
3417 (hildon_caption_get_label_alignment):
3419 Remove unnecessary g_assert() calls.
3421 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3423 * src/hildon-banner.c
3424 (hildon_banner_map, hildon_banner_init): Make banner temporary
3425 before mapping it to avoid closing other temporary windows, but
3426 make it non-temporary afterwards to avoid being closed by other
3427 non-temporary windows.
3428 (-hildon_banner_client_event, hildon_banner_init):
3429 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3431 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3434 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3436 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3439 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3441 * src/hildon-remote-texture.c
3442 * src/hildon-remote-texture.h
3443 * src/hildon-remote-texture-private.h
3444 * examples/hildon-remote-texture-example.c:
3445 Updates/fixes to remote-texture and its example.
3447 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3449 Patch by Mox Soini (ext-mox.soini@nokia.com)
3451 * src/hildon-code-dialog.c: Update logical id.
3452 * src/hildon-set-password-dialog.c: Update logical id.
3454 Fixes: NB#100646 (Logical strings is shown for ok in set
3455 password,Password needed dialogs)
3457 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3460 * src/hildon-remote-texture.c
3461 * src/hildon-remote-texture.h
3462 * src/hildon-remote-texture-private.h
3464 Added remote texture widget (for Clutter shared memory textures)
3466 * examples/hildon-remote-texture-example.c
3467 * examples/Makefile.am
3468 Added example file for remote texture usage
3470 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3472 * configure.ac: post release version bump.
3473 * debian/changelog: version bump.
3475 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3480 * configure.ac: Bump version.
3481 * debian/changelog: Updates.
3483 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3485 * src/hildon-date-selector.c (hildon_date_selector_init)
3486 (hildon_date_selector_constructor): Don't connect to the "changed"
3487 signal until the selector is completely constructed.
3489 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3491 * src/hildon-touch-selector.c: (_create_new_column),
3492 (hildon_touch_selector_append_column),
3493 (hildon_touch_selector_set_column_selection_mode),
3494 (hildon_touch_selector_set_active),
3495 (hildon_touch_selector_select_iter):
3496 Emit the HildonTouchSelector::changed signal every time selection
3497 is changed in any of the methods above. This behavior was already
3498 documented but not fully functional.
3500 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3501 selection is programmatically changed)
3503 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3505 * doc/hildon-sections.txt: Remove obsolete icon
3506 sizes from here as well.
3508 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3510 * examples/hildon-stackable-window-example.c (add_window): Remove
3513 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3515 * src/hildon-app-menu.c
3516 (hildon_app_menu_show): Check whether the parent window of a menu
3517 is topmost before popping it up.
3519 Fixes: NB#100468 (Application menu window is launched even when a
3520 new secondary-window/dialog is pending to be shown/realized.)
3522 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3524 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3527 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3529 Patch by Mox Soini (ext-mox.soini@nokia.com)
3531 * src/hildon-banner.c: (hildon_banner_show_animation):
3532 use stylus size instead of obsolete note size.
3533 * src/hildon-defines.h: Update icon sizes.
3535 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3537 * src/hildon-touch-selector-entry.c:
3538 (hildon_touch_selector_entry_init): Disable unsupported
3540 (hildon_touch_selector_entry_get_text_column): Emit a warning
3541 if an unsupported input modes is used and explicitile state
3542 these modes in the documentation.
3544 Fixes: NB#99802 (Hildon touch selector entry not working properly
3545 for some of the input modes)
3547 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3549 * src/hildon-pannable-area.c,
3550 (hildon_pannable_area_init): Added the changed signal handlers of
3553 Fixes: NB#100320 (HildonPannableArea does not listen to
3554 GtkAdjustment "change" signals)
3556 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3558 * doc/hildon-sections.txt
3559 * src/hildon-window-private.h
3560 * src/hildon-window.h
3561 * src/hildon-window.c (hildon_window_init)
3562 (hildon_window_realize, hildon_window_unrealize)
3563 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3564 (hildon_window_size_request, hildon_window_size_allocate)
3565 (hildon_window_forall, hildon_window_show_all)
3566 (hildon_window_destroy, +paint_edit_toolbar)
3567 (+hildon_window_set_edit_toolbar):
3568 New hildon_window_set_edit_toolbar() method, to add a
3569 HildonEditToolbar to a window without having to pack it manually.
3571 Reorganize hildon_window_size_allocate()
3573 * src/hildon-edit-toolbar.c: Update documentation.
3575 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3576 example to use the new API.
3578 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3580 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3582 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3583 Remove from stack before calling parent's hide.
3585 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3587 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3588 window is removed from the middle of the stack, update the
3589 transiency of the previous one.
3591 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3594 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3596 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3597 block/unblock the signal handler if it's not actually being used.
3598 Fixes some critical warnings.
3600 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3602 Based on a patch by Iván Gómez (igomez@igalia.com)
3604 * src/hildon-banner.c
3608 * src/hildon-pannable-area.c
3609 * src/hildon-picker-dialog.c
3610 * src/hildon-wizard-dialog.h
3611 * src/hildon-wizard-dialog.c: Documentation updates.
3613 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3614 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3616 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3618 * configure.ac: post release version bump.
3619 * debian/changelog: version bump.
3621 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3626 * configure.ac: Bump version.
3627 * debian/changelog: Updates.
3629 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3631 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3632 a stock icon nor change the relief of the back arrow.
3634 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3635 graphics from theme)
3637 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3639 * src/hildon-button.c (hildon_button_set_alignment): Use
3640 priv->alignment if the button has no child yet.
3642 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3644 * src/hildon-button.c: (hildon_button_init): Set the
3645 button style during initialization to give it the proper
3648 Fixes: NB#99713 (HildonButton value label color is wrong)
3650 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3652 * src/hildon-touch-selector.c: Document
3653 hildon_touch_selector_center_on_selected()
3655 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3657 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3658 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3659 all menu items, but not the menu itself.
3660 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3661 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3662 items after adding them to the menu so keyboard accelerators work.
3663 (hildon_app_menu_show): Don't show the menu if it contains items
3664 but none of them are visible.
3666 * examples/hildon-app-menu-example.c (create_menu): Use
3667 gtk_widget_show_all() to show all menu items.
3669 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3671 * src/hildon-picker-dialog.c:
3672 (-_update_title_on_selector_changed_cb),
3673 (-_dialog_update_title): Removed.
3674 (_select_on_selector_changed_cb), (_on_dialog_response),
3675 (on_selector_columns_changed): Do not update the dialog title.
3676 (setup_interaction_mode): Do not connect to
3677 HildonTouchSelector::changed signal if there's a "done" button, as
3678 the dialog title doesn't need to be updated.
3680 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3683 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3685 Patch by Kristian Rietveld (kris@imendio.com)
3687 * src/hildon-touch-selector.c: (_create_new_column): Use new
3688 GtkTreeView::hildon-row-tapped signal to react to user interactions
3689 instead of ::changed.
3691 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3692 with some dynamic tree model)
3694 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3696 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3697 (+screen_size_changed, +label_size_request)
3698 (hildon_note_class_init): Make the Hildon information note have a
3699 minimum height, and make its text hvae a maximum width.
3701 Fixes: NB#98614 (Hildon information note (background) should have
3702 minimum height and maximum text width)
3704 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3706 * src/hildon-banner.h
3707 * src/hildon-banner.c (hildon_banner_show_information)
3708 (hildon_banner_show_informationf)
3709 (hildon_banner_show_information_with_markup): Update documentation
3710 to reflect that the icon_name parameter is not used anymore.
3711 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3712 Remove all code from these functions and mark them as deprecated.
3713 (hildon_banner_show_progress): Mark as deprecated.
3715 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3717 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3719 * src/hildon-pannable-area.c,
3720 (hildon_pannable_area_class_init),
3721 (tranparency_color),
3722 (hildon_pannable_draw_vscroll),
3723 (hildon_pannable_draw_hscroll),
3724 (hildon_pannable_area_expose_event): Added a new way to render the
3725 scrollbars of the pannable area avoiding using cairo at all. This
3726 way we improve the performance of the pannable area rendering. The
3727 cairo rendering procedure is still in the code, we can control
3728 which one to use changing the value of the define
3729 USE_CAIRO_SCROLLBARS.
3731 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3733 * configure.ac: post release version bump.
3734 * debian/changelog: version bump.
3736 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3741 * configure.ac: Bump version.
3742 * debian/changelog: Updates.
3744 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3746 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3747 banners instead of destroying them when they receive a button
3750 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3752 Reverted commit 34028, it was causing regressions, probably the
3753 topmost condition is not correct, we have to check it in more
3754 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3755 propagation of button press events)
3757 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3759 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3760 that the selection is not empty before attempting to retrieve the
3761 current ampm selection.
3763 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3765 * src/hildon-picker-button.c:
3766 (hildon_picker_button_on_dialog_response): Directly update the
3767 button contents when required instead of calling _selection_changed.
3769 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3771 * src/hildon-program.c (hildon_program_update_top_most): Update
3772 'is-topmost' property also when wm_hints is not set.
3774 Fixes: NB#98383 (is-topmost signal is not emitted when task
3775 switcher is clicked.)
3777 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3779 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3783 * src/hildon-animation-actor.c,
3784 * src/hildon-animation-actor.h: Added the animation actor class,
3785 this widget represents an animation actor for WM-assisted
3786 animation effects in the Hildon framework.
3788 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3790 * src/hildon-window-stack-private.h
3791 * src/hildon-window-stack.c
3792 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3793 Avoid calling gtk_widget_show() again indirectly from
3794 hildon_stackable_window_show()
3796 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3798 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3801 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3803 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3804 (hildon_time_selector_init): Move the construction of the hours and
3805 ampm columns to the constructor to preserve the order the columns
3808 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3810 * src/hildon-picker-dialog.c:
3811 (hildon_picker_dialog_class_init): Connect a realize method.
3812 (+hildon_picker_dialog_realize): Setup the interaction mode here
3814 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3815 yet, do it during the realize instead.
3816 (_on_dialog_response):
3817 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3818 if the widget is not realized, to avoid the dialog response before it
3821 Avoid premature responses in the HildonPickerDialog that can cause it
3822 to be hidden before it's even shown.
3824 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3826 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3827 (on_selector_columns_changed), (requires_done_button),
3828 (+prepare_action_area), (setup_interaction_mode),
3829 (_hildon_picker_dialog_set_selector):
3831 Split the interaction mode setup into preparation of the
3832 action area (prepare_action_area()) and the connection of
3833 the signals in setup_interaction_mode() and update the code to
3836 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3838 * src/hildon-pannable-area.c,
3839 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3840 per second to 15, we will check if this is ok regarding
3843 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3845 * src/hildon-pannable-area.c,
3846 (hildon_pannable_axis_scroll): Avoid resize if we already have
3847 reached overshoot_max.
3849 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3851 * src/hildon-pannable-area.c,
3852 (hildon_pannable_area_init),
3853 (hildon_pannable_area_realize),
3854 (hildon_pannable_area_size_allocate),
3855 (hildon_pannable_area_map),
3856 (hildon_pannable_area_unmap),
3857 (hildon_pannable_draw_vscroll),
3858 (hildon_pannable_draw_hscroll),
3859 (hildon_pannable_area_expose_event),
3860 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3861 pannable are to avoid the expose events go to the window and
3862 redraw the window. We save this way that part of the stack and the
3863 paint_boxes. We had to change the positions of the elements when
3866 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3868 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3869 * src/hildon-color-chooser-dialog.c:
3870 (hildon_color_chooser_dialog_init):
3871 * src/hildon-font-selection-dialog.c:
3872 (hildon_font_selection_dialog_init),
3873 (hildon_font_selection_dialog_show_preview):
3874 * src/hildon-get-password-dialog.c:
3875 * src/hildon-login-dialog.c:
3876 * src/hildon-set-password-dialog.c:
3877 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3878 * src/hildon-time-picker.c: (hildon_time_picker_init):
3880 Remove obsolete logical string IDs and update to the appropriate ones.
3882 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3884 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3886 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3887 that happens if the window hasn't been realized yet.
3889 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3890 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3892 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3894 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3895 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3898 Fixes: NB#98537 (Device hangs in account settings dialog)
3900 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3902 * configure.ac: post release version bump.
3903 * debian/changelog: version bump
3905 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3910 * configure.ac: Bump version.
3911 * debian/changelog: Updates.
3913 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3915 Added a new function to the HildonTimeButton widget that allows to
3916 change the step of the minutes in the selector associated with the
3917 button: hildon_time_button_new_step
3919 * src/hildon-time-button.c,
3920 (hildon_time_button_init),
3921 (hildon_time_button_new),
3922 (hildon_time_button_new_step):
3923 * src/hildon-time-button.h: Added the new function and refactored
3925 * examples/hildon-time-button-example.c,
3926 (main): We have replaced the function without parameters with the
3927 function with the steps set to 5
3929 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3931 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3933 * src/hildon-time-selector.c,
3934 (hildon_time_selector_class_init),
3935 (hildon_time_selector_constructor),
3936 (hildon_time_selector_get_property),
3937 (hildon_time_selector_set_property),
3938 (_create_minutes_model),
3939 (hildon_time_selector_new_step),
3940 (hildon_time_selector_set_time),
3941 * src/hildon-time-selector.h: Added a new property to the
3942 HildonTimeSelector (minutes-step), we use that property to control
3943 the steps between the minutes in the list of the selector. We have
3944 added a new function to the API to create a widget changing the
3945 step: hildon_time_selector_new_step.
3947 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3949 * src/hildon-time-selector.c,
3950 (hildon_time_selector_class_init),
3951 (hildon_time_selector_constructor),
3952 (hildon_time_selector_init): Overrided the construct function when
3953 creating the time selector object. We have moved the minutes model
3954 handling code from the init to the new construction function:
3955 hildon_time_selector_constructor.
3957 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3959 * examples/hildon-date-button-example.c: (main): Use the new
3960 hildon_date_button_new_with_year_range() method in the example.
3961 * src/hildon-date-button.c:
3962 (+hildon_date_button_new_with_year_range): New public method
3963 to conveniently create a HildonDateButton with a custom year range
3964 in its HildonDateSelector.
3965 * src/hildon-date-button.h: Add the new public method definition.
3967 Fixes: NB#97908 (Not possible to change the year range in
3968 HildonDateSelector/HildonDateButton)
3970 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3972 * src/hildon-date-selector.c:
3973 (+hildon_date_selector_set_property),
3974 (+hildon_date_selector_get_property),
3975 (hildon_date_selector_class_init): Install new properties "min-year"
3976 and "max-year" to define boundaries for the year column.
3977 (_create_year_model): Use the boundary properties to populate the model.
3978 (+hildon_date_selector_new_with_year_range): New public method to
3979 create a HildonDateSelector with a user defined year range.
3980 (hildon_date_selector_select_current_date): Use the new boundaries to
3981 calculate the iterator of current year.
3982 * src/hildon-date-selector.h: Add the new public method definition.
3984 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3986 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3987 Install a constructor method.
3988 (+hildon_date_selector_construct_ui): construct the widget.
3989 (+hildon_date_selector_constructor): new constructor.
3990 (+hildon_date_selector_init): move out widget construction code to
3991 the new constructor.
3993 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3995 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3996 that there's actually a month or year selected before obtaining them.
3997 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3998 of the HildonTouchSelector::changed signal, as it was emitted on every
3999 single item selection.
4001 Fix some warnings and possible crashers due to the selection restoring.
4003 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4005 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4006 the signal handlers only after creating the dialog instead of on every
4009 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4011 * src/hildon-button.c (hildon_button_init)
4012 * src/hildon-check-button.c (hildon_check_button_init)
4013 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4014 focus when clicked by default.
4016 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4018 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4021 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4023 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4024 Alejandro G. Castro (alex@igalia.com)
4026 * src/hildon-picker-dialog.c:
4027 (hildon_picker_dialog_class_init): install new "center-on-show"
4029 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4030 (hildon_picker_dialog_set_property): add setter code for the new
4032 (hildon_picker_dialog_get_property): add getter code for the new
4034 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4035 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4038 Fixes: NB#92849 (Selected item is not always visible when
4039 HildonTouchSelector is shown)
4041 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4043 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4044 Alejandro G. Castro (alex@igalia.com)
4046 * src/hildon-touch-selector.c:
4047 (_create_new_column): Do not connect to the "realize" signal of the
4049 (hildon_touch_selector_append_column): center on the selected items
4050 when a new column is appended.
4051 (hildon_touch_selector_select_iter): Factor out the code to select a
4052 column to hildon_touch_selector_scroll_to().
4053 (+search_nearest_element): Method to retrieve the nearest selected
4054 element to the visible area of the pannable area in a column.
4055 (+on_realize_cb): scroll to the initially selected item.
4056 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4057 the pannable area is realized, otherwise delay this until it is.
4058 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4059 selected items of a given column.
4060 (+hildon_touch_selector_center_on_selected): Public method to center
4061 all columns on the nearest selected item.
4062 * src/hildon-touch-selector.h: Add definition for
4063 hildon_touch_selector_center_on_selected().
4065 Implement public API to ensure visibility of all selected items in
4066 a HildonTouchSelector.
4068 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4070 Fixed a problem in the fading when calling the scroll_to API, and
4071 improve scrollbar fading handling.
4073 * src/hildon-pannable-area.c,
4074 (hildon_pannable_area_grab_notify): avoid the timeout when the
4076 (hildon_pannable_area_button_press_cb),
4077 (hildon_pannable_area_motion_notify_cb): Code style changes.
4078 (hildon_pannable_area_button_release_cb): Review the conditions
4079 when releasing the mouse button to avoid unrequired fading
4081 (hildon_pannable_area_scroll_to): Do not calculate and set the
4082 velocity if the scroll is not required.
4084 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4086 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4087 Don't check whether the new selector is NULL: it cannot be.
4088 Hold a reference to the selector while doing the replacement.
4090 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4092 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4093 unnecessary size_request in a removed widget.
4095 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4097 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4098 an unnecessary reference tracking that was leaking.
4100 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4102 Added delayed motion notify event handling, this way we can
4103 discard redrawing if more than 25 events arrive per second.
4105 * src/hildon-pannable-area.c,
4106 (hildon_pannable_area_init): Initialized the new private atributes
4107 controlling this timeout
4108 (hildon_pannable_area_dispose): Remove the timeout that controls
4109 the motion notify events.
4110 (hildon_pannable_area_scroll): Added a condition to control the
4111 use of the acceleration.
4112 (hildon_pannable_area_motion_event_scroll_timeout),
4113 (hildon_pannable_area_motion_event_scroll): Added this two
4114 functions, they handle the motion notify events inside the
4116 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4117 to the scroll method with the new function.
4118 (hildon_pannable_area_button_release_cb): We have to remove the
4119 timeout handler and move to the last position if the last motion
4120 events were not handled.
4122 Fixes: NB#97028 (Pannable area updates on every motion event)
4124 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4126 * src/hildon-pannable-area.c,
4127 (hildon_pannable_area_get_topmost): Added a new parameter to
4128 filter the the windows that do not include those events. Added
4129 also a condition when finding the window to filter windows that do
4130 not ask for those events.
4131 (hildon_pannable_area_button_press_cb),
4132 (hildon_pannable_area_button_release_cb),
4133 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4134 topmost function, we have added the new parameter.
4136 Fixes: NB#97458 (Pannable area prevents propagation of button
4139 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4141 * src/hildon-pannable-area.c,
4142 (hildon_pannable_area_initial_effect): Added controls before
4143 launching the timeout and the idle functions.
4144 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4145 of the method, in some situations it can return with TRUE and 0 in
4147 (hildon_pannable_area_button_press_cb): We do not need to set
4148 DELAY for fading out here.
4150 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4152 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4154 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4155 post-cleaning if the selection is not NULL.
4157 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4160 all items before restoring the selection.
4162 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4164 * src/hildon-touch-selector.c:
4165 (+hildon_touch_selector_unselect_all):
4166 * src/hildon-touch-selector.h: New API to unselect all items in a
4167 column of the touch selector.
4169 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4171 * src/hildon-pannable-area.c,
4172 (hildon_pannable_area_redraw): Added a call to the refresh
4173 function inside the redraw because apparently in some cases the
4174 change in the adjustment does not imply a size allocate.
4176 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4177 despite the view not being scrollable)
4179 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4181 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4182 leak. Check for NULL before attempting to set the window title.
4184 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4186 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4187 whether to show or not the 'Done' button each time the dialog is
4188 shown, as it depends on the HildonTouchSelector selection mode.
4190 Fixes: NB#96226 (In multiple selection mode Done button is shown
4191 sometimes in listpicker)
4193 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4195 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4196 for the number of columns in the HildonTouchSelector more than once.
4198 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4200 * src/hildon-touch-selector.c: Minor documentation fixes.
4202 * src/hildon-picker-dialog.c (+_dialog_update_title)
4203 (_select_on_selector_changed_cb)
4204 (_update_title_on_selector_changed_cb)
4205 (on_selector_columns_changed): Update dialog title when there's no
4206 'Done' button and also when the number of columns in the selector
4210 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4211 (+_selection_changed, hildon_picker_button_on_dialog_response)
4212 (hildon_picker_button_selector_selection_changed)
4213 (+hildon_picker_button_selector_columns_changed)
4214 (hildon_picker_button_set_selector): Update button value and emit
4215 'value-changed' when the number of columns in the selector
4219 Fixes: NB#96225 (Dialog titles are not shown according to the
4220 values selected in the list picker)
4222 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4224 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4225 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4226 New "arrow-width" and "arrow-height" style properties to set the
4227 size of the arrow button.
4228 Set name of arrow button ("hildon-edit-toolbar-arrow").
4230 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4231 graphics from theme)
4233 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4235 * src/hildon-picker-button.c:
4236 (hildon_picker_button_selector_selection_changed): Use
4237 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4238 the dialog is present.
4240 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4241 the selection is accepted in the dialog)
4243 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4245 * src/hildon-color-chooser.h
4246 * src/hildon-color-chooser-dialog.h:
4247 Added G_BEGIN_DECLS and G_END_DECLS
4249 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4251 (_clean_current_selection): plug a leak in the list.
4253 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-picker-dialog.c:
4256 (+free_path_list): Method to free a GList of GtkTreePaths.
4257 (_clean_current_selection), (_save_current_selection),
4258 (_restore_current_selection): Save the current selection in
4259 as a list of lists, to support multiple selection properly.
4261 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4263 patch by Claudio Saavedra (csaavedra@igalia.com)
4265 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4266 Store the press position.
4267 (+hildon_text_view_button_release_event): If the release position is
4268 close enough to the press position, move the cursor here. Otherwise,
4270 (hildon_text_view_class_init): Override GtkTextView press, release, and
4271 motion event handlers, disabling this way text selection through
4272 pointer interaction, and allowing the container widget to handle the
4275 Fixes: NB#95828 (HildonTextView functionality)
4277 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4279 Based on a patch by Iván Gómez (igomez@igalia.com)
4281 * src/hildon-button.[ch]
4282 * src/hildon-calendar.c
4283 * src/hildon-check-button.c
4284 * src/hildon-date-editor.c
4285 * src/hildon-date-selector.c
4286 * src/hildon-picker-button.c
4287 * src/hildon-time-editor.c
4288 * src/hildon-time-selector.c
4289 * src/hildon-touch-selector.[ch]:
4290 Documentation updates
4292 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4294 * src/hildon-pannable-area.c,
4295 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4296 threshold, it was required due to X events handling.
4298 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4300 * src/hildon-pannable-area.c,
4301 (hildon_pannable_area_grab_notify),
4302 (hildon_pannable_area_initial_effect),
4303 (hildon_pannable_area_button_press_cb),
4304 (hildon_pannable_area_button_release_cb),
4305 (hildon_pannable_area_scroll_cb),
4306 (hildon_pannable_area_scroll_to): Review the timeout management of
4307 the scrollbar, the frecuency was incorrectly set.
4309 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4311 * src/hildon-picker-button.c:
4312 (+hildon_picker_button_on_dialog_response),
4313 (hildon_picker_button_clicked): Present the dialog instead of
4314 running it with gtk_dialog_run().
4316 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4319 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4321 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4322 (hildon_app_menu_finalize): When a window is hidden it doesn't
4323 emit notify::is-topmost, so make sure than the menu also
4324 disappears in that case.
4325 (parent_window_topmost_notify): Renamed from parent_window_hidden
4327 Fixes: NB#94460 (stackable window's menu is not closed when its
4330 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4332 * src/hildon-touch-selector-entry.c:
4333 (+hildon_touch_selector_entry_set_input_mode),
4334 (+hildon_touch_selector_entry_get_input_mode):
4335 * src/hildon-touch-selector-entry.h: New methods to access the input
4336 mode in the selector's entry.
4338 Fixes: NB#93410 (API required for setting IM mode in
4339 HildonTouchSelectorEntry)
4341 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4343 * configure.ac: post release version bump.
4344 * debian/changelog: version bump
4346 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4351 * configure.ac: Bump version.
4352 * debian/changelog: Updates.
4354 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4356 * src/hildon-touch-selector.c:
4357 (_hildon_touch_selector_has_multiple_selection): No need
4358 to initialize the variables here.
4360 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4362 * src/hildon-note-private.h
4363 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4364 (hildon_note_finalize, hildon_note_rebuild): Close information
4365 notes when they receive a button press.
4367 Fixes: NB#89890 (Information notes does not get disappeared after
4370 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4373 mark from the wizard title, as it's not really necessary. Also,
4374 do not display the page title if not set.
4376 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4379 (parent_window_hidden): Use the window's "is-topmost" property to
4380 detect when to hide the menu.
4382 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4385 (hildon_app_menu_finalize): If the parent window of the menu is
4386 hidden, hide the menu too.
4388 Fixes: NB#94460 (stackable window's menu is not closed when its
4391 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4394 * debian/libhildon1-examples.install
4396 * examples/Makefile.am:
4397 Use dh_install to install all examples.
4398 Use DEB_SRCDIR instead of defining SOURCE_DIR
4400 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4402 * configure.ac: post release version bump.
4403 * debian/changelog: version bump
4405 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4410 * configure.ac: bump version
4411 * debian/changelog: updates
4412 * debian/control: bump gtk+ dependency
4414 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4416 patch by Christian Dywan (christian@imendio.com)
4418 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4419 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4421 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-check-button.c (hildon_check_button_init)
4424 (hildon_check_button_class_init, hildon_check_button_style_set)
4425 (hildon_check_button_apply_style):
4426 New "checkbox-size" style property.
4428 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4429 larger / configurable size)
4431 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4433 * configure.ac: post release version bump.
4434 * debian/changelog: version bump
4436 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4441 * configure.ac: bump version
4442 * debian/changelog: updates
4444 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4446 * doc/hildon-sections.txt
4447 * src/hildon-pannable-area.c
4448 * src/hildon-program.c
4449 * src/hildon-time-editor.c
4450 * src/hildon-touch-selector-entry.c:
4452 More documentation updates.
4454 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4456 * doc/hildon-sections.txt
4457 * src/hildon-caption.c
4458 * src/hildon-code-dialog.c
4459 * src/hildon-color-button.c
4460 * src/hildon-controlbar.c
4461 * src/hildon-date-editor.c
4462 * src/hildon-date-selector.c
4463 * src/hildon-edit-toolbar.c
4464 * src/hildon-find-toolbar.c
4465 * src/hildon-font-selection-dialog.c
4467 * src/hildon-program.c
4468 * src/hildon-range-editor.c
4469 * src/hildon-seekbar.c
4470 * src/hildon-time-editor.c
4471 * src/hildon-time-selector.c
4472 * src/hildon-volumebar-range.c
4473 * src/hildon-volumebar.c
4474 * src/hildon-vvolumebar.c
4475 * src/hildon-weekday-picker.c
4476 * src/hildon-window.c
4477 * src/hildon-wizard-dialog.c:
4479 Lots of documentation fixes.
4481 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4483 Patch contributed by Iván Gómez (igomez@igalia.com)
4485 * src/hildon-check-button.c:
4486 * src/hildon-date-button.c:
4487 * src/hildon-date-selector.c:
4488 * src/hildon-dialog.c:
4489 * src/hildon-edit-toolbar.c:
4490 * src/hildon-entry.c:
4491 * src/hildon-picker-button.c:
4492 * src/hildon-program.c:
4493 * src/hildon-text-view.c:
4494 * src/hildon-time-button.c:
4495 * src/hildon-touch-selector-entry.c:
4496 * src/hildon-window-stack.c:
4498 Add more "since" tags to the new API.
4500 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4502 * doc/hildon-sections.txt: Add below method.
4503 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4504 version for the hildonized scale.
4505 * src/hildon-gtk.h: Add the definition.
4507 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4509 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4511 * doc/hildon-sections.txt: Add missing entries for new methods.
4513 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4515 Added API to pannable are in order to get its adjustments. We
4516 added two properties to manage the values we had in the private
4519 * src/hildon-pannable-area.c:
4520 (hildon_pannable_area_class_init): Added hadjustment and
4521 vadjustment properties in order to expose horizontal and vertical
4523 (hildon_pannable_area_get_property),
4524 (hildon_pannable_area_set_property): Added code to handle the new
4526 (hildon_pannable_area_get_hadjustment),
4527 (hildon_pannable_area_get_vadjustment): API functions to get the
4529 * src/hildon-pannable-area.h:
4530 (hildon_pannable_area_get_hadjustment),
4531 (hildon_pannable_area_get_vadjustment): API functions to get the
4534 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4536 Fixed some leaks, after valgrinding.
4538 * src/hildon-touch-selector.c:
4539 (_default_print_func): Fixed a leak.
4540 (hildon_touch_selector_append_column): Fixed a leak.
4541 * src/hildon-date-button.c:
4542 (hildon_date_button_init): Fixed a leak.
4543 * src/hildon-date-selector.c
4544 (hildon_date_selector_finalize): Fixed a leak.
4546 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4548 Based on a patch by Christian Dywan (christian@imendio.com)
4550 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4552 * src/hildon-gtk.h: Add definition.
4554 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4556 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4558 * src/hildon-picker-button.c: (hildon_picker_button_init),
4559 (hildon_picker_button_new): Set the HildonButton::style property
4560 in the init method, to propagate the value to the derived classes.
4562 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4564 * src/hildon-button.c: (hildon_button_class_init): Do not make
4565 the "style" property a construct property.
4567 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4569 * src/hildon-wizard-dialog.h
4570 * src/hildon-wizard-dialog.c
4571 (hildon_wizard_dialog_set_forward_page_func)
4572 * src/hildon-pannable-area.h
4573 * src/hildon-pannable-area.c
4574 (hildon_pannable_area_set_size_request_policy):
4575 Documentation fixes.
4577 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4579 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4581 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4583 * doc/hildon-sections.txt: Added sections file.
4585 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4588 * src/*.[ch]: Updates.
4590 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4592 * examples/hildon-progress-indicator-example.c: new file
4593 * examples/Makefile.am: include the new example program
4595 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4597 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4599 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4601 * configure.ac: post release version bump
4602 * debian/changelog: version bump
4604 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4609 * configure.ac: bump version
4610 * debian/changelog: updates
4611 * debian/control: bump gtk+ dependency
4613 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4615 * src/hildon-dialog.c: Mark as deprecated.
4616 * src/hildon-dialog.h: Mark as deprecated.
4617 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4618 from HildonDialog and still work, even if
4619 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4620 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4622 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4623 maemo changes) instead)
4625 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4627 * src/hildon-pannable_area.h:
4628 * src/hildon-pannable_area.c:
4629 (hildon_pannable_area_class_init),
4630 (hildon_pannable_area_set_property),
4631 (hildon_pannable_area_get_property),
4632 (hildon_pannable_area_size_request),
4633 (hildon_pannable_area_get_size_request_policy),
4634 (hildon_pannable_area_set_size_request_policy): Added new API
4635 allowing applications to control the request policy. Now they can
4636 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4637 children allocation (HILDON_MOVEMENT_CHILDREN).
4639 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4643 (hildon_gtk_tree_view_set_ui_mode)
4644 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4645 mode of treeviews and iconviews.
4647 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4649 * src/hildon-touch-selector-entry.c:
4650 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4651 of a GtkEntry to get proper theming.
4653 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4654 widget, not GtkEntry)
4656 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4658 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4659 no HildonWizardDialogPageFunc.
4661 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4663 Patch contributed by Iván Gómez (igomez@igalia.com)
4665 * src/hildon-app-menu.c:
4666 * src/hildon-button.c:
4667 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4668 * src/hildon-stackable-window.c:
4669 * src/hildon-time-selector.c:
4670 * src/hildon-touch-selector.c:
4671 * src/hildon-window.c:
4673 Add more "since" tags to the new API in hildon 2.2.
4675 2008-12-05 Tim Janik <timj@imendio.com>
4677 Patch contributed by Christian Dywan (christian@imendio.com)
4679 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4680 HildonSizeType, which are supplied by Gtk+ now.
4682 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4684 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4685 (with maemo changes) instead)
4687 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4689 Patch contributed by Iván Gómez (igomez@igalia.com)
4691 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4694 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4696 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4697 (some_page_func), (main): Update the example to use a
4698 HildonWizardDialogPageFunc function.
4700 * src/hildon-wizard-dialog-private.h: Add private data for
4701 the HildonWizardDialogPageFunc function usage.
4703 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4704 (destroy), (hildon_wizard_dialog_init), (response),
4705 (hildon_wizard_dialog_set_forward_page_func):
4706 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4707 that applications can use to stop a HildonWizardDialog to jump to
4710 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4713 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4715 * src/hildon-program.h
4716 * src/hildon-program-private.h
4717 * src/hildon-program.c (hildon_program_init)
4718 (hildon_program_set_common_app_menu)
4719 (hildon_program_get_common_app_menu):
4720 New API for setting a common HildonAppMenu for all
4721 HildonStackableWindows registered with the HildonProgram.
4723 * src/hildon-stackable-window.c
4724 (hildon_stackable_window_toggle_menu):
4725 Use the common HildonAppMenu if a window doesn't have a specific
4728 * src/hildon-app-menu-private.h
4729 * src/hildon-app-menu.c
4730 (hildon_app_menu_get_parent_window):
4731 Function to obtain the window a HildonAppMenu is attached to.
4732 (hildon_app_menu_set_parent_window):
4733 Hide the menu if the parent window is set to NULL.
4735 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4737 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4738 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4739 search widget to popup.
4741 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4743 * configure.ac: post release version bump
4744 * debian/changelog: version bump
4746 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4751 * configure.ac: bump version
4752 * debian/changelog: updates
4754 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4756 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4758 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4759 (hildon_window_stack_window_realized)
4760 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4761 Set the leader GdkWindow when a window is stacked and realized,
4762 unset it when it's unstacked.
4763 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4765 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4767 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4769 * src/hildon-stackable-window.h
4770 * src/hildon-window-stack.h:
4771 Protect definition of HildonWindowStack using the preprocessor.
4773 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4775 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4776 Fix warning if all menu items are hidden.
4778 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4780 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4782 * src/hildon-controlbar.c:
4783 * src/hildon-hvolumebar.c:
4784 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4785 Multiple scale size defines updates.
4787 Fixes: NB#94322 (Scale Updates)
4789 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4791 * examples/hildon-app-menu-example.c (create_menu)
4792 Show items after adding them to the menu, as in the future the
4793 menu will no longer call gtk_widget_show() on the added items.
4795 * src/hildon-app-menu.c:
4796 Update example as explained above.
4798 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4800 * src/hildon-app-menu.c
4801 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4802 Make sure that all menu items have finger height.
4804 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4806 * src/hildon-picker-dialog.c:
4807 (_on_dialog_response), (_save_current_selection),
4808 (_restore_current_selection), (_clean_current_selection),
4809 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4810 Defined new functions in order to save the current internal selector
4811 selection previous open the dialog, in case that the use cancel the
4812 interaction, so the widget restores the previous selection.
4814 Fixes: NB#92032 (In calendar application, date values in 'new event'
4817 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4819 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4821 * src/hildon-button.c: Add a reference to the button examples in
4822 hildon-button-example.c
4824 * examples/hildon-button-example.c: Added examples of the most
4825 common button layouts.
4827 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4829 * src/hildon-app-menu.c (hildon_app_menu_show)
4830 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4832 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4834 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4836 * src/hildon-picker-dialog.c:
4837 (hildon_picker_dialog_init): Initialize the signal id for
4838 HildonTouchSelector::columns-changed.
4839 (+on_selector_columns_changed): Set up the interaction mode everytime a
4840 column is added or removed from the HildonTouchSelector.
4841 (_hildon_picker_dialog_set_selector): Connect to
4842 HildonTouchSelector::columns-changed and keep track of it.
4844 Make sure to update the interaction mode of the dialog everytime a
4845 column is added or removed in the HildonTouchSelector.
4847 Fixes: NB#93228 (Done button is not shown always in listpicker)
4849 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4851 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4852 a new ::columns-changed signal.
4853 (hildon_touch_selector_append_column): Emit ::columns-changed.
4854 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4856 Add a ::columns-changed signal, emitted when the number of columns in a
4857 HildonTouchSelector changes.
4859 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4861 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4862 (_hildon_picker_dialog_set_selector): Factor out the code
4863 to set up the dialog interaction mode.
4865 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4867 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4868 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4869 to signal_changed_id.
4871 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4873 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4876 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4878 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4879 Updated the logical ids related to ampm format, as now it is required to
4880 show it correctly localized even on languages with no default
4881 abbreviations for am or pm
4882 (_check_am_pm_format): check correctly the 24h format gconf property
4884 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4886 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4888 * src/hildon-button.c: Documentation updates.
4890 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4892 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4893 * src/hildon-caption.c: (hildon_caption_class_init):
4894 * src/hildon-color-button.c: (hildon_color_button_class_init):
4895 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4896 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4897 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4898 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4900 Remove deprecated GTK+ marshalers and replace them with the ones
4901 provided by GLib, for those available, add a marshaler for
4902 BOOLEAN:VOID, which is not available in GLib, and use it.
4904 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4906 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4907 the text from the previous column if there is no
4908 HildonTouchSelectorColumn::text-property set.
4910 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4912 * src/hildon-button.h
4913 * src/hildon-button.c (hildon_button_set_property)
4914 (hildon_button_get_property, hildon_button_class_init)
4915 (hildon_button_set_style, hildon_button_get_style):
4916 New "style" property to change the visual appearance of the
4919 * src/hildon-picker-button.c (hildon_picker_button_new):
4920 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4922 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4923 HildonButton look like PickerButton)
4925 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4927 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4928 column while building the default string.
4930 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4932 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4933 scroll indicator by default.
4935 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4937 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4939 * src/hildon-main.c: Fix the documentation for hildon_init()
4941 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4943 * doc/hildon-docs.sgml
4947 * src/hildon-window-stack-private.h
4948 * src/hildon-window-stack.h
4949 * src/hildon-window-stack.c:
4950 New HildonWindowStack object, that adds support for multiple
4951 stacks of windows per process.
4953 * src/hildon-stackable-window-private.h
4954 * src/hildon-stackable-window.h
4955 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4956 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4957 (hildon_stackable_window_show, hildon_stackable_window_hide)
4958 (hildon_stackable_window_class_init)
4959 (hildon_stackable_window_init):
4960 Use HildonWindowStack for stack management.
4962 * src/hildon-program.c (hildon_program_pop_window_stack)
4963 (hildon_program_peek_window_stack)
4964 (hildon_program_go_to_root_window):
4965 Add a fallback implementation to the deprecated functions using
4968 * examples/hildon-stackable-window-example.c:
4969 Use the new HildonWindowStack API.
4971 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4973 * src/hildon-stackable-window-private.h
4974 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4975 (hildon_stackable_window_hide, hildon_stackable_window_init):
4976 Remove all window stack management.
4978 * src/hildon-program-private.h
4979 * src/hildon-program.h
4980 * src/hildon-program.c (hildon_program_init)
4981 (hildon_program_pop_window_stack)
4982 (hildon_program_peek_window_stack)
4983 (hildon_program_go_to_root_window):
4984 Remove all window stack management and mark functions as
4987 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4989 * src/hildon-app-menu.c (hildon_app_menu_realize):
4990 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4992 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4994 * configure.ac: post release version bump
4995 * debian/changelog: version bump
4997 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5002 * configure.ac: bump version
5003 * debian/changelog: updates
5005 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5007 Based on initial code by Christian Dywan (christian@imendio.com)
5009 * doc/hildon-docs.sgml: Add section for hildon-main.
5010 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5011 * src/Makefile.am: Add new hildon-main.[ch]
5012 * src/hildon-defines.h: Update the icon sizes.
5013 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5014 new library initialization files and register icon sizes.
5015 * src/hildon-main.h: New declarations.
5016 * src/hildon.h: Include hildon-main.h
5018 Add new initialization functions to the library. These methods
5019 will register the hildon specific icon sizes and can be used in the
5020 future for other hildon specific bits.
5022 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5024 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5026 * src/hildon-window.c: (hildon_window_realize),
5027 (hildon_window_notify), (-hildon_window_update_title): Do not set
5028 the application name in the window title.
5030 Fixes: NB#89754 (Applications shouldn't display their names in the
5033 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5035 * src/hildon-note-private.h:
5036 * src/hildon-note.c: (hildon_note_set_property),
5037 (hildon_note_get_property), (hildon_note_class_init),
5038 (hildon_note_init), (hildon_note_finalize),
5039 (hildon_note_new_confirmation_with_icon_name),
5040 (hildon_note_new_information_with_icon_name):
5042 No need to mark as deprecated the actual code. Revert
5043 to avoid missing symbols in widgets using deprecated API.
5045 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5047 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5049 * src/hildon-volumebar.h
5050 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5051 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5053 * src/hildon-helper.h
5054 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5055 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5057 * examples/Makefile.am:
5058 Deprecate hildon-insensitive-example
5060 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5062 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5064 * examples/hildon-pannable-area-buttons-scroll-example.c:
5065 Make all buttons finger height
5067 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5069 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5071 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5072 update the day model only if it is really required, and to avoid the
5073 full-reconstruction aproach. Now it only add or remove the required days.
5075 The purpose of this is avoid superfluous HildonTouchSelector::changed
5078 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5079 with strange parameters)
5081 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5083 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5085 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5086 the WINDOW_TYPE property.
5088 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5090 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5093 Fix dependency to allow parallel compilation with make -jX
5095 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5097 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5098 color frame and some minor tweaks to make it more consistent with
5101 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5102 highlighted but not visible)
5104 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5106 * examples/Makefile.am: Fixed typo in the Makefile.am.
5108 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5110 Reviewed the use of MAEMO_GTK define, now we add the define in the
5111 compilation line, and we also add it to the pc file.
5113 * configure.ac: Added MAEMO_GTK define to the compilation command
5114 and removed it from the config.h.
5116 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5117 do not have to take care about this define if the library was
5121 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5123 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5125 * examples/Makefile.am,
5126 * examples/hildon-pannable-area-buttons-scroll-example.c,
5127 * examples/hildon-pannable-area-gesture-signals-example.c,
5128 * examples/hildon-pannable-area-scroll-jump-example.c,
5129 * examples/hildon-pannable-area-tree-view-example.c:
5130 Renamed the pannable area examples, now they have more meaningful
5133 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5135 * src/hildon-touch-selector.c:
5136 (hildon_touch_selector_set_column_selection_mode): Used of
5137 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5138 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5139 to avoid re-seting the same selection mode.
5141 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5142 breaks HildonPickerDialog)
5144 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5146 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5147 conditional in the Makefile.am
5149 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5151 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5152 Remove unused methods.
5154 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5156 * src/hildon-button.c (hildon_button_init):
5157 Make button images center-aligned by default
5159 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5162 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5163 activated, we have to think about how to deal with both defines
5164 MAEMO_GTK and MAEMO_CHANGES.
5166 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5168 * examples/hildon-app-menu-example.c (create_menu): Make all
5169 buttons finger size.
5171 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5173 Fixed the compilation without maemo gtk adding ifdefs with
5174 MAEMO_GTK define to the code, we have to check this version more
5177 * examples/Makefile.am: Added control to avoid some examples that
5178 just make sense with maemo gtk.
5181 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5182 hildon modes with the define.
5184 * examples/hildon-edit-toolbar-example.c,
5185 (create_icon_view): Create the icon view without hildon-gtk
5186 helpers if we are not using maemo gtk.
5188 * src/hildon-touch-selector.c,
5189 (_create_new_column): Create the treeview without hildon-gtk
5190 helpers if we are not using maemo gtk.
5192 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5194 * src/hildon-pnnable-area.c,
5195 (hildon_pannable_area_dispose),
5196 (hildon_pannable_area_button_press_cb),
5197 (hildon_pannable_area_child_mapped),
5198 (hildon_pannable_area_add),
5199 (hildon_pannable_area_remove): Added code to control the position
5200 of the event_window when adding and removing children from the
5201 pannable. We have to raise the event window when the child is
5204 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5205 selection mode using custom widget inside pannable)
5207 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5209 * configure.ac: post release version bump
5210 * debian/changelog: version bump
5212 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5217 * configure.ac: bump version
5218 * debian/changelog: updates
5220 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5222 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5223 search mode, in order to avoid lose the focus on the treeview when
5224 a hw key (like enter) is pressed.
5226 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5227 in HildonDateSelector dialog)
5229 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5231 * debian/rules: Added --enable-maintainer-mode
5232 * Makefile.am: Added ACLOCAL_AMFLAGS
5234 This allows to properly regenerate the Makefiles if you modify the
5235 configure.ac or any Makefile.am.
5237 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5239 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5240 properties, not needed at all.
5242 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5244 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5246 * src/hildon-note.c: (hildon_note_set_property),
5247 (hildon_note_get_property), (hildon_note_class_init),
5248 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5249 (hildon_note_new_confirmation_add_buttons): Remove icons.
5250 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5251 (hildon_note_new_information_with_icon_name): Deprecate.
5252 (hildon_note_new_confirmation): Act directly, without calling
5253 the deprecated constructor.
5254 (hildon_note_new_information): Act directly, without calling
5255 the deprecated constructor.
5256 * src/hildon-note.h: Mark deprecate methods as such.
5257 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5258 not run tests on the deprecated methods if built with deprecation
5261 Fixes: NB#91688 (Never show icons in information notes/confirmation
5264 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5266 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5267 (hildon_app_menu_key_press): Remove leftover usage of the
5268 private structure in HildonAppMenu struct.
5269 * src/hildon-app-menu.h: Remove leftover private structure
5270 from the HildonAppMenu struct.
5272 Fixes a crasher when using the HildonAppMenu.
5274 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5276 * src/hildon-picker-dialog.c: Use appropriate logical id
5277 for the default "Done" text.
5279 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5281 * configure.ac: post release version bump
5282 * debian/changelog: version bump
5284 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5286 Modified the way to scroll to the current selection just when the touch
5287 selector is shown on the screen, avoiding a g_idle. Added too a property
5288 to configure this behaviour. See hildon_pannable_area_jump_to_child
5289 documentation for more information.
5291 * src/hildon-touch-selector.c
5292 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5293 Added 'initial-scroll' property
5294 (hildon_touch_selector_set_property): Added
5295 (hildon_touch_selector_map): Removed as not required anymore
5296 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5297 only a concrete column, instead of iterate along all the columns
5299 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5304 * configure.ac: bump version
5305 * debian/changelog: updates
5307 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5309 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5310 compilation time warnings.
5312 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5314 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5315 the default value for HildonPannableArea::mov-mode to
5316 HILDON_PANNABLE_AREA_MODE_VERT.
5318 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5320 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5322 Reverting following commit:
5324 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5326 * src/hildon-app-menu-private.h
5327 * src/hildon-app-menu.[ch]
5328 * src/hildon-button.[ch]
5329 * src/hildon-check-button.[ch]
5330 * src/hildon-entry.[ch]
5331 * src/hildon-pannable-area.[ch]
5332 * src/hildon-text-view.[ch]:
5333 Added private field to the object's structure.
5335 because it causes an ABI breakage. We will need to introduce these
5336 changes later at some point. See NB#91636 for an extensive
5337 explanation and status.
5339 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5341 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5343 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5344 remove special cases that are no longer necessary.
5346 Fixes: NB#91016 (Change toolbar sizes, simplification)
5348 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5350 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5351 is shown in the cancel note.
5353 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5355 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5356 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5357 (hildon_seekbar_init): Remove steppers, remove expose event.
5358 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5360 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5362 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5364 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5365 label font to "SmallSystemFont" for vertically arranged buttons.
5367 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5370 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5372 * src/hildon-check-button.c
5373 (hildon_check_button_set_active, hildon_check_button_clicked):
5374 Don't access private parts directly, use getters instead.
5376 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5378 * src/hildon-check-button.c (hildon_check_button_new):
5379 Align the contents of the check button to the left.
5381 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5383 * src/hildon-pannable-area.c,
5384 (hildon_pannable_area_scroll_to),
5385 (hildon_pannable_area_jump_to),
5386 (hildon_pannable_area_scroll_to_child),
5387 (hildon_pannable_area_jump_to_child): Replace the mapped
5388 precondition of these functions with the realized, it is the
5389 correct state of the widget in this case. Changed the
5390 documentation according to this modification.
5392 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5394 Added a new EXTRA_CFLAGS option to add the deprecated define to
5395 the compilation command. This way we can avoid using the define in
5396 the documentation compilation.
5398 * configure.ac: Defined EXTRA_CFLAGS.
5400 * examples/Makefile.am:
5402 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5404 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5406 * src/hildon-picker-dialog.c:
5407 Defined a utility macro with the desired touch selector height
5408 Removed currently unused separator, and title_label variables from
5410 (hildon_picker_dialog_init): Removed code related to the creation
5411 of unused private variables title_label and separator.
5412 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5413 to ensure correct visualization of the touch selector inside the dialog.
5414 * src/hildon-touch-selector.c
5415 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5416 ensure a concrete height of the widget.
5418 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5421 * tests/Makefile.am:
5423 Remove spurious whitespaces.
5425 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5427 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5428 compilation warning after the cancel button removal.
5430 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5432 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5434 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5435 Makefile.am, that way we can choose not to compile some examples
5436 and tests of the deprecated widgets.
5438 * examples/Makefile.am: Divided the sources in deprecated and
5441 * src/Makefile.am: Added undef statement of the deprecated
5442 symbol to the enums file generation process.
5444 * src/hildon-color-chooser-dialog.c
5445 * src/hildon-color-chooser-dialog.h
5446 * src/hildon-color-button.c
5447 * src/hildon-color-button.h
5448 * src/hildon-color-chooser.c
5449 * src/hildon-color-chooser.h
5450 * src/hildon-controlbar.c
5451 * src/hildon-controlbar.h
5452 * src/hildon-date-editor.c
5453 * src/hildon-date-editor.h
5454 * src/hildon-hvolumebar.c
5455 * src/hildon-hvolumebar.h
5456 * src/hildon-private.c
5457 * src/hildon-private.h
5458 * src/hildon-range-editor.c
5459 * src/hildon-range-editor.h
5460 * src/hildon-seekbar.c
5461 * src/hildon-seekbar.h
5462 * src/hildon-time-editor.c
5463 * src/hildon-time-editor.h
5464 * src/hildon-time-picker.c
5465 * src/hildon-time-picker.h
5466 * src/hildon-volumebar.c
5467 * src/hildon-volumebar.h
5468 * src/hildon-vvolumebar.c
5469 * src/hildon-vvolumebar.h
5470 * src/hildon-bread-crumb-trail.h
5471 * src/hildon-bread-crumb-trail.c
5472 * src/hildon-calendar-popup.c
5473 * src/hildon-calendar-popup.h
5474 * src/hildon-weekday-picker.c:
5475 * src/hildon-weekday-picker.h:
5476 * src/hildon-bread-crumb-widget.c:
5477 * src/hildon-bread-crumb-widget.h:
5478 * src/hildon-bread-crumb.c:
5479 * src/hildon-bread-crumb.h:
5480 * src/hildon-calendar.c:
5481 * src/hildon-calendar.h:
5482 * src/hildon-caption.c:
5483 * src/hildon-code-dialog.c:
5484 * src/hildon-code-dialog.h:
5485 * src/hildon-font-selection-dialog.c:
5486 * src/hildon-font-selection-dialog.h:
5487 * src/hildon-get-password-dialog.c:
5488 * src/hildon-get-password-dialog.h:
5489 * src/hildon-login-dialog.c:
5490 * src/hildon-login-dialog.h:
5491 * src/hildon-number-editor.c:
5492 * src/hildon-number-editor.h:
5493 * src/hildon-set-password-dialog.c:
5494 * src/hildon-set-password-dialog.h:
5495 * src/hildon-sort-dialog.c:
5496 * src/hildon-sort-dialog.h: This is the list of deprecated
5499 * src/hildon-touch-selector.c:
5500 * src/hildon-window.c: Added undef statement to avoid compilation
5503 * tests/Makefile.am: Divided the sources in deprecated and
5506 * tests/check_test.c,
5507 (configure_tests): Marked the deprecated code that was adding
5508 suites with deprecated tests.
5510 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5512 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5514 * src/hildon-touch-selector.c: (_default_print_func): Do not
5515 duplicate a string returned by gtk_tree_model_get(), it is already
5518 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5521 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5523 * src/hildon-pannable-area.c
5524 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5525 method, it had problems when adding a widget with viewport the
5526 second time. Now checks if it already has a viewport and uses it.
5528 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5531 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5533 * src/hildon-pannable-area.c,
5534 (hildon_pannable_area_scroll_to),
5535 (hildon_pannable_area_jump_to),
5536 (hildon_pannable_area_scroll_to_child),
5537 (hildon_pannable_area_jump_to_child): Added a precondition to the
5538 scroll and jump to functions: the widget must be mapped before we
5539 can safely call these functions. We have also added documentation
5540 to the functions to explain how to use them in this situation.
5543 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5545 Reviewed the threading handling of the pannable widget, we have
5546 used the gdk_threads_add_timeout function instead of the usual
5547 glib handlers. This avoids some problems with the threads.
5549 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5550 (hildon_pannable_area_initial_effect),
5551 (hildon_pannable_area_scroll_indicator_fade),
5552 (hildon_pannable_area_button_press_cb),
5553 (hildon_pannable_area_timeout),
5554 (hildon_pannable_area_motion_notify_cb),
5555 (hildon_pannable_area_button_release_cb),
5556 (hildon_pannable_area_scroll_cb),
5557 (hildon_pannable_area_scroll_to): Removed the
5558 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5559 gdk_threads_add_timeout.
5561 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5563 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5568 * configure.ac: bump version
5569 * debian/changelog: updates
5571 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5573 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5574 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5575 * src/hildon-color-chooser-dialog.c:
5576 (hildon_color_chooser_dialog_init):
5577 * src/hildon-font-selection-dialog.c:
5578 (hildon_font_selection_dialog_init):
5579 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5581 Remove all cancel/close-like dialogs, as these are not going to be
5584 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5586 * src/hildon-note.c: (hildon_note_rebuild),
5587 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5590 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5592 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5594 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5595 sure all buttons are shown, even the Cancel/Close-like ones.
5597 Fixes: NB#90861 (Custom Confirmation dialogs should be
5598 protected from cancel button removal)
5600 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5602 * debian/control: Change libhildon1-examples dependency from libhildon1
5604 * debian/libhildon1-examples.install
5606 * Makefile.am: Modified the final install directory for the examples on
5607 package libhildon1-examples
5608 * Makefile.static: Update clean target in order to remove all the binary
5611 Changes suggested by Claudio after review new libhildon1-examples package
5613 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5615 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5616 * src/hildon-touch-selector.c: Ditto.
5618 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5620 * debian/control: Added new package libhildon1-examples, in order to pack
5621 the current hildon examples as documentation
5622 * debian/rules: Not to compress .c files, modify some includes on the
5623 examples (as normally are compiled locally, but when installed it will
5624 require to include the installed libhildon1 library), and rename
5626 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5627 install all the example files on the new example package
5628 * examples/Makefile.static: Added static makefile that can be used to
5629 compile the examples, once installed the new example package
5630 * examples: Most of the examples were modified in order to grant that
5631 all use only '#include "hildon.h"', in order to be easy to prepare
5632 it on the example package
5634 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5637 * debian/libhildon1-dev.install
5638 * debian/libhildon1-doc.install:
5639 Move all gtk-doc files to a separate libhildon1-doc package.
5641 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5643 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5645 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5647 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5649 * debian/rules: Fixed a error in order to avoid unnecessary calls
5650 to autogen.sh on package building
5652 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5654 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5656 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5658 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5661 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5663 * src/hildon-picker-button.c
5664 (hildon_picker_button_finalize):
5665 Free priv->done_button_text
5667 * src/hildon-time-button.c
5668 (hildon_time_button_set_time)
5669 * src/hildon-picker-button.c
5670 (hildon_picker_button_clicked)
5671 (hildon_picker_button_selector_selection_changed)
5672 (hildon_picker_button_set_selector)
5673 * src/hildon-date-button.c
5674 (hildon_date_button_set_date):
5675 Free strings returned by hildon_touch_selector_get_current_text()
5677 * src/hildon-button.c (hildon_button_construct_child):
5678 Fix leaks in priv->image and priv->label_box
5680 Fixes: NB#90535 (Memory leak in picker button)
5682 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5684 * src/hildon-button.c: (hildon_button_get_property): Do not access
5685 private elements directly, use getters instead.
5687 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5689 * src/hildon-app-menu-private.h
5690 * src/hildon-app-menu.c
5691 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5692 Store the menu's parent window.
5694 * src/hildon-stackable-window.c
5695 (hildon_stackable_window_toggle_menu)
5696 (hildon_stackable_window_finalize):
5697 Set the menu's parent window when the menu is shown, unset it when
5700 * src/hildon-app-menu.c
5701 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5702 (hildon_app_menu_class_init):
5703 Send unhandled keyboard accelerators to the parent window.
5705 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5707 * src/hildon-stackable-window.c
5708 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5710 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5712 * configure.ac: post release version bump
5714 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5717 * configure.ac: Bump version
5718 * debian/changelog: Updates
5719 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5722 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5724 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5727 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5728 GtkMenu with Hildon style.
5730 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5732 * src/hildon-picker-button.c:
5733 (hildon_picker_button_set_done_button_text): Set the dialog's
5734 done button text here as well.
5736 Fixes: NB#90232 (Picker button does not set the label on done button
5737 for the second time)
5739 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5741 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5744 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5746 * src/hildon-app-menu.c (hildon_app_menu_insert)
5747 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5748 the HildonAppMenu to be activatable using keyboard accelerators
5749 when the menu is not being shown.
5751 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5753 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5755 * src/hildon-stackable-window.c
5756 (hildon_stackable_window_show):
5757 Don't hide old windows automatically when new windows are shown:
5758 this is now a task for the window manager.
5759 (hildon_stackable_window_class_init)
5760 (hildon_stackable_window_hide):
5761 Remove windows from the stack everytime they're hidden.
5762 (hildon_stackable_window_realize):
5763 Don't change the _NET_WM_WINDOW_TYPE property. Use
5764 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5765 it as a stackable window.
5767 * src/hildon-program.c
5768 (hildon_program_pop_window_stack):
5769 Just hide the window to remove it from the stack.
5770 (hildon_program_go_to_root_window):
5771 Don't call gtk_widget_show(), this is now a task for the window
5774 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5776 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5778 * src/hildon-button.c
5779 (hildon_button_construct_child):
5780 Don't pack anything in the button until text or image are
5781 set. This allows adding a custom child after creating the button
5782 with hildon_button_new().
5783 (hildon_button_finalize, hildon_button_class_init)
5784 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5785 alignment and the label box even when they're not packed in the
5788 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5790 * src/hildon-touch-selector.h:
5791 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5792 currently the type definition was using GTK_TYPE_VBOX
5793 * src/hildon-touch-selector.c:
5794 Added some implementation notes in order to clarify that any other widget
5795 added without the column related API will not be included on the
5796 selection logic, and how the widget is freed, as some people ask about
5798 (hildon_touch_selector_remove): Reimplemented in order to free properly
5799 the column related data when you remove the private hbox.
5800 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5801 to get a proper HildonTouchSelectorColumn documentation
5803 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5805 * src/hildon-touch-selector-entry.c:
5806 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5807 text in the GtkEntry and there is no item selected. Fixes a
5810 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5812 * src/hildon-app-menu-private.h
5813 * src/hildon-app-menu.[ch]
5814 * src/hildon-button.[ch]
5815 * src/hildon-check-button.[ch]
5816 * src/hildon-entry.[ch]
5817 * src/hildon-pannable-area.[ch]
5818 * src/hildon-text-view.[ch]:
5819 Added private field to the object's structure.
5821 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5823 * configure.ac: post-release version bump
5825 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5829 * configure.ac: pre-release version bump
5831 * debian/changelog: updates.
5833 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5835 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5836 Disconnect the handler for HildonTouchSelector::changed.
5838 (hildon_picker_button_selector_selection_changed): Update the button
5839 value if the selection change was not triggered by the
5842 (hildon_picker_button_set_selector): connect to
5843 HildonTouchSelector::changed.
5845 Fixes: NB#89650 (Picker button is not updated, when selection in
5846 selector has changed)
5848 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5850 * src/hildon-picker-dialog.c
5851 (hildon_picker_dialog_realize): Removed as not required
5852 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5853 * src/hildon-picker-button.c
5854 (_current_selector_empty): New function, checks if the selector is empty
5855 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5856 if the current selector is empty, in order to avoid to show the dialog
5857 close the dialog in this case (and shows a g_warning).
5859 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5861 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5863 * src/hildon-pannable-area.c,
5864 (hildon_pannable_area_scroll): Added clause to stop movement when
5865 the child of pannable is smaller than one page.
5866 (hildon_pannable_area_scroll_to): Added conditions to avoid
5867 starting the scrolling movement if the child is smaller than one
5868 page, the complete child is in the screen, we do not have to move.
5870 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5872 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5875 this is managed automatically by the widget when the size of the
5878 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5880 * src/hildon-picker-button.c
5881 (hildon_picker_button_set_done_button_text): Make a copy of the
5882 text, and free the previous value.
5884 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5886 * src/hildon-touch-selector-entry.c:
5887 (hildon_touch_selector_entry_print_func): Return the selected row's
5888 text if the entry is empty.
5890 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5893 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5895 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5897 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5900 * src/hildon-check-button.h
5901 * src/hildon-check-button.c
5902 * examples/hildon-check-button-example.c:
5903 HildonCheckButton is now a new widget. 'toggled' signal added.
5905 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5907 * src/hildon-program-private.h
5908 * src/hildon-program.c (hildon_program_init)
5909 (hildon_program_finalize): Removed unused variables group_leader
5910 and name from HildonProgramPrivate.
5912 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5914 * src/hildon-check-button.c (hildon_check_button_set_active)
5915 (hildon_check_button_get_active, hildon_check_button_new): Use
5916 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5918 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5920 * src/hildon-touch-selector.h
5921 (hildon_touch_selector_set_column_attributes): added deprecation
5922 guard HILDON_DISABLE_DEPRECATED
5923 * src/hildon-time-selector.c
5924 (hildon_time_selector_set_time)
5925 (hildon_time_selector_get_time): Fixed a typo on documentation
5926 * src/hildon-touch-selector.c: update HildonTouchSelector and
5927 HildonTouchSelectorColumn documentation
5928 * src/hildon-touch-selector-entry.c: update "text-column" property
5930 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5931 to be added to the general documentation.
5933 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5935 * examples/hildon-pannable-area-example-4.c,
5937 * examples/hildon-pannable-area-example.c,
5938 (main): Modified the code in order to use the container add, with
5939 viewport treeviews could have problems if they are really big.
5941 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5943 * src/hildon-weekday-picker.c,
5944 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5945 the agreement regarding deprecation in the library.
5947 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5949 * examples/hildon-picker-button-multicolumn-example.c:
5950 (main): Use custom "done" button text.
5952 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5953 (hildon_picker_button_set_property),
5954 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5955 (hildon_picker_button_init),
5956 (+hildon_picker_button_get_done_button_text),
5957 (+hildon_picker_button_set_done_button_text): New methods to customize
5958 the "done" button label in the launched HildonPickerDialog. Also,
5961 * src/hildon-picker-button.h: add the public API.
5963 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5965 * src/hildon-date-selector.h:
5966 * src/hildon-picker-dialog.h:
5967 * src/hildon-time-selector.h:
5968 * src/hildon-touch-selector-column.h:
5969 * src/hildon-touch-selector.h:
5971 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5972 declarations. Fixes gtk-doc warnings.
5974 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5976 * src/hildon-picker-dialog.h
5977 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5978 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5980 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5981 long text is set as label for done button)
5983 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5985 * src/hildon-dialog.c (hildon_dialog_add_button):
5986 Set fixed width to all buttons in the HildonDialog.
5988 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5990 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5992 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5993 Set widget name using class name plus "-finger" or "-thumb".
5995 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5997 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5998 'clicked' when the state of the button is manually changed.
6000 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6002 * src/hildon-app-menu.c (hildon_app_menu_realize)
6003 (hildon_app_menu_unrealize, hildon_app_menu_init)
6004 (hildon_app_menu_class_init, item_visibility_changed):
6005 Change the menu layout when the size of the screen changes.
6006 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6007 Show warning only when changing the number of colums using the
6010 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6012 * debian/compat: Set to 5
6013 * debian/control: Update dependencies.
6014 * debian/libhildon1-dbg.install: Remove.
6015 * debian/libhildon1-dev.install: Update according to cdbs paths.
6016 * debian/libhildon1.install: Update according to cdbs paths.
6017 * debian/rules: Switch to cdbs.
6019 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6021 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6022 'item' variable renamed to 'filter'
6024 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6026 * src/hildon-app-menu.c (hildon_app_menu_insert)
6027 (hildon_app_menu_add_filter, remove_item_from_list)
6028 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6029 Don't leak hidden items when the menu is destroyed.
6031 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6033 * src/hildon-app-menu.c (hildon_app_menu_insert)
6034 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6035 (hildon_app_menu_set_columns, item_visibility_changed)
6036 (filter_visibility_changed, hildon_app_menu_repack_filters)
6037 (hildon_app_menu_repack_items):
6038 Repack items and filters separately.
6040 Don't repack all items, change only the ones that are needed to
6043 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6045 * src/Makefile.am: added hildon-touch-selector-column.h
6047 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6049 * src/hildon-touch-selector.c: added the property "text-column" to the
6050 class HildonTouchSelectorColumn, and related get/set functions
6051 (_default_printf_func): updated to use "text-column" property
6052 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6053 "text-column" in his documentation, as this is now included on
6054 HildonTouchSelectorColumn. The get/set_property can still be used,
6055 working as a wrapper to the concrete column "text-column" property
6056 (_text_column_modified): callback added in order to handle the signal
6057 "notify::text-column" of the concrete HildonTouchSelectorColumn
6058 (hildon_touch_selector_entry_get_text_column)
6059 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6060 modified in order to use the HildonTouchSelectorColumn "text-column"
6062 * src/hildon-time-selector.c:
6063 * src/hildon-date-selector.c:
6064 * examples/hildon-touch-selector-example.c
6065 * examples/hildon-touch-selector-multi-cells-example.c
6066 * examples/hildon-picker-button-multicolumn-example.c
6067 Set the right value to "text-column" property on the creation of a new
6068 column using hildon_touch_selector_append_column()
6070 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6072 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6074 * src/hildon-app-menu.c
6075 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6076 updating the layout of the menu, don't create all widgets again,
6077 just repack the items in their new places.
6079 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6081 * src/hildon-time-selector.c
6082 (hildon_time_selector_get_time)
6083 (hildon_time_selector_set_time)
6084 Added documentation of these public methods
6086 * src/hildon-date-button.h
6087 * src/hildon-touch-selector-column.h
6088 * src/hildon-time-button.h
6089 * src/hildon-picker-dialog.h
6090 * src/hildon-time-selector.h
6091 * src/hildon-picker-button.h
6092 * src/hildon-touch-selector.h
6093 * src/hildon-time-picker.h
6094 * src/hildon-date-selector.h
6095 * src/hildon-touch-selector-entry.h
6096 Modified in order to use hildon-widgets code style
6098 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6100 Added deprecated support to the compilation process using
6101 HILDON_DISABLE_DEPRECATED
6103 * configure.ac: Added the --disable-deprecated to the configure
6106 * src/hildon-weekday-picker.c:
6107 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6108 to use the deprecated support. We will update the other deprecated
6109 widgets status in a new patch.
6111 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6113 * configure.ac: Fixed typo with fatal warnings support, the
6114 variable name was not correct
6116 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6118 * src/hildon-app-menu.c
6119 * src/hildon-program.c: Update documentation.
6121 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6123 * configure.ac: Post-release version bump.
6125 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6130 * configure.ac: Pre-release version bump.
6131 * debian/changelog: Updates.
6133 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6135 * NEWS: Update news for previous releases.
6137 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6139 * examples/hildon-touch-selector-multi-cells-example.c:
6140 (create_selector): Update the example to use
6141 hildon_touch_selector_append_column() with a NULL renderer and set
6142 the renderers later.
6143 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6144 passed a NULL renderer. This is documented behavior now.
6146 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6147 This must be used if the developer wants full control on the layout of
6148 the renderers to be added to the column.
6150 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6152 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6154 * src/hildon-touch-selector.c: Documentation fixes.
6156 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6158 * src/hildon-wizard-dialog-private.h: Remove image and box.
6159 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6160 (hildon_wizard_dialog_set_property), (response): Completely remove
6161 image/icon support, and the containers required for the layout.
6163 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6165 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6167 * src/hildon-app-menu.c: Updated documentation.
6169 * src/hildon-stackable-window.c
6170 (hildon_stackable_window_set_main_menu): Unref the old menu after
6171 ref'ing the new one.
6173 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-stackable-window.c
6176 (hildon_stackable_window_set_main_menu): Unref the previous menu
6177 instead of destroying it.
6179 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6180 floating reference and set has_user_ref_count to FALSE to make
6181 HildonAppMenu act like a normal ref-counted widget and not a
6184 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6187 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6189 * src/hildon-touch-selector-column.h: new file
6190 * src/hildon-touch-selector.h
6191 * src/hildon-touch-selector.c
6192 Implemented GtkCellLayout interface, in order to allow to configure
6193 the cell layout on each individual selector column
6194 (hildon_touch_selector_set_column_attributes): marked as deprecated
6195 * examples/hildon-touch-selector-multi-cells-example.c
6196 Example of how to use the GtkCellLayout interface on the selector
6198 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6200 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6202 * src/hildon-app-menu.h
6203 * src/hildon-app-menu.c
6204 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6205 (hildon_app_menu_append, hildon_app_menu_prepend):
6206 New methods to prepend, insert and move items in the menu.
6208 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6210 * src/hildon-wizard-dialog.c:
6212 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6214 (create_title): Update logical IDs and related code.
6215 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6217 * src/hildon-wizard-dialog.h: Note that
6218 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6219 point, as it is not used anymore.
6221 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6223 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6225 * src/hildon-note.c:
6226 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6227 shown. Do not display an icon in confirmation notes nor information
6229 (hildon_note_set_button_text): Update logical ID for cancel button.
6231 Fixes: NB#88850 (Update HildonNote button strings + signals)
6233 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6235 * src/hildon-stackable-window.c
6236 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6238 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6240 * src/hildon-app-menu-private.h
6241 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6242 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6243 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6244 temporary property 'columns' to change the number of columns.
6246 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6248 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6250 * examples/hildon-note-example.c: (on_information_clicked),
6251 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6252 debugging information.
6253 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6255 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6256 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6257 in order to close: this will be handled by the WM from now on.
6259 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6261 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6263 * src/hildon-app-menu-private.h
6264 * src/hildon-app-menu.c
6265 (hildon_app_menu_append, hildon_app_menu_add_filter)
6266 (button_visibility_changed, hildon_app_menu_apply_style)
6267 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6268 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6269 layout everytime a button (item or filter) is shown or hidden.
6271 * src/hildon-stackable-window.c
6272 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6275 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6277 * src/hildon-touch-selector.c:
6278 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6279 that the treeview inside the touch selector is in fremantle hildon mode
6280 * examples/hildon-date-button-example.c
6281 * examples/hildon-picker-button-multicolumn-example.c
6282 * examples/hildon-touch-selector-entry-example.c
6283 * examples/hildon-touch-selector-example.c
6284 * examples/hildon-time-button-example.c
6285 * examples/hildon-picker-button-example.c:
6286 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6288 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6290 * examples/hildon-text-view-example.c: (main): Remove the
6291 gtkrc bits, now handled by the theme.
6293 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6295 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6298 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6300 * po/Makefile.am: Install properly the mo files.
6301 * po/en_GB.po: Update translation, to ease testing purposes.
6303 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6305 * examples/hildon-picker-button-example.c: (main): Select an item
6306 in the selector before setting it to the button.
6308 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6310 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6311 Update button's value if the selector has an item active.
6313 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6314 'value' with the selector)
6316 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6318 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6319 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6320 (hildon_picker_button_class_init): Plug the finalize method.
6321 (hildon_picker_button_set_selector): If there's a previously set
6322 selector, unref'it before setting a new one.
6324 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6325 HildonTouchSelector)
6327 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6329 * src/hildon-touch-selector-entry.c:
6330 (hildon_touch_selector_entry_changed): Check if there is no text
6331 selected before setting the entry text.
6334 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6336 * src/hildon-touch-selector.h
6337 * src/hildon-touch-selector.c
6338 (hildon_touch_selector_get_active)
6339 (hildon_touch_selector_set_active): New methods to set/get the
6340 index of the selected item.
6342 * src/hildon-picker-button.h
6343 * src/hildon-picker-button.c
6344 (hildon_picker_button_get_active)
6345 (hildon_picker_button_set_active): New methods to set/get the
6346 index of the selected item.
6348 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6350 * configure.ac: post-release version bump.
6352 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6356 * configure.ac: Pre-release version bump.
6357 * debian/changelog: Updates.
6358 * debian/control: Add myself as maintainer and depend on l10n
6361 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6363 * src/hildon-window.c
6364 (hildon_window_set_main_menu)
6365 * src/hildon-stackable-window.c
6366 (hildon_stackable_window_set_main_menu):
6367 Updated documentation.
6369 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6371 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6372 Don't free selector->priv manually.
6375 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6378 (hildon_gtk_window_set_progress_indicator):
6379 * src/hildon-gtk.h: Added the new API
6380 hildon_gtk_window_set_progress_indicator, it changes the state of
6381 the window progress hint.
6383 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6385 * src/hildon-button.c
6386 * src/hildon-stackable-window.c: Minor documentation updates.
6388 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6390 * src/hildon-stackable-window.c: Updated documentation.
6392 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6394 * src/hildon-defines.h: Update margins definitions
6395 to the Fremantle sizes.
6398 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6400 * src/hildon-touch-selector.c,
6401 (_hildon_touch_selector_set_model): Cleaning the code after
6402 review, removed g_print and #if 0 from the code.
6404 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6406 * src/hildon-edit-toolbar.c: Update documentation.
6408 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6410 * src/hildon-check-button.h
6411 * src/hildon-check-button.c
6412 (hildon_check_button_set_label, hildon_check_button_get_label)
6413 * examples/hildon-check-button-example.c
6414 (button_clicked_cb):
6415 Removed deprecated methods.
6417 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6419 * src/hildon-text-view.c:
6420 Add sample code to the documentation.
6422 * src/hildon-entry.h
6423 * src/hildon-text-view.h:
6424 Minor cosmetic changes.
6426 * src/hildon-entry.c:
6427 Add sample code to the documentation.
6428 (hildon_entry_init, hildon_entry_refresh_contents):
6429 Don't allow NULL values in the placeholder.
6431 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6433 * doc/hildon-docs.sgml
6435 * examples/Makefile.am
6436 * examples/hildon-text-view-example.c
6438 * src/hildon-text-view.c
6439 * src/hildon-text-view.h
6441 New HildonTextView widget, with example.
6443 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6445 * po/POTFILES.in: Add missing files with translatable strings.
6446 Partially fixes NB#88287.
6448 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6450 * examples/hildon-pannable-area-example-2.c: (main): No need to
6451 set the cellrenderer height inside hildon touch lists, the theme does
6454 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6456 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6457 they are integrated in the theme.
6459 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6461 * examples/hildon-entry-example.c: Update the example adding
6462 widgets to modify the text and the placeholder of the HildonEntry.
6464 * src/hildon-entry.c: Show the placeholder everytime the widget
6465 is empty and loses the focus.
6467 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6469 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6471 * src/hildon-pannable-area.c,
6472 (hildon_pannable_area_size_request): Fixed bug in height
6473 requisition, avoid increasing size and add border twice.
6475 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6477 * configure.ac: postrelease version bump.
6479 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6483 * configure.ac: Prerelease version bump.
6484 * debian/changelog: update.
6485 * debian/rules: make -dbg package contain useful debugging symbols.
6487 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6489 * src/hildon-dialog.h
6490 * src/hildon-dialog.c
6491 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6492 New methods to add buttons with finger size.
6493 (hildon_dialog_new_with_buttons):
6494 Create buttons with finger size.
6496 * examples/hildon-dialog-example.c (main): Use HildonDialog
6497 methods to add buttons.
6499 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6501 * src/hildon-entry.c: Updated HildonButton documentation.
6503 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6505 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6506 button value label with (FALSE, FALSE) to prevent NB#88126 from
6509 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6511 * examples/hildon-pannable-area-example.c,
6512 (main): Removed examples panning a vbox inside a pannable
6513 area. Check bug NB#87965
6515 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6517 Patch contributed by Kris Rietveld (kris@imendio.com)
6519 * src/hildon-pannable-area.c,
6520 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6521 get_size and get_position, this saves an X server roundtrip.
6523 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6525 * doc/hildon-docs.sgml
6527 * examples/Makefile.am
6528 * examples/hildon-entry-example.c
6530 * src/hildon-entry.c
6531 * src/hildon-entry.h
6533 New HildonEntry widget, with example.
6535 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6537 * src/hildon-button.c (hildon_button_construct_child): Pack the
6538 image with expand == fill == FALSE. This is a workaround for a bug
6541 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6543 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6544 labels for the text column, to make it more look more dynamic.
6546 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6548 * src/hildon-time-selector.c
6549 Define gettext auxiliar macro N_
6550 (_create_minutes_model)
6551 (_create_hours_model)
6552 (_create_ampm_model): use of strftime in order to fill the model
6553 * src/hildon-date-selector.c
6554 (hildon_date_selector_finalize):
6555 (_locales_init): remove the logic related to get the name of the months
6556 using nl_langinfo, as it is not required anymore
6558 (_create_year_model)
6559 (_create_month_model)
6560 (_update_day_model): use of strftime in order to fill the model properly
6563 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-button.h
6566 * src/hildon-button.c (hildon_button_get_image): New method to
6569 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6571 * src/hildon-touch-selector.c:
6572 (hildon_touch_selector_remove_column): Remove from the correct parent
6573 and also remove the list element and free it.
6576 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6578 * src/hildon-time-selector.c
6579 (_create_hours_model): change the range on 12h ampm format in order to use
6580 a 12-11 range instead of previous 01-12 range
6581 (hildon_time_selector_set_time): change the way to select the current time
6582 on 12h ampm format, due the change on the range
6583 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6586 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6588 * src/hildon-touch-selector.c
6589 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6590 in order to allow use this function on multiple row selection mode if
6591 the column is different that the first one
6594 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6596 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6597 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6599 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6601 * src/hildon-date-selector.h: clean some comments, now on the .c
6602 * src/hildon-date-selector.c
6603 (hildon_date_selector_select_month): first implementation
6604 (hildon_date_selector_select_day): added documentation, reimplemented
6605 using hildon_date_selector_select_current_date to avoid repeat code
6608 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6610 Reviewed interaction logic based on device experiences, refactored
6613 * src/hildon-pannable-area.c,
6614 (hildon_pannable_area_class_init): Updated default vmax speed.
6615 (hildon_pannable_area_calculate_velocity): Added this function, it
6616 avoids duplicate valocity calculation. Adjusted calculation to
6617 avoid problems with zero dist events.
6619 (hildon_pannable_area_motion_notify_cb): Now we use the
6620 calculate_velocity function.
6622 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6624 * src/hildon-date-selector.c
6625 (hildon_date_selector_select_current_date): fix the day range check
6626 as it failed using the last day of the current month
6629 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6631 * src/hildon-touch-selector.c
6632 (hildon_touch_selector_get_num_columns): added a parameter validation
6635 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6637 * examples/Makefile.am
6638 * examples/hildon-edit-toolbar-example.c: Example of the
6639 HildonEditToolbar widget.
6641 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6643 * configure.ac: postrelease version bump.
6645 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6649 * configure.ac: prerelease version bump.
6650 * debian/changelog: update.
6652 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6654 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6655 renderer to display stock icons in the touch list. Also, set the sizes
6656 to the recommended in the style guide.
6658 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6659 * src/hildon-touch-selector.h
6660 (hildon_touch_selector_set_active_iter): renamed, now is
6661 hildon_touch_selector_select_iter
6662 (hildon_touch_selector_get_active_iter): renamed, now is
6663 hildon_touch_selector_get_selected
6664 (hildon_touch_selector_unselect_iter): added
6665 * src/hildon-touch-selector.c
6666 Update after API modification (methods renamed)
6667 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6668 order to avoid problems selecting multiple elements on the column
6669 (hildon_touch_selector_unselect_iter): added the implementation
6670 * src/hildon-time-selector.c
6671 * src/hildon-date-selector.c
6672 * src/hildon-touch-selector-entry.c
6673 Update methods calls after hildon-touch-selector.h API modification (methods
6676 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6678 * src/hildon-stackable-window.c
6679 (hildon_stackable_window_finalize): Call the parent class's finalize.
6681 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6683 * examples/hildon-touch-selector-example.c: (create_selector): Use
6684 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6687 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6689 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6690 set a cell background color, to respect theming.
6692 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6694 * doc/hildon-docs.sgml
6697 * src/hildon-edit-toolbar.c
6698 * src/hildon-edit-toolbar.h
6699 * src/hildon.h: New HildonEditToolbar widget.
6701 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6703 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6706 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6707 * src/hildon-touch-selector.c
6708 (_create_new_column): use g_object_set instead of two g_object_set_property
6710 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6711 * src/hildon-touch-selector.c
6712 (_create_new_column): use of hildon_gtk_tree_view_new to create
6713 the treeview, instead of use directly g_object_new
6714 (_create_new_column): update the property name "vindicator-mode" for the
6715 new one "vscrollbar-policy"
6716 * examples/hildon-date-button-example.c
6717 * examples/hildon-picker-button-multicolumn-example.c
6718 * examples/hildon-touch-selector-entry-example.c
6719 * examples/hildon-touch-selector-example.c
6720 * examples/hildon-time-button-example.c
6721 * examples/hildon-picker-button-example.c
6722 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6723 to all the treeviews inside a pannable area.
6725 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6727 * src/hildon-button.h
6728 * src/hildon-button.c (hildon_button_init)
6729 (hildon_button_set_arrangement, hildon_button_set_alignment)
6730 (hildon_button_set_title_alignment)
6731 (hildon_button_set_value_alignment)
6732 (hildon_button_set_image_alignment)
6733 (hildon_button_construct_child): New methods to set the alignment
6734 of the individual components of the button (title, value,
6735 image). Also, new method to alter the xscale and yscale properties
6736 of the GtkAlignment inside the button, so more complex layouts can
6739 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6741 * src/hildon-button.c (hildon_button_style_set)
6742 (hildon_button_class_init, hildon_button_set_arrangement)
6743 (hildon_button_construct_child): Apply style properties
6744 correctly. Use the 'image-spacing' style property too.
6746 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6748 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6749 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6752 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6754 * src/hildon-pannable-area.c,
6755 (hildon_pannable_area_size_request): Fixed problem with
6756 pannable-area size_request.
6758 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6760 Added management for the grab-focus to a child widget, like a
6761 range, we need to fade out the scrollbar when releasing.
6763 * src/hildon-pannable-area.c,
6764 (hildon_pannable_area_init): Connected the grab-focus signal to
6766 (hildon_pannable_area_grab_notify): Added this function in order
6767 to manage the situation when the grab-focus ends. We have to
6768 fade-out the scrollbar.
6770 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6772 * src/hildon-app-menu.c: Minor documentation update.
6774 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6776 * src/hildon-app-menu.c
6777 * examples/hildon-app-menu-example.c (create_menu): Update
6778 examples and documentation to explain how to connect callbacks.
6780 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6782 * examples/hildon-button-example.c
6783 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6784 hildon_stackable_window_new instead of gtk_window_new
6786 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6788 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6789 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6790 (hildon_pannable_area_set_property),
6791 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6792 (hildon_pannable_area_unrealize),
6793 (hildon_pannable_area_size_request),
6794 (hildon_pannable_area_size_allocate),
6795 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6796 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6797 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6798 (hildon_pannable_area_initial_effect),
6799 (hildon_pannable_area_redraw),
6800 (hildon_pannable_area_scroll_indicator_fade),
6801 (hildon_pannable_area_expose_event),
6802 (hildon_pannable_area_get_topmost), (synth_crossing),
6803 (hildon_pannable_area_button_press_cb),
6804 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6805 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6806 (hildon_pannable_area_motion_notify_cb),
6807 (hildon_pannable_area_button_release_cb),
6808 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6809 (hildon_pannable_area_remove),
6810 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6811 chage the code layout to a more GtkWidget like. Review the use of
6814 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6816 * examples/hildon-pannable-area-example-4.c,
6817 (main): Modified the name of the hindicator_mode to
6820 * src/hildon-pannable-area.c,
6821 (hildon_pannable_area_class_init),
6822 (hildon_pannable_area_motion_notify_cb),
6823 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6824 we have reduced the amount of signals and managed reviewed its
6825 rationale. Changed the default decelerate value.
6827 (hildon_pannable_area_add),
6828 (hildon_pannable_area_redraw): Refactored functions.
6830 (hildon_pannable_area_init),
6831 (hildon_pannable_area_get_property),
6832 (hildon_pannable_area_set_property):
6833 (hildon_pannable_draw_vscroll),
6834 (hildon_pannable_draw_hscroll),
6835 (hildon_pannable_area_initial_effect),
6836 (hildon_pannable_area_expose_event),
6837 (hildon_pannable_area_scroll),
6838 (hildon_pannable_area_button_press_cb),
6839 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6840 and vindicator_mode with hscrollbar_policy and
6841 vscrollbar_policy. Replaced hscroll and vscroll with
6842 hscroll_visible and vscroll_visible.
6844 (hildon_pannable_area_refresh): Refactor the function, remove
6845 variables and check the calls to this function, added resize
6846 conditions in case the children change their layout.
6848 (hildon_pannable_area_size_request): Added more detailed
6849 size_request calculation.
6852 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6854 * src/hildon-color-chooser.c
6855 (init_borders): use the correct gtk_border_free instead of g_free, to
6856 avoid a crash when this widget is used (ie: the three color selection
6859 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6861 * src/hildon-check-button.c,
6862 (hildon_check_button_set_active): Fixed problem when setting the
6863 active value, the widget was not redrawn.
6865 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6867 * src/hildon-pannable-area.c,
6868 (hildon_pannable_area_refresh),
6869 (hildon_pannable_area_scroll),
6870 (hildon_pannable_area_motion_notify_cb): Small code style change.
6872 (hildon_pannable_area_class_init): Default initial_hint set to
6873 FALSE, it is not in the specs.
6875 (hildon_pannable_area_initial_effect),
6876 (hildon_pannable_area_expose_event),
6877 (hildon_pannable_area_map),
6878 (hildon_pannable_area_init): Moved the launching point of the
6879 initial effect, it was in map but the sizes where not correct in
6880 that method so we do not know if we have the reproduce it. Now it
6881 is placed in the expose_event method and uses a variable to
6882 reproduce it just once.
6884 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6886 * src/hildon-pannable-area.c,
6887 (hildon_pannable_draw_vscroll),
6888 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6889 position allowed for the scrollbars.
6891 (hildon_pannable_area_size_allocate): Small style change.
6893 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6895 * src/hildon-pannable-area.c,
6896 (hildon_pannable_area_scroll_indicator_fade),
6897 (hildon_pannable_area_button_press_cb),
6898 (hildon_pannable_area_button_release_cb),
6899 (hildon_pannable_area_scroll_cb),
6900 (hildon_pannable_area_expose_event),
6901 (hildon_pannable_area_init): Added the define parameter
6902 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6903 and refactor the fade variable.
6905 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6907 * src/hildon-pannable-area.c,
6908 (hildon_pannable_area_redraw),
6909 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6910 lines, we were reimplemeting the redraw code.
6912 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6914 * src/hildon-pannable-area.c,
6915 (hildon_pannable_area_scroll_cb),
6916 (hildon_pannable_area_realize),
6917 (hildon_pannable_area_class_init): Added scroll_event management
6918 for pannable area, now we can scroll the usual desktop method.
6920 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6921 initialization of the parameters should depend on idle_id.
6923 (hildon_pannable_area_init),
6924 (hildon_pannable_area_map): Small code style modifications
6926 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6928 * src/hildon-pannable-area.c
6929 (hildon_pannable_area_button_press_cb),
6930 (hildon_pannable_area_motion_notify_cb),
6931 (hildon_pannable_area_button_release_cb),
6932 (hildon_pannable_area_size_allocate),
6933 (hildon_pannable_area_scroll_to): Improved the timeouts
6934 management, we avoid creating them each time.
6936 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6938 * src/hildon-pannable-area.c:
6939 (hildon_pannable_area_refresh),
6940 (hildon_pannable_area_motion_notify_cb),
6941 (hildon_pannable_area_class_init):
6942 * src/hildon-pannable-area.h:
6943 * src/hildon-touch-selector.c
6944 (_create_new_column):
6945 * examples/hildon-pannable-area-example-4.c:
6946 (horizontal_movement),
6947 (vertical_movement),
6949 Replaced the names of enums in the HildonPannableArea:
6950 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6951 HILDON_MOVEMENT_MODE_*
6952 - HILDON_PANNABLE_AREA_MOV_* ->
6954 - Removed HildonPannableAreaIndicatorMode, now we
6957 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6959 * examples/hildon-pannable-area-touch-grid-example.c
6960 * examples/hildon-pannable-area-touch-list-example.c: Fix
6961 compilation warnings.
6963 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6965 * src/hildon-gtk.c (hildon_gtk_button_new)
6966 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6967 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6968 images overriding the value of the "gtk-button-images" setting.
6970 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6972 * src/hildon-check-button.c (hildon_check_button_new):
6973 Instead of using a custom container, display the label and the
6974 checkbox using the standard GtkButton API.
6976 * examples/hildon-check-button-example.c (main): Don't use
6977 hildon_check_button_set_label() anymore
6979 * src/hildon-check-button.h
6980 * src/hildon-check-button.c
6981 (hildon_check_button_set_label, hildon_check_button_get_label):
6982 Set as deprecated, now we're using gtk_button_{get,set}_label()
6984 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6986 * src/hildon-pannable-area.c,
6987 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6988 GtkTreeview first line we detected it after the inclusion of the
6989 GtkWindowImpl in gtk+. We now check if the window is visible, not
6990 just if the pointer is over the window.
6991 (hildon_pannable_axis_scroll),
6992 (hildon_pannable_area_expose_event): Small style changes.
6994 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6996 * src/hildon-button.c: Update documentation.
6998 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7000 * examples/hildon-button-example.c: Add a switch to show images in
7003 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7005 * doc/hildon-docs.sgml: Some docs reorganization.
7007 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7009 * examples/hildon-pannable-area-touch-list-example.c
7011 * examples/hildon-pannable-area-touch-grid-example.c
7012 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7013 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7014 Fix memory leak when setting the tree model.
7016 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7020 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7022 * doc/hildon.types: Remove duplicated hildon_window_get_type
7023 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7024 documentation comment.
7026 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7028 * doc/Makefile.am: Complete list of private headers.
7030 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7032 * doc/hildon-docs.sgml
7033 * src/hildon-app-menu.c
7034 * src/hildon-bread-crumb.c
7035 * src/hildon-button.c
7037 * src/hildon-program.c
7038 * src/hildon-stackable-window.c
7039 * src/hildon-window.c: Lots of documentation updates.
7041 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7043 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7045 * configure.ac: Require Gtk+ 2.12.9 at least
7047 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7049 * src/hildon-pannable-area.c
7050 (hildon_pannable_area_scroll_indicator_fade),
7051 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7052 to protect the return of this timeout callbacks, avoiding deadlocks.
7054 2008-08-12 Christian Dywan <christian@imendio.com>
7057 * src/hildon-*.h: Ensure a consistent include order,
7058 include <gtk/gtk.h> instead of particular files and
7059 only include the topmost header in the gtk stack. See NB #39857
7061 2008-08-12 Christian Dywan <christian@imendio.com>
7063 * src/hildon-picker-dialog.c
7064 * src/hildon-touch-selector.c: Fix warnings about unused and
7065 uninitialized variables.
7067 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7069 * examples/Makefile.am
7070 * examples/hildon-check-button-example.c: Example of the hildon
7073 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7075 * src/hildon-window.h
7076 * src/hildon-window.c (hildon_window_class_init)
7077 (hildon_window_unset_program): Don't make
7078 hildon_window_unset_program a virtual function anymore.
7080 * src/hildon-stackable-window.c: Update documentation
7082 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7085 * doc/hildon-docs.sgml
7086 * doc/visual_index.xml
7087 * src/hildon-defines.c
7089 * src/hildon-helper.c
7090 * src/hildon-range-editor.c: Lots of documentation fixes.
7092 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7094 * examples/hildon-picker-button-multicolumn-example.c
7095 (create_touch_selector): Fix compilation warning.
7097 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7099 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7100 (hildon_pannable_area_button_release_cb)
7101 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7103 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7105 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7108 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7110 * src/hildon-bread-crumb-trail.h
7111 * src/hildon-date-editor.c
7112 * src/hildon-date-selector.c
7113 * src/hildon-pannable-area.c
7114 * src/hildon-picker-dialog.c
7115 * src/hildon-time-selector.c
7116 * src/hildon-touch-selector-entry.c
7117 * src/hildon-touch-selector.c
7118 * src/hildon-touch-selector.h: Misc documentation fixes
7120 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7122 * examples/hildon-date-editor-example.c (main): Updated date
7125 * examples/hildon-note-example.c (on_confirmation_clicked):
7126 Updated confirmation note example.
7128 * src/hildon-date-editor.c
7129 * src/hildon-note.c: Updated sample programs in documentation.
7132 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7134 * src/hildon-date-button.h:
7135 * src/hildon-picker-button.h:
7136 * src/hildon-time-button.c:
7137 * src/hildon-time-button.h:
7139 Some declarations changes to allow gtk-doc to document the widgets
7142 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7144 * src/hildon-date-button.c: Document the widget.
7145 * src/hildon-time-button.c: Document the widget.
7147 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7149 * src/hildon-picker-button.c: Document the widget.
7150 * src/hildon-touch-selector-entry.c: Document the widget.
7152 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7154 * doc/hildon-docs.sgml
7157 * src/hildon-check-button.h
7158 * src/hildon-check-button.c: New functions to create the Hildon
7162 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7164 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7166 * src/hildon-button.h
7167 * src/hildon-button.c
7168 (hildon_button_add_title_size_group)
7169 (hildon_button_add_value_size_group)
7170 (hildon_button_add_image_size_group)
7171 (hildon_button_add_size_groups): New functions to set size groups
7172 for the button labels and image.
7173 (hildon_button_new_full): Removed
7175 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7177 * src/hildon-time-selector.c
7178 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7179 in order to avoid a crash if gconf is not available
7181 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7183 * src/hildon-button.c (hildon_button_set_arrangement)
7184 (hildon_button_construct_child): Don't construct the button child
7185 before setting the arrangement.
7187 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7189 * src/hildon-program-private.h
7190 * src/hildon-program.c
7191 * src/hildon-program.h
7192 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7193 (hildon_program_peek_window_stack)
7194 (hildon_program_pop_window_stack)
7195 (hildon_program_go_to_root_window): HildonProgram now has a
7196 separate list for stackable windows. Functions are provided to
7197 manage that list with a stack-like API.
7199 * src/hildon-stackable-window.c: Stackable window management is
7200 now much simpler with the new HildonProgram API. Windows no
7201 longer need to be manually added to the program, they're
7202 automatically pushed to the top of the stack when shown.
7204 * examples/hildon-stackable-window-example.c: Updated example to
7205 reflect the API changes.
7207 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7209 * src/hildon-touch-selector.c: Comment out unimplemented
7210 hildon_touch_selector_insert_column() to avoid a compile warning.
7212 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7214 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7215 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7216 (hildon_touch_selector_set_column_selection_mode),
7217 (_hildon_touch_selector_set_model),
7218 (hildon_touch_selector_set_model):
7220 Complete review of HildonTouchSelector documentation.
7222 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7224 * doc/hildon-docs.sgml
7228 * src/hildon-gtk.c: Convenience functions for standard Gtk
7229 widgets, used to easily perform frequent operations.
7231 * src/hildon-button-helpers.h
7232 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7234 * src/hildon-helper.h
7235 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7236 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7238 * src/hildon-button.h
7239 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7241 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7243 * src/hildon-button.c (hildon_button_init)
7244 (hildon_button_set_arrangement, hildon_button_construct_child):
7245 Pack the image and the labels inside the same GtkAlignment so
7246 gtk_button_set_alignment() can be used
7248 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7250 * src/hildon-button.h
7251 * src/hildon-button.c
7252 (hildon_button_init, hildon_button_set_image)
7253 (hildon_button_set_image_position)
7254 (hildon_button_construct_child): New functions to add an image to
7257 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7259 * src/hildon-date-button.c
7260 * src/hildon-picker-button.c
7261 * src/hildon-time-button.c
7262 * src/hildon-button.c:
7263 (hildon_button_class_init): "size-flags" renamed to "size"
7264 (hildon_button_set_title): Hide the title label if set to NULL.
7266 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7268 HildonButtonFlags split into HildonButtonArrangement (to set the
7269 button layout) and HildonSizeType (which can be used for any
7272 * src/hildon-button.h
7273 * src/hildon-button.c
7274 (hildon_button_class_init)
7275 (hildon_button_set_arrangement)
7276 (hildon_button_set_property): New "size-flags"
7277 property. "arrangement-flags" renamed to "arrangement".
7278 (hildon_button_new, hildon_button_new_with_text)
7279 (hildon_button_new_full): Constructors updated to reflect type changes.
7281 * src/hildon-helper.h
7282 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7283 to set the size of a widget.
7287 * src/hildon-button-helpers.c
7288 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7290 * src/hildon-date-button.c
7291 * src/hildon-date-button.h
7292 * src/hildon-picker-button.c
7293 * src/hildon-picker-button.h
7294 * src/hildon-time-button.c
7295 * src/hildon-time-button.h: Updated widgets to reflect
7296 HildonButton API changes.
7298 * examples/hildon-button-example.c
7299 * examples/hildon-date-button-example.c
7300 * examples/hildon-picker-button-example.c
7301 * examples/hildon-picker-button-multicolumn-example.c
7302 * examples/hildon-time-button-example.c
7303 * examples/hildon-touch-selector-entry-example.c
7304 * examples/hildon-touch-selector-example.c: Updated examples to
7305 reflect HildonButton API changes.
7307 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7309 * doc/hildon-docs.sgml:
7311 * examples/Makefile.am:
7312 * examples/hildon-touch-selector-entry-example.c:
7314 * src/hildon-touch-selector-entry.c:
7315 * src/hildon-touch-selector-entry.h:
7318 Moved HildonTouchSelectorEntry from sandbox. Added its
7319 documentation and examples.
7321 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7323 * src/hildon-touch-selector.h:
7324 * examples/hildon-picker-button-multicolumn-example.c:
7325 (hildon_touch_selector_append_text_column): Add a gboolean
7326 parameter to determine if text must be centered in the column.
7328 * src/hildon-date-selector.c: (hildon_date_selector_init):
7329 * src/hildon-time-selector.c: (hildon_time_selector_init):
7330 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7331 (create_touch_selector): Update widgets and example to reflect
7334 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7336 * src/hildon-touch-selector.c:
7337 (hildon_touch_selector_set_active_iter): Set also the cursor in
7340 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7342 * doc/hildon-docs.sgml
7345 * src/hildon-toggle-button.c
7346 * src/hildon-toggle-button.h
7347 * src/hildon.h: Removed HildonToggleButton widget, a derived
7348 class is not necessary for this.
7350 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7352 * src/hildon-pannable-area.c,
7353 (hildon_pannable_area_realize),
7354 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7357 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7359 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7360 "done" button the default widget for the dialog.
7362 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7364 * src/hildon-touch-selector.c:
7365 (hildon_touch_selector_class_init),
7366 (hildon_touch_selector_get_property),
7367 (_hildon_touch_selector_set_model),
7368 (_hildon_touch_selector_has_multiple_selection),
7369 (hildon_touch_selector_has_multiple_selection):
7370 Add a "has-multiple-selection" property with a virtual
7371 has_multiple_selection() method to allow derived classes to
7372 override the default value for it. See the method and property
7373 documentation for details.
7375 * src/hildon-touch-selector.h: Add the new API.
7377 * src/hildon-picker-dialog.c: (requires_done_button): Call
7378 hildon_touch_selector_has_multiple_selection() instead of
7379 determining the need for a button itself.
7381 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7383 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7384 (_hildon_touch_selector_set_model),
7385 (hildon_touch_selector_set_model): Move working code to
7386 _hildon_touch_selector_set_mode(). Call the class method instead.
7388 * src/hildon-touch-selector.h: Add (*set_model) to
7389 HildonTouchSelectorClass.
7391 Make hildon_touch_selector_set_model() a virtual method, so that
7392 derived classes can extend it and do fancy stuff with the model.
7394 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7396 * configure.ac: Set back the tarname in AC_INIT to hildon.
7398 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7402 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7403 instead of libesd (NB#86876). Volume handling is still an open issue.
7405 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7408 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7410 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7411 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7412 derived class to ease placement of an entry widget in
7413 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7414 end, where the selector columns are packed now.
7416 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7418 * src/hildon-picker-button.c: Removed the simple _text() API.
7419 * src/hildon-picker-button.h: Likewise.
7421 * src/hildon-touch-selector.h:
7422 * src/hildon-touch-selector.c:
7423 (hildon_touch_selector_new_text),
7424 (hildon_touch_selector_append_text),
7425 (hildon_touch_selector_prepend_text),
7426 (hildon_touch_selector_insert_text):
7428 Moved the simple _text() API from HildonPickerButton to
7429 HildonTouchPicker, to provide better escalability and not to tie
7430 that API to HildonPickerButton.
7432 * examples/hildon-picker-button-example.c: (main): Example updated.
7434 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7436 * src/hildon-button.c: Updated documentation.
7438 * examples/hildon-button-example.c: Add the posibility to create
7439 the buttons using horizontal layout for title and value.
7441 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7443 * src/hildon-app-menu-private.h
7444 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7445 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7446 GtkSizeGroup for the filters, use the 'homogeneous' property of
7449 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7451 * examples/hildon-button-example.c: Updated example.
7453 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7455 * doc/hildon-docs.sgml:
7458 Update documentation.
7460 * examples/Makefile.am: Update renamed examples.
7462 * examples/hildon-picker-button-multicolumn-example.c:
7463 (create_touch_selector), (main): Update after the rename.
7465 * examples/hildon-touch-picker-example.c: Removed.
7466 * examples/hildon-touch-selector-example.c: (value_changed),
7467 (create_selector), (get_visible_content), (main): Renamed from
7468 hildon-touch-picker-example.c
7470 * src/Makefile.am: Updated renamed files.
7472 * src/hildon-date-button.c: (hildon_date_button_init),
7473 (hildon_date_button_get_date), (hildon_date_button_set_date):
7474 * src/hildon-date-selector.c: (hildon_date_selector_init),
7475 (_custom_print_func), (_update_day_model),
7476 (_manage_selector_change_cb),
7477 (hildon_date_selector_select_current_date),
7478 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7479 * src/hildon-date-selector.h:
7480 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7481 (hildon_picker_button_set_property),
7482 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7483 (hildon_picker_button_init), (hildon_picker_button_new_text),
7484 (hildon_picker_button_append_text),
7485 (hildon_picker_button_prepend_text),
7486 (hildon_picker_button_insert_text),
7487 (hildon_picker_button_set_selector),
7488 (hildon_picker_button_get_selector):
7489 * src/hildon-picker-button.h:
7490 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7491 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7492 (_update_title_on_selector_changed_cb), (requires_done_button),
7493 (_hildon_picker_dialog_set_selector),
7494 (hildon_picker_dialog_set_selector),
7495 (hildon_picker_dialog_get_selector):
7496 * src/hildon-picker-dialog.h:
7497 * src/hildon-time-button.c: (hildon_time_button_init),
7498 (hildon_time_button_get_time), (hildon_time_button_set_time):
7499 * src/hildon-time-selector.c: (hildon_time_selector_init),
7500 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7501 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7502 * src/hildon-time-selector.h:
7505 Massive code updates after the rename.
7507 * src/hildon-touch-picker.c: Removed.
7508 * src/hildon-touch-picker.h: Removed.
7510 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7511 (hildon_touch_selector_init), (hildon_touch_selector_map),
7512 (hildon_touch_selector_remove), (_default_print_func),
7513 (_selection_changed_cb), (_create_new_column),
7514 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7515 (hildon_touch_selector_append_text_column),
7516 (hildon_touch_selector_remove_column),
7517 (hildon_touch_selector_set_column_attributes),
7518 (hildon_touch_selector_insert_column),
7519 (hildon_touch_selector_get_num_columns),
7520 (hildon_touch_selector_get_column_selection_mode),
7521 (hildon_touch_selector_set_column_selection_mode),
7522 (hildon_touch_selector_set_print_func),
7523 (hildon_touch_selector_get_print_func),
7524 (hildon_touch_selector_get_active_iter),
7525 (hildon_touch_selector_set_active_iter),
7526 (hildon_touch_selector_get_selected_rows),
7527 (hildon_touch_selector_get_model),
7528 (hildon_touch_selector_set_model),
7529 (hildon_touch_selector_get_current_text),
7530 (_hildon_touch_selector_center_on_selected_items):
7531 * src/hildon-touch-selector.h: Renamed from
7532 hildon-touch-picker.[ch]
7534 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7535 references, code examples, and related documentation.
7537 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7539 * doc/hildon-docs.sgml
7542 * src/hildon-toggle-button.c
7543 * src/hildon-toggle-button.h
7544 * src/hildon.h: New HildonToggleButton widget.
7546 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7548 * src/hildon-button.c: Add API documentation.
7549 (hildon_button_set_size_groups): Check input parameters
7551 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7553 * src/hildon-pannable-area.c
7554 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7555 effect after reaching the movement thredshold. This way we start
7556 using the distance after passing the thredshold.
7558 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7560 * src/hildon-button.c: (hildon_button_set_property): Use the
7561 appropriate g_value_get_flags() method.
7563 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7565 * doc/hildon-docs.sgml:
7568 Add the touch pickers, picker dialogs, and picker button widgets
7569 to the documentation.
7571 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7573 * src/hildon-button.c: (hildon_button_set_property),
7574 (hildon_button_class_init): Make "arrangement-flags" a proper
7575 G_TYPE_FLAGS derived property.
7577 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7579 * examples/Makefile.am: Add below examples.
7580 * examples/hildon-date-button-example.c:
7581 * examples/hildon-picker-button-example.c:
7582 * examples/hildon-picker-button-multicolumn-example.c:
7583 * examples/hildon-time-button-example.c:
7584 * examples/hildon-touch-picker-example.c:
7586 Add examples for the recently added touch pickers,
7587 picker dialogs, and picker button widgets.
7589 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7591 * src/hildon-button.c: Add some API documentation
7593 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7595 * src/hildon-button.h
7596 * src/hildon-button.c
7598 (hildon_button_new_with_text): New constructor to create a button
7599 with no text at all.
7600 (hildon_button_init, hildon_button_set_arrangement)
7601 (hildon_button_set_title, hildon_button_set_value)
7602 (hildon_button_set_text)
7603 (hildon_button_construct_child): Hide the value when it's not used
7604 so the rest of the text is properly aligned.
7605 Allow creating buttons with arbitrary widgets inside (not just
7606 title/value labels).
7608 * examples/hildon-button-example.c (vertical_buttons_window)
7609 (horizontal_buttons_window): Update example to use new API.
7611 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7613 * src/Makefile.am: Added HildonTimeButton.
7614 * src/hildon-time-button.c: Added missing LGPL header.
7615 * src/hildon-time-button.h: Added missing LGPL header.
7616 * src/hildon.h: Add hildon-time-button.h
7618 Copied HildonTimeButton from sandbox to trunk. Future work on this
7619 widget must take place in trunk.
7621 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7623 * src/Makefile.am: Added HildonDateButton.
7624 * src/hildon-date-button.c: Update includes.
7625 * src/hildon.h: Add hildon-date-button.h
7627 Copied HildonDateButton from sandbox to trunk. Future work on this
7628 widget must take place in trunk.
7630 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7632 * src/Makefile.am: Added HildonPickerButton.
7633 * src/hildon-picker-button.h: Update includes.
7634 * src/hildon.h: Add hildon-picker-button.h
7636 Copied HildonPickerButton from sandbox to trunk. Future work on
7637 this widget must take place in trunk.
7639 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7641 * src/Makefile.am: Added HildonPickerDialog.
7642 * src/hildon-picker-dialog.c: Update includes.
7643 * src/hildon.h: Add hildon-picker-dialog.h
7645 Copied HildonPickerDialog from sandbox to trunk. Future work
7646 on this widget must take place in trunk.
7648 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7650 * src/Makefile.am: Added HildonTimeSelector.
7651 * src/hildon.h: Add hildon-time-selector.h
7653 Copied HildonTimeSelector widget from sandbox to trunk. Future
7654 work on this widget must happen in trunk.
7656 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7658 * src/Makefile.am: Added HildonDateSelector.
7659 * src/hildon.h: Add hildon-date-selector.h
7661 Copied HildonDateSelector widget from sandbox to trunk. Future
7662 work on this widget must happen in trunk.
7664 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7666 * src/Makefile.am: Added HildonTouchPicker.
7667 * src/hildon-touch-picker.c: Update includes.
7668 * src/hildon.h: Add hildon-touch-picker.h
7670 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7671 on this widget must happen in trunk.
7673 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7675 * src/hildon-pannable-area.c:
7676 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7678 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7680 * examples/hildon-app-menu-example.c (main): Let the window
7683 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7685 * src/hildon-pannable-area.c
7686 (hildon_pannable_area_class_init): Set the min value of the
7687 overshoot properties to zero, which points out that not
7688 overshooting allowed.
7690 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7692 Modified the procedure to get the widget at a point inside the
7693 pannable area when using the movement type signals. Now the user
7694 has to call a function to get the child, that way we just
7695 calculate the child in case the user really want to use it and not
7698 * src/hildon-marshalers.list: Modified the marshallers, now we do
7699 not have the widget as a parameter.
7701 * src/hildon-pannable-area.c
7702 (hildon_pannable_area_motion_notify_cb),
7703 (hildon_pannable_area_class_init),
7704 (hildon_pannable_get_child_widget_at): Removed the widget
7705 parameter from the signal callback. We have also refactored the
7706 emission of the signals.
7708 * src/hildon-pannable-area.h: Added a new method to the API to
7709 calculate a widget at a point inside the pannable area,
7710 hildon_pannable_get_child_widget_at.
7712 * examples/hildon-pannable-area-example-4.c
7713 (horizontal_movement): Modified the example to use the new API,
7714 added condition to control which widget is under the event. This
7715 way we can avoid scrolling laterally over other widgets.
7717 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7719 * src/hildon-pannable-area.c
7720 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7721 modes, we stop getting the pointer events due to returning the
7722 callback without properly calling the get pointer again. Fixed
7723 also an error using the hscroll and vscroll.
7725 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7727 * src/hildon-app-menu-private.h
7728 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7729 (hildon_app_menu_button_release, hildon_app_menu_init)
7730 (hildon_app_menu_class_init): Don't hide the menu on button
7731 release if the user didn't press outside first.
7733 * src/hildon-window.h
7734 * src/hildon-window.c (hildon_window_toggle_menu)
7735 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7736 hildon_window_toggle_menu a virtual function for the stackable
7737 window to override it.
7739 * src/hildon-stackable-window.h
7740 * src/hildon-stackable-window-private.h
7741 * src/hildon-stackable-window.c
7742 (hildon_stackable_window_realize)
7743 (hildon_stackable_window_finalize)
7744 (hildon_stackable_window_class_init)
7745 (hildon_stackable_window_init)
7746 (hildon_stackable_window_set_main_menu): New function to set the
7747 app menu of a HildonStackableWindow.
7749 * examples/hildon-app-menu-example.c: Remove the button to show
7750 the app menu, now it'll be shown when clicking on the title bar
7753 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7755 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7756 set the widget name if the arrangement flags do not specify
7759 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7761 * src/hildon-button.c: (hildon_button_set_property),
7762 (hildon_button_class_init), (hildon_button_new_full),
7763 (hildon_button_set_arrangement): Added "arrangement-flags"
7766 Make the HildonButtonFlags a construction-only property, to allow
7767 subclasses to set them properly.
7769 2008-07-21 Tim Janik <timj@imendio.com>
7771 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7772 insertion position after backspace, so additional digits are appended,
7775 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7777 * src/hildon-pannable-area.c,
7778 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7779 TODO list, it was complete and removed the g_debug and g_print
7782 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7784 Added the movement modes to the hildon-pannable-area, with this
7785 modes the developers can control in which directions the widget
7786 can scroll. They can also connect to signals in order to do
7787 something when that happens, allowing applications scroll. There
7788 is an example uploaded showing how to use it.
7790 * examples/Makefile.am:
7791 * examples/hildon-pannable-area-example-4.c: Added this example of
7792 an application using the modes.
7794 * src/hildon-marshalers.list: Added a new marshaller for the new
7797 * src/hildon-pannable-area.h: Added new enumerations and flags in
7798 order to control the movement modes and the new signals to warn
7799 about the movements in the area.
7801 * src/hildon-pannable-area.c:
7802 (hildon_pannable_axis_scroll),
7803 (hildon_pannable_area_scroll),
7804 (hildon_pannable_area_motion_notify_cb),
7805 (hildon_pannable_area_get_property),
7806 (hildon_pannable_area_set_property),
7807 (hildon_pannable_area_map),
7808 (hildon_pannable_area_class_init),
7809 (hildon_pannable_area_init),
7810 (hildon_pannable_area_jump_to): Added the modes to control the
7811 movement in the widget. We have added properties to control it,
7812 signals to warn about the movements and refactored some code.
7814 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7816 Changes required in order to allow vfast_factor set to zero to
7819 * src/hildon-pannable-area.c:
7820 (hildon_pannable_area_button_press_cb): Changed the condition, it
7821 is required for not allowing click when vfast_factor is zero.
7822 (hildon_pannable_area_timeout): Initialized velocity variables
7823 when we stop moving, it was less than 1 but not zero and we need
7824 to check zero in some situations.
7825 (hildon_pannable_area_class_init): Changed the default value of
7826 the speed factor, now the button_press is just sent in case the
7827 speed is 2 per cent of the max speed.
7828 (hildon_pannable_area_init): Initialization with 0.
7830 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7832 * src/hildon-pannable-area.c,
7833 (hildon_pannable_area_get_topmost): replaced
7834 gdk_window_get_children with gdk_window_peek_children, this way we
7835 do not have to free the list because it is not a copy.
7837 (hildon_pannable_axis_scroll),
7838 (hildon_pannable_area_scroll),
7839 (hildon_pannable_area_timeout),
7840 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7841 two parameters that were only used inside the
7842 hildon_pannable_area_scroll function.
7844 * examples/hildon-pannable-area-example.c,
7845 (get_sawtooth_label): Fixed small memory leak.
7847 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7849 More checks for the case where the overshoot is bigger than the
7852 * src/hildon-pannable-area.c:
7853 (hildon_pannable_draw_vscroll),
7854 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7855 to draw the slider of the scrollbar under the other scrollbar.
7856 (hildon_pannable_area_expose_event): added new checks to control
7857 the drawing of the overshooting area rectangle, in case it is too
7858 big for the area of the widget.
7859 (hildon_pannable_area_size_allocate): add more checks to avoid
7860 setting a position to the child widget outside the area.
7862 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7864 * src/hildon-pannable-area.c
7865 (hildon_pannable_area_size_allocate): Added conditions to control
7866 when overshooting is bigger than the allocated space for the
7867 children, this avoids negative allocations.
7869 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7871 * doc/hildon-docs.sgml
7873 * examples/Makefile.am
7874 * examples/hildon-button-example.c
7876 * src/hildon-button.c
7877 * src/hildon-button.h
7878 * src/hildon.h: Initial version of the new HildonButton widget,
7881 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7883 * src/hildon-pannable-area.c:
7884 (hildon_pannable_area_button_press_cb),
7885 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7886 (hildon_pannable_area_motion_notify_cb),
7887 (hildon_pannable_area_button_release_cb),
7888 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7889 (hildon_pannable_area_jump_to_child):
7891 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7893 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7895 * examples/Makefile.am
7896 * examples/hildon-pannable-area-touch-grid-example.c
7897 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7898 the Hildon Touch List and Hildon Touch Grid using the
7899 HildonPannableArea widget.
7901 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7903 * src/hildon-pannable-area.c,
7904 (hildon_pannable_area_button_press_cb),
7905 (hildon_pannable_area_refresh),
7906 (hildon_pannable_area_scroll),
7907 (hildon_pannable_area_motion_notify_cb),
7908 (hildon_pannable_area_button_release_cb),
7909 (hildon_pannable_area_expose_event),
7910 (hildon_pannable_area_add),
7911 (hildon_pannable_area_remove),
7912 (hildon_pannable_area_realize),
7913 (hildon_pannable_area_size_allocate),
7914 (hildon_pannable_area_class_init),
7915 (hildon_pannable_area_init),
7916 (hildon_pannable_area_scroll_to_child),
7917 (hildon_pannable_area_jump_to_child): Fixed the problem of
7918 removing the child from the GtkBin, we have rearranged the widget
7919 hierarchy, now there is no GtkAlignment which was not doing
7920 anything interesting but breaking some of the assumptions of
7921 GtkContainer. Now developers if they want to add a GtkAlignment
7922 they could, but it is not inside the area.
7924 We had to review the whole allocation/expose process, now it is
7925 improved and we save at least three signals which would be saving
7926 some time when rendering the widget. The allocation of the
7927 scrollbars is now made in the allocate method as usual.
7929 We have also added some conditions in order to control when there
7930 is no child of the pannable area. Maybe we will need more work
7933 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7935 * src/hildon-pannable-area.c,
7936 (hildon_pannable_area_dispose): Released the fade-out timeout when
7937 disposing the widget.
7939 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7941 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7942 zero, we are going to use that property in order to deactivate the
7944 (hildon_pannable_axis_scroll),
7945 (hildon_pannable_area_size_allocate): Added conditions to control
7946 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7947 call, now it is called in all situations and we can remove calls
7948 in the allocate method.
7949 (hildon_pannable_area_map): Control the situation when
7950 overshoot_max is zero, we do not need the timeout.
7951 (hildon_pannable_area_class_init): Added documentation in order to
7952 point out that setting zero to overshoot_max means deactivate
7955 NOTE: removed trailing whitespaces from my previous comments of
7958 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7960 * src/hildon-pannable-area.c
7961 (hildon_pannable_area_get_property),
7962 (hildon_pannable_area_set_property),
7963 (hildon_pannable_area_map),
7964 (hildon_pannable_area_class_init),
7965 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7966 to cause the widget give a hint about its panning abilities upon
7969 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7971 * src/hildon-pannable-area.c: Several documentation improvements.
7973 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7975 * src/hildon-program.c
7976 * src/hildon-stackable-window.c: Update documentation.
7978 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7980 * src/hildon-stackable-window.c (get_previous_window_if_last):
7981 Renamed get_last_window()
7982 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7983 (hildon_stackable_window_unset_program):
7985 (get_previous_window_if_last):
7986 Detect if the window hasn't been added to a HildonProgram.
7988 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7990 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7992 * src/hildon-pannable-area.c
7993 (hildon_pannable_area_button_press_cb),
7994 (hildon_pannable_axis_scroll),
7995 (hildon_pannable_area_scroll),
7996 (hildon_pannable_area_timeout),
7997 (hildon_pannable_calculate_vel_factor),
7998 (hildon_pannable_area_get_property),
7999 (hildon_pannable_area_set_property),
8000 (hildon_pannable_area_class_init),
8001 (hildon_pannable_area_init),
8002 (hildon_pannable_area_scroll_to),
8003 (hildon_pannable_area_jump_to),
8004 (hildon_pannable_area_scroll_to_child),
8005 (hildon_pannable_area_jump_to_child):
8006 * src/hildon-pannable-area.h: Added the new API functions:
8007 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8008 hildon_pannable_area_scroll_to_child,
8009 hildon_pannable_area_jump_to_child
8012 * examples/Makefile.am
8013 * examples/hildon-pannable-area-example-2.c
8014 * examples/hildon-pannable-area-example-3.c: Added these two new
8015 examples in order to test and show how the new APIs work.
8017 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8019 * examples/hildon-stackable-window-example.c (new_window):
8020 * src/Makefile.am (noinst_HEADERS):
8021 * src/hildon-program.c (hildon_program_go_to_root_window):
8022 * src/hildon-program.h:
8023 * src/hildon-stackable-window-private.h:
8024 * src/hildon-stackable-window.c:
8025 * src/hildon-stackable-window.h:
8026 Create hildon-stackable-window-private.h
8027 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8029 * examples/hildon-app-menu-example.c (create_menu):
8030 * examples/hildon-hvolumebar-insensitive-example.c (main):
8031 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8032 * examples/hildon-toolbar-seekbar-example.c (main):
8033 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8034 * src/hildon-banner.c (hildon_banner_set_property):
8035 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8036 Fix compilation warnings
8038 * src/hildon-window.c:
8041 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8043 * src/hildon-stackable-window.c
8044 (hildon_stackable_window_unset_program):
8045 Calculate correctly whether to show the previous window if the
8046 last one is removed from the stack.
8047 (hildon_stackable_window_go_to_root_window):
8048 Send delete events starting from the topmost window.
8049 Stop if one of the windows is not destroyed.
8051 (hildon_stackable_window_delete_event)
8052 (hildon_stackable_window_class_init):
8053 Ignore the delete event if the window is not the topmost one.
8055 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8057 * src/hildon-pannable-area.c
8058 (hildon_pannable_area_expose_event): Fixed a problem when
8059 selecting the background color of the scrollbars.
8061 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8063 * examples/hildon-stackable-window-example.c
8064 * src/hildon-stackable-window.c
8065 * src/hildon-stackable-window.h
8066 hildon_stackable_window_go_home() renamed to
8067 hildon_stackable_window_go_to_root_window()
8068 Send delete events to windows rather than closing them with
8069 gtk_widget_destroy()
8071 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8073 * src/hildon-pannable-area.c
8074 (hildon_pannable_area_button_release_cb): Fix overshooting in
8077 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8079 * src/hildon-pannable-area.c
8080 (hildon_pannable_area_init): Initially show the scroll indicators.
8081 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8083 Add initial effect showing the widget is pannable.
8085 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8087 * src/hildon-pannable-area.c
8088 (hildon_pannable_area_class_init)
8089 (hildon_pannable_area_set_property)
8090 (hildon_pannable_area_get_property)
8091 (hildon_pannable_area_button_press_cb):
8092 New 'velocity_fast_factor' property to decide which velocity is
8095 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8097 * src/hildon-pannable-area.c
8098 (hildon_pannable_draw_hscroll)
8099 (hildon_pannable_draw_vscroll):
8100 Use float variables to calculate the size of the scrollbars to
8101 avoid error propagation and resizing during scrolling.
8103 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8105 * src/hildon-pannable-area.c
8106 (hildon_pannable_draw_vscroll)
8107 (hildon_pannable_draw_hscroll):
8108 Define a minimum size for the scroll bars
8110 * src/hildon-stackable-window.c
8111 (hildon_stackable_window_go_home): Fix compilation warning
8112 (get_last_window): Minor optimizations
8113 (hildon_stackable_window_class_init): Fix initialization of
8116 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8118 * src/hildon-stackable-window.c: Fixed typos in doc
8120 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8122 * src/hildon-pannable-area.c
8123 (hildon_pannable_area_scroll):
8124 Calculate here whether we need to scroll instead of using the booleans
8125 that tell us whether to /draw/ the scrolling bars.
8127 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8129 * src/hildon-app-menu.h
8131 * src/hildon-app-menu.c
8132 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8133 multiple filter groups related code and API. Now we support only
8135 * examples/hildon-app-menu-example.c:
8137 Update to reflect API changes.
8139 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8141 * src/hildon-stackable-window.c
8142 (hildon_stackable_window_class_init):
8143 Add hildon_stackable_window_realize.
8144 (hildon_stackable_window_realize):
8145 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8146 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8147 to apply theming and behavior specific to HildonStackableWindow
8150 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8152 * src/hildon-note.c (hildon_note_button_release):
8153 Close information notes also when tapping on them
8155 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8157 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8158 ELASTICITY, refactor and review, fix some issues with drawing
8161 * src/hildon-pannable-area.c:
8162 (hildon_pannable_area_button_press_cb): removed the conditions to
8163 avoid clicks when overshooting. It is not required
8165 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8166 define. Refatored and reviewed the code, now we do not need to
8167 manage velocity in motion_notify.
8169 (hildon_pannable_area_motion_notify_cb): We have moved the code
8170 that controls the area_scroll to the axis_scroll function and get
8171 rid of duplicated code.
8173 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8175 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8177 (hildon_pannable_draw_vscroll),
8178 (hildon_pannable_draw_hscroll): Fixed the problems with the
8179 scrollbar drawing, now we do not use two surfaces, it is easier
8180 and saves resources.
8182 (hildon_pannable_area_get_property): Style modification.
8184 (hildon_pannable_area_class_init): Changed some default values.
8186 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8188 * src/hildon-stackable-window.c: Fix some typos in the
8191 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8193 * src/hildon-dialog.c:
8194 Change indentation style
8197 (hildon_note_button_release):
8198 Use root coordinates to check if the release event happened
8201 * src/hildon-app-menu.c
8202 (hildon_app_menu_button_release):
8203 Remove unnecessary check
8205 * examples/hildon-app-menu-example.c
8207 Add cast to fix warning
8209 * src/hildon-app-menu.c
8210 (hildon_app_menu_class_init):
8211 New inner-border style property.
8212 Set all default spacings to 16
8213 (hildon_app_menu_init):
8214 Use vertical-spacing to set the space between filter buttons and
8215 regular menu buttons.
8216 Set the default container border using the inner-border value.
8218 * examples/hildon-app-menu-example.c
8220 Don't set the menu border explicitly, now we have the inner-border
8221 style property for that.
8223 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8225 * src/hildon-app-menu.c (hildon_app_menu_init):
8226 Make the window modal
8228 * src/hildon-note.c (hildon_note_map)
8229 * src/hildon-app-menu.c (hildon_app_menu_map):
8230 Destroy the grab window if we're unable to grab the pointer
8232 * src/hildon-app-menu-private.h
8233 * src/hildon-app-menu.c
8234 (hildon_app_menu_init, hildon_app_menu_finalize)
8235 (hildon_app_menu_map, hildon_app_menu_unmap)
8236 (hildon_app_menu_button_release)
8237 (grab_transfer_window_get):
8238 Bring back the grab window
8239 (hildon_app_menu_realize):
8240 Decorate the window, set WM hint for Matchbox
8242 * src/hildon-note.c (hildon_note_realize):
8243 * src/hildon-banner.c (hildon_banner_realize):
8244 Add WM hints for Matchbox
8246 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8248 * src/hildon-app-menu-private.h
8249 * src/hildon-app-menu.c
8250 (hildon_app_menu_init, hildon_app_menu_finalize)
8251 (hildon_app_menu_map, hildon_app_menu_unmap)
8252 (hildon_app_menu_button_release):
8253 Remove the grab window, it's not needed anymore
8255 * src/hildon-program.c
8256 Fixed typo in documentation
8258 * src/hildon-app-menu.h
8259 * src/hildon-app-menu.c
8260 * examples/hildon-app-menu-example.c
8261 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8263 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8266 Added new transfer_window and close_if_pressed_outside private
8268 (hildon_note_rebuild):
8269 Don't add a cancel button to the information note. It will be
8270 closed when tapping outside
8271 Remove the comment about the OK button in the documentation
8272 (hildon_note_realize):
8273 Set the notification type hint
8274 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8275 Grab/ungrab pointer and keyboard if the note has to be closed when
8277 (hildon_note_button_release):
8278 Close the note when tapping outside (if applicable)
8280 * src/hildon-app-menu.c
8281 Grab/ungrab pointer and keyboard on map/unmap
8282 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8283 Close the menu on button release, not button press
8285 * src/hildon-banner.c
8286 (hildon_banner_set_property)
8287 (hildon_banner_check_position):
8288 Make the banner use the full width of the screen
8289 (hildon_banner_show_information)
8290 (hildon_banner_show_information_with_markup):
8291 Don't display an icon by default
8293 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8295 Added fading scrollbars and adapted all the overshooting code to
8296 horizontal scrolling. We have also fixed bugs with overshooting
8297 and current fading implementation.
8299 * src/hildon-pannable-area.c
8300 (hildon_pannable_area_scroll_indicator_fade): Time out function
8301 used to change the transparency of the scrollbars.
8303 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8304 control and fixed a problem with fading, we now remove the fade
8305 timeout before adding a new one.
8307 (hildon_pannable_axis_scroll):
8308 (hildon_pannable_area_scroll):
8309 (hildon_pannable_area_timeout): Added this functions so we can use
8310 the scroll code both for vertical and horizontal.
8312 (hildon_pannable_area_motion_notify_cb):
8313 (hildon_pannable_area_button_release_cb): Added the horizontal
8314 scrolling control, fixed a problem with the overshooting timeout.
8316 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8317 painting of the scrolls.
8319 (hildon_pannable_draw_vscroll):
8320 (hildon_pannable_draw_hscroll):
8321 (hildon_pannable_area_expose_event):
8322 Draw both scrollbars and rectangles in the overshooting area.
8324 (hildon_pannable_area_get_property):
8325 (hildon_pannable_area_set_property):
8326 Modified the overshoot property to overshoot_max
8328 (hildon_pannable_area_map):
8329 Replaced the comments symbols.
8331 (hildon_pannable_area_size_allocate):
8332 (hildon_pannable_area_class_init):
8333 (hildon_pannable_area_init): Added horizontal scroll, fading
8334 effect properties, fixed a problem when overshooting in the bottom
8337 * examples/hildon-pannable-area-example.c:
8338 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8339 looks better in the example.
8341 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8343 * src/hildon-window.c
8344 * src/hildon-window.h
8345 (hildon_window_class_init)
8346 (hildon_window_unset_program)
8347 (hildon_window_unset_program_real):
8348 Make unset_program a virtual function
8350 * src/hildon-stackable-window.c
8351 * src/hildon-stackable-window.h
8352 Added hildon_stackable_window_go_home()
8354 * examples/Makefile.am
8355 * examples/hildon-stackable-window-example.c
8356 HildonStackableWindow example
8358 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8360 * hildon-pannable-area.c: Added the overshoot property and removed
8361 the OVERSHOOT define. Fixed an indent style error.
8362 (hildon_pannable_area_motion_notify_cb):
8363 (hildon_pannable_area_get_property):
8364 (hildon_pannable_area_set_property): Add overshoot property.
8366 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8369 (hildon_pannable_area_class_init): Installed the new property.
8371 * hildon-pannable-area-example.c: Added a sawtooth function, this
8372 way it is easier to check the movement in the pannable.
8373 (get_sawtooth_label): Added this function.
8374 (main): Now we get the labels from the new get_sawtooth_label
8377 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8379 * src/hildon-app-menu.h
8380 * src/hildon-app-menu.c
8381 Renamed API variables for consistency
8383 (hildon_app_menu_popup): Use also the default window size to
8384 decide where to place the menu
8386 (hildon_app_menu_init, hildon_app_menu_class_init): New
8387 external-border style property
8389 2008-05-26 Michael Natterer <mitch@imendio.com>
8391 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8392 widget_class->tap_and_hold_setup signal slot doesn't exist any
8393 longer, stop overriding it.
8395 (hildon_time_editor_init): g_signal_connect() to the
8396 tap-and-hold-setup signal instead.
8398 (hildon_time_editor_entry_keypress): add cast to fix warning.
8400 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8402 * doc/hildon-docs.sgml
8404 * examples/Makefile.am
8405 * examples/hildon-app-menu-example.c
8407 * src/hildon-app-menu-private.h
8408 * src/hildon-app-menu.c
8409 * src/hildon-app-menu.h
8411 New HildonAppMenu widget
8413 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8415 Rearranged the inheritance of the pannable area, now it inherits
8416 from GtkBin. This will allow us to control the event_window and
8417 the allocation process of the widget, required for some effects.
8419 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8420 GtkBin structures. * src/hildon-pannable-area.c: Added the
8421 event_window variable.
8422 (hildon_pannable_area_button_press_cb):
8423 (hildon_pannable_area_button_release_cb):
8424 (hildon_pannable_area_motion_notify_cb):
8425 Changed the signature of the method, now we override the event
8426 callback instead of connecting to the signal.
8428 (hildon_pannable_area_realize):
8429 (hildon_pannable_area_unrealize):
8430 (hildon_pannable_area_map):
8431 (hildon_pannable_area_unmap):
8432 (hildon_pannable_area_size_allocate):
8433 Added functions to control the widget construction. We add a
8434 INPUT_ONLY window and we put it over the widgets inside the
8435 container, this event_window handles the events.
8437 (hildon_pannable_area_class_init):
8438 Replaced the signal connections with overrides of the event
8441 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8443 Bouncing effect added when touching the borders, you can change
8444 the elasticity of the border changing the ELASTICITY define.
8446 * src/hildon-pannable-area.c: Added ELASTICITY define.
8447 (hildon_pannable_area_timeout): Added inverse velocity when
8448 touching the border of the child widget, that causes a bounce.
8450 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8452 Improved performance, we now do not go to the X server in order to
8453 get the list of window children. Apparently the effect is the
8454 same, we have to be careful and check if this breaks something in
8457 * src/hildon-pannable-area.c:
8458 (get_ordered_children): Removed this function.
8459 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8460 the children windows function with gdk_window_get_children.
8462 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8464 * src/hildon-pannable-area.c:
8465 (hildon_pannable_area_dispose): Fixed a crash when closing the
8466 window and kinetics is activated.
8468 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8470 * src/hildon-pannable-area.h
8471 * src/hildon-pannable-area.c
8472 Changed indentation style to meet the one used in Hildon
8474 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8476 Reviewed the interaction of the AUTO mode, now we use the time
8477 attribute of the events and calculate the velocity in the motion,
8478 doing a gimp like calculation. The velocity is calculated in each
8479 motion event using the last velocity and the current one, the
8480 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8482 * src/hildon-pannable-area.c: Replaced the time based algorithm
8484 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8485 timeout for the AUTO mode when we are still moving the cursor. We
8486 added also the velocity calculation in this function.
8487 (hildon_pannable_area_button_release_cb): launch the timeout in
8488 case we are in AUTO mode. There are still some constants here that
8489 come from the old implementation that should be reviewed and
8492 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8494 * doc/hildon-docs.sgml
8497 * src/hildon-stackable-window.c
8498 * src/hildon-stackable-window.h
8500 New HildonStackableWindow widget
8502 * examples/hildon-dialog-example.c
8503 * examples/hildon-pannable-area-example.c
8506 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8508 * src/hildon-dialog.c
8509 (hildon_dialog_new_with_buttons): New constructor.
8511 * examples/hildon-dialog-example.c
8512 (main): Update the example to use the new
8513 hildon_dialog_new_with_buttons().
8515 * examples/hildon-pannable-area-example.c
8516 (main): Update example.
8518 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8520 * doc/hildon-docs.sgml
8522 Added HildonPannableArea to the documentation.
8524 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8526 * doc/visual_index.xml
8527 Fix reference to HildonLoginDialog in documentation
8529 * doc/hildon-docs.sgml
8531 * examples/Makefile.am
8532 * examples/hildon-dialog-example.c
8534 * src/hildon-dialog.c
8535 * src/hildon-dialog.h
8537 New HildonDialog widget.
8539 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8541 * src/hildon-pannable-area.c
8542 Merge latest changes (r4318, r4342) from libmokoui trunk
8544 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8546 * examples/Makefile.am
8547 * examples/hildon-pannable-area-example.c
8549 * src/hildon-pannable-area.c
8550 * src/hildon-pannable-area.h
8552 New HildonPannableArea widget.
8554 2008-04-15 18:05:19 <timj@imendio.com>
8556 * src/hildon-banner.c: revert the recent change, that introduced
8557 gtk_window_present() calls. this reopens:
8558 Bug 78481 - [freetest] information banners are hidden under browser menu
8559 But resolves another variant of:
8560 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8562 2008-04-15 13:21:13 <timj@imendio.com>
8564 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8565 recreated its layout, spotted by Kris. this fixes all remaining
8566 artefacts and stability issues with the banner code. in particular:
8567 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8569 2008-04-14 16:52:59 <timj@imendio.com>
8571 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8572 operating on unrealized widgets, fixes:
8573 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8575 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8577 2008-04-09 Kristian Rietveld <kris@imendio.com>
8579 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8580 makes banner disappear.
8581 Fixes: NB#79182: info banner flickering with certain message lengts.
8583 * src/hildon-banner.c (hildon_banner_constructor),
8584 (hildon_banner_init), (hildon_banner_set_text),
8585 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8586 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8587 FALSE, reset size requests of label and banner,
8588 (force_to_wrap_truncated): when the text is too wide, always enforce
8589 the maximum possible width instead of recalculating it from the
8590 layout; enforce the maximum banner height of 3 lines,
8591 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8592 nicer wrapping and no truncated chars if space gets tight.
8594 * src/hildon-banner-private.h: add has_been_wrapped and
8595 has_been_truncated fields.
8597 2008-04-07 Sven Herzberg <sven@imendio.com>
8599 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8600 local values in hildon_date_editor_size_allocate
8602 * src/hildon-date-editor.c: moved the real allocation code into the
8605 2008-04-07 Sven Herzberg <sven@imendio.com>
8607 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8608 local values in hildon_date_editor_size_allocate
8610 * src/hildon-date-editor.c: merged the two if() branches together
8612 2008-04-07 Sven Herzberg <sven@imendio.com>
8614 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8615 local values in hildon_date_editor_size_allocate
8617 * src/hildon-date-editor.c: changed the arguments of the if()
8620 2008-04-07 Sven Herzberg <sven@imendio.com>
8622 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8623 local values in hildon_date_editor_size_allocate
8625 * src/hildon-date-editor.c: split the calculation of the allocation
8626 from the real allocation
8628 2008-03-27 Michael Natterer <mitch@imendio.com>
8630 Fixes: NB#81696: The passcode is not overwritten even after
8633 * src/hildon-code-dialog.c
8634 (hildon_code_dialog_button_clicked)
8635 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8636 because that doesn't overwrite selected text. Instead, emit the
8637 "commit" signal on the entry's im_context so the entry's normal
8638 insert logic is triggered. Set the cursor to the end of the entry
8639 after each insert operation so that we *only* insert in the middle
8640 of the text if something was selected.
8642 2008-03-27 Michael Natterer <mitch@imendio.com>
8644 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8645 selector cannot be opened
8647 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8648 when the popup color selector is created. Please connect to this
8649 signal in order to set the dialog's help ID.
8651 2008-03-25 Sven Herzberg <sven@imendio.com>
8653 Fixes: MB#1212: Hide info banners (infoprints) on click
8655 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8656 extracted the close event simulation into an extra function
8657 (hildon_banner_button_press_event): simulate a close event and destroy
8658 the widget if the event wasn't handled
8659 (hildon_banner_class_init): added the button_press_event handler
8660 (hildon_banner_init): added button-press events to the widget
8662 2008-03-25 Sven Herzberg <sven@imendio.com>
8664 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8665 Patch from: Mohammad Anwari <mdamt@maemo.org>
8667 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8668 instead of the right in RTL mode
8669 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8670 breadcrumb button list in RTL mode
8671 * src/hildon-caption.c: mirror the appearance of the caption widget in
8673 * src/hildon-date-editor.c: mirror appearance of the date editor in
8675 * src/hildon-time-editor.c: mirror appearance of the time editor in
8677 * src/hildon-window.c: fix the position of the popup in RTL mode
8679 2008-03-25 Sven Herzberg <sven@imendio.com>
8681 Amendment to the fix of NB#22072. Fix compilation.
8683 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8685 2008-03-19 Sven Herzberg <sven@imendio.com>
8687 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8690 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8691 timeout id properly when the timeout will disappear this leaves no
8692 artifacts around in the destroy(); there will only be the timeout
8693 created by hildon_banner_ensure_timeout() and adding a new timeout
8694 will also work if the timeout gets removed because the timeout_handler
8697 2008-03-19 Michael Natterer <mitch@imendio.com>
8699 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8701 * src/hildon-volumebar.c
8702 * src/hildon-vvolumebar.c
8703 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8704 the widget becomes focussable at all.
8706 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8707 set the focus to wither the mute button or the volumebar.
8709 Remove own "can-focus" property and instead listen to
8710 notify::can-focus in order to update the widget's state.
8712 Implement GtkWidget::focus() and make sure we can also *leave* the
8713 widget, not only enter it, depending on volumebar orientation and
8714 requested focus direction.
8716 Clean up set_mute() to cooperate nicely with all the above.
8718 2008-03-04 Michael Natterer <mitch@imendio.com>
8720 Fixes: NB#78481: information banners are hidden under browser menu
8722 * src/hildon-banner.c: call gtk_window_present() on the banners so
8723 they are risen if they are already visible.
8725 2008-03-03 Sven Herzberg <sven@imendio.com>
8727 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8729 * examples/hildon-window-menu-example.c: (main): extended the window
8730 menu example to serve as a testcase for automatically added
8731 accelerator groups, too
8732 * src/hildon-window.c: (hildon_window_add_accel_group),
8733 (hildon_window_set_menu): added patch by Tommi Komulainen
8735 2008-03-03 Sven Herzberg <sven@imendio.com>
8737 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8739 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8740 knowledge about the border allocators used within GTK+
8742 2008-02-26 Sven Herzberg <sven@imendio.com>
8744 Fixes: MB#2981: Build with asserts broken
8746 * src/hildon-date-editor.c,
8747 * src/hildon-number-editor.c,
8748 * src/hildon-time-editor.c,
8749 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8750 the proper GType instance check
8752 2008-02-25 Sven Herzberg <sven@imendio.com>
8754 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8756 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8757 * examples/hildon-window-menu-example.c: (main): explicitly show
8759 * src/hildon-window.c:
8760 (hildon_window_set_main_menu): moved most of the code from set_menu()
8761 to this place; skipped the call to gtk_widget_show_all(); also didn't
8762 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8763 (hildon_window_set_menu): removed most of the code, just keep the
8764 questionable gtk_widget_show_all()
8765 * src/hildon-window.h: added the new function and deprecate the old
8768 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8774 * debian/changelog: Updating.
8776 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8779 * pkgconfig/Makefile.am:
8780 * pkgconfig/hildon.pc.in:
8783 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8784 use newly created API_MAJOR_VERSION.
8786 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8792 * debian/changelog: Updating.
8794 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8796 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8798 Add outer_border style property, we use it but don't define it (!).
8802 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8804 * examples/hildon-bread-crumb-trail-example.c (main):
8808 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8810 Fix logic for the bread crumb trail node removal.
8814 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8820 * debian/changelog: Updating.
8822 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8824 Patch by Alejandro to get/set passwords dialogs accesibility.
8826 * hildon-1/src/hildon-get-password-dialog.c:
8827 * hildon-1/src/hildon-set-password-dialog.c:
8828 Set atk_set_name to the passwd entries in order to allow
8829 accessibility by name on this entries.
8831 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8836 * debian/control: Updating gtk dep.
8838 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8840 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8841 USE_MAEMO_GTK is enabled.
8843 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8845 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8846 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8848 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8854 * debian/changelog: Updating.
8856 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8858 * examples/Makefile.am:
8859 * examples/hildon-logical-color-example.c:
8860 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8861 applied + adding a test case. Fixes: NB#71660.
8863 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8865 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8866 to be visible, fixes warning on map for windows without toolbars.
8868 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8870 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8871 2.11.0, add a check for that besides the MAEMO_GTK check.
8873 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8879 * debian/changelog: Updating.
8881 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8883 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8884 visibility. Fixes: NB#70842 and MB#615.
8886 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8888 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8889 set the separator as no-show-all so it doesn't unintentionally appear when
8890 someone does a show_all.
8892 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8894 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8895 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8896 toplevel item. Fixes: NB#62031
8898 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8900 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8901 fix the name of the function in the docs.
8903 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8909 * debian/changelog: Updating.
8911 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8913 * examples/hildon-banner-long-example.c: Adding a test-case for long
8916 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8918 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8920 * src/hildon-color-chooser-dialog.c:
8921 * src/hildon-color-chooser.c:
8922 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8923 memory leaks in font selector and color selector. Fixes: NB#70499 and
8926 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8928 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8930 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8932 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8933 little bit bigger. Fixes: #NB63694.
8935 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8941 * debian/changelog: Updating.
8943 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8946 * doc/hildon-docs.sgml:
8947 * doc/images/bread-crumb-trail.png:
8948 * doc/images/calendar-popup.png:
8949 * doc/images/caption.png:
8950 * doc/images/code-dialog.png:
8951 * doc/images/color-button.png:
8952 * doc/images/color-chooser-dialog.png:
8953 * doc/images/color-chooser.png:
8954 * doc/images/controlbar.png:
8955 * doc/images/date-editor.png:
8956 * doc/images/font-selection-dialog.png:
8957 * doc/images/get-password-dialog.png:
8958 * doc/images/hvolumebar.png:
8959 * doc/images/login-dialog.png:
8960 * doc/images/note.png:
8961 * doc/images/number-editor.png:
8962 * doc/images/range-editor.png:
8963 * doc/images/seekbar.png:
8964 * doc/images/set-password-dialog.png:
8965 * doc/images/sort-dialog.png:
8966 * doc/images/time-editor.png:
8967 * doc/images/time-picker.png:
8968 * doc/images/vvolumebar.png:
8969 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8970 Adding the bread-crumb-trial and helpers to the documentation.
8972 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8974 * examples/hildon-find-toolbar-example.c:
8975 * src/hildon-find-toolbar.c:
8976 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8977 actually continue firing the other handlers if connected. Adding a new
8979 hildon_find_toolbar_get_last_index that gets the index of the most
8980 recently added (last) item. Fixes: NB#52301.
8982 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8984 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8985 behaviour. Fixes: NB#68610.
8987 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8992 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8995 when realizing the banner. Should make the infonbanner effect a bit more
8998 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * src/hildon-volumebar.c:
9001 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9002 hildon_volumebar_set_range_insensitive_message and
9003 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9005 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9007 * src/hildon-window.c: Fixing the border freeing on destroy.
9009 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9011 * src/hildon-code-dialog-private.h:
9012 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9013 kw keyboard support in HildonCodeDialog.
9015 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * debian/changelog: Updating.
9023 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9025 * src/hildon-date-editor.c:
9026 * src/hildon-number-editor.c:
9027 * src/hildon-private.c:
9028 * src/hildon-private.h:
9029 * src/hildon-time-editor.c:
9030 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9031 handling in subclassed composite widgets. Fixes: NB#66628.
9033 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9035 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9036 from destroy_ callback as it introduces problems in async dbus signal
9037 handlers. Fixes NB#66673.
9039 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9041 * examples/hildon-hvolumebar-example.c:
9042 * src/hildon-volumebar.c: Improving the focus handling in the
9043 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9044 set_property accessor so that "mute" property can be actually set. I'm
9045 scared that nobody noticed it's totally broken.
9047 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9049 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9052 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9054 * src/hildon-calendar.c:
9055 * src/hildon-number-editor.c:
9056 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9057 matches the spec of 6 chars per second. Fixes: NB#60489.
9059 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9061 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9062 gtk_style_lookup_color sometime returns FALSE even though color was
9063 found and values were filled properly. Weird. Removing the warning for the
9066 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9068 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9069 expand vertically. Adding some extra space to the find toolbar buttons to
9070 make them thumbable. Fixes NB#66060.
9072 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9074 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9075 popup with "Ok" and "Cancel". Fixes NB#59299.
9077 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9079 * src/hildon-calendar.c: Process all window updates before executing next
9080 timeout. Fixes: NB#54146.
9082 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 * debian/changelog: Updating.
9090 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9092 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9093 the client event and ignore it, since we use the delete event to close
9096 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9098 * src/hildon-helper.c: Remove the bogus warning about color not being
9099 found. Fixes NB#58352.
9101 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9103 * examples/Makefile.am:
9104 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9105 HildonSeekbar widget inside a toolbar.
9107 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9109 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9110 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9111 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9112 don't want to be closed by non-temporary windows on map.
9114 Also use G_DEFINE_TYPE instead of manually typed code.
9116 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9123 * debian/rules: Updating.
9125 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9127 * examples/Makefile.am:
9128 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9129 bug NB#61128. Strangely it works.
9131 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * src/hildon-date-editor.c: When the date editor entry has been changed
9134 but the numbers of characters < max, turn off the skip validation flag.
9135 Prevents a situation when we enter first a valid year and later re-write
9136 it with an invalid one. Fixes NB#60154.
9138 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9140 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9141 code dialog. Fixes NB#64355.
9143 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9145 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9146 switching the page. Fixes NB#49374.
9148 * examples/Makefile.am:
9149 * examples/hildon-wizard-dialog-example.c: Adding an example for
9150 HildonWizardDialog that shows how to handle manual sensitivity setting on
9153 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * src/hildon-version.h.in:
9158 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9160 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9162 * src/hildon-volumebar.c: Updating the docs.
9164 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9170 * debian/changelog: Updating.
9172 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * src/hildon-find-toolbar.c:
9175 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9176 selected item: hildon_find_toolbar_set_active,
9177 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9178 hildon_find_toolbar_get_active_iter . They correspond to respective
9179 GtkComboBox functions.
9181 * examples/Makefile.am:
9182 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9185 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9187 * examples/Makefile.am:
9188 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9191 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9192 when font size > 32 and we pack a focusable widget inside. Actually using
9193 the default response would work too, but since we don't show default
9194 response state in any way (no theming) it would not be visible to the
9195 user. Fixes NB#63430.
9197 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9199 * src/hildon-date-editor.c: Adding the missing variable setter in the
9200 set_property handler. Fixes NB#54182.
9202 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9204 * src/hildon-window.h: Changing the long key press time from 1500ms to
9205 800ms as requested in NB#63700. I have a bad feeling about this, let's
9206 see... Fixes NB#63700.
9208 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9210 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9211 hildon_time_picker_map, hildon_time_picker_realize,
9212 hildon_time_picker_style_set): Split the contents of map to more
9213 appropriate functions; set window decorations on realize and update
9214 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9216 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9221 * debian/changelog: Updating.
9223 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9225 * src/Makefile.am: fixed installation of the header files
9227 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9233 * debian/changelog: Updating.
9235 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9237 * configure.ac: Removing some remaining of --enable-xan.
9239 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9241 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9242 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9244 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9245 2.10.12-osso6 because the move-focus signal needs to be available in
9248 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9250 * examples/Makefile.am:
9251 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9252 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9253 fine. Prolly NB#61128 is fixed now.
9255 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * src/hildon-volumebar.c:
9258 * src/hildon-volumebar.h: Adding the
9259 hildon_volumebar_set_range_insensitive_message and
9260 hildon_volumebar_set_range_insensitive_messagef functions to set
9261 insensitive message on the slider of the volumebar. Fixes NB#61129.
9263 * examples/Makefile.am:
9264 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9265 test the new insensitive messsage functionality on HildonVolumebar.
9267 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9269 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9272 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9274 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9275 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9276 button on after clearing the trail.
9278 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9280 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9282 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9284 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9285 by splitting the installed headers in generated and non-generated groups. Use
9286 only the non-generated headers to create the hildon-enum-types.h file.
9288 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9290 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9292 * src/hildon-window.c: Hide the window before performing the destroy.
9293 Should make the app closing a little tiny bit more snappy.
9295 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9297 * src/hildon-seekbar.c: add gtkrange.h header
9298 * src/hildon-caption.c: remove unused variable
9300 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9302 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9305 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9311 * debian/changelog: Updating.
9313 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9315 * src/hildon-window.c (hildon_window_window_state_event,
9316 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9317 escape timeout on focus-out-event rather than notify::is-topmost; the
9318 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9320 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9322 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9323 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9325 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9327 * src/hildon-window: actually, you need to use the macro always, there's
9328 no private pointer in the instance structure. We should have cleaned this up
9329 when we had the chance...
9331 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9333 * src/hildon-window.c: do not get the private date from HildonWindow before
9334 it passes the g_return_if_fail check. Once it's passed the test, there's no
9335 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9336 if you are only going to access the data once. Whitespace cleanups.
9338 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9340 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9341 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9343 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9349 * debian/changelog: Updating.
9351 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9353 * src/hildon-window.c: When destroying the window, remove (if exists) the
9354 escape timeout handler. Fixes #NB59276.
9356 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9358 * src/hildon-banner.c: When realizing the widget, set the window
9359 transiency. Setting the transiency in the gobject constructor is not
9360 good, as the widget is not realized at that point. Fixes: #NB56624.
9362 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9364 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9365 Add padding for future expansions.
9367 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9369 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9370 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9371 will fake an activation on the previous to the last item of the trail, so
9372 the effect can be overrided by the developer as usual.
9373 Also change the callback for the back button to do the same thing, so its
9374 effect can be overrided too. Fixes: NB#58982
9376 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9378 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9379 HildonCaption. Fixes NB#52379.
9381 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9383 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9384 the internal state of the trail after the user has had the chance of executing
9385 his handler for the signal. Specifically, it may happen that the activated button
9386 is removed and the user still lets the default handler run. This would segfault
9389 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9391 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9392 scrollbar to the preview dialog. Fixes NB#54147.
9394 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9396 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9397 max/min year properties can be altered, so the client can modify it
9398 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9400 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9402 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9403 hildonlike by default. Fixing a problem with disappearing arrows when
9404 scrolling through months and years. Fixes NB#54127.
9406 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9408 * examples/hildon-date-editor-example.c: Adding error callback to the date
9411 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9417 * configure.ac: Updating.
9419 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9421 * configure.ac: Adding a special '--enable-xan' configure option that
9422 turns off the -Werror compilation setting. Usefull for development.
9424 * src/hildon-calendar.c:
9425 * src/hildon-number-editor.c:
9426 * src/hildon-time-picker.c: Adding the 5* multiplier to
9429 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9431 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9432 instead of g_object_ref + gtk_object_sink.
9434 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9440 * debian/changelog: Updating.
9442 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9444 * src/hildon-color-chooser-dialog.c:
9445 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9446 straight from Tommi labs.
9448 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9450 * examples/hildon-finger-example.c: Correcting the header file path.
9452 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9453 the changed signal. Fixes a small memory leak.
9455 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9459 * src/hildon-banner.c: Importing several usefull fixes from the
9460 ubuntu-mobile branch.
9462 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9464 * examples/Makefile.am:
9465 * examples/hildon-finger-example.c: Adding a finger-checking code
9468 * src/hildon-font-selection-dialog.c: Do not allocate the color
9469 structure using the g_new. Fixes NB#54061.
9471 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9473 * src/hildon-helper.c: Correcting tabs in file.
9475 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9477 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9478 control the visibility of the children.
9480 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9482 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9488 * debian/changelog: Updating.
9490 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9492 * src/hildon-bread-crumb-trail.c:
9493 (hildon_bread_crumb_trail_size_allocate):
9495 Make the back button always a square.
9497 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9499 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9500 from the .c file as it's a private file.
9502 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9504 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9505 uses slightly bigger height.
9507 * src/hildon-font-selection-dialog.c: Adding some checks before
9508 freeing memory in the font selection dialog.
9510 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9512 * src/hildon-font-selection-dialog.c: Adding a small check when
9515 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9516 buttons sensitivity on page switching.
9518 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9520 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9521 internal details of adding a bread crumb to the trail.
9523 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9529 * debian/changelog: Updating.
9531 * src/hildon-bread-crumb-trail.h:
9532 * src/hildon-bread-crumb.h: Changing the API guard to
9533 HILDON_ENABLE_UNSTABLE_API.
9535 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9543 * src/hildon-helper.h: Updating.
9545 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9553 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9557 * src/hildon-helper.h: Small fix to make the package actually compile.
9559 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9561 * src/hildon-bread-crumb-trail.h:
9562 * src/hildon-bread-crumb.h:
9564 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9565 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9567 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9569 * examples/hildon-bread-crumb-trail-example.c:
9571 * src/hildon-bread-crumb-trail.c:
9572 * src/hildon-bread-crumb-trail.h:
9573 * src/hildon-bread-crumb.c:
9574 * src/hildon-bread-crumb.h:
9575 * src/hildon-marshalers.list:
9576 * src/hildon-bread-crumb-widget.c:
9577 * src/hildon-bread-crumb-widget.h:
9579 Slight change in the widget design. The bread crumb trail API is
9580 unchanged, but HildonBreadCrumb is now an interface. A *private*
9581 implementation, hildon-bread-crumb-widget, is provided and used
9582 internally by the trail for the push_text/push_icon functions.
9584 The generic push API is still available, so anyone can implement
9585 and use its own bread crumb widget.
9587 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9589 * debian/rules: Fixing the shlibs.
9591 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9593 * src/hildon-banner.c: Fixing a problem with timed banners having
9594 their parrent destroyed before they are.
9596 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9598 * src/hildon-bread-crumb.c:
9599 * src/hildon-bread-crumb.h:
9601 Make the get_natural_size function a vfunc.
9603 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9605 * src/hildon-bread-crumb.c:
9606 * src/hildon-bread-crumb-trail.c:
9610 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9617 * debian/changelog: Updating for release.
9619 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9621 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9622 don't leak the pango layout.
9624 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9627 * examples/hildon-bread-crumb-trail-example.c:
9631 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9633 * debian/changelog: Removing the bug-fixed entries that were actually
9634 resolved as WONTFIX.
9636 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9639 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9641 * src/hildon-bread-crumb-trail.c:
9642 * src/hildon-bread-crumb-trail.h:
9643 * src/hildon-bread-crumb.c:
9644 * src/hildon-bread-crumb.h:
9648 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9650 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9651 until it's passed the type check.
9653 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9655 * examples/hildon-bread-crumb-trail-example.c
9659 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9661 * examples/Makefile.am
9662 * examples/hildon-bread-crumb-trail-example.c
9664 * src/hildon-bread-crumb-trail.c
9665 * src/hildon-bread-crumb-trail.h
9666 * src/hildon-bread-crumb.c
9667 * src/hildon-bread-crumb.h
9669 New HildonBreadCrumbTrail widget.
9671 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9673 * src/hildon-range-editor.c (hildon_range_editor_init),
9674 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9675 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9676 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9677 hildon_time_editor_class_init, hildon_time_editor_init),
9678 src/hildon-get-password-dialog.c (invalid_input,
9679 hildon_get_password_set_property, hildon_get_password_get_property,
9680 create_contents, hildon_get_password_dialog_set_max_characters),
9681 src/hildon-set-password-dialog.c (create_contents),
9682 src/hildon-date-editor.c (hildon_date_editor_init),
9683 src/hildon-login-dialog.c (hildon_login_dialog_init),
9684 src/hildon-number-editor.c (hildon_number_editor_init),
9685 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9686 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9687 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9688 configure option and adding the respective checks in the code.
9689 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9690 hildon_calendar_drag_data_received): fixed some build warnings.
9692 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9694 * debian/changelog: A 1.0.0 release notes.