1 2009-08-27 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_class_init): Reverted tuning modifications:
5 "Pannign needs to be faster" and "Pannable kinetics in large lists
8 2009-08-26 Alberto Garcia <agarcia@igalia.com>
10 * hildon/hildon-sound.c (hildon_play_system_sound):
11 Set "module-stream-restore.id" to "x-maemo-system-sound" when
14 Fixes: NB#133767 (Information and confirmation note sound should
15 follow system profile setting)
17 2009-08-26 Alejandro G. Castro <alex@igalia.com>
19 * hildon/hildon-pannable-area.c,
20 (hildon_pannable_area_class_init): Added more force and increased
21 the max speed threshold.
23 Fixes: NB#135344 (Pannign needs to be faster)
25 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
27 [Release 2.1.96, this time for real]
30 * debian/changelog: updates
32 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
34 * hildon/hildon-pannable-area.c
35 (hildon_pannable_area_get_topmost): change the computation of the
36 co-ordinates transformed when no one of the children is a topmost
38 Fixes: NB#133252 (Opening any feed item from RSS always opens the
39 first feed item in browser)
41 2009-08-26 Alejandro G. Castro <alex@igalia.com>
43 * hildon/hildon-pannable-area.c,
44 (hildon_pannable_area_remove_timeouts): Adding this new function
45 with the code that removes the timeouts of the widget.
46 (hildon_pannable_area_dispose),
47 (hildon_pannable_area_unrealize): Use the new remove function to
48 stop timeouts when unrealizing and disposing.
49 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
50 calculation to avoid negative values in some cases.
52 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
54 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
56 * examples/hildon-check-button-example.c: (button_toggled_cb):
57 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
58 (hildon_check_button_set_active), (hildon_check_button_new),
59 (hildon_check_button_clicked), (hildon_check_button_class_init):
60 * hildon/hildon-check-button.h:
61 * hildon/hildon-set-password-dialog.c: (create_contents),
62 (hildon_set_password_response_change), (hildon_checkbox_toggled):
64 Revert "Make HildonCheckButton derive from GtkToggleButton"
66 2009-08-21 Alberto Garcia <agarcia@igalia.com>
70 * configure.ac: bump version
72 * debian/changelog: updates
74 2009-08-21 Alberto Garcia <agarcia@igalia.com>
76 * hildon/hildon-check-button.h
77 * hildon/hildon-check-button.c
78 (hildon_check_button_clicked, hildon_check_button_class_init):
79 Make HildonCheckButton derive from GtkToggleButton
80 (hildon_check_button_toggled, hildon_check_button_set_active)
81 (hildon_check_button_get_active):
82 Deprecate unnecessary HildonCheckButton API and use the
83 one from GtkToggleButton instead.
85 * hildon/hildon-set-password-dialog.c (create_contents)
86 (hildon_set_password_response_change, hildon_checkbox_toggled)
87 * examples/hildon-check-button-example.c (button_toggled_cb):
88 Update to use the GtkToggleButton API
90 Fixes: MB#4739 (HildonCheckButton should inherit from
93 Fixes: NB#132661 (HildonCheckButton should inherit from
96 2009-08-20 Alberto Garcia <agarcia@igalia.com>
98 * hildon/hildon-pannable-area.c
99 (hildon_pannable_area_class_init):
100 Increase default value of HildonPannableArea:velocity_max to 2000
102 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
104 2009-08-18 Alberto Garcia <agarcia@igalia.com>
108 * configure.ac: bump version
110 * debian/changelog: updates
112 2009-08-11 Alejandro G. Castro <alex@igalia.com>
114 * hildon/hildon-pannable-area.c
115 (hildon_pannable_area_size_allocate): Checked the scrollbars
116 before the first try when defining the layout, avoids two
117 allocations in some situations.
119 Fixes: NB#131794 (pannable area produces unnecessary allocations
120 causing performance problems)
122 2009-08-11 Alejandro G. Castro <alex@igalia.com>
124 * hildon/hildon-pannable-area.c
125 (hildon_pannable_area_button_press_cb),
126 (hildon_pannable_area_motion_notify_cb),
127 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
128 the spurious ref added in the copy, fixes leak of window.
130 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
131 if it's realized without showing and then deleted)
133 2009-08-10 Alberto Garcia <agarcia@igalia.com>
137 * configure.ac: bump version
139 * debian/changelog: updates
141 2009-08-06 Alberto Garcia <agarcia@igalia.com>
143 * examples/hildon-hvolumebar-timer-example.c
145 * hildon/hildon-banner.c
146 (hildon_banner_timeout, hildon_banner_ensure_timeout)
147 * hildon/hildon-calendar.c
148 (calendar_timer, start_spinning)
149 * hildon/hildon-color-chooser.c
150 (inline_limited_expose)
151 * hildon/hildon-date-editor.c
152 (hildon_date_editor_entry_focus_in)
153 (hildon_date_editor_entry_validate)
154 (hildon_date_editor_entry_select_all)
155 * hildon/hildon-note.c
157 * hildon/hildon-number-editor.c
158 (hildon_number_editor_button_pressed)
159 (hildon_number_editor_start_timer, do_mouse_timeout),
160 (add_select_all_idle, hildon_number_editor_select_all)
161 * hildon/hildon-time-editor.c
162 (hildon_time_editor_entry_focus_in)
163 (highlight_callback, hildon_time_editor_validate)
164 (hildon_time_editor_entry_select_all)
165 * hildon/hildon-time-picker.c
166 (hildon_time_picker_arrow_press)
167 (hildon_time_picker_key_repeat_timeout)
168 * hildon/hildon-window.c
169 (hildon_window_key_press_event)
170 (hildon_window_escape_timeout):
171 Replace all calls to g_idle_add/g_timeout_add with their
172 gdk_threads counterparts.
174 Fixes: NB#126198 (gdk-threads API should be used to install idle
175 and timeout handlers)
177 2009-08-06 Alejandro G. Castro <alex@igalia.com>
179 * hildon/hildon-pannable-area.c,
180 (hildon_pannable_area_class_init): Increased the overshooting max
181 speed to get a faster effect.
182 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
183 deceleration of the overshooting
184 (hildon_pannable_area_button_release_cb): Calculate initial
185 overshooting speed when finger on the screen using the distance to
186 launch the effect faster.
188 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
189 lists with slow row renderers)
191 2009-08-05 Alberto Garcia <agarcia@igalia.com>
193 * doc/hildon-sections.txt: Add new functions
195 2009-08-05 Alberto Garcia <agarcia@igalia.com>
197 * hildon/hildon-text-view.[ch]
198 * hildon/hildon-entry.[ch]:
199 Add deprecation guards around deprecated functions.
201 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
203 * hildon/hildon-app-menu.c: Remove leftover function declaration.
205 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
207 Remove the grab from HildonAppMenu
209 * hildon/hildon-app-menu.c:
210 Now hildon-desktop places a blocker window behind the menu to handle
211 its closing, so the grab is no longer needed. This simplifies its
212 implementation and allows the system blanking to succeed.
214 Fixes: NB#130910 (Screen gets unlocked when menu is open)
216 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
220 * configure.ac: bump version
222 * debian/changelog: updates
223 * debian/control: raise debian dependency on GTK+
225 2009-08-04 Alberto Garcia <agarcia@igalia.com>
227 * hildon/hildon-text-view.c
228 * hildon/hildon-entry.c:
229 Remove all placeholder code from HildonEntry and HildonTextView
230 and use the API in GtkEntry and GtkTextView instead.
232 * examples/hildon-entry-example.c
233 * examples/hildon-text-view-example.c
234 * examples/hildon-wizard-dialog-example.c
235 * hildon/hildon-get-password-dialog.c
236 * hildon/hildon-login-dialog.c
237 * hildon/hildon-picker-dialog.c
238 * hildon/hildon-set-password-dialog.c
239 * hildon/hildon-touch-selector-entry.c:
240 Replace all deprecated calls to HildonEntry and HildonTextView
241 with their Gtk counterparts.
243 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
246 2009-08-03 Alejandro G. Castro <alex@igalia.com>
248 * hildon/hildon-pannable-area.c,
249 (hildon_pannable_area_check_move),
250 (hildon_pannable_area_button_release_cb),
251 (hildon_pannable_area_scroll_to): Reverted the priority change of
252 the timeout, in some situations, slow renderers, the click do not
253 make it to the mainloop on time.
255 Fixes NB#131013 (unable to stop panning file manager by tapping on
258 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
260 * configure.ac: bump version
262 * debian/changelog: updates
264 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
266 * hildon/hildon-touch-selector.[ch]
267 (hildon_touch_selector_center_on_index): New method that allows to center
268 on a item not selected
270 Fixes NB#130291 (New HildonTouchSelector API is required to center on
273 2009-07-29 Alberto Garcia <agarcia@igalia.com>
275 * hildon/hildon-text-view.c
276 (+set_logical_color, +hildon_text_view_style_set)
277 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
278 (hildon_text_view_init)
279 * hildon/hildon-entry.c
280 (+set_logical_color, +hildon_entry_style_set)
281 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
282 (hildon_entry_class_init, hildon_entry_init)
283 * hildon/hildon-button.c
284 (+set_logical_font, +set_logical_color)
285 (hildon_button_style_set, hildon_button_init)
286 (hildon_button_set_arrangement, hildon_button_set_style):
287 Remove all calls to hildon_helper_set_logical_font() and
288 hildon_helper_set_logical_color(), which are recursive, from
291 Fixes: NB#123409 (Showing dialog consumes significant amount of
294 2009-07-29 Alejandro G. Castro <alex@igalia.com>
296 * hildon/hildon-pannable-area.c,
297 (hildon_pannable_area_timeout): Added the process updates of the
298 scrollbars window in the pannable.
300 Fixes: NB#130043 (scrollindicator not smooth while panning)
302 2009-07-23 Alejandro G. Castro <alex@igalia.com>
304 * hildon/hildon-pannable-area.c,
305 (hildon_pannable_area_check_move),
306 (hildon_pannable_area_button_release_cb),
307 (hildon_pannable_area_scroll_to): Increased the priority of the
308 timeout this way it is going to be handled before the events.
310 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
314 * configure.ac: bump version
315 * debian/changelog: updates
317 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
319 * hildon/hildon-entry.c: (set_property): Do not allow to set
320 automatic height and use finger height instead, to prevent an to
321 have a smaller size than than its theme pixbuf.
323 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
325 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
327 * configure.ac: postrelease version bump.
328 * debian/changelog: post release version bump
330 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
335 * configure.ac: Bump version.
336 * debian/changelog: Updates.
338 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
340 * hildon/hildon-note.c: (label_size_request): Take the note
341 padding into account when setting the size request.
343 Fixes: NB#127896 (Information notes text truncated)
345 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
347 * configure.ac: postrelease version bump.
348 * debian/changelog: post release version bump
350 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
355 * configure.ac: Bump version.
356 * debian/changelog: Updates.
358 2009-07-16 Alejandro G. Castro <alex@igalia.com>
361 * hildon/hildon-text-view.c,
362 (hildon_text_view_button_press_event): Grabbed the focus in button
363 press, this way we are sure the widget has the focus in the
364 release event, required for HIM.
366 Fixes: NB#121445 (Virtual keyboard opening is not working in same
367 way for each text entry field)
369 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
371 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
372 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
373 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
374 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
375 (hildon_pannable_area_[gs]et_center_on_child_focus)
376 Redefined GtkContainer set-focus-child signal, in order to center
377 properly on a child when it receives the focus. Defined a new property
378 "center-on-child-focus" in order to activate this feature (deactivated
379 by default). Public get/set methods defined to manage the property.
381 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
383 2009-07-14 László Pere <lpere@blumsoft.eu>
385 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
386 the new size is applied.
388 Fixes: NB#124510 (The Application Menu is distorted when switched
389 between portrait and landscape mode)
390 Fixes: NB#115388 (Power key menu does not resize itself)
392 2009-07-01 Alberto Garcia <agarcia@igalia.com>
394 * hildon/hildon-banner.c (hildon_banner_map):
395 Set banner position after mapping.
397 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
399 * configure.ac: postrelease version bump.
400 * debian/changelog: post release version bump
402 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
407 * configure.ac: Bump version.
408 * debian/changelog: Updates.
410 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
412 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
415 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
417 * tests/check-hildon-banner.c
419 * tests/test_suites.h
420 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
421 were testing deprecated functions.
422 * examples/hildon-banner-example.c: typo on button3 type, that causes
423 a fail compiling with --with-examples but without --disable-deprecated
425 Missed commit in order to fix compilation using '--enable-fatal' and
426 '--disable-deprecated' (see previous commit)
428 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
430 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
431 functions with #ifndef HILDON_DISABLE_DEPRECATED
432 * examples/hildon-find-toolbar.c: Protect deprecated
433 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
434 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
435 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
436 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
438 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
439 to allow proper compilation of deprecated functions defined on the header
441 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
443 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
445 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
446 Cache the panning indicator color.,
447 (hildon_pannable_area_style_set): Query the color on style changes.
448 (hildon_pannable_draw_vscroll),
449 (hildon_pannable_draw_hscroll),
450 (hildon_pannable_area_expose_event): Use the cached panning indicator
451 color instead of looking it up on every expose and more.
453 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
455 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
456 (hildon_pannable_draw_hscroll),
457 (hildon_pannable_area_expose_event): Fix the panning indicator color,
458 so that it's "SecondaryTextColor", as desired.
460 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
462 * hildon/hildon-picker-dialog.c:
463 (selection_completed): take into account HILDON_UI_MODE_NORMAL
464 * hildon/hildon-touch-selector.c
465 (hildon_touch_selector_init): Initialize hildon-ui-mode
466 (hildon_touch_selector_row_activated): new callback for the
467 "row-activated" signal, in order to save the last activated
468 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
469 if the current hildon-ui-mode is coherent with the touch selector
470 (hildon_touch_selector_class_init)
471 (hildon_touch_selector_get_property)
472 (hildon_touch_selector_set_property)
473 Added "hildon-ui-mode" property
474 (disconnect_model_handlers): renamed to clean_column
475 (hildon_touch_selector_remove): use clean_column function
476 (_create_new_column): use the hildon-ui-mode to create the treeview, and
477 only select the first element on HILDON_UI_MODE_EDIT
478 (hildon_touch_selector_column_init): Initialize last_activate
479 (hildon_touch_selector_append_column): check that the touch selector
480 is coherent with the current hildon-ui-mode
481 (hildon_touch_selector_get_hildon_ui_mode)
482 (hildon_touch_selector_set_hildon_ui_mode)
483 Added a getter/setter for the hildon-ui-mode property
484 (hildon_touch_selector_get_last_activated_row): Added this method in
485 order to get the last activated row.
486 * examples/hildon-touch-selector-normal-mode-example.c
487 New example, that shows how to use the HildonTouchSelector in
488 HILDON_UI_MODE_NORMAL
490 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
491 Kristian Rietveld <kris@lanedo.com> advices
493 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
495 * hildon/hildon-time-selector.c: (update_format_policy): Do
496 not call update_format_dependant_columns() if not necessary.
497 (update_format_dependant_columns): Remove unnecessary check for
498 the number of columns.
500 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
502 * hildon/hildon-note.c (+hildon_note_constructor),
503 (hildon_note_class_init), (+hildon_note_set_padding),
504 (hildon_note_rebuild): Install a constructor where to set the
505 padding properties in the note, so that it actually works fine.
506 Use hildon_note_set_padding() for this, and also to set it during
509 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
511 * configure.ac: Bump GTK+ requirement to 2.14.3.
512 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
513 when using maemo-gtk to define proper margins for the notes.
515 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
516 with the dialog edge)
518 2009-06-24 Alberto Garcia <agarcia@igalia.com>
520 * hildon/hildon-banner.c
521 (hildon_banner_class_init):
523 (+hildon_banner_size_request):
524 Request always the full width of the screen.
525 (hildon_banner_realize)
526 (-hildon_banner_check_position, hildon_banner_map):
527 hildon_banner_check_position() is not needed in Hildon 2.2.
528 (-hildon_banner_reset_wrap_state)
529 (hildon_banner_constructor, hildon_banner_init):
530 Remove unnecessary calls to hildon_banner_reset_wrap_state()
531 (+banner_do_set_text)
532 (force_to_wrap_truncated):
533 Remove has_been_wrapped and has_been_truncated attributes.
534 (+reshow_banner, hildon_banner_real_show_information)
535 (hildon_banner_show_information_with_markup)
536 (hildon_banner_show_animation, hildon_banner_show_progress)
537 (hildon_banner_set_text, hildon_banner_set_markup):
538 Refactor code. Shrink banner vertically to use the minimum space
539 necessary everytime the text of the label is updated.
540 (screen_size_changed):
541 Call force_to_wrap_truncated() when the size of the screen
544 Fixes: NB#120500 (only device memory connect mmc in use info
545 banner is left aligned)
547 Fixes: NB#120613 (Size of HildonBanner varies depending on
548 previously opened banners)
550 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
552 * hildon/hildon-color-chooser.c
553 (hildon_color_chooser_pointer_motion): Take the widget allocation
556 Fixes: NB#124385 (Unable to select exact point in color mixing box
557 in color palette dialog)
559 2009-06-23 Alejandro G. Castro <alex@igalia.com>
561 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
562 (hildon_pannable_area_dispose)
563 (hildon_pannable_area_button_press_cb)
564 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
565 (hildon_pannable_area_button_release_cb)
566 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
567 New 'panning-started' and 'panning-finished' signals.
569 Fixes: NB#121732 (New feature request: Signal to pannable area
570 that informs when panning is stopped.)
572 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
574 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
575 instead of hardcoded colon.
577 Fixes: NB#124090 (New calendar wizard title is not using
578 ecdg_ti_caption_separator)
580 2009-06-22 David King <davidk@openismus.com>
582 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
583 constants and functions, as well as correct many typos throughout the
586 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
589 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
591 * configure.ac: postrelease version bump.
592 * debian/changelog: post release version bump
594 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
599 * configure.ac: Bump version.
600 * debian/changelog: Updates.
602 2009-06-18 Alberto Garcia <agarcia@igalia.com>
604 * hildon/hildon-window-stack.c
605 (hildon_window_stack_pop_and_push_list):
606 Prevent windows from having the same stack index
608 2009-06-18 Alberto Garcia <agarcia@igalia.com>
610 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
611 Use the index of the previous window rather than the stack length
612 to calculate the new index.
616 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
618 * hildon/hildon-date-selector.c
619 (hildon_date_selector_select_current_date)
620 (hildon_date_selector_get_date)
621 (hildon_date_selector_select_day):
622 Update the documentation: uses always the range (1-31), as it is obvious
623 that the final one will depend on the month and the year, but globally
624 the range is this, in a similar GtkCalendar approach
625 (hildon_date_selector_get_date):
626 Update the documentation: add NULL as a valid value for the day, month
629 Fix some details, after talk with David King on bug MB#4698
631 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
633 * hildon/hildon-touch-selector-entry.c
634 * hildon/hildon-touch-selector.c
635 Update the documentation of the "text-column" property
637 2009-06-18 David King <davidk@openismus.com>
639 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
640 several typos and errors throughout the documentation.
642 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
645 2009-06-18 Alberto Garcia <agarcia@igalia.com>
647 * hildon/hildon-note.c (hildon_note_realize):
648 Make HildonNote support portrait mode.
650 Fixes: NB#123448 (HildonNote is not portrait-friendly)
652 2009-06-17 Alberto Garcia <agarcia@igalia.com>
654 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
655 Document this function
657 2009-06-17 David King <davidk@openismus.com>
659 * hildon/hildon-date-selector.c
660 (hildon_date_selector_select_current_date)
661 (hildon_date_selector_get_date): Update documentation regarding days,
662 as the day of the month is dependent on both the month and the year.
663 (hildon_date_selector_get_date): Fix documentation of output arguments.
665 Fixes: MB#4698 (DateSelector documentation has bad output argument
666 description, and the day depends on both the month and the year)
668 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
670 * hildon/hildon-caption.c: Other documentation fixes to
673 2009-06-17 David King <davidk@openismus.com>
675 * hildon/hildon-caption.c: Minor documentation updates for
676 HildonCaption. Fixes MB#4697.
678 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
680 * doc/hildon-docs.sgml: Add hildon-version section.
681 * doc/hildon-sections.txt:
682 * hildon/hildon-version.h.in: Document versioning macros and
685 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
687 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
688 from HildonPickerDialog section.
690 2009-06-16 Alberto Garcia <agarcia@igalia.com>
692 * hildon/hildon-banner.c (hildon_banner_bind_style)
693 (screen_size_changed, hildon_banner_init)
694 (hildon_banner_real_show_information)
695 (hildon_banner_show_information_with_markup)
696 (hildon_banner_show_animation, hildon_banner_show_progress):
697 Set a different widget name to banners in portrait mode, for them
698 to be themed correctly.
700 2009-06-16 Alberto Garcia <agarcia@igalia.com>
702 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
703 Set a different widget name to notes in portrait mode, for them to
706 Partially fixes: NB#118401 (HildonNote causes unnecessary
709 2009-06-16 Alberto Garcia <agarcia@igalia.com>
711 * hildon/hildon-note.c (hildon_note_class_init)
712 (+hildon_note_size_request, screen_size_changed):
713 Always request the full width of the screen.
715 Fixes: NB#118375 (unnecessary rescaling of images)
717 2009-06-16 Alejandro G. Castro <alex@igalia.com>
719 * hildon/hildon-pannable-area.c,
720 (hildon_pannable_area_init),
721 (hildon_pannable_area_realize): Replaced old code adding flags in
722 the object init, now we add it with the other flags in the realize
725 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
727 * hildon/hildon-note.c: (hildon_note_class_init): Several
728 documentation improvements to the HildonNote widget.
730 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
732 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
734 Fixes: MB#4556 (HildonNoteType is undocumented)
736 2009-06-15 Alberto Garcia <agarcia@igalia.com>
738 * hildon/hildon-picker-button.c:
739 Explain how HildonPickerButton sets the title of its dialog
741 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
742 the title of its dialog)
744 2009-06-15 Alberto Garcia <agarcia@igalia.com>
746 * hildon/hildon-check-button.c:
747 Documentation updates
749 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
752 2009-06-15 Alberto Garcia <agarcia@igalia.com>
755 * hildon/hildon-edit-toolbar-private.h
756 * hildon/hildon-edit-toolbar.c
757 (+hildon_edit_toolbar_set_progress_indicator)
758 (hildon_edit_toolbar_init): Add progress indicator to the
761 * hildon/hildon-gtk.c
762 (hildon_gtk_window_set_progress_indicator):
763 If the window contains a HildonEditToolbar, enable the progress
766 * hildon/hildon-private.h
767 * hildon/hildon-private.c
768 (+hildon_private_create_animation)
769 * hildon/hildon-banner.c
770 (-hildon_banner_create_animation):
771 Moved to hildon-private.c
773 Fixes: NB#102373 (Progress indicator also for the Edit mode
776 2009-06-15 Alberto Garcia <agarcia@igalia.com>
778 * hildon/hildon-app-menu-private.h
779 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
780 (hildon_app_menu_add_filter, +menu_item_button_event)
781 (hildon_app_menu_button_release, hildon_app_menu_init):
782 Make sure that buttons receive 'button-release-event' in spite of
783 the grab held by HildonAppMenu
785 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
787 2009-06-15 Alberto Garcia <agarcia@igalia.com>
789 * hildon/hildon-app-menu.c
790 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
791 New style property to set the size of the group of filter buttons.
793 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
795 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
800 * configure.ac: Bump version.
801 * debian/changelog: Updates.
803 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
805 * hildon/hildon-main.c: Minor documentation fixes.
807 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
809 * doc/hildon-sections.txt:
810 * hildon/hildon-defines.h: Document the defines, organize them,
811 and mark deprecations as such.
813 Fixes: MB#4463 (Hildon size #defines are undocumented)
815 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
817 * hildon/hildon-animation-actor.c:
818 * hildon/hildon-app-menu.c:
819 * hildon/hildon-button.c:
820 * hildon/hildon-date-editor.c:
821 * hildon/hildon-dialog.c:
822 * hildon/hildon-edit-toolbar.c:
823 * hildon/hildon-entry.c:
824 * hildon/hildon-program.c:
825 * hildon/hildon-remote-texture.c:
826 * hildon/hildon-stackable-window.c:
827 * hildon/hildon-text-view.c:
828 * hildon/hildon-touch-selector.c:
829 * hildon/hildon-window-stack.c:
830 * hildon/hildon-window.c:
832 Remove redundant "represents" wording from most of the documentation.
834 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
836 2009-06-12 Alberto Garcia <agarcia@igalia.com>
841 * hildon/hildon-banner-private.h
842 * hildon/hildon-banner.c:
843 Move HildonBannerPrivate to hildon-banner.c and remove
844 hildon-banner-private.h
845 Use a bit field to store private booleans.
847 2009-06-12 Alberto Garcia <agarcia@igalia.com>
849 * hildon/hildon-app-menu.c (hildon_app_menu_map):
850 Don't install a new idle function if there's already one
855 2009-06-11 Alberto Garcia <agarcia@igalia.com>
857 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
858 (+legacy_menu_realized, +legacy_menu_unmapped)
859 (+set_legacy_menu_type):
860 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
861 they can be identified by the window manager.
863 Fixes: NB#101437 (Invoking CSM on the left side of page area is
864 displayed in wrong location)
866 Fixes: MB#4563 (Popup menu won't locate at the left side of the
869 2009-06-11 Alberto Garcia <agarcia@igalia.com>
871 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
873 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
876 2009-06-11 Alberto Garcia <agarcia@igalia.com>
878 * hildon/hildon-code-dialog.c
879 * hildon/hildon-date-editor.c
880 * hildon/hildon-number-editor.c
881 * hildon/hildon-seekbar.c
882 * hildon/hildon-stackable-window.c
883 * hildon/hildon-window.c:
884 Misc documentation updates
886 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
888 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
889 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
891 Fixes: NB#117931 (Theming issues in accounts dialogs)
893 2009-06-09 Alejandro G. Castro <alex@igalia.com>
895 * hildon/hildon-pannable-area.c,
896 (hildon_pannable_area_button_release_cb): Changed the coordinates
897 of the original release in case we want to discard the release,
898 some widgets in Fremantle do not handle the leave-notify.
900 2009-06-09 Alejandro G. Castro <alex@igalia.com>
902 * hildon/hildon-pannable-area.c,
903 (hildon_pannable_area_button_release_cb): Reviewed the logic of
904 the release using the last refactored functions and avoiding the
905 movement if an element was selected.
907 2009-06-09 Alejandro G. Castro <alex@igalia.com>
909 * hildon/hildon-pannable-area.c,
910 (hildon_pannable_area_check_move),
911 (hildon_pannable_area_handle_move),
912 (hildon_pannable_area_motion_notify_cb): Refactored the
913 motion_notify method using a couple of new functions.
915 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
917 * hildon/hildon-date-selector.c:
918 (hildon_date_selector_construct_ui):
919 * hildon/hildon-time-selector.c:
920 (hildon_time_selector_constructor):
921 * hildon/hildon-touch-selector-entry.c:
922 (hildon_touch_selector_entry_set_text_column),
923 (hildon_touch_selector_entry_get_text_column):
924 * hildon/hildon-touch-selector.c: (_default_print_func),
925 (hildon_touch_selector_new_text): Use
926 hildon_touch_selector_set/get_text_column() instead of
927 setting/getting the "text-column" property.
929 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
931 * doc/hildon-sections.txt: Add the new public methods below.
933 * examples/hildon-picker-button-multicolumn-example.c:
934 (create_touch_selector):
935 * examples/hildon-touch-selector-example.c: (create_selector):
936 * examples/hildon-touch-selector-multi-cells-example.c:
938 Use hildon_touch_selector_column_set_text_column()
940 * hildon/hildon-touch-selector-column.h:
941 * hildon/hildon-touch-selector.c:
942 (hildon_touch_selector_column_set_text_column),
943 (hildon_touch_selector_column_get_text_column):
944 Make hildon_touch_selector_column_set/get_column() public, use
945 them in the inline example, document them, and reference to them
948 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
950 * hildon/hildon-time-selector.c: Fix the docs for
951 hildon_time_selector_new_step().
953 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
955 * hildon/hildon-touch-selector.c: Improve the documentation for
956 hildon_touch_selector_append_column().
958 Fixes MB#4641 (Documentation:
959 hildon_touch_selector_append_column() ref-counting)
961 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
963 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
964 Comment out test 5, since the hildon_controlbar_set_range() range
965 check is broken and fixing it would have side effects. Also,
966 this finally fixes make distcheck.
968 Fixes: NB#101420 (Update unit tests and fix make distcheck)
970 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
972 * tests/TEST-CASES.txt: Remove other bogus test.
973 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
974 Remove bogus test that was setting/retrieving a valid value.
976 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
978 * tests/TEST-CASES.txt: Remove bogus tests.
979 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
980 Remove three bogus tests that were actually setting valid colors.
982 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
984 * configure.ac: post release version bump
985 * debian/changelog: post release version bump
987 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
992 * configure.ac: Bump version.
993 * debian/changelog: Updates.
995 2009-06-08 Christian Dywan <christian@lanedo.com>
999 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1000 Correct errors in hildon_format_file-size_for_display and use
1001 translations from the hildon-fm package instead of osso-filemanager.
1003 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1005 * hildon/hildon-pannable-area.c,
1006 (hildon_pannable_area_init): Initialized new values to handle the
1007 adjustment position.
1008 (hildon_pannable_area_adjust_value_changed): Check if the values
1009 changed before even call the redraw function.
1010 (hildon_pannable_area_size_allocate),
1011 (hildon_pannable_axis_scroll),
1012 (hildon_pannable_area_scroll),
1013 (hildon_pannable_area_jump_to): Improved the diagonal movement
1016 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1019 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1021 * examples/hildon-banner-example.c:
1022 Several style updates
1023 (on_animation_clicked, on_animation_idle)
1024 (on_progress_clicked, on_progress_idle):
1025 Add additional reference for the cases when the parent window is
1028 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1030 * doc/hildon-sections.txt
1031 * hildon/hildon-pannable-area.c
1032 * hildon/hildon-banner.h
1033 * hildon/hildon-banner.c: Documentation updates.
1035 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1038 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1040 * hildon/hildon-calendar-popup.h:
1041 * hildon/hildon-caption.h:
1042 * hildon/hildon-code-dialog.h:
1043 * hildon/hildon-controlbar.h:
1044 * hildon/hildon-date-editor.h:
1045 * hildon/hildon-dialog.h:
1046 * hildon/hildon-get-password-dialog.h:
1047 * hildon/hildon-hvolumebar.h:
1048 * hildon/hildon-login-dialog.h:
1049 * hildon/hildon-note.h:
1050 * hildon/hildon-number-editor.h:
1051 * hildon/hildon-range-editor.h:
1052 * hildon/hildon-seekbar.h:
1053 * hildon/hildon-set-password-dialog.h:
1054 * hildon/hildon-sort-dialog.h:
1055 * hildon/hildon-time-editor.h:
1056 * hildon/hildon-time-picker.h:
1057 * hildon/hildon-volumebar-range.h:
1058 * hildon/hildon-volumebar.h:
1059 * hildon/hildon-vvolumebar.h:
1060 * hildon/hildon-weekday-picker.h:
1061 * hildon/hildon-window.h:
1062 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1063 macros with the current replacements
1065 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1067 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1069 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1070 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1071 itself, to make it fit better with Fremantle style.
1073 Fixes: NB#109878 (height and width of focus on color icon is not
1074 consistent with other item in the application tool bar)
1076 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1078 * hildon/hildon-touch-selector.c:
1079 (hildon_touch_selector_optimal_size_request): use the current requisition
1080 as the base, in order to include any possible extra widget, like the
1081 hildon entry on HildonTouchSelectorEntry
1083 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1085 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1087 * configure.ac: post release version bump
1088 * debian/changelog: post release version bump
1090 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1095 * configure.ac: Bump version.
1096 * debian/changelog: Updates.
1098 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1100 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1102 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1103 to ensure the banner contents are centered, instead of relying on
1104 the expand and fill properties in GtkHBox.
1105 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1107 Fixes: NB#108265 (Animation banner not properly centered)
1109 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1111 * hildon/hildon-pannable-area.c
1112 (hildon_pannable_area_initial_effect): Remove the initial_effect
1113 management, check initial_hint
1114 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1115 set initial_effect to FALSE
1116 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1117 by launching the fade_timeout if the scrollbars state has changed and are
1119 * examples/hildon-pannable-area-initial-hint-example.c
1120 Modified to allow to remove rows too. Add and remove rows one by one.
1122 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1124 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1125 Don't close the menu if there's an animation actor below it.
1127 Fixes: NB#117927 (Application menu not usable with animation
1130 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1132 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1133 "focus-on-click" from the dialog button, to avoid stealing the
1134 focus from the entry.
1136 Fixes: NB#118903 (Account setup wizard: Text in Search field
1137 should be focused when "Region" touch list picker is reopened
1140 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1142 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1143 (prepare_action_area): Completely hide the dialog separator.
1145 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1147 * hildon/hildon-touch-selector-entry.c
1148 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1149 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1150 now that the entry is exposed.
1152 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1154 * hildon/hildon-touch-selector-entry.c
1155 (hildon_touch_selector_entry_init): Change the entry's size
1156 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1158 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1160 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1161 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1162 avoid unnecessary scaling.
1164 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1166 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1167 Create grab transfer window before calling parent's map function.
1169 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1170 "crushed" button(s) in the top left corner)
1172 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1174 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1175 Check if the window is already realized when pushing it.
1177 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1179 * configure.ac: post release version bump
1180 * debian/changelog: post release version bump
1182 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1187 * configure.ac: Bump version.
1188 * debian/changelog: Updates.
1190 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1192 * hildon/hildon-app-menu.c: Doc updates.
1194 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1196 * hildon/hildon-banner.c: Remove leftover macro.
1198 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1200 * hildon/hildon-pannable-area.c,
1201 (hildon_pannable_area_scroll_indicator_fade),
1202 (hildon_pannable_area_button_release_cb): Reviewed vmin
1203 conditions, it could cause problems in the fadeout procedure.
1205 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1207 * hildon/hildon-pannable-area.c
1208 (hildon_pannable_area_button_release_cb): Added a threshold to
1209 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1211 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1213 * hildon/hildon-pannable-area.c,
1214 (hildon_pannable_area_set_property): Added code to sync the gtk
1215 dnd threshold with the panning threshold.
1217 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1219 * hildon/hildon-pannable-area.c,
1220 (hildon_pannable_area_class_init): Changed some of the default
1221 values, now it should be less responsive and more accurate.
1223 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1225 * hildon/hildon-pannable-area.c,
1226 (hildon_pannable_area_init),
1227 (hildon_pannable_area_scroll_indicator_fade),
1228 (hildon_pannable_area_button_press_cb),
1229 (hildon_pannable_axis_scroll),
1230 (hildon_pannable_area_timeout),
1231 (hildon_pannable_area_motion_notify_cb),
1232 (hildon_pannable_area_button_release_cb): Changed the name of the
1233 clicked attribute to button_pressed, it is more clear about its use.
1235 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1237 * src/hildon-pannable-area.c
1238 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1240 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1241 vertical scrollbar visibility, and use the data on private section instead,
1242 remove the initial_hint check
1243 (hildon_pannable_area_expose_event): add the initial_hint check here
1245 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1247 * src/hildon-pannable-area.c
1248 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1249 if the fadeout effect was used
1250 (hildon_pannable_area_expose_event): check if it is required to
1251 manage the initial effect on the begining of the function. Previously
1252 it was made at the end, but this doesn't ensure that the scrollbars
1253 will be painted on the first show. Do not set to FALSE initial_effect,
1254 to ensure that the initial hint is showed the first time the pannable
1256 * examples/Makefile.am
1257 * examples/hildon-pannable-area-initial-hint-example.c:
1258 New example, to show that the initial-hint is showed when the widget
1261 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1262 initially if the application can be scrolled)
1264 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1266 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1267 Resize table before adding new items to make sure that
1268 gtk_table_resize() is called just once.
1270 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1272 * hildon/hildon-app-menu-private.h
1273 * hildon/hildon-app-menu.c (item_visibility_changed)
1274 (filter_visibility_changed, hildon_app_menu_show_all)
1275 (hildon_app_menu_hide_all, hildon_app_menu_init):
1276 Rearrange items just once when gtk_widget_show_all()/hide_all()
1279 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1281 * hildon/hildon-app-menu.c
1282 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1283 Don't call gtk_widget_show() on added items.
1285 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1286 automatically when they're added)
1288 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1290 * hildon/hildon-banner.c
1291 (hildon_banner_realize, +hildon_banner_unrealize)
1292 (+screen_size_changed, hildon_banner_class_init):
1293 Redisplay the banner if the screen is rotated.
1295 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1296 on transition from landscape to portrait)
1298 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1300 * hildon/hildon-banner.[ch]:
1301 (hildon_banner_show_information_override_dnd): remove icon_name from the
1302 method definition as it is ignored.
1303 * examples/hildon-banner-dnd-example.c: updated with the change on
1306 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1308 * hildon/hildon-banner-private.h: new require_override_dnd and
1309 overrides_dnd variables
1310 * hildon/hildon-banner.h:
1311 (hildon_banner_show_information_override_dnd): new method, that shows
1312 the information but sets the override flag, in order to show important
1314 * hildon/hildon-banner.c
1315 (hildon_banner_show_information_override_dnd): new method
1316 (hildon_banner_set_override_flag): new utility function
1317 (hildon_banner_real_show_information): new utility function, in order to
1318 generalize the current hildon_banner_show_information_override_dnd and
1319 hildon_banner_show_information_override_dnd
1320 * examples/Makefile.am
1321 * examples/hildon-banner-dnd-example.c: New example that show how to
1322 use the new hildon_banner_show_information_override_dnd
1324 Fixes: NB#114874 (There is no possibility to show hildon banners with
1327 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1329 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1330 behind hildon_pannable_calculate_vel_factor().
1332 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1334 * hildon/hildon-pannable-area.c
1335 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1336 deceleration factors.
1338 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1340 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1341 Reduce the default value for 'scroll_time' to 1 second, since the
1342 current initial scrolling takes too much time.
1344 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1346 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1347 calculate velocity factor during initialization, since the properties
1350 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1352 * hildon/hildon-pannable-area.c
1353 (hildon_pannable_area_set_property): Calculate the velocity factor
1354 after setting the deceleration property and not after.
1356 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1358 * hildon/hildon-entry.c
1359 (hildon_entry_class_init, +set_property, hildon_entry_new)
1360 * hildon/hildon-check-button.c
1361 (hildon_check_button_class_init)
1362 (+set_property, hildon_check_button_new):
1363 Make the theme size a property.
1365 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1366 others) do too much in the _new function)
1368 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1370 * configure.ac: post release version bump
1371 * debian/changelog: post release version bump
1373 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1378 * configure.ac: Bump version.
1379 * debian/changelog: Updates.
1381 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1383 * hildon/hildon-gtk.h
1384 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1385 New API function to take a screenshot of a window
1387 Fixes: NB#106374 (Need API to take a loading screenshot)
1389 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1391 * hildon/hildon-time-selector.c
1392 (update_format_policy): prevent to use hours and minutes unitialized
1394 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1396 * hildon/hildon-window.c (hildon_window_size_request):
1397 Always request the full size of the screen (minus the title bar if
1398 not in fullscreen mode).
1400 Fixes: NB#107486 (HildonWindow should size itself properly)
1402 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1404 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1405 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1406 (on_show_cb), (sound_handling): Disconnect the idle handler for
1407 the sound when the note is finalized to avoid possible crashes.
1409 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1412 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1414 * src/hildon-animation-actor.c,
1415 * src/hildon-remote-texture.c:
1416 Added proper object cleanup to remove signal handler and object
1417 references as HildonAnimationActor and HildonRemoteTexture
1418 objects get destroyed.
1420 Fixes: NB#116682 (Destroying parented animation actors when
1421 parent in unmapped leads to crash)
1423 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1425 Based on a patch by Christian Dywan (christian@imendio.com)
1427 * doc/hildon-sections.txt:
1428 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1429 * hildon/hildon-helper.h: New file size formatting method.
1431 * debian/control: Depend on osso-filemanager l10n package for
1432 proper localization strings.
1434 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1436 * tests/Makefile.am: Include top_srcdir to make possible to build
1437 tests in a different builddir.
1438 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1439 on a different builddir.
1441 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1443 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1444 (hildon_touch_selector_remove): Disconnect model's signal handler
1447 Fixes: NB#116289 (Hildon home crashes while adding task
1450 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1452 * hildon/hildon-button.c
1453 (hildon_button_set_title, hildon_button_set_value):
1454 Hide labels containing an empty string.
1456 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1458 * configure.ac: post release version bump
1459 * debian/changelog: post release version bump
1461 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1466 * configure.ac: Bump version.
1467 * debian/changelog: Updates.
1469 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1471 * hildon/hildon-note-private.h: Removed sound_signal_handler
1472 * hildon/hildon-note.c
1473 (on_show_cb): new callback on note "show" event, this simply adds
1474 a idle, with the function sound_handling
1475 (sound_handling): removed the sound_signal_handler management
1476 (hildon_note_init): connect note "show" event to on_show_cb
1477 (hildon_note_realize): remove the connection to "expose-event"
1479 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1480 device?' confirmation note)
1482 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1484 * hildon/hildon-note.c
1485 (hildon_note_new_information_with_icon_name)
1486 (hildon_note_new_confirmation_with_icon_name):
1487 Terminate the list of parameters in g_object_set() calls
1489 Fixes: NB#115166 (Formatting memory card is not taking place)
1491 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1493 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1494 "dialog-information" role for the sound being played.
1496 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1498 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1499 Don't make the menu a modal window, it causes strange interactions
1500 with the pointer grab and it's not really needed.
1502 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1504 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1506 * hildon/hildon-touch-selector.[ch]
1507 (hildon_touch_selector_optimal_size_request): function added to get a
1508 optimal size request from the touch selector, when you want a dialog to
1509 show as much of the selector
1510 * hildon/hildon-picker-dialog.c:
1511 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1512 (hildon_app_menu_class_init):
1513 New "max-height-landscape" and "max-height-portrait" style properties
1514 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1515 (hildon_picker_dialog_get_max_height): returns the maximum height using
1516 the style properties defined and checking the current portrait/landscape
1518 (_hildon_picker_dialog_set_selector): removed the set_size_request
1520 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1522 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1524 * hildon/hildon-bread-crumb-trail.c:
1525 * hildon/hildon-bread-crumb.c:
1526 * hildon/hildon-seekbar.c:
1527 Add reference to replacements for these deprecated widgets.
1529 Fixes: MB#4461 (Documentation: All deprecations should mention
1532 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1534 * examples/hildon-remote-texture-example.c
1536 Change the include to the hildon-remote-texture in order to compile
1537 properly the examples on the installed libhildon1-examples package
1539 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1541 * tests/Makefile.am: Add check for HildonPickerButton.
1542 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1543 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1544 checks for the HildonPickerButton.
1545 * tests/check_test.c (configure_tests): Add the test suite.
1546 * tests/test_suites.h: likewise.
1548 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1550 * hildon/hildon-touch-selector.c
1551 (+on_row_changed): Emit HildonTouchSelector:changed when the
1552 contents of a selected row change.
1553 (_create_new_column), (_hildon_touch_selector_set_model): connect
1554 to GtkTreeModel:row-changed on a newly set model.
1556 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1558 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1560 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1562 * hildon/hildon-banner.c (hildon_banner_destroy)
1563 (hildon_banner_show_progress, hildon_banner_set_fraction):
1564 Remove the progress bar from HildonBanner and use a progress
1567 Fixes: NB#113761 (Update progress banner to use progress
1570 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1572 * hildon/hildon-banner.c:
1573 Calculate size of the banner label using the actual screen width
1574 rather than using a fixed value.
1576 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1579 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1581 * hildon/hildon-pannable-area.c,
1582 (hildon_pannable_area_class_init): Fixed signals documentation
1585 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1587 * configure.ac: post release version bump
1588 * debian/changelog: post release version bump
1590 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1595 * configure.ac: Bump version.
1596 * debian/changelog: Updates.
1598 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1600 * hildon/hildon-edit-toolbar.c
1601 (hildon_edit_toolbar_init):
1602 Don't let buttons in HildonEditToolbar receive focus.
1604 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1605 typing on an HW arrows key)
1607 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1609 * doc/Makefile.am: Fix build.
1611 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1613 * doc/Makefile.am: Do not redefine content_files.
1615 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1623 Renamed src/ to hildon/
1628 Include <hildon/hildon.h> directly in all examples.
1630 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1632 * src/hildon-sort-dialog.c
1633 (hildon_sort_dialog_add_sort_key_with_sorting)
1637 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1639 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1640 make distcheck passes.
1642 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1644 * Makefile.am: Enable gtk-doc during distcheck.
1646 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1648 * Makefile.am: Do not distribute the debian/ directory.
1650 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1652 * doc/Makefile.am: Add the extra SGML files to content_files,
1653 so that they are distributed properly.
1655 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1657 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1660 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1662 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1663 (hildon_note_new_information_with_icon_name): Set the "icon" property
1664 to preserve soundness.
1666 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1668 * src/hildon-font-selection-dialog.c
1669 (hildon_font_selection_dialog_set_property): Fail when the "family"
1670 property is set to NULL.
1672 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1677 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1679 * src/hildon-time-selector.h:
1680 Added HildonTimeSelectorFormatPolicy
1681 * src/hildon-time-selector.c:
1682 Added PROP_TIME_FORMAT_POLICY
1683 (_check_ampm_format): renamed to check_automatic_ampm_format
1684 (update_format_policy), (update_format_dependant_columns): new functions
1685 (hildon_time_selector_class_init)
1686 (hildon_time_selector_contructor)
1687 (hildon_time_selector_init)
1688 (hildon_time_selector_get_property)
1689 (hildon_time_selector_set_property)
1690 (hildon_time_selector_get_time)
1691 (hildon_time_selector_set_time)
1692 * src/hildon-touch-selector.h: new file
1693 * src/hildon-touch-selector.c
1694 (hildon_touch_selector_emit_changed)
1695 (hildon_touch_selector_block_changed)
1696 (hildon_touch_selector_unblock_changed)
1697 Added functions to allow to block the emission of the "changed" signal
1698 * src/hildon-picker-dialog.c
1699 (hildon_picker_dialog_show): call the parent show before the custom code
1700 * examples/hildon-time-button-example.c
1701 Modified, so now you can configure the time format using the new property
1703 Added a new property "time-format-policy" that allow to choose the time
1704 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1705 case it uses gconf in order to check if the time selector must use
1708 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1711 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1713 * src/hildon-note.c (hildon_note_init):
1714 Label in HildonNote must be left aligned, not centered. This
1715 reverts the last commit in HildonNote.
1717 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1718 is connectivity dialog)
1720 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1725 * doc/hildon-sections.txt:
1726 Added hildon_gtk_window_set_do_not_disturb()
1728 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1730 * src/hildon-note.c (hildon_note_init): Center label.
1732 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1735 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1740 * configure.ac: Bump version.
1741 * debian/changelog: Updates.
1743 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1745 * src/hildon-note-private.h: Add button-width to the private data.
1746 * src/hildon-note.c (+resize_button),
1747 (+hildon_note_orientation_update): methods to repack widgets on orientation
1749 (screen_size_changed): Call above method for confirmation notes.
1750 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1751 (hildon_note_rebuild): Store the original width request from buttons.
1753 Fixes: NB#109635 (Confirmation notes do not support portrait)
1755 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1757 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1758 when it is a progress note.
1760 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1762 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1763 in the note, since there are no horizontally arranged contents.
1765 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1767 * src/hildon-gtk.c (+set_flag): new generic method to
1768 set/delay a flag setting in a window.
1769 (hildon_gtk_window_set_progress_indicator):
1770 (hildon_gtk_window_set_do_not_disturb),
1771 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1772 avoid code redundance.
1774 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1776 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1778 * src/hildon-gtk.c (set_clear_window_flag),
1779 (do_set_progress_indicator), (do_set_do_not_disturb),
1780 (do_set_portrait_flags),
1781 (hildon_gtk_window_set_progress_indicator),
1782 (hildon_gtk_window_set_do_not_disturb),
1783 (hildon_gtk_window_set_portrait_flags):
1784 Allow setting dnd-flag, progress indicator, and portrait flags
1785 when the window is not realized.
1787 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1789 * src/hildon-pannable-area.c,
1790 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1791 the size request policy function and defines.
1793 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1795 * doc/hildon-sections.txt: Add the new API.
1796 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1797 method to set the portrait flags.
1798 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1800 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1802 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1804 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1805 to allow using this method with other flags.
1806 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1807 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1809 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1811 * src/hildon-touch-selector.c
1812 (hildon_touch_selector_append_text_column):
1813 Make the cell renderer use the smallest width possible.
1815 Fixes: NB#108470 (Selected items in multiple selection are either
1816 having a tick that is cut or not visible at all.)
1818 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1820 * src/hildon-touch-selector.c
1821 (hildon_touch_selector_append_text_column):
1824 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1826 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1827 Use g_strdup_printf() instead of a fixed size buffer.
1829 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1832 Close banners when a HildonAppMenu is popped up.
1834 Fixes: NB#111027 (Title menu closed immediately if activated when
1835 "Invalid e-mail address" banner is shown)
1837 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1842 * configure.ac: Bump version.
1843 * debian/changelog: Updates.
1845 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-banner.c (hildon_banner_realize):
1848 Mark HildonBanner as supporting portrait mode.
1849 Use GDK to set window properties insetad of direct Xlib calls.
1851 Fixes: NB#111830 (HildonBanner should be marked as supporting
1854 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1856 * src/hildon-note.c (hildon_note_rebuild):
1857 Hide action area in information notes. Prevents text from being
1858 slightly aligned to the left.
1860 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1863 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1865 Patch by Mox Soini (ext-mox.soini@nokia.com)
1867 * src/hildon-banner.c (hildon_banner_create_animation):
1868 Use stylus-sized icons in animation banner.
1870 Fixes: NB#111206 (stylus sized icon for animation banner)
1872 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1876 (+hildon_gtk_window_set_do_not_disturb):
1877 New API to set the do-not-disturb flag.
1879 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1881 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1883 * examples/hildon-progress-indicator-example.c: Fix example
1885 * src/hildon-gtk.c (set_clear_window_flag)
1886 (hildon_gtk_window_set_progress_indicator):
1887 Create a generic function for setting flags to a window.
1888 Use GDK instead of direct Xlib calls.
1890 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1892 * src/hildon-button.c (hildon_button_set_arrangement):
1893 Due to NB#88126, if one of the labels is too long it will be
1894 painted outside the button. The 'value' label is more likely to be
1895 the longest one, so we change its packing options in order to
1896 truncate it if necessary. As a side effect, the 'title' label will
1897 no longer be truncated.
1899 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1901 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1906 * configure.ac: Bump version.
1907 * debian/changelog: Updates.
1909 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1911 Deprecation of the hildon_pannable_area_set_size_request_policy
1912 API, the only policy properly supported in gtk+ nowadays is the
1915 * src/hildon-pannable-area.c,
1916 (hildon_pannable_area_size_request): Added a workaround for the
1917 size_request to avoid the problems of huge pixmaps in case someone
1918 is still using the function.
1919 * src/hildon-pannable-area.h: Deprecated the enum with the
1922 Fixes: NB#110244 (Problems with the
1923 hildon_pannable_area_set_size_request_policy API)
1925 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1927 * src/hildon-pannable-area.c,
1928 (hildon_pannable_area_init),
1929 (hildon_pannable_area_size_request),
1930 (hildon_pannable_area_style_set),
1931 (hildon_pannable_draw_vscroll),
1932 (hildon_pannable_draw_hscroll),
1933 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1934 indicator_width to clarify the use of the attribute.
1936 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1941 * configure.ac: Bump version.
1942 * debian/changelog: Updates.
1944 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1946 * src/hildon-picker-dialog.c
1947 * src/hildon-touch-selector.c
1948 Reverting the change that tried to avoid the hardcoded height on
1949 the picker dialog, as causes problems on the hildon-touch-selector
1952 Fixes: NB#110029 (selectors not scrolling to selected value)
1954 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1956 * src/hildon-touch-selector.c: Fix typos
1958 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1960 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1961 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1962 request more motions after using it.
1964 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1966 * src/hildon-calendar.c (hildon_calendar_expose),
1967 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1968 Remove unused variables.
1970 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1972 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1973 variable assignment.
1975 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1977 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1978 Check the return value of gtk_tree_selection_get_selected()
1981 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1983 * src/hildon-animation-actor.c
1984 * src/hildon-button.c
1986 * src/hildon-pannable-area.c
1987 * src/hildon-picker-button.c
1988 * src/hildon-program.c
1989 * src/hildon-remote-texture.c
1990 * src/hildon-text-view.c
1991 * src/hildon-touch-selector.c
1992 * src/hildon-window-stack.c
1993 * src/hildon-window.c:
1994 Add missing 'Since: 2.2' tags.
1996 * doc/hildon-sections.txt:
1997 Add some missing symbols.
1999 * doc/hildon-docs.sgml:
2000 New 'Other' section for HildonAnimationActor and
2003 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2005 Patch by Iván Gómez (igomez@igalia.com)
2008 * doc/compiling.sgml
2009 * doc/hildon-docs.sgml
2010 * doc/hildon-sections.txt
2011 * doc/migration.sgml
2012 * doc/resources.sgml
2014 New chapters on using the Hildon library.
2015 Updated the general structure of the reference manual.
2016 Other minor documentation fixes.
2018 * src/hildon-calendar-popup.c
2019 * src/hildon-calendar.c
2020 * src/hildon-controlbar.c
2021 * src/hildon-date-editor.c
2022 * src/hildon-dialog.c
2023 * src/hildon-hvolumebar.c
2024 * src/hildon-number-editor.c
2025 * src/hildon-range-editor.c
2026 * src/hildon-sort-dialog.c
2027 * src/hildon-time-editor.c
2028 * src/hildon-time-picker.c
2029 * src/hildon-volumebar-range.c
2030 * src/hildon-volumebar.c
2031 * src/hildon-vvolumebar.c
2032 * src/hildon-weekday-picker.c:
2033 Add deprecation notes
2035 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2036 Document 'horizontal-movement' and 'vertical-movement' signals.
2038 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2043 * configure.ac: Bump version.
2044 * debian/changelog: Updates.
2046 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2048 * src/hildon-pannable-area.c,
2049 (hildon_pannable_area_class_init): increased the minimum velocity.
2050 (hildon_pannable_area_button_release_cb): Updated the
2051 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2052 setup. Review the code to control that last event.
2054 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2057 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2059 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2061 * src/hildon-get-password-dialog.c
2062 (hildon_get_password_set_property),
2063 (hildon_get_password_get_property), (create_contents):
2064 * src/hildon-login-dialog-private.h:
2065 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2066 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2067 (hildon_login_dialog_get_password):
2068 * src/hildon-set-password-dialog-private.h:
2069 * src/hildon-set-password-dialog.c
2070 (hildon_set_password_set_property),
2071 (hildon_set_password_get_property), (create_contents),
2072 (hildon_set_password_response_change),
2073 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2075 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2076 instead and look more Fremantle style.
2078 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2080 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2082 * doc/hildon-sections.txt
2083 * src/hildon-window-stack.h
2084 * src/hildon-window-stack.c
2085 (+hildon_window_stack_get_windows):
2086 New API to obtain the list of windows on a stack.
2088 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-app-menu.c (hildon_app_menu_popup)
2091 (hildon_app_menu_class_init, -hildon_app_menu_show):
2092 Remove hildon_app_menu_show() and move all its checks to
2093 hildon_app_menu_popup()
2095 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2097 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2098 (_hildon_picker_dialog_set_selector): removed call to
2099 gtk_widget_set_size_request
2100 * src/hildon-touch-selector.c
2101 (_create_new_column): change the pannable size request policy
2103 Avoid to use a hardcoded height for the hildon picker dialog. In order
2104 to get that, we needed to change the hildon pannable size request
2106 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2108 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2110 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2111 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2114 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2116 * debian/control: Depend on osso-system-lock localization package.
2117 * src/hildon-code-dialog.c: Obtain the secu_application_title
2118 translation from osso-system-lock.
2119 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2120 for translation the atk related strings, that's not necessary.
2121 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2122 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2123 cancel button, it is not required.
2125 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2127 * src/hildon-pannable-area.c,
2128 (hildon_pannable_area_class_init): Modified the default value of
2129 the overshooting max speed, we have reduced it.
2131 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2133 * doc/hildon-sections.txt
2134 * src/hildon-window-private.h
2135 * src/hildon-window.h
2136 * src/hildon-window.c (hildon_window_class_init)
2137 (hildon_window_init, hildon_window_finalize)
2138 (hildon_window_realize, hildon_window_get_property)
2139 (hildon_window_set_property, hildon_window_update_markup)
2140 (hildon_window_get_markup, hildon_window_set_markup):
2141 New "markup" property and hildon_window_{get,set}_markup() methods.
2143 * examples/hildon-stackable-window-example.c (new_window):
2144 Update example to use hildon_window_set_markup()
2146 Fixes: NB#106375 (Need API to retitle a window with a title
2149 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2151 * src/hildon-pannable-area.c,
2152 (hildon_pannable_area_class_init): Changed the default value of
2153 the initial_hint to TRUE.
2154 (hildon_pannable_area_initial_effect): Changed the initial effect,
2155 not the effect is just the fade-out of the scrollbars.
2157 Fixes: NB#107775 (No scrollbars can be seen when several items are
2158 available in a dialog)
2160 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2162 * src/hildon-program.c (hildon_program_update_top_most):
2165 Fixes: NB#109179 (Memory leak in Hildon program)
2167 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-banner.c (-get_current_app_window):
2170 Remove unused function.
2172 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2174 * src/hildon-pannable-area.c: Modified the documentation of the
2175 get adjustments functions to explain the problem of using the
2176 adjustment directly.
2177 (hildon_pannable_area_class_init): Improved the explanation about
2180 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2182 * src/hildon-app-menu-private.h
2183 * src/hildon-app-menu.c
2184 (hildon_app_menu_class_init):
2185 Bring back the 'external-border' style property
2186 (hildon_app_menu_class_init, hildon_app_menu_init)
2187 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2188 Set a fixed width-request for the menu, independent of the number
2191 Fixes: NB#94957 (Smoothly opened application menu)
2193 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2195 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2197 * src/hildon-banner.c
2198 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2200 Make sure that the banner is correctly placed the first time it's
2202 (hildon_banner_check_position, -check_fullscreen_state):
2203 Show the banner in the same place no matter if the window is in
2204 fullscreen mode or not.
2206 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2208 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2210 * src/hildon-touch-selector.c (_default_print_func): reorder
2211 concatenation for clarity.
2213 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2215 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2216 for multicolumn selectors.
2218 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2220 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2225 * configure.ac: Bump version.
2226 * debian/changelog: Updates.
2228 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2230 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2233 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2235 * configure.ac: removed libcangerra-gtk dependency
2236 * debian/control: removed libcanberra-gtk dependency
2237 * src/Makefile.am: removed libcanberra gtk related flags
2238 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2239 context, and manage a global canberra context instead
2241 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2243 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2245 Patch by Daniel Borgmann (danielb@openismus.com)
2247 * src/hildon-edit-toolbar.c:
2248 Adjust the left padding.
2249 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2250 Paint background of the edit toolbar.
2252 Fixes: NB#107897 (Patch to make editmodetoolbar background
2253 themeable and adjust margin)
2255 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2257 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2259 * src/hildon-program.c (hildon_program_update_top_most):
2260 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2262 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2263 change when the user tasks in/out of an application)
2265 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2267 * configure.ac: added libcangerra-gtk dependency
2268 * debian/control: added libcanberra-gtk dependency
2269 * src/Makefile.am: added libcanberra gtk related flags
2270 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2273 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2275 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2277 * src/hildon-program.c (hildon_program_remove_window)
2278 (hildon_program_add_window): Add checks for the window
2279 parameter. Don't decrease the window counter if the window is not
2282 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2284 * src/hildon-pannable-area.c,
2285 (hildon_pannable_area_realize): Fixed position of the event_window
2286 in the realize method.
2288 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2290 * src/hildon-app-menu-private.h
2291 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2292 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2293 (hildon_app_menu_key_press, hildon_app_menu_init)
2294 (hildon_app_menu_finalize):
2295 Make sure that all idle functions are removed when the widget is
2298 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2300 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2305 * configure.ac: Bump version.
2306 * debian/changelog: Updates.
2308 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2310 * src/hildon-entry.c
2311 (+hildon_entry_show_placeholder),
2312 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2313 that replace hildon_entry_update_contents().
2314 (hildon_entry_set_text),
2315 (hildon_entry_set_placeholder),
2316 (hildon_entry_focus_in_event),
2317 (hildon_entry_focus_out_event): Determine when it is needed
2318 either to show or hide the placeholder and call the above methods.
2320 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2321 when the placeholder text is already set)
2323 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2325 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2326 simple GdkPixbufAnim using the new icons for the banner.
2327 (hildon_banner_show_animation): Use the above mentioned method to
2328 create the animation widget.
2330 Fixes: NB#103564 (Make hildon animation banner use individual
2331 image files as the animation)
2333 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2335 * src/hildon-pannable-area.c,
2336 (hildon_pannable_leave_notify_event): Check if the child is NULL
2337 to avoid sending the leave.
2339 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2341 * src/hildon-pannable-area.c,
2342 (hildon_pannable_area_class_init),
2343 (hildon_pannable_leave_notify_event): Added a handler of the
2344 leave-notify-signal to consider when no motion notify before
2347 Fixes: NB#107494 (Items stay selected when clicking and moving
2348 away when inside pannable area)
2350 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2355 * configure.ac: Bump version.
2356 * debian/changelog: Updates.
2358 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2360 Patch by Alberto Garcia (agarcia@igalia.com)
2362 * src/hildon-date-button.c,
2363 (hildon_date_button_class_init),
2364 (hildon_date_button_init): Removed the construct property handling
2365 and created a default selector in the init method.
2366 * src/hildon-picker-button.c,
2367 (hildon_picker_button_class_init): Removed the construct flag of the
2370 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2372 * src/hildon-main.c (hildon_init):
2373 Don't allow hildon_init() to be called more than once.
2375 Fixes: NB#106607 (hildon_init should issue error message upon
2378 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2380 * examples/hildon-pannable-area-touch-list-example.c
2381 * examples/hildon-pannagle-area-touch-grid-example.c
2382 * examples/hildon-edit-toolbar-example.c
2383 * examples/hildon-touch-selector-multi-cells-example.c
2384 Removed the call to gtk_rc_parse_string, as it is not required since
2387 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2389 * src/hildon-pannable-area.c,
2390 (hildon_pannable_area_class_init): Modified the default panning
2391 threshold of the widget to 6px.
2393 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2394 than the threshold value ) within the button is not sending the
2397 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2399 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2400 for the treeview in the new column. This way, the touch list will never
2403 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2404 be selected manually for the HW keys to work)
2406 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2409 comparison instead of using strcmp(). Fixes a compiler warning as well.
2411 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2413 * doc/hildon-docs.sgml: Do not set the library version in the
2414 document title, use the releaseinfo tag for that purpose instead.
2416 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2419 Do not jump to the first item if the text in the entry is removed.
2421 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2426 * configure.ac: Bump version.
2427 * debian/changelog: Updates.
2429 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2431 * src/hildon-entry.c (hildon_entry_refresh_contents):
2432 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2433 Use "ReversedSecondaryTextColor" for the placeholder text.
2435 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2437 * src/hildon-text-view.c: Fix compilation warning.
2439 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2441 * src/hildon-button.c (hildon_button_class_init): Don't make
2442 "title" and "value" construction properties, to prevent them from
2443 overwriting labels set from derived classes.
2445 * src/hildon-picker-button.c
2446 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2447 (hildon_picker_button_class_init): Make touch-selector a
2448 construction property.
2450 * src/hildon-date-button.c (hildon_date_button_class_init)
2451 (+hildon_date_button_constructed): Add a default date selector if
2454 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-touch-selector.c: Small documentation fixes.
2458 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2460 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2462 * src/hildon-entry.c (hildon_entry_refresh_contents),
2463 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2464 widget name, set the logical color directly instead and a boolean
2465 showing_placeholder instead.
2466 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2467 use the widget name here either.
2469 Fixes: NB#105678 (HildonTextView should use logical colours
2470 instead of setting widget name)
2472 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2474 Patch by Daniel Elster (danielk@openismus.com)
2476 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2477 Add user_data parameter.
2478 (hildon_touch_selector_set_print_func_full): New function akin
2479 hildon_touch_selector_set_print_func() but with support for user
2480 data and a destroy callback.
2481 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2482 to clean up the print function user data.
2483 (hildon_touch_selector_class_init): Install dispose function.
2484 (HildonTouchSelectorPrivate::print_user_data),
2485 (HildonTouchSelectorPrivate::print_destroy_func): New private
2487 (hildon_touch_selector_init): Initialize new private members.
2488 (hildon_touch_selector_get_current_text): Pass along user data
2489 to the print function.
2490 (_default_print_func): Add dummy user_data to parameter list.
2491 * hildon-date-selector.c (_custom_print_func): ditto,
2492 * hildon-time-selector.c (_custom_print_func): ditto,
2493 * hildon-touch-selector-entry.c
2494 (hildon_touch_selector_entry_print_func): ditto.
2496 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2498 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2500 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2502 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2504 * src/hildon-pannable-area.c,
2505 (hildon_pannable_area_init),
2506 (hildon_pannable_area_button_press_cb),
2507 (hildon_pannable_area_motion_notify_cb): We have added code to
2508 handle the leave and enter events when using the motion events.
2510 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2512 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-date-button.c (hildon_date_button_get_date)
2515 (hildon_date_button_set_date): Make sure that the button has a
2518 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2520 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2522 * src/hildon-pannable-area.c,
2523 (hildon_pannable_area_class_init),
2524 (hildon_pannable_area_calculate_velocity): Modify the use of the
2525 force and adapt the value.
2527 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2529 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2530 (hildon_app_menu_class_init): Hide the menu if it receives a
2531 delete-event, but don't destroy it
2533 Fixes: NB#104485 (Not able to address the call when application
2534 menu is opened at background)
2536 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2538 * src/hildon-app-menu.c
2539 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2540 Remove the "external-border" style property, let the menu take its
2541 natural size (or the one set by the window manager)
2542 (hildon_app_menu_repack_items):
2543 Don't reshow the menu, avoid flickers.
2545 Partially fixes NB#94957 (Smoothly opened application menu)
2547 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2552 * configure.ac: Bump version.
2553 * debian/changelog: Updates.
2555 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2557 * src/hildon-pannable-area.c,
2558 (hildon_pannable_area_motion_notify_cb): We control that the
2559 direction error margin is used just in case the movement is
2560 allowed in the other direction.
2562 Fixes: NB#105012 (buttons inside a pannable area not getting
2563 release event when dragging/releasing)
2565 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2567 * src/hildon-pannable-area.c,
2568 (hildon_pannable_area_class_init),
2569 (hildon_pannable_area_get_property),
2570 (hildon_pannable_area_set_property),
2571 (hildon_pannable_area_initial_effect),
2572 (hildon_pannable_axis_scroll),
2573 (hildon_pannable_area_button_release_cb): Reviewed the
2574 overshooting effect, now it has its own max
2575 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2576 speed when bouncing.
2578 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2583 * configure.ac: Bump version.
2584 * debian/changelog: Updates.
2586 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2588 * src/hildon-pannable-area.c,
2589 (hildon_pannable_area_class_init): Changed the max speed, now
2590 users can launch the widget very fast. Reduced the default force,
2591 that way it is easier to control the launch speed.
2593 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2595 * src/hildon-pannable-area.c,
2596 (hildon_pannable_area_button_release_cb): Removed this check
2597 because it causes problems when the device is overloaded.
2599 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2601 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2602 add a current_text field to store the text entered in the
2603 touch selector entry.
2604 (_clean_current_selection): clean up the current text as well.
2605 (_save_current_selection), (_restore_current_selection):
2606 Save/restore the text in the entry if the selector is a
2607 HildonTouchSelectorEntry.
2609 Fixes: NB#102541 (value entered in the touch selector entry is not
2610 shown when opened for second time)
2612 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2614 * doc/hildon-sections.txt:
2615 * src/hildon-touch-selector-entry.c
2616 (+hildon_touch_selector_entry_get_entry):
2617 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2619 Fixes: NB#104815 (I need accessor to the entry inside
2620 HildonTouchSelectorEntry)
2622 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2624 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2625 (hildon_app_menu_class_init):
2626 New "filter-vertical-spacing" style property.
2628 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2630 * src/hildon-find-toolbar.c
2631 (hildon_find_toolbar_emit_close)
2632 (hildon_find_toolbar_emit_invalid_input)
2633 (hildon_find_toolbar_entry_activate):
2634 Use g_signal_emit() instead of g_signal_emit_by_name()
2636 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2638 Patch by Mox Soini (ext-mox.soini@nokia.com)
2640 * tests/TEST-CASES.txt
2641 * tests/check-hildon-banner.c
2642 * tests/check-hildon-note.c
2643 * src/hildon-banner.c
2644 * src/hildon-code-dialog.c
2645 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2646 * src/hildon-time-editor.c
2647 * examples/hildon-lookup-example.c (main):
2648 Replace obsolete icon names with new ones.
2650 * src/hildon-find-toolbar-private.h:
2651 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2652 (-hildon_find_toolbar_emit_search):
2653 Remove find button and change icon of close button.
2655 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2657 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2659 * src/hildon-time-button.c (hildon_time_button_new_step):
2660 Use the "touch-selector" property to set the selector directly
2661 when creating the object.
2663 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2665 Added a new example application that allows tuning the pannable
2666 area and replaced defines with properties in order to simplify the
2667 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2668 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2669 PROP_DIRECTION_ERROR_MARGIN.
2671 * examples/hildon-pannable-area-tuning-example.c: New example
2673 * src/hildon-pannable-area.c,
2674 (hildon_pannable_area_class_init),
2675 (hildon_pannable_area_init),
2676 (hildon_pannable_area_get_property),
2677 (hildon_pannable_area_set_property),
2678 (hildon_pannable_area_launch_fade_timeout),
2679 (hildon_pannable_area_adjust_value_changed),
2680 (hildon_pannable_axis_scroll),
2681 (hildon_pannable_area_motion_notify_cb),
2682 (hildon_pannable_area_scroll_cb),
2683 (hildon_pannable_area_button_release_cb): We have converted some
2684 of the defines that control the widget to properties to simplify
2687 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2689 * src/hildon-app-menu.c (hildon_app_menu_map)
2690 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2691 so it's closed if a new window appears.
2693 Fixes: NB#104485 (Not able to address the call when application
2694 menu is opened at background)
2696 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2699 missing 'break' statement in in 'case' construct to avoid
2702 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2704 * src/hildon-touch-selector-entry.c
2705 (hildon_touch_selector_entry_get_property),
2706 (hildon_touch_selector_entry_set_property): Add missing 'break'
2707 statements in in 'case' constructs to avoid incorrect warnings.
2709 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2711 * src/hildon-time-editor.c
2712 (hildon_time_editor_get_time_separators): Do not crash if
2713 the first label is NULL.
2715 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2717 * src/hildon-date-selector.c (_month_days): Check for month to be
2718 strictly less than 12, since otherwise we may overrun the array.
2720 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2722 * src/hildon-date-button.c (+hildon_date_button_new_full)
2723 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2724 (hildon_date_button_init): Set the date selector using a
2725 construction property, to make it happen after HildonButton's
2726 "value" property is set.
2728 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2729 current date by default)
2731 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2733 * doc/hildon-sections.txt
2734 * src/hildon-program.c
2735 * src/hildon-stackable-window.c
2736 * src/hildon-window.c:
2737 Documentation updates
2739 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2741 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2742 (hildon_window_stack_new, +hildon_window_stack_set_property)
2743 (+hildon_window_stack_get_property)
2744 (hildon_window_stack_class_init)
2745 (+hildon_window_stack_set_window_group)
2746 (+hildon_window_stack_get_window_group):
2747 Make the window group a construction property.
2749 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2751 * doc/hildon-sections.txt
2752 * src/hildon-stackable-window-private.h
2753 * src/hildon-stackable-window.h
2754 * src/hildon-stackable-window.c
2755 (-hildon_stackable_window_set_app_menu)
2756 (-hildon_stackable_window_get_app_menu)
2757 (-hildon_stackable_window_toggle_menu)
2758 (-hildon_stackable_window_finalize)
2759 (hildon_stackable_window_class_init)
2760 (hildon_stackable_window_init)
2761 * src/hildon-window-private.h
2762 * src/hildon-window.h
2763 * src/hildon-window.c (hildon_window_init)
2764 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2765 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2766 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2767 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2768 Moved all HildonAppMenu code to HildonWindow. The menu does not
2769 require a HildonStackableWindow anymore.
2771 * src/hildon-app-menu.c
2772 * src/hildon-program.c
2773 * examples/hildon-app-menu-example.c (main):
2774 Update examples and documentation to reflect HildonAppMenu
2777 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2779 * src/hildon-remote-texture.c
2780 * src/hildon-animation-actor.c:
2781 Don't include unused private headers.
2783 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2785 * src/hildon-program-private.h
2786 * src/hildon-program.c
2787 (hildon_program_set_common_menu)
2788 (hildon_program_get_common_menu)
2789 (hildon_program_set_common_app_menu)
2790 (hildon_program_get_common_app_menu):
2791 Change common menu pointers from GtkWidget* to GtkMenu* and
2792 HildonAppMenu* to avoid unnecessary casts.
2794 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2796 * src/hildon-window.c (hildon_window_set_main_menu):
2797 Removed incorrect 'Since:' tag
2799 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2801 * src/hildon-pannable-area.c,
2802 (hildon_pannable_area_calculate_velocity): We use now the
2803 RATIO_TOLERANCE here to check the distance, fixed typo in the
2805 (hildon_pannable_area_motion_notify_cb): We have to set the type
2806 and time even if we are not sending the motion.
2808 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2810 * doc/hildon-sections.txt
2811 * src/hildon-app-menu.h
2812 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2813 (+hildon_app_menu_get_filters): New methods to get the contents of
2816 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2819 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-app-menu.c (hildon_app_menu_popup):
2824 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-window.h
2827 * src/hildon-window.c (+hildon_window_get_main_menu)
2828 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2829 and deprecated hildon_window_get_menu().
2831 * src/hildon-stackable-window.h
2832 * src/hildon-stackable-window.c
2833 (+hildon_stackable_window_set_app_menu)
2834 (+hildon_stackable_window_get_app_menu)
2835 (hildon_stackable_window_set_main_menu): Created
2836 hildon_stackable_window_{get,set}_app_menu() and deprecated
2837 hildon_stackable_window_set_main_menu().
2839 * doc/hildon-sections.txt
2840 * examples/hildon-app-menu-example.c (main)
2841 * src/hildon-app-menu.c
2842 * src/hildon-program.c:
2843 Updated examples and documentation.
2845 Fixes: NB#103758 (No way to obtain a menu from a
2846 HildonStackableWindow)
2848 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2853 * configure.ac: Bump version.
2854 * debian/changelog: Updates.
2856 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2858 * examples/hildon-remote-texture-example.c: Include
2859 hildon-remote-texture.h explicitely.
2860 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2861 applications not defining _XOPEN_SOURCE which don't require this header.
2863 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2865 * doc/hildon-sections.txt
2866 * src/hildon-app-menu.h
2867 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2868 New function to pop up a HildonAppMenu
2870 * src/hildon-stackable-window.c
2871 (hildon_stackable_window_toggle_menu):
2872 Use hildon_app_menu_popup() to show the menu.
2874 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2876 * src/hildon-app-menu.c (hildon_app_menu_show)
2877 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2878 menu if there's another window between it and its parent window.
2880 Fixes: NB#100468 (Application menu window is launched even when a
2881 new secondary-window/dialog is pending to be shown/realized)
2883 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2885 * src/hildon-window-stack.c (hildon_window_stack_push)
2886 (hildon_window_stack_pop_and_push):
2887 Don't forget to push/pop the first window.
2888 Reverse the window list before calling _push_list()
2890 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2892 * src/hildon-picker-button.h
2893 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2894 Remove "value_changed" slot to avoid ABI breakage
2896 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2898 * src/hildon-pannable-area.c,
2899 (hildon_pannable_area_realize),
2900 (hildon_pannable_area_unrealize),
2901 (hildon_pannable_draw_vscroll),
2902 (hildon_pannable_draw_hscroll): Changed the method to handle the
2903 GC used to draw the transparent scrollbar, this way we avoid
2904 creating the GC all the time when drawing the scrollbars.
2906 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2908 * src/hildon-pannable-area.c,
2909 (hildon_pannable_area_init),
2910 (hildon_pannable_area_remove): Removed some unnecessary casts.
2911 (hildon_pannable_area_dispose): Disconnected some signals before
2912 releasing the adjustments.
2914 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2917 Make sure that all widgets contained in the toolbar are shown.
2919 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2921 * doc/hildon-sections.txt
2922 * src/hildon-picker-button.h
2923 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2924 (_selection_changed, hildon_picker_button_on_dialog_response)
2925 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2926 New hildon_picker_button_value_changed() method.
2929 * src/hildon-picker-button-private.h
2930 * src/hildon-picker-button.c (hildon_picker_button_init)
2931 (+hildon_picker_button_disable_value_changed): Add protected
2932 function for disabling the "value-changed" signal.
2934 * src/hildon-date-button.c (hildon_date_button_set_date):
2935 Don't emit "value-changed" for each one of the three columns.
2937 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2938 before actual change of values)
2940 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2942 * src/hildon-pannable-area.c,
2943 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2944 for the treeview overshooting.
2946 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2948 * src/hildon-banner.c (+hildon_banner_bind_style):
2949 Renamed from hildon_banner_bind_label_style(), now naming the
2950 banner itself as well.
2951 (hildon_banner_show_information),
2952 (hildon_banner_show_information_with_markup),
2953 (hildon_banner_show_animation), (hildon_banner_show_progress):
2954 Name the widgets and labels, based on their type.
2956 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2959 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2961 * src/hildon-note.c (hildon_note_set_property): call
2962 hildon_note_rename() on HildonNote:note-type set.
2963 (hildon_note_rename): Name the note and its label, based on the
2964 HildonNote:note-type property.
2966 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2969 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2971 * src/hildon-pannable-area.c,
2972 (hildon_pannable_area_class_init),
2973 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2974 panning parameters, increased SPS and deceleration factor. Added
2975 also a margin to control fake directions.
2977 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2979 Patch by Sven Herzberg (sven@imendio.com)
2981 * configure.ac: Add missing AM_PROG_CC_C_0
2982 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2984 See NB#101420 (Update unit tests and fix make check)
2986 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2988 This patch was applied before but reverted because it caused
2989 problems, we have changed the main condition and tested the
2990 regressions we detected before and they work ok. We have done a
2991 complete review of the topmost algorithm in order to get a more
2994 * src/hildon-pannable-area.c,
2995 (hildon_pannable_area_get_topmost): Added a new parameter to
2996 filter the the windows that do not include those events.
2997 (hildon_pannable_area_button_press_cb),
2998 (hildon_pannable_area_button_release_cb),
2999 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3000 topmost function, we have added the new parameter.
3002 Fixes: NB#97458 (Pannable area prevents propagation of button
3005 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3007 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3008 if all columns in the selector have an item selected.
3009 (_on_dialog_response): Stop "response" signal emission if there is
3010 any selector column without selected items.
3012 Fixes: NB#101889 (Picker dialog should not close when nothing is
3013 selected in multiple selection list)
3015 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3017 * src/hildon-font-selection-dialog.c
3018 (hildon_font_selection_dialog_class_init),
3019 (hildon_font_selection_dialog_init): Remove the preview
3020 button and dialog, since previewing with default theming is likely
3021 to be overcomplicated. The :preview property has now no effect.
3022 Update documentation blurbs to inform about this.
3024 Fixes: NB#92297 (Preview content is not clearly visible for
3025 default colour text)
3027 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3029 Reviewed the geometry that handles the children size and
3030 scrollbar, now it tries a size and reviews the results depending
3031 on the scrollbars visibility.
3033 * src/hildon-pannable-area.c,
3034 (hildon_pannable_area_realize): Fixed a typo.
3035 (hildon_pannable_area_child_allocate_calculate): Added this
3036 function to calculate the child allocation.
3037 (hildon_pannable_area_size_allocate): Reviewed the allocation
3039 (hildon_pannable_area_check_scrollbars),
3040 (hildon_pannable_area_refresh): Refactored refresh function, this
3041 way we can call the code handling the scrollbars without causing a
3042 size_request, it is interesting in the allocate.
3043 (hildon_pannable_area_init): Replace the callbacks of the
3044 value_changed and changed signals to propertly deal with the
3046 (hildon_pannable_area_grab_notify),
3047 (hildon_pannable_area_initial_effect),
3048 (hildon_pannable_area_launch_fade_timeout),
3049 (hildon_pannable_area_adjust_changed),
3050 (hildon_pannable_area_adjust_value_changed),
3051 (hildon_pannable_area_redraw),
3052 (hildon_pannable_area_button_press_cb),
3053 (hildon_pannable_area_button_release_cb),
3054 (hildon_pannable_area_scroll_cb),
3055 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3056 code and use the new functions adjust_changed and
3057 adjust_value_changed.
3059 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3060 Contact editor dialog)
3062 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3067 * configure.ac: Bump version.
3068 * debian/changelog: Updates.
3070 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3072 * src/hildon-pannable-area.c,
3073 (hildon_pannable_area_get_topmost),
3074 (hildon_pannable_area_button_press_cb),
3075 (hildon_pannable_area_button_release_cb),
3076 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3077 topmost function adding the event mask. We have to try a
3078 differente approach because it is still causing problems (NB#9745,
3081 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3083 * src/hildon-banner.c:
3084 Update the maximum width of timed banners.
3085 (force_to_wrap_truncated): Enforce the maximum text width if the
3088 Fixes: NB#102413 (The text margins (wrapping) in information
3089 banner should be HILDON_MARGIN_TRIPLE)
3091 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3093 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3095 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3096 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3097 bound when calculating the scroll indicator position.
3099 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3100 treat ->lower correctly)
3102 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3104 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3105 expose event handling, since it is not necessary to draw the focus
3108 Fixes: NB#102467 (Do not show highlight on the text in
3111 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3113 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3114 full height of the toolbar for the button and the label.
3116 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3118 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3119 padding before the label and after the button.
3121 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3123 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3125 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3126 Add a GtkVSeparator between the button and the back arrow.
3127 Let the button have automatic size.
3128 Set a name to the widget for theming handling.
3130 Fixes: NB#101793 (Make edit toolbar the same height as window
3131 title bar (use title area theming))
3133 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3135 * src/hildon-helper.c (attach_new_color_element): Fix memory
3138 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3140 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3142 * examples/hildon-button-example.c (common_buttons_window): Don't
3145 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3147 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3148 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3150 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3152 * src/hildon-gtk.c: Check that the window is realized.
3154 Fixes: NB#102225 (Crash setting the progress indicator to a non
3157 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3159 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3160 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3161 instead of modifying the one in the widget style.
3163 Fixes: NB#101043 (Second row of all the command button are
3164 displayed in transparent mode.)
3166 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-date-button.c
3169 * src/hildon-time-button.c: Add gettext macros
3171 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3173 * src/hildon-date-button.c (hildon_date_button_new):
3174 * src/hildon-time-button.c (hildon_time_button_new_step):
3175 Use new logical strings to set the button default title.
3177 Fixes: NB#99915 (Date and Time options are not localised in Date
3180 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3182 * src/hildon-pannable-area.c
3183 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3184 the PANNING_THRESHOLD.
3186 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3188 * src/hildon-pannable-area.c,
3189 (hildon_pannable_area_class_init): Increased the maximum speed.
3190 (hildon_pannable_area_get_property),
3191 (hildon_pannable_area_set_property),
3192 (hildon_pannable_area_timeout): Added a new low friction mode, it
3193 allows the user avoid friction when launching the widget fast
3194 enough. It is interesting to traverse long lists.
3196 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3199 (+hildon_stackable_window_delete_event): Ignore delete events if
3200 the window is not the topmost one.
3202 Fixes: NB#101698 (Back button long press and delete-event handling)
3204 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3206 * src/hildon-pannable-area.c,
3207 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3208 gtk-dnd-drag-threshold, it was too big. We have defined our own
3209 dnd define and set a smaller value: PANNIG_THRESHOLD.
3211 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3213 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3214 user-defined icons, use always the default one.
3216 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3218 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3220 This patch was applied before but reverted because it caused
3221 problems, we have changed the main condition and tested the
3222 regressions we detected before and they work ok.
3224 * src/hildon-pannable-area.c,
3225 (hildon_pannable_area_get_topmost): Added a new parameter to
3226 filter the the windows that do not include those events. Added
3227 also a condition when finding the window to filter windows that do
3228 not ask for those events.
3229 (hildon_pannable_area_button_press_cb),
3230 (hildon_pannable_area_button_release_cb),
3231 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3232 topmost function, we have added the new parameter.
3234 Fixes: NB#97458 (Pannable area prevents propagation of button
3237 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3239 * tests/check-hildon-color-button.c (START_TEST): do not leak
3242 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3244 * src/hildon-font-selection-dialog.c
3245 (hildon_font_selection_dialog_get_preview_text): Return NULL
3246 instead of FALSE on the g_return_val_if_fail().
3248 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3250 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3251 * src/hildon-date-selector.c
3252 (hildon_date_selector_select_current_date):
3253 Do not compare unsigned integers to be greater than or equal 0,
3254 because it's always TRUE.
3256 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3258 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3259 (hildon_date_selector_constructor): Do not select the current
3260 date until we are handle the "changed" signal, to avoid having bogus
3261 elements in the days model.
3263 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3265 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3266 for num_days, since _month_days() can return a negative value.
3268 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3270 * src/hildon-caption.c (hildon_caption_size_allocate):
3271 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3272 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3274 Initialize allocation variables to 0, to avoid eventually using
3275 unitialized variables.
3277 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3279 * src/hildon-bread-crumb-trail.c
3280 (hildon_bread_crumb_trail_size_allocate):
3281 * src/hildon-calendar.c (hildon_calendar_set_background):
3282 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3283 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3284 * src/hildon-seekbar.c (hildon_seekbar_init):
3285 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3286 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3287 * src/hildon-touch-selector-entry.c
3288 (hildon_touch_selector_get_text_from_model):
3289 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3290 * src/hildon-window.c (hildon_window_finalize):
3292 Remove many unused variables.
3294 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-seekbar.c: (hildon_seekbar_init),
3297 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3299 Remove unnecessary g_assert() calls.
3301 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3303 * src/hildon-caption.c: (hildon_caption_expose),
3304 (hildon_caption_set_property), (hildon_caption_init),
3305 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3306 (hildon_caption_size_request), (hildon_caption_size_allocate),
3307 (hildon_caption_forall), (hildon_caption_set_separator),
3308 (hildon_caption_activate), (hildon_caption_set_child_expand),
3309 (hildon_caption_set_label_text),
3310 (hildon_caption_get_label_alignment):
3312 Remove unnecessary g_assert() calls.
3314 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3316 * src/hildon-banner.c
3317 (hildon_banner_map, hildon_banner_init): Make banner temporary
3318 before mapping it to avoid closing other temporary windows, but
3319 make it non-temporary afterwards to avoid being closed by other
3320 non-temporary windows.
3321 (-hildon_banner_client_event, hildon_banner_init):
3322 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3324 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3327 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3329 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3332 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3334 * src/hildon-remote-texture.c
3335 * src/hildon-remote-texture.h
3336 * src/hildon-remote-texture-private.h
3337 * examples/hildon-remote-texture-example.c:
3338 Updates/fixes to remote-texture and its example.
3340 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3342 Patch by Mox Soini (ext-mox.soini@nokia.com)
3344 * src/hildon-code-dialog.c: Update logical id.
3345 * src/hildon-set-password-dialog.c: Update logical id.
3347 Fixes: NB#100646 (Logical strings is shown for ok in set
3348 password,Password needed dialogs)
3350 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3353 * src/hildon-remote-texture.c
3354 * src/hildon-remote-texture.h
3355 * src/hildon-remote-texture-private.h
3357 Added remote texture widget (for Clutter shared memory textures)
3359 * examples/hildon-remote-texture-example.c
3360 * examples/Makefile.am
3361 Added example file for remote texture usage
3363 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3365 * configure.ac: post release version bump.
3366 * debian/changelog: version bump.
3368 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3373 * configure.ac: Bump version.
3374 * debian/changelog: Updates.
3376 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3378 * src/hildon-date-selector.c (hildon_date_selector_init)
3379 (hildon_date_selector_constructor): Don't connect to the "changed"
3380 signal until the selector is completely constructed.
3382 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3384 * src/hildon-touch-selector.c: (_create_new_column),
3385 (hildon_touch_selector_append_column),
3386 (hildon_touch_selector_set_column_selection_mode),
3387 (hildon_touch_selector_set_active),
3388 (hildon_touch_selector_select_iter):
3389 Emit the HildonTouchSelector::changed signal every time selection
3390 is changed in any of the methods above. This behavior was already
3391 documented but not fully functional.
3393 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3394 selection is programmatically changed)
3396 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3398 * doc/hildon-sections.txt: Remove obsolete icon
3399 sizes from here as well.
3401 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3403 * examples/hildon-stackable-window-example.c (add_window): Remove
3406 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3408 * src/hildon-app-menu.c
3409 (hildon_app_menu_show): Check whether the parent window of a menu
3410 is topmost before popping it up.
3412 Fixes: NB#100468 (Application menu window is launched even when a
3413 new secondary-window/dialog is pending to be shown/realized.)
3415 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3417 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3420 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3422 Patch by Mox Soini (ext-mox.soini@nokia.com)
3424 * src/hildon-banner.c: (hildon_banner_show_animation):
3425 use stylus size instead of obsolete note size.
3426 * src/hildon-defines.h: Update icon sizes.
3428 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3430 * src/hildon-touch-selector-entry.c:
3431 (hildon_touch_selector_entry_init): Disable unsupported
3433 (hildon_touch_selector_entry_get_text_column): Emit a warning
3434 if an unsupported input modes is used and explicitile state
3435 these modes in the documentation.
3437 Fixes: NB#99802 (Hildon touch selector entry not working properly
3438 for some of the input modes)
3440 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3442 * src/hildon-pannable-area.c,
3443 (hildon_pannable_area_init): Added the changed signal handlers of
3446 Fixes: NB#100320 (HildonPannableArea does not listen to
3447 GtkAdjustment "change" signals)
3449 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3451 * doc/hildon-sections.txt
3452 * src/hildon-window-private.h
3453 * src/hildon-window.h
3454 * src/hildon-window.c (hildon_window_init)
3455 (hildon_window_realize, hildon_window_unrealize)
3456 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3457 (hildon_window_size_request, hildon_window_size_allocate)
3458 (hildon_window_forall, hildon_window_show_all)
3459 (hildon_window_destroy, +paint_edit_toolbar)
3460 (+hildon_window_set_edit_toolbar):
3461 New hildon_window_set_edit_toolbar() method, to add a
3462 HildonEditToolbar to a window without having to pack it manually.
3464 Reorganize hildon_window_size_allocate()
3466 * src/hildon-edit-toolbar.c: Update documentation.
3468 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3469 example to use the new API.
3471 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3473 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3475 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3476 Remove from stack before calling parent's hide.
3478 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3480 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3481 window is removed from the middle of the stack, update the
3482 transiency of the previous one.
3484 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3487 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3489 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3490 block/unblock the signal handler if it's not actually being used.
3491 Fixes some critical warnings.
3493 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3495 Based on a patch by Iván Gómez (igomez@igalia.com)
3497 * src/hildon-banner.c
3501 * src/hildon-pannable-area.c
3502 * src/hildon-picker-dialog.c
3503 * src/hildon-wizard-dialog.h
3504 * src/hildon-wizard-dialog.c: Documentation updates.
3506 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3507 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3509 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3511 * configure.ac: post release version bump.
3512 * debian/changelog: version bump.
3514 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3519 * configure.ac: Bump version.
3520 * debian/changelog: Updates.
3522 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3524 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3525 a stock icon nor change the relief of the back arrow.
3527 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3528 graphics from theme)
3530 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3532 * src/hildon-button.c (hildon_button_set_alignment): Use
3533 priv->alignment if the button has no child yet.
3535 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3537 * src/hildon-button.c: (hildon_button_init): Set the
3538 button style during initialization to give it the proper
3541 Fixes: NB#99713 (HildonButton value label color is wrong)
3543 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3545 * src/hildon-touch-selector.c: Document
3546 hildon_touch_selector_center_on_selected()
3548 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3550 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3551 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3552 all menu items, but not the menu itself.
3553 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3554 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3555 items after adding them to the menu so keyboard accelerators work.
3556 (hildon_app_menu_show): Don't show the menu if it contains items
3557 but none of them are visible.
3559 * examples/hildon-app-menu-example.c (create_menu): Use
3560 gtk_widget_show_all() to show all menu items.
3562 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3564 * src/hildon-picker-dialog.c:
3565 (-_update_title_on_selector_changed_cb),
3566 (-_dialog_update_title): Removed.
3567 (_select_on_selector_changed_cb), (_on_dialog_response),
3568 (on_selector_columns_changed): Do not update the dialog title.
3569 (setup_interaction_mode): Do not connect to
3570 HildonTouchSelector::changed signal if there's a "done" button, as
3571 the dialog title doesn't need to be updated.
3573 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3576 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3578 Patch by Kristian Rietveld (kris@imendio.com)
3580 * src/hildon-touch-selector.c: (_create_new_column): Use new
3581 GtkTreeView::hildon-row-tapped signal to react to user interactions
3582 instead of ::changed.
3584 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3585 with some dynamic tree model)
3587 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3589 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3590 (+screen_size_changed, +label_size_request)
3591 (hildon_note_class_init): Make the Hildon information note have a
3592 minimum height, and make its text hvae a maximum width.
3594 Fixes: NB#98614 (Hildon information note (background) should have
3595 minimum height and maximum text width)
3597 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3599 * src/hildon-banner.h
3600 * src/hildon-banner.c (hildon_banner_show_information)
3601 (hildon_banner_show_informationf)
3602 (hildon_banner_show_information_with_markup): Update documentation
3603 to reflect that the icon_name parameter is not used anymore.
3604 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3605 Remove all code from these functions and mark them as deprecated.
3606 (hildon_banner_show_progress): Mark as deprecated.
3608 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3610 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3612 * src/hildon-pannable-area.c,
3613 (hildon_pannable_area_class_init),
3614 (tranparency_color),
3615 (hildon_pannable_draw_vscroll),
3616 (hildon_pannable_draw_hscroll),
3617 (hildon_pannable_area_expose_event): Added a new way to render the
3618 scrollbars of the pannable area avoiding using cairo at all. This
3619 way we improve the performance of the pannable area rendering. The
3620 cairo rendering procedure is still in the code, we can control
3621 which one to use changing the value of the define
3622 USE_CAIRO_SCROLLBARS.
3624 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3626 * configure.ac: post release version bump.
3627 * debian/changelog: version bump.
3629 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3634 * configure.ac: Bump version.
3635 * debian/changelog: Updates.
3637 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3639 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3640 banners instead of destroying them when they receive a button
3643 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3645 Reverted commit 34028, it was causing regressions, probably the
3646 topmost condition is not correct, we have to check it in more
3647 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3648 propagation of button press events)
3650 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3652 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3653 that the selection is not empty before attempting to retrieve the
3654 current ampm selection.
3656 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3658 * src/hildon-picker-button.c:
3659 (hildon_picker_button_on_dialog_response): Directly update the
3660 button contents when required instead of calling _selection_changed.
3662 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3664 * src/hildon-program.c (hildon_program_update_top_most): Update
3665 'is-topmost' property also when wm_hints is not set.
3667 Fixes: NB#98383 (is-topmost signal is not emitted when task
3668 switcher is clicked.)
3670 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3672 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3676 * src/hildon-animation-actor.c,
3677 * src/hildon-animation-actor.h: Added the animation actor class,
3678 this widget represents an animation actor for WM-assisted
3679 animation effects in the Hildon framework.
3681 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3683 * src/hildon-window-stack-private.h
3684 * src/hildon-window-stack.c
3685 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3686 Avoid calling gtk_widget_show() again indirectly from
3687 hildon_stackable_window_show()
3689 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3691 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3694 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3696 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3697 (hildon_time_selector_init): Move the construction of the hours and
3698 ampm columns to the constructor to preserve the order the columns
3701 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3703 * src/hildon-picker-dialog.c:
3704 (hildon_picker_dialog_class_init): Connect a realize method.
3705 (+hildon_picker_dialog_realize): Setup the interaction mode here
3707 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3708 yet, do it during the realize instead.
3709 (_on_dialog_response):
3710 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3711 if the widget is not realized, to avoid the dialog response before it
3714 Avoid premature responses in the HildonPickerDialog that can cause it
3715 to be hidden before it's even shown.
3717 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3719 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3720 (on_selector_columns_changed), (requires_done_button),
3721 (+prepare_action_area), (setup_interaction_mode),
3722 (_hildon_picker_dialog_set_selector):
3724 Split the interaction mode setup into preparation of the
3725 action area (prepare_action_area()) and the connection of
3726 the signals in setup_interaction_mode() and update the code to
3729 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3731 * src/hildon-pannable-area.c,
3732 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3733 per second to 15, we will check if this is ok regarding
3736 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3738 * src/hildon-pannable-area.c,
3739 (hildon_pannable_axis_scroll): Avoid resize if we already have
3740 reached overshoot_max.
3742 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3744 * src/hildon-pannable-area.c,
3745 (hildon_pannable_area_init),
3746 (hildon_pannable_area_realize),
3747 (hildon_pannable_area_size_allocate),
3748 (hildon_pannable_area_map),
3749 (hildon_pannable_area_unmap),
3750 (hildon_pannable_draw_vscroll),
3751 (hildon_pannable_draw_hscroll),
3752 (hildon_pannable_area_expose_event),
3753 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3754 pannable are to avoid the expose events go to the window and
3755 redraw the window. We save this way that part of the stack and the
3756 paint_boxes. We had to change the positions of the elements when
3759 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3761 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3762 * src/hildon-color-chooser-dialog.c:
3763 (hildon_color_chooser_dialog_init):
3764 * src/hildon-font-selection-dialog.c:
3765 (hildon_font_selection_dialog_init),
3766 (hildon_font_selection_dialog_show_preview):
3767 * src/hildon-get-password-dialog.c:
3768 * src/hildon-login-dialog.c:
3769 * src/hildon-set-password-dialog.c:
3770 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3771 * src/hildon-time-picker.c: (hildon_time_picker_init):
3773 Remove obsolete logical string IDs and update to the appropriate ones.
3775 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3777 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3780 that happens if the window hasn't been realized yet.
3782 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3783 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3785 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3788 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3791 Fixes: NB#98537 (Device hangs in account settings dialog)
3793 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3795 * configure.ac: post release version bump.
3796 * debian/changelog: version bump
3798 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3803 * configure.ac: Bump version.
3804 * debian/changelog: Updates.
3806 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3808 Added a new function to the HildonTimeButton widget that allows to
3809 change the step of the minutes in the selector associated with the
3810 button: hildon_time_button_new_step
3812 * src/hildon-time-button.c,
3813 (hildon_time_button_init),
3814 (hildon_time_button_new),
3815 (hildon_time_button_new_step):
3816 * src/hildon-time-button.h: Added the new function and refactored
3818 * examples/hildon-time-button-example.c,
3819 (main): We have replaced the function without parameters with the
3820 function with the steps set to 5
3822 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3824 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3826 * src/hildon-time-selector.c,
3827 (hildon_time_selector_class_init),
3828 (hildon_time_selector_constructor),
3829 (hildon_time_selector_get_property),
3830 (hildon_time_selector_set_property),
3831 (_create_minutes_model),
3832 (hildon_time_selector_new_step),
3833 (hildon_time_selector_set_time),
3834 * src/hildon-time-selector.h: Added a new property to the
3835 HildonTimeSelector (minutes-step), we use that property to control
3836 the steps between the minutes in the list of the selector. We have
3837 added a new function to the API to create a widget changing the
3838 step: hildon_time_selector_new_step.
3840 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3842 * src/hildon-time-selector.c,
3843 (hildon_time_selector_class_init),
3844 (hildon_time_selector_constructor),
3845 (hildon_time_selector_init): Overrided the construct function when
3846 creating the time selector object. We have moved the minutes model
3847 handling code from the init to the new construction function:
3848 hildon_time_selector_constructor.
3850 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3852 * examples/hildon-date-button-example.c: (main): Use the new
3853 hildon_date_button_new_with_year_range() method in the example.
3854 * src/hildon-date-button.c:
3855 (+hildon_date_button_new_with_year_range): New public method
3856 to conveniently create a HildonDateButton with a custom year range
3857 in its HildonDateSelector.
3858 * src/hildon-date-button.h: Add the new public method definition.
3860 Fixes: NB#97908 (Not possible to change the year range in
3861 HildonDateSelector/HildonDateButton)
3863 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3865 * src/hildon-date-selector.c:
3866 (+hildon_date_selector_set_property),
3867 (+hildon_date_selector_get_property),
3868 (hildon_date_selector_class_init): Install new properties "min-year"
3869 and "max-year" to define boundaries for the year column.
3870 (_create_year_model): Use the boundary properties to populate the model.
3871 (+hildon_date_selector_new_with_year_range): New public method to
3872 create a HildonDateSelector with a user defined year range.
3873 (hildon_date_selector_select_current_date): Use the new boundaries to
3874 calculate the iterator of current year.
3875 * src/hildon-date-selector.h: Add the new public method definition.
3877 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3879 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3880 Install a constructor method.
3881 (+hildon_date_selector_construct_ui): construct the widget.
3882 (+hildon_date_selector_constructor): new constructor.
3883 (+hildon_date_selector_init): move out widget construction code to
3884 the new constructor.
3886 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3888 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3889 that there's actually a month or year selected before obtaining them.
3890 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3891 of the HildonTouchSelector::changed signal, as it was emitted on every
3892 single item selection.
3894 Fix some warnings and possible crashers due to the selection restoring.
3896 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3898 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3899 the signal handlers only after creating the dialog instead of on every
3902 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3904 * src/hildon-button.c (hildon_button_init)
3905 * src/hildon-check-button.c (hildon_check_button_init)
3906 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3907 focus when clicked by default.
3909 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3911 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3914 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3916 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3917 Alejandro G. Castro (alex@igalia.com)
3919 * src/hildon-picker-dialog.c:
3920 (hildon_picker_dialog_class_init): install new "center-on-show"
3922 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3923 (hildon_picker_dialog_set_property): add setter code for the new
3925 (hildon_picker_dialog_get_property): add getter code for the new
3927 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3928 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3931 Fixes: NB#92849 (Selected item is not always visible when
3932 HildonTouchSelector is shown)
3934 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3936 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3937 Alejandro G. Castro (alex@igalia.com)
3939 * src/hildon-touch-selector.c:
3940 (_create_new_column): Do not connect to the "realize" signal of the
3942 (hildon_touch_selector_append_column): center on the selected items
3943 when a new column is appended.
3944 (hildon_touch_selector_select_iter): Factor out the code to select a
3945 column to hildon_touch_selector_scroll_to().
3946 (+search_nearest_element): Method to retrieve the nearest selected
3947 element to the visible area of the pannable area in a column.
3948 (+on_realize_cb): scroll to the initially selected item.
3949 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3950 the pannable area is realized, otherwise delay this until it is.
3951 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3952 selected items of a given column.
3953 (+hildon_touch_selector_center_on_selected): Public method to center
3954 all columns on the nearest selected item.
3955 * src/hildon-touch-selector.h: Add definition for
3956 hildon_touch_selector_center_on_selected().
3958 Implement public API to ensure visibility of all selected items in
3959 a HildonTouchSelector.
3961 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3963 Fixed a problem in the fading when calling the scroll_to API, and
3964 improve scrollbar fading handling.
3966 * src/hildon-pannable-area.c,
3967 (hildon_pannable_area_grab_notify): avoid the timeout when the
3969 (hildon_pannable_area_button_press_cb),
3970 (hildon_pannable_area_motion_notify_cb): Code style changes.
3971 (hildon_pannable_area_button_release_cb): Review the conditions
3972 when releasing the mouse button to avoid unrequired fading
3974 (hildon_pannable_area_scroll_to): Do not calculate and set the
3975 velocity if the scroll is not required.
3977 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3979 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3980 Don't check whether the new selector is NULL: it cannot be.
3981 Hold a reference to the selector while doing the replacement.
3983 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3985 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3986 unnecessary size_request in a removed widget.
3988 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3990 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3991 an unnecessary reference tracking that was leaking.
3993 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3995 Added delayed motion notify event handling, this way we can
3996 discard redrawing if more than 25 events arrive per second.
3998 * src/hildon-pannable-area.c,
3999 (hildon_pannable_area_init): Initialized the new private atributes
4000 controlling this timeout
4001 (hildon_pannable_area_dispose): Remove the timeout that controls
4002 the motion notify events.
4003 (hildon_pannable_area_scroll): Added a condition to control the
4004 use of the acceleration.
4005 (hildon_pannable_area_motion_event_scroll_timeout),
4006 (hildon_pannable_area_motion_event_scroll): Added this two
4007 functions, they handle the motion notify events inside the
4009 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4010 to the scroll method with the new function.
4011 (hildon_pannable_area_button_release_cb): We have to remove the
4012 timeout handler and move to the last position if the last motion
4013 events were not handled.
4015 Fixes: NB#97028 (Pannable area updates on every motion event)
4017 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4019 * src/hildon-pannable-area.c,
4020 (hildon_pannable_area_get_topmost): Added a new parameter to
4021 filter the the windows that do not include those events. Added
4022 also a condition when finding the window to filter windows that do
4023 not ask for those events.
4024 (hildon_pannable_area_button_press_cb),
4025 (hildon_pannable_area_button_release_cb),
4026 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4027 topmost function, we have added the new parameter.
4029 Fixes: NB#97458 (Pannable area prevents propagation of button
4032 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4034 * src/hildon-pannable-area.c,
4035 (hildon_pannable_area_initial_effect): Added controls before
4036 launching the timeout and the idle functions.
4037 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4038 of the method, in some situations it can return with TRUE and 0 in
4040 (hildon_pannable_area_button_press_cb): We do not need to set
4041 DELAY for fading out here.
4043 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4045 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4047 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4048 post-cleaning if the selection is not NULL.
4050 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4052 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4053 all items before restoring the selection.
4055 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4057 * src/hildon-touch-selector.c:
4058 (+hildon_touch_selector_unselect_all):
4059 * src/hildon-touch-selector.h: New API to unselect all items in a
4060 column of the touch selector.
4062 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4064 * src/hildon-pannable-area.c,
4065 (hildon_pannable_area_redraw): Added a call to the refresh
4066 function inside the redraw because apparently in some cases the
4067 change in the adjustment does not imply a size allocate.
4069 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4070 despite the view not being scrollable)
4072 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4074 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4075 leak. Check for NULL before attempting to set the window title.
4077 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4079 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4080 whether to show or not the 'Done' button each time the dialog is
4081 shown, as it depends on the HildonTouchSelector selection mode.
4083 Fixes: NB#96226 (In multiple selection mode Done button is shown
4084 sometimes in listpicker)
4086 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4088 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4089 for the number of columns in the HildonTouchSelector more than once.
4091 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4093 * src/hildon-touch-selector.c: Minor documentation fixes.
4095 * src/hildon-picker-dialog.c (+_dialog_update_title)
4096 (_select_on_selector_changed_cb)
4097 (_update_title_on_selector_changed_cb)
4098 (on_selector_columns_changed): Update dialog title when there's no
4099 'Done' button and also when the number of columns in the selector
4103 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4104 (+_selection_changed, hildon_picker_button_on_dialog_response)
4105 (hildon_picker_button_selector_selection_changed)
4106 (+hildon_picker_button_selector_columns_changed)
4107 (hildon_picker_button_set_selector): Update button value and emit
4108 'value-changed' when the number of columns in the selector
4112 Fixes: NB#96225 (Dialog titles are not shown according to the
4113 values selected in the list picker)
4115 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4117 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4118 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4119 New "arrow-width" and "arrow-height" style properties to set the
4120 size of the arrow button.
4121 Set name of arrow button ("hildon-edit-toolbar-arrow").
4123 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4124 graphics from theme)
4126 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4128 * src/hildon-picker-button.c:
4129 (hildon_picker_button_selector_selection_changed): Use
4130 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4131 the dialog is present.
4133 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4134 the selection is accepted in the dialog)
4136 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4138 * src/hildon-color-chooser.h
4139 * src/hildon-color-chooser-dialog.h:
4140 Added G_BEGIN_DECLS and G_END_DECLS
4142 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4144 (_clean_current_selection): plug a leak in the list.
4146 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4148 * src/hildon-picker-dialog.c:
4149 (+free_path_list): Method to free a GList of GtkTreePaths.
4150 (_clean_current_selection), (_save_current_selection),
4151 (_restore_current_selection): Save the current selection in
4152 as a list of lists, to support multiple selection properly.
4154 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4156 patch by Claudio Saavedra (csaavedra@igalia.com)
4158 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4159 Store the press position.
4160 (+hildon_text_view_button_release_event): If the release position is
4161 close enough to the press position, move the cursor here. Otherwise,
4163 (hildon_text_view_class_init): Override GtkTextView press, release, and
4164 motion event handlers, disabling this way text selection through
4165 pointer interaction, and allowing the container widget to handle the
4168 Fixes: NB#95828 (HildonTextView functionality)
4170 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4172 Based on a patch by Iván Gómez (igomez@igalia.com)
4174 * src/hildon-button.[ch]
4175 * src/hildon-calendar.c
4176 * src/hildon-check-button.c
4177 * src/hildon-date-editor.c
4178 * src/hildon-date-selector.c
4179 * src/hildon-picker-button.c
4180 * src/hildon-time-editor.c
4181 * src/hildon-time-selector.c
4182 * src/hildon-touch-selector.[ch]:
4183 Documentation updates
4185 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4187 * src/hildon-pannable-area.c,
4188 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4189 threshold, it was required due to X events handling.
4191 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4193 * src/hildon-pannable-area.c,
4194 (hildon_pannable_area_grab_notify),
4195 (hildon_pannable_area_initial_effect),
4196 (hildon_pannable_area_button_press_cb),
4197 (hildon_pannable_area_button_release_cb),
4198 (hildon_pannable_area_scroll_cb),
4199 (hildon_pannable_area_scroll_to): Review the timeout management of
4200 the scrollbar, the frecuency was incorrectly set.
4202 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4204 * src/hildon-picker-button.c:
4205 (+hildon_picker_button_on_dialog_response),
4206 (hildon_picker_button_clicked): Present the dialog instead of
4207 running it with gtk_dialog_run().
4209 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4212 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4214 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4215 (hildon_app_menu_finalize): When a window is hidden it doesn't
4216 emit notify::is-topmost, so make sure than the menu also
4217 disappears in that case.
4218 (parent_window_topmost_notify): Renamed from parent_window_hidden
4220 Fixes: NB#94460 (stackable window's menu is not closed when its
4223 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4225 * src/hildon-touch-selector-entry.c:
4226 (+hildon_touch_selector_entry_set_input_mode),
4227 (+hildon_touch_selector_entry_get_input_mode):
4228 * src/hildon-touch-selector-entry.h: New methods to access the input
4229 mode in the selector's entry.
4231 Fixes: NB#93410 (API required for setting IM mode in
4232 HildonTouchSelectorEntry)
4234 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4236 * configure.ac: post release version bump.
4237 * debian/changelog: version bump
4239 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4244 * configure.ac: Bump version.
4245 * debian/changelog: Updates.
4247 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4249 * src/hildon-touch-selector.c:
4250 (_hildon_touch_selector_has_multiple_selection): No need
4251 to initialize the variables here.
4253 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4255 * src/hildon-note-private.h
4256 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4257 (hildon_note_finalize, hildon_note_rebuild): Close information
4258 notes when they receive a button press.
4260 Fixes: NB#89890 (Information notes does not get disappeared after
4263 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4265 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4266 mark from the wizard title, as it's not really necessary. Also,
4267 do not display the page title if not set.
4269 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4271 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4272 (parent_window_hidden): Use the window's "is-topmost" property to
4273 detect when to hide the menu.
4275 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4277 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4278 (hildon_app_menu_finalize): If the parent window of the menu is
4279 hidden, hide the menu too.
4281 Fixes: NB#94460 (stackable window's menu is not closed when its
4284 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4287 * debian/libhildon1-examples.install
4289 * examples/Makefile.am:
4290 Use dh_install to install all examples.
4291 Use DEB_SRCDIR instead of defining SOURCE_DIR
4293 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4295 * configure.ac: post release version bump.
4296 * debian/changelog: version bump
4298 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4303 * configure.ac: bump version
4304 * debian/changelog: updates
4305 * debian/control: bump gtk+ dependency
4307 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4309 patch by Christian Dywan (christian@imendio.com)
4311 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4312 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4314 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4316 * src/hildon-check-button.c (hildon_check_button_init)
4317 (hildon_check_button_class_init, hildon_check_button_style_set)
4318 (hildon_check_button_apply_style):
4319 New "checkbox-size" style property.
4321 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4322 larger / configurable size)
4324 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4326 * configure.ac: post release version bump.
4327 * debian/changelog: version bump
4329 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4334 * configure.ac: bump version
4335 * debian/changelog: updates
4337 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4339 * doc/hildon-sections.txt
4340 * src/hildon-pannable-area.c
4341 * src/hildon-program.c
4342 * src/hildon-time-editor.c
4343 * src/hildon-touch-selector-entry.c:
4345 More documentation updates.
4347 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4349 * doc/hildon-sections.txt
4350 * src/hildon-caption.c
4351 * src/hildon-code-dialog.c
4352 * src/hildon-color-button.c
4353 * src/hildon-controlbar.c
4354 * src/hildon-date-editor.c
4355 * src/hildon-date-selector.c
4356 * src/hildon-edit-toolbar.c
4357 * src/hildon-find-toolbar.c
4358 * src/hildon-font-selection-dialog.c
4360 * src/hildon-program.c
4361 * src/hildon-range-editor.c
4362 * src/hildon-seekbar.c
4363 * src/hildon-time-editor.c
4364 * src/hildon-time-selector.c
4365 * src/hildon-volumebar-range.c
4366 * src/hildon-volumebar.c
4367 * src/hildon-vvolumebar.c
4368 * src/hildon-weekday-picker.c
4369 * src/hildon-window.c
4370 * src/hildon-wizard-dialog.c:
4372 Lots of documentation fixes.
4374 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4376 Patch contributed by Iván Gómez (igomez@igalia.com)
4378 * src/hildon-check-button.c:
4379 * src/hildon-date-button.c:
4380 * src/hildon-date-selector.c:
4381 * src/hildon-dialog.c:
4382 * src/hildon-edit-toolbar.c:
4383 * src/hildon-entry.c:
4384 * src/hildon-picker-button.c:
4385 * src/hildon-program.c:
4386 * src/hildon-text-view.c:
4387 * src/hildon-time-button.c:
4388 * src/hildon-touch-selector-entry.c:
4389 * src/hildon-window-stack.c:
4391 Add more "since" tags to the new API.
4393 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4395 * doc/hildon-sections.txt: Add below method.
4396 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4397 version for the hildonized scale.
4398 * src/hildon-gtk.h: Add the definition.
4400 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4402 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4404 * doc/hildon-sections.txt: Add missing entries for new methods.
4406 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4408 Added API to pannable are in order to get its adjustments. We
4409 added two properties to manage the values we had in the private
4412 * src/hildon-pannable-area.c:
4413 (hildon_pannable_area_class_init): Added hadjustment and
4414 vadjustment properties in order to expose horizontal and vertical
4416 (hildon_pannable_area_get_property),
4417 (hildon_pannable_area_set_property): Added code to handle the new
4419 (hildon_pannable_area_get_hadjustment),
4420 (hildon_pannable_area_get_vadjustment): API functions to get the
4422 * src/hildon-pannable-area.h:
4423 (hildon_pannable_area_get_hadjustment),
4424 (hildon_pannable_area_get_vadjustment): API functions to get the
4427 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4429 Fixed some leaks, after valgrinding.
4431 * src/hildon-touch-selector.c:
4432 (_default_print_func): Fixed a leak.
4433 (hildon_touch_selector_append_column): Fixed a leak.
4434 * src/hildon-date-button.c:
4435 (hildon_date_button_init): Fixed a leak.
4436 * src/hildon-date-selector.c
4437 (hildon_date_selector_finalize): Fixed a leak.
4439 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4441 Based on a patch by Christian Dywan (christian@imendio.com)
4443 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4445 * src/hildon-gtk.h: Add definition.
4447 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4449 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4451 * src/hildon-picker-button.c: (hildon_picker_button_init),
4452 (hildon_picker_button_new): Set the HildonButton::style property
4453 in the init method, to propagate the value to the derived classes.
4455 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4457 * src/hildon-button.c: (hildon_button_class_init): Do not make
4458 the "style" property a construct property.
4460 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4462 * src/hildon-wizard-dialog.h
4463 * src/hildon-wizard-dialog.c
4464 (hildon_wizard_dialog_set_forward_page_func)
4465 * src/hildon-pannable-area.h
4466 * src/hildon-pannable-area.c
4467 (hildon_pannable_area_set_size_request_policy):
4468 Documentation fixes.
4470 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4472 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4474 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4476 * doc/hildon-sections.txt: Added sections file.
4478 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4481 * src/*.[ch]: Updates.
4483 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4485 * examples/hildon-progress-indicator-example.c: new file
4486 * examples/Makefile.am: include the new example program
4488 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4490 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4492 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4494 * configure.ac: post release version bump
4495 * debian/changelog: version bump
4497 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4502 * configure.ac: bump version
4503 * debian/changelog: updates
4504 * debian/control: bump gtk+ dependency
4506 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4508 * src/hildon-dialog.c: Mark as deprecated.
4509 * src/hildon-dialog.h: Mark as deprecated.
4510 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4511 from HildonDialog and still work, even if
4512 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4513 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4515 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4516 maemo changes) instead)
4518 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4520 * src/hildon-pannable_area.h:
4521 * src/hildon-pannable_area.c:
4522 (hildon_pannable_area_class_init),
4523 (hildon_pannable_area_set_property),
4524 (hildon_pannable_area_get_property),
4525 (hildon_pannable_area_size_request),
4526 (hildon_pannable_area_get_size_request_policy),
4527 (hildon_pannable_area_set_size_request_policy): Added new API
4528 allowing applications to control the request policy. Now they can
4529 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4530 children allocation (HILDON_MOVEMENT_CHILDREN).
4532 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4536 (hildon_gtk_tree_view_set_ui_mode)
4537 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4538 mode of treeviews and iconviews.
4540 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4542 * src/hildon-touch-selector-entry.c:
4543 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4544 of a GtkEntry to get proper theming.
4546 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4547 widget, not GtkEntry)
4549 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4552 no HildonWizardDialogPageFunc.
4554 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4556 Patch contributed by Iván Gómez (igomez@igalia.com)
4558 * src/hildon-app-menu.c:
4559 * src/hildon-button.c:
4560 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4561 * src/hildon-stackable-window.c:
4562 * src/hildon-time-selector.c:
4563 * src/hildon-touch-selector.c:
4564 * src/hildon-window.c:
4566 Add more "since" tags to the new API in hildon 2.2.
4568 2008-12-05 Tim Janik <timj@imendio.com>
4570 Patch contributed by Christian Dywan (christian@imendio.com)
4572 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4573 HildonSizeType, which are supplied by Gtk+ now.
4575 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4577 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4578 (with maemo changes) instead)
4580 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4582 Patch contributed by Iván Gómez (igomez@igalia.com)
4584 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4587 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4589 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4590 (some_page_func), (main): Update the example to use a
4591 HildonWizardDialogPageFunc function.
4593 * src/hildon-wizard-dialog-private.h: Add private data for
4594 the HildonWizardDialogPageFunc function usage.
4596 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4597 (destroy), (hildon_wizard_dialog_init), (response),
4598 (hildon_wizard_dialog_set_forward_page_func):
4599 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4600 that applications can use to stop a HildonWizardDialog to jump to
4603 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4606 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4608 * src/hildon-program.h
4609 * src/hildon-program-private.h
4610 * src/hildon-program.c (hildon_program_init)
4611 (hildon_program_set_common_app_menu)
4612 (hildon_program_get_common_app_menu):
4613 New API for setting a common HildonAppMenu for all
4614 HildonStackableWindows registered with the HildonProgram.
4616 * src/hildon-stackable-window.c
4617 (hildon_stackable_window_toggle_menu):
4618 Use the common HildonAppMenu if a window doesn't have a specific
4621 * src/hildon-app-menu-private.h
4622 * src/hildon-app-menu.c
4623 (hildon_app_menu_get_parent_window):
4624 Function to obtain the window a HildonAppMenu is attached to.
4625 (hildon_app_menu_set_parent_window):
4626 Hide the menu if the parent window is set to NULL.
4628 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4630 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4631 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4632 search widget to popup.
4634 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4636 * configure.ac: post release version bump
4637 * debian/changelog: version bump
4639 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4644 * configure.ac: bump version
4645 * debian/changelog: updates
4647 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4649 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4651 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4652 (hildon_window_stack_window_realized)
4653 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4654 Set the leader GdkWindow when a window is stacked and realized,
4655 unset it when it's unstacked.
4656 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4658 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4660 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4662 * src/hildon-stackable-window.h
4663 * src/hildon-window-stack.h:
4664 Protect definition of HildonWindowStack using the preprocessor.
4666 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4668 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4669 Fix warning if all menu items are hidden.
4671 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4673 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4675 * src/hildon-controlbar.c:
4676 * src/hildon-hvolumebar.c:
4677 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4678 Multiple scale size defines updates.
4680 Fixes: NB#94322 (Scale Updates)
4682 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4684 * examples/hildon-app-menu-example.c (create_menu)
4685 Show items after adding them to the menu, as in the future the
4686 menu will no longer call gtk_widget_show() on the added items.
4688 * src/hildon-app-menu.c:
4689 Update example as explained above.
4691 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4693 * src/hildon-app-menu.c
4694 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4695 Make sure that all menu items have finger height.
4697 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4699 * src/hildon-picker-dialog.c:
4700 (_on_dialog_response), (_save_current_selection),
4701 (_restore_current_selection), (_clean_current_selection),
4702 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4703 Defined new functions in order to save the current internal selector
4704 selection previous open the dialog, in case that the use cancel the
4705 interaction, so the widget restores the previous selection.
4707 Fixes: NB#92032 (In calendar application, date values in 'new event'
4710 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4712 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4714 * src/hildon-button.c: Add a reference to the button examples in
4715 hildon-button-example.c
4717 * examples/hildon-button-example.c: Added examples of the most
4718 common button layouts.
4720 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-app-menu.c (hildon_app_menu_show)
4723 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4725 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4727 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4729 * src/hildon-picker-dialog.c:
4730 (hildon_picker_dialog_init): Initialize the signal id for
4731 HildonTouchSelector::columns-changed.
4732 (+on_selector_columns_changed): Set up the interaction mode everytime a
4733 column is added or removed from the HildonTouchSelector.
4734 (_hildon_picker_dialog_set_selector): Connect to
4735 HildonTouchSelector::columns-changed and keep track of it.
4737 Make sure to update the interaction mode of the dialog everytime a
4738 column is added or removed in the HildonTouchSelector.
4740 Fixes: NB#93228 (Done button is not shown always in listpicker)
4742 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4744 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4745 a new ::columns-changed signal.
4746 (hildon_touch_selector_append_column): Emit ::columns-changed.
4747 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4749 Add a ::columns-changed signal, emitted when the number of columns in a
4750 HildonTouchSelector changes.
4752 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4754 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4755 (_hildon_picker_dialog_set_selector): Factor out the code
4756 to set up the dialog interaction mode.
4758 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4760 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4761 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4762 to signal_changed_id.
4764 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4766 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4769 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4771 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4772 Updated the logical ids related to ampm format, as now it is required to
4773 show it correctly localized even on languages with no default
4774 abbreviations for am or pm
4775 (_check_am_pm_format): check correctly the 24h format gconf property
4777 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4779 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4781 * src/hildon-button.c: Documentation updates.
4783 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4785 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4786 * src/hildon-caption.c: (hildon_caption_class_init):
4787 * src/hildon-color-button.c: (hildon_color_button_class_init):
4788 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4789 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4790 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4791 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4793 Remove deprecated GTK+ marshalers and replace them with the ones
4794 provided by GLib, for those available, add a marshaler for
4795 BOOLEAN:VOID, which is not available in GLib, and use it.
4797 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4799 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4800 the text from the previous column if there is no
4801 HildonTouchSelectorColumn::text-property set.
4803 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4805 * src/hildon-button.h
4806 * src/hildon-button.c (hildon_button_set_property)
4807 (hildon_button_get_property, hildon_button_class_init)
4808 (hildon_button_set_style, hildon_button_get_style):
4809 New "style" property to change the visual appearance of the
4812 * src/hildon-picker-button.c (hildon_picker_button_new):
4813 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4815 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4816 HildonButton look like PickerButton)
4818 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4820 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4821 column while building the default string.
4823 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4825 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4826 scroll indicator by default.
4828 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4830 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4832 * src/hildon-main.c: Fix the documentation for hildon_init()
4834 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4836 * doc/hildon-docs.sgml
4840 * src/hildon-window-stack-private.h
4841 * src/hildon-window-stack.h
4842 * src/hildon-window-stack.c:
4843 New HildonWindowStack object, that adds support for multiple
4844 stacks of windows per process.
4846 * src/hildon-stackable-window-private.h
4847 * src/hildon-stackable-window.h
4848 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4849 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4850 (hildon_stackable_window_show, hildon_stackable_window_hide)
4851 (hildon_stackable_window_class_init)
4852 (hildon_stackable_window_init):
4853 Use HildonWindowStack for stack management.
4855 * src/hildon-program.c (hildon_program_pop_window_stack)
4856 (hildon_program_peek_window_stack)
4857 (hildon_program_go_to_root_window):
4858 Add a fallback implementation to the deprecated functions using
4861 * examples/hildon-stackable-window-example.c:
4862 Use the new HildonWindowStack API.
4864 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4866 * src/hildon-stackable-window-private.h
4867 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4868 (hildon_stackable_window_hide, hildon_stackable_window_init):
4869 Remove all window stack management.
4871 * src/hildon-program-private.h
4872 * src/hildon-program.h
4873 * src/hildon-program.c (hildon_program_init)
4874 (hildon_program_pop_window_stack)
4875 (hildon_program_peek_window_stack)
4876 (hildon_program_go_to_root_window):
4877 Remove all window stack management and mark functions as
4880 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4882 * src/hildon-app-menu.c (hildon_app_menu_realize):
4883 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4885 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4887 * configure.ac: post release version bump
4888 * debian/changelog: version bump
4890 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4895 * configure.ac: bump version
4896 * debian/changelog: updates
4898 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4900 Based on initial code by Christian Dywan (christian@imendio.com)
4902 * doc/hildon-docs.sgml: Add section for hildon-main.
4903 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4904 * src/Makefile.am: Add new hildon-main.[ch]
4905 * src/hildon-defines.h: Update the icon sizes.
4906 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4907 new library initialization files and register icon sizes.
4908 * src/hildon-main.h: New declarations.
4909 * src/hildon.h: Include hildon-main.h
4911 Add new initialization functions to the library. These methods
4912 will register the hildon specific icon sizes and can be used in the
4913 future for other hildon specific bits.
4915 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4917 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4919 * src/hildon-window.c: (hildon_window_realize),
4920 (hildon_window_notify), (-hildon_window_update_title): Do not set
4921 the application name in the window title.
4923 Fixes: NB#89754 (Applications shouldn't display their names in the
4926 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4928 * src/hildon-note-private.h:
4929 * src/hildon-note.c: (hildon_note_set_property),
4930 (hildon_note_get_property), (hildon_note_class_init),
4931 (hildon_note_init), (hildon_note_finalize),
4932 (hildon_note_new_confirmation_with_icon_name),
4933 (hildon_note_new_information_with_icon_name):
4935 No need to mark as deprecated the actual code. Revert
4936 to avoid missing symbols in widgets using deprecated API.
4938 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4940 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4942 * src/hildon-volumebar.h
4943 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4944 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4946 * src/hildon-helper.h
4947 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4948 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4950 * examples/Makefile.am:
4951 Deprecate hildon-insensitive-example
4953 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4955 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4957 * examples/hildon-pannable-area-buttons-scroll-example.c:
4958 Make all buttons finger height
4960 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4962 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4964 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4965 update the day model only if it is really required, and to avoid the
4966 full-reconstruction aproach. Now it only add or remove the required days.
4968 The purpose of this is avoid superfluous HildonTouchSelector::changed
4971 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4972 with strange parameters)
4974 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4976 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4978 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4979 the WINDOW_TYPE property.
4981 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4983 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4986 Fix dependency to allow parallel compilation with make -jX
4988 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4990 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4991 color frame and some minor tweaks to make it more consistent with
4994 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4995 highlighted but not visible)
4997 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4999 * examples/Makefile.am: Fixed typo in the Makefile.am.
5001 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5003 Reviewed the use of MAEMO_GTK define, now we add the define in the
5004 compilation line, and we also add it to the pc file.
5006 * configure.ac: Added MAEMO_GTK define to the compilation command
5007 and removed it from the config.h.
5009 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5010 do not have to take care about this define if the library was
5014 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5016 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5018 * examples/Makefile.am,
5019 * examples/hildon-pannable-area-buttons-scroll-example.c,
5020 * examples/hildon-pannable-area-gesture-signals-example.c,
5021 * examples/hildon-pannable-area-scroll-jump-example.c,
5022 * examples/hildon-pannable-area-tree-view-example.c:
5023 Renamed the pannable area examples, now they have more meaningful
5026 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5028 * src/hildon-touch-selector.c:
5029 (hildon_touch_selector_set_column_selection_mode): Used of
5030 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5031 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5032 to avoid re-seting the same selection mode.
5034 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5035 breaks HildonPickerDialog)
5037 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5039 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5040 conditional in the Makefile.am
5042 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5044 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5045 Remove unused methods.
5047 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-button.c (hildon_button_init):
5050 Make button images center-aligned by default
5052 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5055 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5056 activated, we have to think about how to deal with both defines
5057 MAEMO_GTK and MAEMO_CHANGES.
5059 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5061 * examples/hildon-app-menu-example.c (create_menu): Make all
5062 buttons finger size.
5064 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5066 Fixed the compilation without maemo gtk adding ifdefs with
5067 MAEMO_GTK define to the code, we have to check this version more
5070 * examples/Makefile.am: Added control to avoid some examples that
5071 just make sense with maemo gtk.
5074 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5075 hildon modes with the define.
5077 * examples/hildon-edit-toolbar-example.c,
5078 (create_icon_view): Create the icon view without hildon-gtk
5079 helpers if we are not using maemo gtk.
5081 * src/hildon-touch-selector.c,
5082 (_create_new_column): Create the treeview without hildon-gtk
5083 helpers if we are not using maemo gtk.
5085 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5087 * src/hildon-pnnable-area.c,
5088 (hildon_pannable_area_dispose),
5089 (hildon_pannable_area_button_press_cb),
5090 (hildon_pannable_area_child_mapped),
5091 (hildon_pannable_area_add),
5092 (hildon_pannable_area_remove): Added code to control the position
5093 of the event_window when adding and removing children from the
5094 pannable. We have to raise the event window when the child is
5097 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5098 selection mode using custom widget inside pannable)
5100 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5102 * configure.ac: post release version bump
5103 * debian/changelog: version bump
5105 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5110 * configure.ac: bump version
5111 * debian/changelog: updates
5113 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5115 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5116 search mode, in order to avoid lose the focus on the treeview when
5117 a hw key (like enter) is pressed.
5119 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5120 in HildonDateSelector dialog)
5122 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5124 * debian/rules: Added --enable-maintainer-mode
5125 * Makefile.am: Added ACLOCAL_AMFLAGS
5127 This allows to properly regenerate the Makefiles if you modify the
5128 configure.ac or any Makefile.am.
5130 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5132 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5133 properties, not needed at all.
5135 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5139 * src/hildon-note.c: (hildon_note_set_property),
5140 (hildon_note_get_property), (hildon_note_class_init),
5141 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5142 (hildon_note_new_confirmation_add_buttons): Remove icons.
5143 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5144 (hildon_note_new_information_with_icon_name): Deprecate.
5145 (hildon_note_new_confirmation): Act directly, without calling
5146 the deprecated constructor.
5147 (hildon_note_new_information): Act directly, without calling
5148 the deprecated constructor.
5149 * src/hildon-note.h: Mark deprecate methods as such.
5150 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5151 not run tests on the deprecated methods if built with deprecation
5154 Fixes: NB#91688 (Never show icons in information notes/confirmation
5157 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5159 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5160 (hildon_app_menu_key_press): Remove leftover usage of the
5161 private structure in HildonAppMenu struct.
5162 * src/hildon-app-menu.h: Remove leftover private structure
5163 from the HildonAppMenu struct.
5165 Fixes a crasher when using the HildonAppMenu.
5167 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5169 * src/hildon-picker-dialog.c: Use appropriate logical id
5170 for the default "Done" text.
5172 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5174 * configure.ac: post release version bump
5175 * debian/changelog: version bump
5177 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5179 Modified the way to scroll to the current selection just when the touch
5180 selector is shown on the screen, avoiding a g_idle. Added too a property
5181 to configure this behaviour. See hildon_pannable_area_jump_to_child
5182 documentation for more information.
5184 * src/hildon-touch-selector.c
5185 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5186 Added 'initial-scroll' property
5187 (hildon_touch_selector_set_property): Added
5188 (hildon_touch_selector_map): Removed as not required anymore
5189 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5190 only a concrete column, instead of iterate along all the columns
5192 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5197 * configure.ac: bump version
5198 * debian/changelog: updates
5200 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5202 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5203 compilation time warnings.
5205 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5207 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5208 the default value for HildonPannableArea::mov-mode to
5209 HILDON_PANNABLE_AREA_MODE_VERT.
5211 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5213 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5215 Reverting following commit:
5217 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5219 * src/hildon-app-menu-private.h
5220 * src/hildon-app-menu.[ch]
5221 * src/hildon-button.[ch]
5222 * src/hildon-check-button.[ch]
5223 * src/hildon-entry.[ch]
5224 * src/hildon-pannable-area.[ch]
5225 * src/hildon-text-view.[ch]:
5226 Added private field to the object's structure.
5228 because it causes an ABI breakage. We will need to introduce these
5229 changes later at some point. See NB#91636 for an extensive
5230 explanation and status.
5232 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5234 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5236 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5237 remove special cases that are no longer necessary.
5239 Fixes: NB#91016 (Change toolbar sizes, simplification)
5241 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5243 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5244 is shown in the cancel note.
5246 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5248 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5249 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5250 (hildon_seekbar_init): Remove steppers, remove expose event.
5251 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5253 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5255 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5257 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5258 label font to "SmallSystemFont" for vertically arranged buttons.
5260 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5263 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5265 * src/hildon-check-button.c
5266 (hildon_check_button_set_active, hildon_check_button_clicked):
5267 Don't access private parts directly, use getters instead.
5269 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5271 * src/hildon-check-button.c (hildon_check_button_new):
5272 Align the contents of the check button to the left.
5274 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5276 * src/hildon-pannable-area.c,
5277 (hildon_pannable_area_scroll_to),
5278 (hildon_pannable_area_jump_to),
5279 (hildon_pannable_area_scroll_to_child),
5280 (hildon_pannable_area_jump_to_child): Replace the mapped
5281 precondition of these functions with the realized, it is the
5282 correct state of the widget in this case. Changed the
5283 documentation according to this modification.
5285 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5287 Added a new EXTRA_CFLAGS option to add the deprecated define to
5288 the compilation command. This way we can avoid using the define in
5289 the documentation compilation.
5291 * configure.ac: Defined EXTRA_CFLAGS.
5293 * examples/Makefile.am:
5295 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5297 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5299 * src/hildon-picker-dialog.c:
5300 Defined a utility macro with the desired touch selector height
5301 Removed currently unused separator, and title_label variables from
5303 (hildon_picker_dialog_init): Removed code related to the creation
5304 of unused private variables title_label and separator.
5305 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5306 to ensure correct visualization of the touch selector inside the dialog.
5307 * src/hildon-touch-selector.c
5308 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5309 ensure a concrete height of the widget.
5311 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5314 * tests/Makefile.am:
5316 Remove spurious whitespaces.
5318 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5320 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5321 compilation warning after the cancel button removal.
5323 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5325 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5327 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5328 Makefile.am, that way we can choose not to compile some examples
5329 and tests of the deprecated widgets.
5331 * examples/Makefile.am: Divided the sources in deprecated and
5334 * src/Makefile.am: Added undef statement of the deprecated
5335 symbol to the enums file generation process.
5337 * src/hildon-color-chooser-dialog.c
5338 * src/hildon-color-chooser-dialog.h
5339 * src/hildon-color-button.c
5340 * src/hildon-color-button.h
5341 * src/hildon-color-chooser.c
5342 * src/hildon-color-chooser.h
5343 * src/hildon-controlbar.c
5344 * src/hildon-controlbar.h
5345 * src/hildon-date-editor.c
5346 * src/hildon-date-editor.h
5347 * src/hildon-hvolumebar.c
5348 * src/hildon-hvolumebar.h
5349 * src/hildon-private.c
5350 * src/hildon-private.h
5351 * src/hildon-range-editor.c
5352 * src/hildon-range-editor.h
5353 * src/hildon-seekbar.c
5354 * src/hildon-seekbar.h
5355 * src/hildon-time-editor.c
5356 * src/hildon-time-editor.h
5357 * src/hildon-time-picker.c
5358 * src/hildon-time-picker.h
5359 * src/hildon-volumebar.c
5360 * src/hildon-volumebar.h
5361 * src/hildon-vvolumebar.c
5362 * src/hildon-vvolumebar.h
5363 * src/hildon-bread-crumb-trail.h
5364 * src/hildon-bread-crumb-trail.c
5365 * src/hildon-calendar-popup.c
5366 * src/hildon-calendar-popup.h
5367 * src/hildon-weekday-picker.c:
5368 * src/hildon-weekday-picker.h:
5369 * src/hildon-bread-crumb-widget.c:
5370 * src/hildon-bread-crumb-widget.h:
5371 * src/hildon-bread-crumb.c:
5372 * src/hildon-bread-crumb.h:
5373 * src/hildon-calendar.c:
5374 * src/hildon-calendar.h:
5375 * src/hildon-caption.c:
5376 * src/hildon-code-dialog.c:
5377 * src/hildon-code-dialog.h:
5378 * src/hildon-font-selection-dialog.c:
5379 * src/hildon-font-selection-dialog.h:
5380 * src/hildon-get-password-dialog.c:
5381 * src/hildon-get-password-dialog.h:
5382 * src/hildon-login-dialog.c:
5383 * src/hildon-login-dialog.h:
5384 * src/hildon-number-editor.c:
5385 * src/hildon-number-editor.h:
5386 * src/hildon-set-password-dialog.c:
5387 * src/hildon-set-password-dialog.h:
5388 * src/hildon-sort-dialog.c:
5389 * src/hildon-sort-dialog.h: This is the list of deprecated
5392 * src/hildon-touch-selector.c:
5393 * src/hildon-window.c: Added undef statement to avoid compilation
5396 * tests/Makefile.am: Divided the sources in deprecated and
5399 * tests/check_test.c,
5400 (configure_tests): Marked the deprecated code that was adding
5401 suites with deprecated tests.
5403 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5405 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5407 * src/hildon-touch-selector.c: (_default_print_func): Do not
5408 duplicate a string returned by gtk_tree_model_get(), it is already
5411 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5414 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5416 * src/hildon-pannable-area.c
5417 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5418 method, it had problems when adding a widget with viewport the
5419 second time. Now checks if it already has a viewport and uses it.
5421 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5424 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5426 * src/hildon-pannable-area.c,
5427 (hildon_pannable_area_scroll_to),
5428 (hildon_pannable_area_jump_to),
5429 (hildon_pannable_area_scroll_to_child),
5430 (hildon_pannable_area_jump_to_child): Added a precondition to the
5431 scroll and jump to functions: the widget must be mapped before we
5432 can safely call these functions. We have also added documentation
5433 to the functions to explain how to use them in this situation.
5436 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5438 Reviewed the threading handling of the pannable widget, we have
5439 used the gdk_threads_add_timeout function instead of the usual
5440 glib handlers. This avoids some problems with the threads.
5442 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5443 (hildon_pannable_area_initial_effect),
5444 (hildon_pannable_area_scroll_indicator_fade),
5445 (hildon_pannable_area_button_press_cb),
5446 (hildon_pannable_area_timeout),
5447 (hildon_pannable_area_motion_notify_cb),
5448 (hildon_pannable_area_button_release_cb),
5449 (hildon_pannable_area_scroll_cb),
5450 (hildon_pannable_area_scroll_to): Removed the
5451 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5452 gdk_threads_add_timeout.
5454 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5456 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5461 * configure.ac: bump version
5462 * debian/changelog: updates
5464 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5466 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5467 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5468 * src/hildon-color-chooser-dialog.c:
5469 (hildon_color_chooser_dialog_init):
5470 * src/hildon-font-selection-dialog.c:
5471 (hildon_font_selection_dialog_init):
5472 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5474 Remove all cancel/close-like dialogs, as these are not going to be
5477 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5479 * src/hildon-note.c: (hildon_note_rebuild),
5480 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5483 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5485 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5487 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5488 sure all buttons are shown, even the Cancel/Close-like ones.
5490 Fixes: NB#90861 (Custom Confirmation dialogs should be
5491 protected from cancel button removal)
5493 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5495 * debian/control: Change libhildon1-examples dependency from libhildon1
5497 * debian/libhildon1-examples.install
5499 * Makefile.am: Modified the final install directory for the examples on
5500 package libhildon1-examples
5501 * Makefile.static: Update clean target in order to remove all the binary
5504 Changes suggested by Claudio after review new libhildon1-examples package
5506 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5508 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5509 * src/hildon-touch-selector.c: Ditto.
5511 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5513 * debian/control: Added new package libhildon1-examples, in order to pack
5514 the current hildon examples as documentation
5515 * debian/rules: Not to compress .c files, modify some includes on the
5516 examples (as normally are compiled locally, but when installed it will
5517 require to include the installed libhildon1 library), and rename
5519 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5520 install all the example files on the new example package
5521 * examples/Makefile.static: Added static makefile that can be used to
5522 compile the examples, once installed the new example package
5523 * examples: Most of the examples were modified in order to grant that
5524 all use only '#include "hildon.h"', in order to be easy to prepare
5525 it on the example package
5527 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5530 * debian/libhildon1-dev.install
5531 * debian/libhildon1-doc.install:
5532 Move all gtk-doc files to a separate libhildon1-doc package.
5534 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5536 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5538 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5540 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5542 * debian/rules: Fixed a error in order to avoid unnecessary calls
5543 to autogen.sh on package building
5545 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5547 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5549 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5551 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5554 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5556 * src/hildon-picker-button.c
5557 (hildon_picker_button_finalize):
5558 Free priv->done_button_text
5560 * src/hildon-time-button.c
5561 (hildon_time_button_set_time)
5562 * src/hildon-picker-button.c
5563 (hildon_picker_button_clicked)
5564 (hildon_picker_button_selector_selection_changed)
5565 (hildon_picker_button_set_selector)
5566 * src/hildon-date-button.c
5567 (hildon_date_button_set_date):
5568 Free strings returned by hildon_touch_selector_get_current_text()
5570 * src/hildon-button.c (hildon_button_construct_child):
5571 Fix leaks in priv->image and priv->label_box
5573 Fixes: NB#90535 (Memory leak in picker button)
5575 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5577 * src/hildon-button.c: (hildon_button_get_property): Do not access
5578 private elements directly, use getters instead.
5580 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5582 * src/hildon-app-menu-private.h
5583 * src/hildon-app-menu.c
5584 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5585 Store the menu's parent window.
5587 * src/hildon-stackable-window.c
5588 (hildon_stackable_window_toggle_menu)
5589 (hildon_stackable_window_finalize):
5590 Set the menu's parent window when the menu is shown, unset it when
5593 * src/hildon-app-menu.c
5594 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5595 (hildon_app_menu_class_init):
5596 Send unhandled keyboard accelerators to the parent window.
5598 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5600 * src/hildon-stackable-window.c
5601 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5603 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5605 * configure.ac: post release version bump
5607 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5610 * configure.ac: Bump version
5611 * debian/changelog: Updates
5612 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5615 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5617 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5620 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5621 GtkMenu with Hildon style.
5623 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5625 * src/hildon-picker-button.c:
5626 (hildon_picker_button_set_done_button_text): Set the dialog's
5627 done button text here as well.
5629 Fixes: NB#90232 (Picker button does not set the label on done button
5630 for the second time)
5632 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5634 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5637 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5639 * src/hildon-app-menu.c (hildon_app_menu_insert)
5640 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5641 the HildonAppMenu to be activatable using keyboard accelerators
5642 when the menu is not being shown.
5644 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5646 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5648 * src/hildon-stackable-window.c
5649 (hildon_stackable_window_show):
5650 Don't hide old windows automatically when new windows are shown:
5651 this is now a task for the window manager.
5652 (hildon_stackable_window_class_init)
5653 (hildon_stackable_window_hide):
5654 Remove windows from the stack everytime they're hidden.
5655 (hildon_stackable_window_realize):
5656 Don't change the _NET_WM_WINDOW_TYPE property. Use
5657 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5658 it as a stackable window.
5660 * src/hildon-program.c
5661 (hildon_program_pop_window_stack):
5662 Just hide the window to remove it from the stack.
5663 (hildon_program_go_to_root_window):
5664 Don't call gtk_widget_show(), this is now a task for the window
5667 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5669 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-button.c
5672 (hildon_button_construct_child):
5673 Don't pack anything in the button until text or image are
5674 set. This allows adding a custom child after creating the button
5675 with hildon_button_new().
5676 (hildon_button_finalize, hildon_button_class_init)
5677 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5678 alignment and the label box even when they're not packed in the
5681 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5683 * src/hildon-touch-selector.h:
5684 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5685 currently the type definition was using GTK_TYPE_VBOX
5686 * src/hildon-touch-selector.c:
5687 Added some implementation notes in order to clarify that any other widget
5688 added without the column related API will not be included on the
5689 selection logic, and how the widget is freed, as some people ask about
5691 (hildon_touch_selector_remove): Reimplemented in order to free properly
5692 the column related data when you remove the private hbox.
5693 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5694 to get a proper HildonTouchSelectorColumn documentation
5696 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5698 * src/hildon-touch-selector-entry.c:
5699 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5700 text in the GtkEntry and there is no item selected. Fixes a
5703 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5705 * src/hildon-app-menu-private.h
5706 * src/hildon-app-menu.[ch]
5707 * src/hildon-button.[ch]
5708 * src/hildon-check-button.[ch]
5709 * src/hildon-entry.[ch]
5710 * src/hildon-pannable-area.[ch]
5711 * src/hildon-text-view.[ch]:
5712 Added private field to the object's structure.
5714 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5716 * configure.ac: post-release version bump
5718 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5722 * configure.ac: pre-release version bump
5724 * debian/changelog: updates.
5726 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5728 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5729 Disconnect the handler for HildonTouchSelector::changed.
5731 (hildon_picker_button_selector_selection_changed): Update the button
5732 value if the selection change was not triggered by the
5735 (hildon_picker_button_set_selector): connect to
5736 HildonTouchSelector::changed.
5738 Fixes: NB#89650 (Picker button is not updated, when selection in
5739 selector has changed)
5741 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5743 * src/hildon-picker-dialog.c
5744 (hildon_picker_dialog_realize): Removed as not required
5745 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5746 * src/hildon-picker-button.c
5747 (_current_selector_empty): New function, checks if the selector is empty
5748 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5749 if the current selector is empty, in order to avoid to show the dialog
5750 close the dialog in this case (and shows a g_warning).
5752 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5754 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5756 * src/hildon-pannable-area.c,
5757 (hildon_pannable_area_scroll): Added clause to stop movement when
5758 the child of pannable is smaller than one page.
5759 (hildon_pannable_area_scroll_to): Added conditions to avoid
5760 starting the scrolling movement if the child is smaller than one
5761 page, the complete child is in the screen, we do not have to move.
5763 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5765 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5767 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5768 this is managed automatically by the widget when the size of the
5771 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5773 * src/hildon-picker-button.c
5774 (hildon_picker_button_set_done_button_text): Make a copy of the
5775 text, and free the previous value.
5777 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5779 * src/hildon-touch-selector-entry.c:
5780 (hildon_touch_selector_entry_print_func): Return the selected row's
5781 text if the entry is empty.
5783 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5786 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5788 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5790 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5793 * src/hildon-check-button.h
5794 * src/hildon-check-button.c
5795 * examples/hildon-check-button-example.c:
5796 HildonCheckButton is now a new widget. 'toggled' signal added.
5798 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5800 * src/hildon-program-private.h
5801 * src/hildon-program.c (hildon_program_init)
5802 (hildon_program_finalize): Removed unused variables group_leader
5803 and name from HildonProgramPrivate.
5805 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5807 * src/hildon-check-button.c (hildon_check_button_set_active)
5808 (hildon_check_button_get_active, hildon_check_button_new): Use
5809 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5811 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5813 * src/hildon-touch-selector.h
5814 (hildon_touch_selector_set_column_attributes): added deprecation
5815 guard HILDON_DISABLE_DEPRECATED
5816 * src/hildon-time-selector.c
5817 (hildon_time_selector_set_time)
5818 (hildon_time_selector_get_time): Fixed a typo on documentation
5819 * src/hildon-touch-selector.c: update HildonTouchSelector and
5820 HildonTouchSelectorColumn documentation
5821 * src/hildon-touch-selector-entry.c: update "text-column" property
5823 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5824 to be added to the general documentation.
5826 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5828 * examples/hildon-pannable-area-example-4.c,
5830 * examples/hildon-pannable-area-example.c,
5831 (main): Modified the code in order to use the container add, with
5832 viewport treeviews could have problems if they are really big.
5834 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5836 * src/hildon-weekday-picker.c,
5837 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5838 the agreement regarding deprecation in the library.
5840 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5842 * examples/hildon-picker-button-multicolumn-example.c:
5843 (main): Use custom "done" button text.
5845 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5846 (hildon_picker_button_set_property),
5847 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5848 (hildon_picker_button_init),
5849 (+hildon_picker_button_get_done_button_text),
5850 (+hildon_picker_button_set_done_button_text): New methods to customize
5851 the "done" button label in the launched HildonPickerDialog. Also,
5854 * src/hildon-picker-button.h: add the public API.
5856 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5858 * src/hildon-date-selector.h:
5859 * src/hildon-picker-dialog.h:
5860 * src/hildon-time-selector.h:
5861 * src/hildon-touch-selector-column.h:
5862 * src/hildon-touch-selector.h:
5864 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5865 declarations. Fixes gtk-doc warnings.
5867 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5869 * src/hildon-picker-dialog.h
5870 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5871 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5873 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5874 long text is set as label for done button)
5876 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5878 * src/hildon-dialog.c (hildon_dialog_add_button):
5879 Set fixed width to all buttons in the HildonDialog.
5881 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5883 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5885 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5886 Set widget name using class name plus "-finger" or "-thumb".
5888 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5890 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5891 'clicked' when the state of the button is manually changed.
5893 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-app-menu.c (hildon_app_menu_realize)
5896 (hildon_app_menu_unrealize, hildon_app_menu_init)
5897 (hildon_app_menu_class_init, item_visibility_changed):
5898 Change the menu layout when the size of the screen changes.
5899 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5900 Show warning only when changing the number of colums using the
5903 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5905 * debian/compat: Set to 5
5906 * debian/control: Update dependencies.
5907 * debian/libhildon1-dbg.install: Remove.
5908 * debian/libhildon1-dev.install: Update according to cdbs paths.
5909 * debian/libhildon1.install: Update according to cdbs paths.
5910 * debian/rules: Switch to cdbs.
5912 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5914 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5915 'item' variable renamed to 'filter'
5917 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5919 * src/hildon-app-menu.c (hildon_app_menu_insert)
5920 (hildon_app_menu_add_filter, remove_item_from_list)
5921 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5922 Don't leak hidden items when the menu is destroyed.
5924 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5926 * src/hildon-app-menu.c (hildon_app_menu_insert)
5927 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5928 (hildon_app_menu_set_columns, item_visibility_changed)
5929 (filter_visibility_changed, hildon_app_menu_repack_filters)
5930 (hildon_app_menu_repack_items):
5931 Repack items and filters separately.
5933 Don't repack all items, change only the ones that are needed to
5936 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5938 * src/Makefile.am: added hildon-touch-selector-column.h
5940 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5942 * src/hildon-touch-selector.c: added the property "text-column" to the
5943 class HildonTouchSelectorColumn, and related get/set functions
5944 (_default_printf_func): updated to use "text-column" property
5945 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5946 "text-column" in his documentation, as this is now included on
5947 HildonTouchSelectorColumn. The get/set_property can still be used,
5948 working as a wrapper to the concrete column "text-column" property
5949 (_text_column_modified): callback added in order to handle the signal
5950 "notify::text-column" of the concrete HildonTouchSelectorColumn
5951 (hildon_touch_selector_entry_get_text_column)
5952 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5953 modified in order to use the HildonTouchSelectorColumn "text-column"
5955 * src/hildon-time-selector.c:
5956 * src/hildon-date-selector.c:
5957 * examples/hildon-touch-selector-example.c
5958 * examples/hildon-touch-selector-multi-cells-example.c
5959 * examples/hildon-picker-button-multicolumn-example.c
5960 Set the right value to "text-column" property on the creation of a new
5961 column using hildon_touch_selector_append_column()
5963 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5965 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5967 * src/hildon-app-menu.c
5968 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5969 updating the layout of the menu, don't create all widgets again,
5970 just repack the items in their new places.
5972 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5974 * src/hildon-time-selector.c
5975 (hildon_time_selector_get_time)
5976 (hildon_time_selector_set_time)
5977 Added documentation of these public methods
5979 * src/hildon-date-button.h
5980 * src/hildon-touch-selector-column.h
5981 * src/hildon-time-button.h
5982 * src/hildon-picker-dialog.h
5983 * src/hildon-time-selector.h
5984 * src/hildon-picker-button.h
5985 * src/hildon-touch-selector.h
5986 * src/hildon-time-picker.h
5987 * src/hildon-date-selector.h
5988 * src/hildon-touch-selector-entry.h
5989 Modified in order to use hildon-widgets code style
5991 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5993 Added deprecated support to the compilation process using
5994 HILDON_DISABLE_DEPRECATED
5996 * configure.ac: Added the --disable-deprecated to the configure
5999 * src/hildon-weekday-picker.c:
6000 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6001 to use the deprecated support. We will update the other deprecated
6002 widgets status in a new patch.
6004 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6006 * configure.ac: Fixed typo with fatal warnings support, the
6007 variable name was not correct
6009 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6011 * src/hildon-app-menu.c
6012 * src/hildon-program.c: Update documentation.
6014 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6016 * configure.ac: Post-release version bump.
6018 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6023 * configure.ac: Pre-release version bump.
6024 * debian/changelog: Updates.
6026 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6028 * NEWS: Update news for previous releases.
6030 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6032 * examples/hildon-touch-selector-multi-cells-example.c:
6033 (create_selector): Update the example to use
6034 hildon_touch_selector_append_column() with a NULL renderer and set
6035 the renderers later.
6036 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6037 passed a NULL renderer. This is documented behavior now.
6039 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6040 This must be used if the developer wants full control on the layout of
6041 the renderers to be added to the column.
6043 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6045 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6047 * src/hildon-touch-selector.c: Documentation fixes.
6049 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6051 * src/hildon-wizard-dialog-private.h: Remove image and box.
6052 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6053 (hildon_wizard_dialog_set_property), (response): Completely remove
6054 image/icon support, and the containers required for the layout.
6056 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6058 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6060 * src/hildon-app-menu.c: Updated documentation.
6062 * src/hildon-stackable-window.c
6063 (hildon_stackable_window_set_main_menu): Unref the old menu after
6064 ref'ing the new one.
6066 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6068 * src/hildon-stackable-window.c
6069 (hildon_stackable_window_set_main_menu): Unref the previous menu
6070 instead of destroying it.
6072 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6073 floating reference and set has_user_ref_count to FALSE to make
6074 HildonAppMenu act like a normal ref-counted widget and not a
6077 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6080 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6082 * src/hildon-touch-selector-column.h: new file
6083 * src/hildon-touch-selector.h
6084 * src/hildon-touch-selector.c
6085 Implemented GtkCellLayout interface, in order to allow to configure
6086 the cell layout on each individual selector column
6087 (hildon_touch_selector_set_column_attributes): marked as deprecated
6088 * examples/hildon-touch-selector-multi-cells-example.c
6089 Example of how to use the GtkCellLayout interface on the selector
6091 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6093 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6095 * src/hildon-app-menu.h
6096 * src/hildon-app-menu.c
6097 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6098 (hildon_app_menu_append, hildon_app_menu_prepend):
6099 New methods to prepend, insert and move items in the menu.
6101 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6103 * src/hildon-wizard-dialog.c:
6105 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6107 (create_title): Update logical IDs and related code.
6108 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6110 * src/hildon-wizard-dialog.h: Note that
6111 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6112 point, as it is not used anymore.
6114 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6116 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6118 * src/hildon-note.c:
6119 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6120 shown. Do not display an icon in confirmation notes nor information
6122 (hildon_note_set_button_text): Update logical ID for cancel button.
6124 Fixes: NB#88850 (Update HildonNote button strings + signals)
6126 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6128 * src/hildon-stackable-window.c
6129 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6131 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6133 * src/hildon-app-menu-private.h
6134 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6135 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6136 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6137 temporary property 'columns' to change the number of columns.
6139 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6141 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6143 * examples/hildon-note-example.c: (on_information_clicked),
6144 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6145 debugging information.
6146 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6148 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6149 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6150 in order to close: this will be handled by the WM from now on.
6152 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6154 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6156 * src/hildon-app-menu-private.h
6157 * src/hildon-app-menu.c
6158 (hildon_app_menu_append, hildon_app_menu_add_filter)
6159 (button_visibility_changed, hildon_app_menu_apply_style)
6160 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6161 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6162 layout everytime a button (item or filter) is shown or hidden.
6164 * src/hildon-stackable-window.c
6165 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6168 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6170 * src/hildon-touch-selector.c:
6171 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6172 that the treeview inside the touch selector is in fremantle hildon mode
6173 * examples/hildon-date-button-example.c
6174 * examples/hildon-picker-button-multicolumn-example.c
6175 * examples/hildon-touch-selector-entry-example.c
6176 * examples/hildon-touch-selector-example.c
6177 * examples/hildon-time-button-example.c
6178 * examples/hildon-picker-button-example.c:
6179 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6181 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6183 * examples/hildon-text-view-example.c: (main): Remove the
6184 gtkrc bits, now handled by the theme.
6186 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6188 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6191 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6193 * po/Makefile.am: Install properly the mo files.
6194 * po/en_GB.po: Update translation, to ease testing purposes.
6196 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6198 * examples/hildon-picker-button-example.c: (main): Select an item
6199 in the selector before setting it to the button.
6201 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6203 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6204 Update button's value if the selector has an item active.
6206 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6207 'value' with the selector)
6209 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6211 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6212 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6213 (hildon_picker_button_class_init): Plug the finalize method.
6214 (hildon_picker_button_set_selector): If there's a previously set
6215 selector, unref'it before setting a new one.
6217 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6218 HildonTouchSelector)
6220 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6222 * src/hildon-touch-selector-entry.c:
6223 (hildon_touch_selector_entry_changed): Check if there is no text
6224 selected before setting the entry text.
6227 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6229 * src/hildon-touch-selector.h
6230 * src/hildon-touch-selector.c
6231 (hildon_touch_selector_get_active)
6232 (hildon_touch_selector_set_active): New methods to set/get the
6233 index of the selected item.
6235 * src/hildon-picker-button.h
6236 * src/hildon-picker-button.c
6237 (hildon_picker_button_get_active)
6238 (hildon_picker_button_set_active): New methods to set/get the
6239 index of the selected item.
6241 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6243 * configure.ac: post-release version bump.
6245 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6249 * configure.ac: Pre-release version bump.
6250 * debian/changelog: Updates.
6251 * debian/control: Add myself as maintainer and depend on l10n
6254 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6256 * src/hildon-window.c
6257 (hildon_window_set_main_menu)
6258 * src/hildon-stackable-window.c
6259 (hildon_stackable_window_set_main_menu):
6260 Updated documentation.
6262 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6264 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6265 Don't free selector->priv manually.
6268 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6271 (hildon_gtk_window_set_progress_indicator):
6272 * src/hildon-gtk.h: Added the new API
6273 hildon_gtk_window_set_progress_indicator, it changes the state of
6274 the window progress hint.
6276 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6278 * src/hildon-button.c
6279 * src/hildon-stackable-window.c: Minor documentation updates.
6281 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6283 * src/hildon-stackable-window.c: Updated documentation.
6285 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6287 * src/hildon-defines.h: Update margins definitions
6288 to the Fremantle sizes.
6291 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6293 * src/hildon-touch-selector.c,
6294 (_hildon_touch_selector_set_model): Cleaning the code after
6295 review, removed g_print and #if 0 from the code.
6297 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6299 * src/hildon-edit-toolbar.c: Update documentation.
6301 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6303 * src/hildon-check-button.h
6304 * src/hildon-check-button.c
6305 (hildon_check_button_set_label, hildon_check_button_get_label)
6306 * examples/hildon-check-button-example.c
6307 (button_clicked_cb):
6308 Removed deprecated methods.
6310 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6312 * src/hildon-text-view.c:
6313 Add sample code to the documentation.
6315 * src/hildon-entry.h
6316 * src/hildon-text-view.h:
6317 Minor cosmetic changes.
6319 * src/hildon-entry.c:
6320 Add sample code to the documentation.
6321 (hildon_entry_init, hildon_entry_refresh_contents):
6322 Don't allow NULL values in the placeholder.
6324 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6326 * doc/hildon-docs.sgml
6328 * examples/Makefile.am
6329 * examples/hildon-text-view-example.c
6331 * src/hildon-text-view.c
6332 * src/hildon-text-view.h
6334 New HildonTextView widget, with example.
6336 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6338 * po/POTFILES.in: Add missing files with translatable strings.
6339 Partially fixes NB#88287.
6341 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6343 * examples/hildon-pannable-area-example-2.c: (main): No need to
6344 set the cellrenderer height inside hildon touch lists, the theme does
6347 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6349 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6350 they are integrated in the theme.
6352 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6354 * examples/hildon-entry-example.c: Update the example adding
6355 widgets to modify the text and the placeholder of the HildonEntry.
6357 * src/hildon-entry.c: Show the placeholder everytime the widget
6358 is empty and loses the focus.
6360 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6362 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6364 * src/hildon-pannable-area.c,
6365 (hildon_pannable_area_size_request): Fixed bug in height
6366 requisition, avoid increasing size and add border twice.
6368 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6370 * configure.ac: postrelease version bump.
6372 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6376 * configure.ac: Prerelease version bump.
6377 * debian/changelog: update.
6378 * debian/rules: make -dbg package contain useful debugging symbols.
6380 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6382 * src/hildon-dialog.h
6383 * src/hildon-dialog.c
6384 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6385 New methods to add buttons with finger size.
6386 (hildon_dialog_new_with_buttons):
6387 Create buttons with finger size.
6389 * examples/hildon-dialog-example.c (main): Use HildonDialog
6390 methods to add buttons.
6392 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6394 * src/hildon-entry.c: Updated HildonButton documentation.
6396 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6398 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6399 button value label with (FALSE, FALSE) to prevent NB#88126 from
6402 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6404 * examples/hildon-pannable-area-example.c,
6405 (main): Removed examples panning a vbox inside a pannable
6406 area. Check bug NB#87965
6408 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6410 Patch contributed by Kris Rietveld (kris@imendio.com)
6412 * src/hildon-pannable-area.c,
6413 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6414 get_size and get_position, this saves an X server roundtrip.
6416 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6418 * doc/hildon-docs.sgml
6420 * examples/Makefile.am
6421 * examples/hildon-entry-example.c
6423 * src/hildon-entry.c
6424 * src/hildon-entry.h
6426 New HildonEntry widget, with example.
6428 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6430 * src/hildon-button.c (hildon_button_construct_child): Pack the
6431 image with expand == fill == FALSE. This is a workaround for a bug
6434 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6436 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6437 labels for the text column, to make it more look more dynamic.
6439 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6441 * src/hildon-time-selector.c
6442 Define gettext auxiliar macro N_
6443 (_create_minutes_model)
6444 (_create_hours_model)
6445 (_create_ampm_model): use of strftime in order to fill the model
6446 * src/hildon-date-selector.c
6447 (hildon_date_selector_finalize):
6448 (_locales_init): remove the logic related to get the name of the months
6449 using nl_langinfo, as it is not required anymore
6451 (_create_year_model)
6452 (_create_month_model)
6453 (_update_day_model): use of strftime in order to fill the model properly
6456 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6458 * src/hildon-button.h
6459 * src/hildon-button.c (hildon_button_get_image): New method to
6462 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6464 * src/hildon-touch-selector.c:
6465 (hildon_touch_selector_remove_column): Remove from the correct parent
6466 and also remove the list element and free it.
6469 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6471 * src/hildon-time-selector.c
6472 (_create_hours_model): change the range on 12h ampm format in order to use
6473 a 12-11 range instead of previous 01-12 range
6474 (hildon_time_selector_set_time): change the way to select the current time
6475 on 12h ampm format, due the change on the range
6476 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6479 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6481 * src/hildon-touch-selector.c
6482 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6483 in order to allow use this function on multiple row selection mode if
6484 the column is different that the first one
6487 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6489 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6490 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6492 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6494 * src/hildon-date-selector.h: clean some comments, now on the .c
6495 * src/hildon-date-selector.c
6496 (hildon_date_selector_select_month): first implementation
6497 (hildon_date_selector_select_day): added documentation, reimplemented
6498 using hildon_date_selector_select_current_date to avoid repeat code
6501 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6503 Reviewed interaction logic based on device experiences, refactored
6506 * src/hildon-pannable-area.c,
6507 (hildon_pannable_area_class_init): Updated default vmax speed.
6508 (hildon_pannable_area_calculate_velocity): Added this function, it
6509 avoids duplicate valocity calculation. Adjusted calculation to
6510 avoid problems with zero dist events.
6512 (hildon_pannable_area_motion_notify_cb): Now we use the
6513 calculate_velocity function.
6515 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6517 * src/hildon-date-selector.c
6518 (hildon_date_selector_select_current_date): fix the day range check
6519 as it failed using the last day of the current month
6522 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6524 * src/hildon-touch-selector.c
6525 (hildon_touch_selector_get_num_columns): added a parameter validation
6528 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6530 * examples/Makefile.am
6531 * examples/hildon-edit-toolbar-example.c: Example of the
6532 HildonEditToolbar widget.
6534 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6536 * configure.ac: postrelease version bump.
6538 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6542 * configure.ac: prerelease version bump.
6543 * debian/changelog: update.
6545 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6547 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6548 renderer to display stock icons in the touch list. Also, set the sizes
6549 to the recommended in the style guide.
6551 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6552 * src/hildon-touch-selector.h
6553 (hildon_touch_selector_set_active_iter): renamed, now is
6554 hildon_touch_selector_select_iter
6555 (hildon_touch_selector_get_active_iter): renamed, now is
6556 hildon_touch_selector_get_selected
6557 (hildon_touch_selector_unselect_iter): added
6558 * src/hildon-touch-selector.c
6559 Update after API modification (methods renamed)
6560 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6561 order to avoid problems selecting multiple elements on the column
6562 (hildon_touch_selector_unselect_iter): added the implementation
6563 * src/hildon-time-selector.c
6564 * src/hildon-date-selector.c
6565 * src/hildon-touch-selector-entry.c
6566 Update methods calls after hildon-touch-selector.h API modification (methods
6569 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6571 * src/hildon-stackable-window.c
6572 (hildon_stackable_window_finalize): Call the parent class's finalize.
6574 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6576 * examples/hildon-touch-selector-example.c: (create_selector): Use
6577 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6580 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6582 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6583 set a cell background color, to respect theming.
6585 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6587 * doc/hildon-docs.sgml
6590 * src/hildon-edit-toolbar.c
6591 * src/hildon-edit-toolbar.h
6592 * src/hildon.h: New HildonEditToolbar widget.
6594 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6596 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6599 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6600 * src/hildon-touch-selector.c
6601 (_create_new_column): use g_object_set instead of two g_object_set_property
6603 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6604 * src/hildon-touch-selector.c
6605 (_create_new_column): use of hildon_gtk_tree_view_new to create
6606 the treeview, instead of use directly g_object_new
6607 (_create_new_column): update the property name "vindicator-mode" for the
6608 new one "vscrollbar-policy"
6609 * examples/hildon-date-button-example.c
6610 * examples/hildon-picker-button-multicolumn-example.c
6611 * examples/hildon-touch-selector-entry-example.c
6612 * examples/hildon-touch-selector-example.c
6613 * examples/hildon-time-button-example.c
6614 * examples/hildon-picker-button-example.c
6615 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6616 to all the treeviews inside a pannable area.
6618 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6620 * src/hildon-button.h
6621 * src/hildon-button.c (hildon_button_init)
6622 (hildon_button_set_arrangement, hildon_button_set_alignment)
6623 (hildon_button_set_title_alignment)
6624 (hildon_button_set_value_alignment)
6625 (hildon_button_set_image_alignment)
6626 (hildon_button_construct_child): New methods to set the alignment
6627 of the individual components of the button (title, value,
6628 image). Also, new method to alter the xscale and yscale properties
6629 of the GtkAlignment inside the button, so more complex layouts can
6632 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6634 * src/hildon-button.c (hildon_button_style_set)
6635 (hildon_button_class_init, hildon_button_set_arrangement)
6636 (hildon_button_construct_child): Apply style properties
6637 correctly. Use the 'image-spacing' style property too.
6639 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6641 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6642 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6645 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6647 * src/hildon-pannable-area.c,
6648 (hildon_pannable_area_size_request): Fixed problem with
6649 pannable-area size_request.
6651 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6653 Added management for the grab-focus to a child widget, like a
6654 range, we need to fade out the scrollbar when releasing.
6656 * src/hildon-pannable-area.c,
6657 (hildon_pannable_area_init): Connected the grab-focus signal to
6659 (hildon_pannable_area_grab_notify): Added this function in order
6660 to manage the situation when the grab-focus ends. We have to
6661 fade-out the scrollbar.
6663 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6665 * src/hildon-app-menu.c: Minor documentation update.
6667 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6669 * src/hildon-app-menu.c
6670 * examples/hildon-app-menu-example.c (create_menu): Update
6671 examples and documentation to explain how to connect callbacks.
6673 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6675 * examples/hildon-button-example.c
6676 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6677 hildon_stackable_window_new instead of gtk_window_new
6679 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6681 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6682 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6683 (hildon_pannable_area_set_property),
6684 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6685 (hildon_pannable_area_unrealize),
6686 (hildon_pannable_area_size_request),
6687 (hildon_pannable_area_size_allocate),
6688 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6689 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6690 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6691 (hildon_pannable_area_initial_effect),
6692 (hildon_pannable_area_redraw),
6693 (hildon_pannable_area_scroll_indicator_fade),
6694 (hildon_pannable_area_expose_event),
6695 (hildon_pannable_area_get_topmost), (synth_crossing),
6696 (hildon_pannable_area_button_press_cb),
6697 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6698 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6699 (hildon_pannable_area_motion_notify_cb),
6700 (hildon_pannable_area_button_release_cb),
6701 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6702 (hildon_pannable_area_remove),
6703 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6704 chage the code layout to a more GtkWidget like. Review the use of
6707 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6709 * examples/hildon-pannable-area-example-4.c,
6710 (main): Modified the name of the hindicator_mode to
6713 * src/hildon-pannable-area.c,
6714 (hildon_pannable_area_class_init),
6715 (hildon_pannable_area_motion_notify_cb),
6716 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6717 we have reduced the amount of signals and managed reviewed its
6718 rationale. Changed the default decelerate value.
6720 (hildon_pannable_area_add),
6721 (hildon_pannable_area_redraw): Refactored functions.
6723 (hildon_pannable_area_init),
6724 (hildon_pannable_area_get_property),
6725 (hildon_pannable_area_set_property):
6726 (hildon_pannable_draw_vscroll),
6727 (hildon_pannable_draw_hscroll),
6728 (hildon_pannable_area_initial_effect),
6729 (hildon_pannable_area_expose_event),
6730 (hildon_pannable_area_scroll),
6731 (hildon_pannable_area_button_press_cb),
6732 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6733 and vindicator_mode with hscrollbar_policy and
6734 vscrollbar_policy. Replaced hscroll and vscroll with
6735 hscroll_visible and vscroll_visible.
6737 (hildon_pannable_area_refresh): Refactor the function, remove
6738 variables and check the calls to this function, added resize
6739 conditions in case the children change their layout.
6741 (hildon_pannable_area_size_request): Added more detailed
6742 size_request calculation.
6745 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6747 * src/hildon-color-chooser.c
6748 (init_borders): use the correct gtk_border_free instead of g_free, to
6749 avoid a crash when this widget is used (ie: the three color selection
6752 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6754 * src/hildon-check-button.c,
6755 (hildon_check_button_set_active): Fixed problem when setting the
6756 active value, the widget was not redrawn.
6758 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6760 * src/hildon-pannable-area.c,
6761 (hildon_pannable_area_refresh),
6762 (hildon_pannable_area_scroll),
6763 (hildon_pannable_area_motion_notify_cb): Small code style change.
6765 (hildon_pannable_area_class_init): Default initial_hint set to
6766 FALSE, it is not in the specs.
6768 (hildon_pannable_area_initial_effect),
6769 (hildon_pannable_area_expose_event),
6770 (hildon_pannable_area_map),
6771 (hildon_pannable_area_init): Moved the launching point of the
6772 initial effect, it was in map but the sizes where not correct in
6773 that method so we do not know if we have the reproduce it. Now it
6774 is placed in the expose_event method and uses a variable to
6775 reproduce it just once.
6777 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6779 * src/hildon-pannable-area.c,
6780 (hildon_pannable_draw_vscroll),
6781 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6782 position allowed for the scrollbars.
6784 (hildon_pannable_area_size_allocate): Small style change.
6786 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6788 * src/hildon-pannable-area.c,
6789 (hildon_pannable_area_scroll_indicator_fade),
6790 (hildon_pannable_area_button_press_cb),
6791 (hildon_pannable_area_button_release_cb),
6792 (hildon_pannable_area_scroll_cb),
6793 (hildon_pannable_area_expose_event),
6794 (hildon_pannable_area_init): Added the define parameter
6795 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6796 and refactor the fade variable.
6798 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6800 * src/hildon-pannable-area.c,
6801 (hildon_pannable_area_redraw),
6802 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6803 lines, we were reimplemeting the redraw code.
6805 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6807 * src/hildon-pannable-area.c,
6808 (hildon_pannable_area_scroll_cb),
6809 (hildon_pannable_area_realize),
6810 (hildon_pannable_area_class_init): Added scroll_event management
6811 for pannable area, now we can scroll the usual desktop method.
6813 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6814 initialization of the parameters should depend on idle_id.
6816 (hildon_pannable_area_init),
6817 (hildon_pannable_area_map): Small code style modifications
6819 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6821 * src/hildon-pannable-area.c
6822 (hildon_pannable_area_button_press_cb),
6823 (hildon_pannable_area_motion_notify_cb),
6824 (hildon_pannable_area_button_release_cb),
6825 (hildon_pannable_area_size_allocate),
6826 (hildon_pannable_area_scroll_to): Improved the timeouts
6827 management, we avoid creating them each time.
6829 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6831 * src/hildon-pannable-area.c:
6832 (hildon_pannable_area_refresh),
6833 (hildon_pannable_area_motion_notify_cb),
6834 (hildon_pannable_area_class_init):
6835 * src/hildon-pannable-area.h:
6836 * src/hildon-touch-selector.c
6837 (_create_new_column):
6838 * examples/hildon-pannable-area-example-4.c:
6839 (horizontal_movement),
6840 (vertical_movement),
6842 Replaced the names of enums in the HildonPannableArea:
6843 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6844 HILDON_MOVEMENT_MODE_*
6845 - HILDON_PANNABLE_AREA_MOV_* ->
6847 - Removed HildonPannableAreaIndicatorMode, now we
6850 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6852 * examples/hildon-pannable-area-touch-grid-example.c
6853 * examples/hildon-pannable-area-touch-list-example.c: Fix
6854 compilation warnings.
6856 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6858 * src/hildon-gtk.c (hildon_gtk_button_new)
6859 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6860 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6861 images overriding the value of the "gtk-button-images" setting.
6863 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6865 * src/hildon-check-button.c (hildon_check_button_new):
6866 Instead of using a custom container, display the label and the
6867 checkbox using the standard GtkButton API.
6869 * examples/hildon-check-button-example.c (main): Don't use
6870 hildon_check_button_set_label() anymore
6872 * src/hildon-check-button.h
6873 * src/hildon-check-button.c
6874 (hildon_check_button_set_label, hildon_check_button_get_label):
6875 Set as deprecated, now we're using gtk_button_{get,set}_label()
6877 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6879 * src/hildon-pannable-area.c,
6880 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6881 GtkTreeview first line we detected it after the inclusion of the
6882 GtkWindowImpl in gtk+. We now check if the window is visible, not
6883 just if the pointer is over the window.
6884 (hildon_pannable_axis_scroll),
6885 (hildon_pannable_area_expose_event): Small style changes.
6887 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6889 * src/hildon-button.c: Update documentation.
6891 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6893 * examples/hildon-button-example.c: Add a switch to show images in
6896 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6898 * doc/hildon-docs.sgml: Some docs reorganization.
6900 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6902 * examples/hildon-pannable-area-touch-list-example.c
6904 * examples/hildon-pannable-area-touch-grid-example.c
6905 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6906 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6907 Fix memory leak when setting the tree model.
6909 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6913 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6915 * doc/hildon.types: Remove duplicated hildon_window_get_type
6916 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6917 documentation comment.
6919 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6921 * doc/Makefile.am: Complete list of private headers.
6923 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6925 * doc/hildon-docs.sgml
6926 * src/hildon-app-menu.c
6927 * src/hildon-bread-crumb.c
6928 * src/hildon-button.c
6930 * src/hildon-program.c
6931 * src/hildon-stackable-window.c
6932 * src/hildon-window.c: Lots of documentation updates.
6934 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6936 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6938 * configure.ac: Require Gtk+ 2.12.9 at least
6940 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6942 * src/hildon-pannable-area.c
6943 (hildon_pannable_area_scroll_indicator_fade),
6944 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6945 to protect the return of this timeout callbacks, avoiding deadlocks.
6947 2008-08-12 Christian Dywan <christian@imendio.com>
6950 * src/hildon-*.h: Ensure a consistent include order,
6951 include <gtk/gtk.h> instead of particular files and
6952 only include the topmost header in the gtk stack. See NB #39857
6954 2008-08-12 Christian Dywan <christian@imendio.com>
6956 * src/hildon-picker-dialog.c
6957 * src/hildon-touch-selector.c: Fix warnings about unused and
6958 uninitialized variables.
6960 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6962 * examples/Makefile.am
6963 * examples/hildon-check-button-example.c: Example of the hildon
6966 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6968 * src/hildon-window.h
6969 * src/hildon-window.c (hildon_window_class_init)
6970 (hildon_window_unset_program): Don't make
6971 hildon_window_unset_program a virtual function anymore.
6973 * src/hildon-stackable-window.c: Update documentation
6975 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6978 * doc/hildon-docs.sgml
6979 * doc/visual_index.xml
6980 * src/hildon-defines.c
6982 * src/hildon-helper.c
6983 * src/hildon-range-editor.c: Lots of documentation fixes.
6985 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6987 * examples/hildon-picker-button-multicolumn-example.c
6988 (create_touch_selector): Fix compilation warning.
6990 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6992 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6993 (hildon_pannable_area_button_release_cb)
6994 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6996 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6998 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7001 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7003 * src/hildon-bread-crumb-trail.h
7004 * src/hildon-date-editor.c
7005 * src/hildon-date-selector.c
7006 * src/hildon-pannable-area.c
7007 * src/hildon-picker-dialog.c
7008 * src/hildon-time-selector.c
7009 * src/hildon-touch-selector-entry.c
7010 * src/hildon-touch-selector.c
7011 * src/hildon-touch-selector.h: Misc documentation fixes
7013 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7015 * examples/hildon-date-editor-example.c (main): Updated date
7018 * examples/hildon-note-example.c (on_confirmation_clicked):
7019 Updated confirmation note example.
7021 * src/hildon-date-editor.c
7022 * src/hildon-note.c: Updated sample programs in documentation.
7025 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7027 * src/hildon-date-button.h:
7028 * src/hildon-picker-button.h:
7029 * src/hildon-time-button.c:
7030 * src/hildon-time-button.h:
7032 Some declarations changes to allow gtk-doc to document the widgets
7035 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7037 * src/hildon-date-button.c: Document the widget.
7038 * src/hildon-time-button.c: Document the widget.
7040 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7042 * src/hildon-picker-button.c: Document the widget.
7043 * src/hildon-touch-selector-entry.c: Document the widget.
7045 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7047 * doc/hildon-docs.sgml
7050 * src/hildon-check-button.h
7051 * src/hildon-check-button.c: New functions to create the Hildon
7055 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7057 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7059 * src/hildon-button.h
7060 * src/hildon-button.c
7061 (hildon_button_add_title_size_group)
7062 (hildon_button_add_value_size_group)
7063 (hildon_button_add_image_size_group)
7064 (hildon_button_add_size_groups): New functions to set size groups
7065 for the button labels and image.
7066 (hildon_button_new_full): Removed
7068 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7070 * src/hildon-time-selector.c
7071 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7072 in order to avoid a crash if gconf is not available
7074 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7076 * src/hildon-button.c (hildon_button_set_arrangement)
7077 (hildon_button_construct_child): Don't construct the button child
7078 before setting the arrangement.
7080 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7082 * src/hildon-program-private.h
7083 * src/hildon-program.c
7084 * src/hildon-program.h
7085 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7086 (hildon_program_peek_window_stack)
7087 (hildon_program_pop_window_stack)
7088 (hildon_program_go_to_root_window): HildonProgram now has a
7089 separate list for stackable windows. Functions are provided to
7090 manage that list with a stack-like API.
7092 * src/hildon-stackable-window.c: Stackable window management is
7093 now much simpler with the new HildonProgram API. Windows no
7094 longer need to be manually added to the program, they're
7095 automatically pushed to the top of the stack when shown.
7097 * examples/hildon-stackable-window-example.c: Updated example to
7098 reflect the API changes.
7100 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7102 * src/hildon-touch-selector.c: Comment out unimplemented
7103 hildon_touch_selector_insert_column() to avoid a compile warning.
7105 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7107 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7108 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7109 (hildon_touch_selector_set_column_selection_mode),
7110 (_hildon_touch_selector_set_model),
7111 (hildon_touch_selector_set_model):
7113 Complete review of HildonTouchSelector documentation.
7115 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7117 * doc/hildon-docs.sgml
7121 * src/hildon-gtk.c: Convenience functions for standard Gtk
7122 widgets, used to easily perform frequent operations.
7124 * src/hildon-button-helpers.h
7125 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7127 * src/hildon-helper.h
7128 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7129 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7131 * src/hildon-button.h
7132 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7134 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7136 * src/hildon-button.c (hildon_button_init)
7137 (hildon_button_set_arrangement, hildon_button_construct_child):
7138 Pack the image and the labels inside the same GtkAlignment so
7139 gtk_button_set_alignment() can be used
7141 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7143 * src/hildon-button.h
7144 * src/hildon-button.c
7145 (hildon_button_init, hildon_button_set_image)
7146 (hildon_button_set_image_position)
7147 (hildon_button_construct_child): New functions to add an image to
7150 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7152 * src/hildon-date-button.c
7153 * src/hildon-picker-button.c
7154 * src/hildon-time-button.c
7155 * src/hildon-button.c:
7156 (hildon_button_class_init): "size-flags" renamed to "size"
7157 (hildon_button_set_title): Hide the title label if set to NULL.
7159 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7161 HildonButtonFlags split into HildonButtonArrangement (to set the
7162 button layout) and HildonSizeType (which can be used for any
7165 * src/hildon-button.h
7166 * src/hildon-button.c
7167 (hildon_button_class_init)
7168 (hildon_button_set_arrangement)
7169 (hildon_button_set_property): New "size-flags"
7170 property. "arrangement-flags" renamed to "arrangement".
7171 (hildon_button_new, hildon_button_new_with_text)
7172 (hildon_button_new_full): Constructors updated to reflect type changes.
7174 * src/hildon-helper.h
7175 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7176 to set the size of a widget.
7180 * src/hildon-button-helpers.c
7181 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7183 * src/hildon-date-button.c
7184 * src/hildon-date-button.h
7185 * src/hildon-picker-button.c
7186 * src/hildon-picker-button.h
7187 * src/hildon-time-button.c
7188 * src/hildon-time-button.h: Updated widgets to reflect
7189 HildonButton API changes.
7191 * examples/hildon-button-example.c
7192 * examples/hildon-date-button-example.c
7193 * examples/hildon-picker-button-example.c
7194 * examples/hildon-picker-button-multicolumn-example.c
7195 * examples/hildon-time-button-example.c
7196 * examples/hildon-touch-selector-entry-example.c
7197 * examples/hildon-touch-selector-example.c: Updated examples to
7198 reflect HildonButton API changes.
7200 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7202 * doc/hildon-docs.sgml:
7204 * examples/Makefile.am:
7205 * examples/hildon-touch-selector-entry-example.c:
7207 * src/hildon-touch-selector-entry.c:
7208 * src/hildon-touch-selector-entry.h:
7211 Moved HildonTouchSelectorEntry from sandbox. Added its
7212 documentation and examples.
7214 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7216 * src/hildon-touch-selector.h:
7217 * examples/hildon-picker-button-multicolumn-example.c:
7218 (hildon_touch_selector_append_text_column): Add a gboolean
7219 parameter to determine if text must be centered in the column.
7221 * src/hildon-date-selector.c: (hildon_date_selector_init):
7222 * src/hildon-time-selector.c: (hildon_time_selector_init):
7223 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7224 (create_touch_selector): Update widgets and example to reflect
7227 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7229 * src/hildon-touch-selector.c:
7230 (hildon_touch_selector_set_active_iter): Set also the cursor in
7233 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7235 * doc/hildon-docs.sgml
7238 * src/hildon-toggle-button.c
7239 * src/hildon-toggle-button.h
7240 * src/hildon.h: Removed HildonToggleButton widget, a derived
7241 class is not necessary for this.
7243 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7245 * src/hildon-pannable-area.c,
7246 (hildon_pannable_area_realize),
7247 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7250 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7252 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7253 "done" button the default widget for the dialog.
7255 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7257 * src/hildon-touch-selector.c:
7258 (hildon_touch_selector_class_init),
7259 (hildon_touch_selector_get_property),
7260 (_hildon_touch_selector_set_model),
7261 (_hildon_touch_selector_has_multiple_selection),
7262 (hildon_touch_selector_has_multiple_selection):
7263 Add a "has-multiple-selection" property with a virtual
7264 has_multiple_selection() method to allow derived classes to
7265 override the default value for it. See the method and property
7266 documentation for details.
7268 * src/hildon-touch-selector.h: Add the new API.
7270 * src/hildon-picker-dialog.c: (requires_done_button): Call
7271 hildon_touch_selector_has_multiple_selection() instead of
7272 determining the need for a button itself.
7274 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7276 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7277 (_hildon_touch_selector_set_model),
7278 (hildon_touch_selector_set_model): Move working code to
7279 _hildon_touch_selector_set_mode(). Call the class method instead.
7281 * src/hildon-touch-selector.h: Add (*set_model) to
7282 HildonTouchSelectorClass.
7284 Make hildon_touch_selector_set_model() a virtual method, so that
7285 derived classes can extend it and do fancy stuff with the model.
7287 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7289 * configure.ac: Set back the tarname in AC_INIT to hildon.
7291 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7295 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7296 instead of libesd (NB#86876). Volume handling is still an open issue.
7298 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7301 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7303 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7304 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7305 derived class to ease placement of an entry widget in
7306 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7307 end, where the selector columns are packed now.
7309 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7311 * src/hildon-picker-button.c: Removed the simple _text() API.
7312 * src/hildon-picker-button.h: Likewise.
7314 * src/hildon-touch-selector.h:
7315 * src/hildon-touch-selector.c:
7316 (hildon_touch_selector_new_text),
7317 (hildon_touch_selector_append_text),
7318 (hildon_touch_selector_prepend_text),
7319 (hildon_touch_selector_insert_text):
7321 Moved the simple _text() API from HildonPickerButton to
7322 HildonTouchPicker, to provide better escalability and not to tie
7323 that API to HildonPickerButton.
7325 * examples/hildon-picker-button-example.c: (main): Example updated.
7327 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7329 * src/hildon-button.c: Updated documentation.
7331 * examples/hildon-button-example.c: Add the posibility to create
7332 the buttons using horizontal layout for title and value.
7334 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7336 * src/hildon-app-menu-private.h
7337 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7338 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7339 GtkSizeGroup for the filters, use the 'homogeneous' property of
7342 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7344 * examples/hildon-button-example.c: Updated example.
7346 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7348 * doc/hildon-docs.sgml:
7351 Update documentation.
7353 * examples/Makefile.am: Update renamed examples.
7355 * examples/hildon-picker-button-multicolumn-example.c:
7356 (create_touch_selector), (main): Update after the rename.
7358 * examples/hildon-touch-picker-example.c: Removed.
7359 * examples/hildon-touch-selector-example.c: (value_changed),
7360 (create_selector), (get_visible_content), (main): Renamed from
7361 hildon-touch-picker-example.c
7363 * src/Makefile.am: Updated renamed files.
7365 * src/hildon-date-button.c: (hildon_date_button_init),
7366 (hildon_date_button_get_date), (hildon_date_button_set_date):
7367 * src/hildon-date-selector.c: (hildon_date_selector_init),
7368 (_custom_print_func), (_update_day_model),
7369 (_manage_selector_change_cb),
7370 (hildon_date_selector_select_current_date),
7371 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7372 * src/hildon-date-selector.h:
7373 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7374 (hildon_picker_button_set_property),
7375 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7376 (hildon_picker_button_init), (hildon_picker_button_new_text),
7377 (hildon_picker_button_append_text),
7378 (hildon_picker_button_prepend_text),
7379 (hildon_picker_button_insert_text),
7380 (hildon_picker_button_set_selector),
7381 (hildon_picker_button_get_selector):
7382 * src/hildon-picker-button.h:
7383 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7384 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7385 (_update_title_on_selector_changed_cb), (requires_done_button),
7386 (_hildon_picker_dialog_set_selector),
7387 (hildon_picker_dialog_set_selector),
7388 (hildon_picker_dialog_get_selector):
7389 * src/hildon-picker-dialog.h:
7390 * src/hildon-time-button.c: (hildon_time_button_init),
7391 (hildon_time_button_get_time), (hildon_time_button_set_time):
7392 * src/hildon-time-selector.c: (hildon_time_selector_init),
7393 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7394 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7395 * src/hildon-time-selector.h:
7398 Massive code updates after the rename.
7400 * src/hildon-touch-picker.c: Removed.
7401 * src/hildon-touch-picker.h: Removed.
7403 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7404 (hildon_touch_selector_init), (hildon_touch_selector_map),
7405 (hildon_touch_selector_remove), (_default_print_func),
7406 (_selection_changed_cb), (_create_new_column),
7407 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7408 (hildon_touch_selector_append_text_column),
7409 (hildon_touch_selector_remove_column),
7410 (hildon_touch_selector_set_column_attributes),
7411 (hildon_touch_selector_insert_column),
7412 (hildon_touch_selector_get_num_columns),
7413 (hildon_touch_selector_get_column_selection_mode),
7414 (hildon_touch_selector_set_column_selection_mode),
7415 (hildon_touch_selector_set_print_func),
7416 (hildon_touch_selector_get_print_func),
7417 (hildon_touch_selector_get_active_iter),
7418 (hildon_touch_selector_set_active_iter),
7419 (hildon_touch_selector_get_selected_rows),
7420 (hildon_touch_selector_get_model),
7421 (hildon_touch_selector_set_model),
7422 (hildon_touch_selector_get_current_text),
7423 (_hildon_touch_selector_center_on_selected_items):
7424 * src/hildon-touch-selector.h: Renamed from
7425 hildon-touch-picker.[ch]
7427 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7428 references, code examples, and related documentation.
7430 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7432 * doc/hildon-docs.sgml
7435 * src/hildon-toggle-button.c
7436 * src/hildon-toggle-button.h
7437 * src/hildon.h: New HildonToggleButton widget.
7439 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7441 * src/hildon-button.c: Add API documentation.
7442 (hildon_button_set_size_groups): Check input parameters
7444 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7446 * src/hildon-pannable-area.c
7447 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7448 effect after reaching the movement thredshold. This way we start
7449 using the distance after passing the thredshold.
7451 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7453 * src/hildon-button.c: (hildon_button_set_property): Use the
7454 appropriate g_value_get_flags() method.
7456 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7458 * doc/hildon-docs.sgml:
7461 Add the touch pickers, picker dialogs, and picker button widgets
7462 to the documentation.
7464 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7466 * src/hildon-button.c: (hildon_button_set_property),
7467 (hildon_button_class_init): Make "arrangement-flags" a proper
7468 G_TYPE_FLAGS derived property.
7470 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7472 * examples/Makefile.am: Add below examples.
7473 * examples/hildon-date-button-example.c:
7474 * examples/hildon-picker-button-example.c:
7475 * examples/hildon-picker-button-multicolumn-example.c:
7476 * examples/hildon-time-button-example.c:
7477 * examples/hildon-touch-picker-example.c:
7479 Add examples for the recently added touch pickers,
7480 picker dialogs, and picker button widgets.
7482 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7484 * src/hildon-button.c: Add some API documentation
7486 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7488 * src/hildon-button.h
7489 * src/hildon-button.c
7491 (hildon_button_new_with_text): New constructor to create a button
7492 with no text at all.
7493 (hildon_button_init, hildon_button_set_arrangement)
7494 (hildon_button_set_title, hildon_button_set_value)
7495 (hildon_button_set_text)
7496 (hildon_button_construct_child): Hide the value when it's not used
7497 so the rest of the text is properly aligned.
7498 Allow creating buttons with arbitrary widgets inside (not just
7499 title/value labels).
7501 * examples/hildon-button-example.c (vertical_buttons_window)
7502 (horizontal_buttons_window): Update example to use new API.
7504 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7506 * src/Makefile.am: Added HildonTimeButton.
7507 * src/hildon-time-button.c: Added missing LGPL header.
7508 * src/hildon-time-button.h: Added missing LGPL header.
7509 * src/hildon.h: Add hildon-time-button.h
7511 Copied HildonTimeButton from sandbox to trunk. Future work on this
7512 widget must take place in trunk.
7514 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7516 * src/Makefile.am: Added HildonDateButton.
7517 * src/hildon-date-button.c: Update includes.
7518 * src/hildon.h: Add hildon-date-button.h
7520 Copied HildonDateButton from sandbox to trunk. Future work on this
7521 widget must take place in trunk.
7523 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7525 * src/Makefile.am: Added HildonPickerButton.
7526 * src/hildon-picker-button.h: Update includes.
7527 * src/hildon.h: Add hildon-picker-button.h
7529 Copied HildonPickerButton from sandbox to trunk. Future work on
7530 this widget must take place in trunk.
7532 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7534 * src/Makefile.am: Added HildonPickerDialog.
7535 * src/hildon-picker-dialog.c: Update includes.
7536 * src/hildon.h: Add hildon-picker-dialog.h
7538 Copied HildonPickerDialog from sandbox to trunk. Future work
7539 on this widget must take place in trunk.
7541 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7543 * src/Makefile.am: Added HildonTimeSelector.
7544 * src/hildon.h: Add hildon-time-selector.h
7546 Copied HildonTimeSelector widget from sandbox to trunk. Future
7547 work on this widget must happen in trunk.
7549 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7551 * src/Makefile.am: Added HildonDateSelector.
7552 * src/hildon.h: Add hildon-date-selector.h
7554 Copied HildonDateSelector widget from sandbox to trunk. Future
7555 work on this widget must happen in trunk.
7557 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7559 * src/Makefile.am: Added HildonTouchPicker.
7560 * src/hildon-touch-picker.c: Update includes.
7561 * src/hildon.h: Add hildon-touch-picker.h
7563 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7564 on this widget must happen in trunk.
7566 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7568 * src/hildon-pannable-area.c:
7569 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7571 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7573 * examples/hildon-app-menu-example.c (main): Let the window
7576 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7578 * src/hildon-pannable-area.c
7579 (hildon_pannable_area_class_init): Set the min value of the
7580 overshoot properties to zero, which points out that not
7581 overshooting allowed.
7583 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7585 Modified the procedure to get the widget at a point inside the
7586 pannable area when using the movement type signals. Now the user
7587 has to call a function to get the child, that way we just
7588 calculate the child in case the user really want to use it and not
7591 * src/hildon-marshalers.list: Modified the marshallers, now we do
7592 not have the widget as a parameter.
7594 * src/hildon-pannable-area.c
7595 (hildon_pannable_area_motion_notify_cb),
7596 (hildon_pannable_area_class_init),
7597 (hildon_pannable_get_child_widget_at): Removed the widget
7598 parameter from the signal callback. We have also refactored the
7599 emission of the signals.
7601 * src/hildon-pannable-area.h: Added a new method to the API to
7602 calculate a widget at a point inside the pannable area,
7603 hildon_pannable_get_child_widget_at.
7605 * examples/hildon-pannable-area-example-4.c
7606 (horizontal_movement): Modified the example to use the new API,
7607 added condition to control which widget is under the event. This
7608 way we can avoid scrolling laterally over other widgets.
7610 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7612 * src/hildon-pannable-area.c
7613 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7614 modes, we stop getting the pointer events due to returning the
7615 callback without properly calling the get pointer again. Fixed
7616 also an error using the hscroll and vscroll.
7618 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7620 * src/hildon-app-menu-private.h
7621 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7622 (hildon_app_menu_button_release, hildon_app_menu_init)
7623 (hildon_app_menu_class_init): Don't hide the menu on button
7624 release if the user didn't press outside first.
7626 * src/hildon-window.h
7627 * src/hildon-window.c (hildon_window_toggle_menu)
7628 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7629 hildon_window_toggle_menu a virtual function for the stackable
7630 window to override it.
7632 * src/hildon-stackable-window.h
7633 * src/hildon-stackable-window-private.h
7634 * src/hildon-stackable-window.c
7635 (hildon_stackable_window_realize)
7636 (hildon_stackable_window_finalize)
7637 (hildon_stackable_window_class_init)
7638 (hildon_stackable_window_init)
7639 (hildon_stackable_window_set_main_menu): New function to set the
7640 app menu of a HildonStackableWindow.
7642 * examples/hildon-app-menu-example.c: Remove the button to show
7643 the app menu, now it'll be shown when clicking on the title bar
7646 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7648 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7649 set the widget name if the arrangement flags do not specify
7652 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7654 * src/hildon-button.c: (hildon_button_set_property),
7655 (hildon_button_class_init), (hildon_button_new_full),
7656 (hildon_button_set_arrangement): Added "arrangement-flags"
7659 Make the HildonButtonFlags a construction-only property, to allow
7660 subclasses to set them properly.
7662 2008-07-21 Tim Janik <timj@imendio.com>
7664 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7665 insertion position after backspace, so additional digits are appended,
7668 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7670 * src/hildon-pannable-area.c,
7671 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7672 TODO list, it was complete and removed the g_debug and g_print
7675 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7677 Added the movement modes to the hildon-pannable-area, with this
7678 modes the developers can control in which directions the widget
7679 can scroll. They can also connect to signals in order to do
7680 something when that happens, allowing applications scroll. There
7681 is an example uploaded showing how to use it.
7683 * examples/Makefile.am:
7684 * examples/hildon-pannable-area-example-4.c: Added this example of
7685 an application using the modes.
7687 * src/hildon-marshalers.list: Added a new marshaller for the new
7690 * src/hildon-pannable-area.h: Added new enumerations and flags in
7691 order to control the movement modes and the new signals to warn
7692 about the movements in the area.
7694 * src/hildon-pannable-area.c:
7695 (hildon_pannable_axis_scroll),
7696 (hildon_pannable_area_scroll),
7697 (hildon_pannable_area_motion_notify_cb),
7698 (hildon_pannable_area_get_property),
7699 (hildon_pannable_area_set_property),
7700 (hildon_pannable_area_map),
7701 (hildon_pannable_area_class_init),
7702 (hildon_pannable_area_init),
7703 (hildon_pannable_area_jump_to): Added the modes to control the
7704 movement in the widget. We have added properties to control it,
7705 signals to warn about the movements and refactored some code.
7707 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7709 Changes required in order to allow vfast_factor set to zero to
7712 * src/hildon-pannable-area.c:
7713 (hildon_pannable_area_button_press_cb): Changed the condition, it
7714 is required for not allowing click when vfast_factor is zero.
7715 (hildon_pannable_area_timeout): Initialized velocity variables
7716 when we stop moving, it was less than 1 but not zero and we need
7717 to check zero in some situations.
7718 (hildon_pannable_area_class_init): Changed the default value of
7719 the speed factor, now the button_press is just sent in case the
7720 speed is 2 per cent of the max speed.
7721 (hildon_pannable_area_init): Initialization with 0.
7723 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7725 * src/hildon-pannable-area.c,
7726 (hildon_pannable_area_get_topmost): replaced
7727 gdk_window_get_children with gdk_window_peek_children, this way we
7728 do not have to free the list because it is not a copy.
7730 (hildon_pannable_axis_scroll),
7731 (hildon_pannable_area_scroll),
7732 (hildon_pannable_area_timeout),
7733 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7734 two parameters that were only used inside the
7735 hildon_pannable_area_scroll function.
7737 * examples/hildon-pannable-area-example.c,
7738 (get_sawtooth_label): Fixed small memory leak.
7740 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7742 More checks for the case where the overshoot is bigger than the
7745 * src/hildon-pannable-area.c:
7746 (hildon_pannable_draw_vscroll),
7747 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7748 to draw the slider of the scrollbar under the other scrollbar.
7749 (hildon_pannable_area_expose_event): added new checks to control
7750 the drawing of the overshooting area rectangle, in case it is too
7751 big for the area of the widget.
7752 (hildon_pannable_area_size_allocate): add more checks to avoid
7753 setting a position to the child widget outside the area.
7755 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7757 * src/hildon-pannable-area.c
7758 (hildon_pannable_area_size_allocate): Added conditions to control
7759 when overshooting is bigger than the allocated space for the
7760 children, this avoids negative allocations.
7762 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7764 * doc/hildon-docs.sgml
7766 * examples/Makefile.am
7767 * examples/hildon-button-example.c
7769 * src/hildon-button.c
7770 * src/hildon-button.h
7771 * src/hildon.h: Initial version of the new HildonButton widget,
7774 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7776 * src/hildon-pannable-area.c:
7777 (hildon_pannable_area_button_press_cb),
7778 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7779 (hildon_pannable_area_motion_notify_cb),
7780 (hildon_pannable_area_button_release_cb),
7781 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7782 (hildon_pannable_area_jump_to_child):
7784 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7786 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7788 * examples/Makefile.am
7789 * examples/hildon-pannable-area-touch-grid-example.c
7790 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7791 the Hildon Touch List and Hildon Touch Grid using the
7792 HildonPannableArea widget.
7794 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7796 * src/hildon-pannable-area.c,
7797 (hildon_pannable_area_button_press_cb),
7798 (hildon_pannable_area_refresh),
7799 (hildon_pannable_area_scroll),
7800 (hildon_pannable_area_motion_notify_cb),
7801 (hildon_pannable_area_button_release_cb),
7802 (hildon_pannable_area_expose_event),
7803 (hildon_pannable_area_add),
7804 (hildon_pannable_area_remove),
7805 (hildon_pannable_area_realize),
7806 (hildon_pannable_area_size_allocate),
7807 (hildon_pannable_area_class_init),
7808 (hildon_pannable_area_init),
7809 (hildon_pannable_area_scroll_to_child),
7810 (hildon_pannable_area_jump_to_child): Fixed the problem of
7811 removing the child from the GtkBin, we have rearranged the widget
7812 hierarchy, now there is no GtkAlignment which was not doing
7813 anything interesting but breaking some of the assumptions of
7814 GtkContainer. Now developers if they want to add a GtkAlignment
7815 they could, but it is not inside the area.
7817 We had to review the whole allocation/expose process, now it is
7818 improved and we save at least three signals which would be saving
7819 some time when rendering the widget. The allocation of the
7820 scrollbars is now made in the allocate method as usual.
7822 We have also added some conditions in order to control when there
7823 is no child of the pannable area. Maybe we will need more work
7826 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7828 * src/hildon-pannable-area.c,
7829 (hildon_pannable_area_dispose): Released the fade-out timeout when
7830 disposing the widget.
7832 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7834 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7835 zero, we are going to use that property in order to deactivate the
7837 (hildon_pannable_axis_scroll),
7838 (hildon_pannable_area_size_allocate): Added conditions to control
7839 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7840 call, now it is called in all situations and we can remove calls
7841 in the allocate method.
7842 (hildon_pannable_area_map): Control the situation when
7843 overshoot_max is zero, we do not need the timeout.
7844 (hildon_pannable_area_class_init): Added documentation in order to
7845 point out that setting zero to overshoot_max means deactivate
7848 NOTE: removed trailing whitespaces from my previous comments of
7851 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7853 * src/hildon-pannable-area.c
7854 (hildon_pannable_area_get_property),
7855 (hildon_pannable_area_set_property),
7856 (hildon_pannable_area_map),
7857 (hildon_pannable_area_class_init),
7858 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7859 to cause the widget give a hint about its panning abilities upon
7862 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7864 * src/hildon-pannable-area.c: Several documentation improvements.
7866 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7868 * src/hildon-program.c
7869 * src/hildon-stackable-window.c: Update documentation.
7871 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7873 * src/hildon-stackable-window.c (get_previous_window_if_last):
7874 Renamed get_last_window()
7875 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7876 (hildon_stackable_window_unset_program):
7878 (get_previous_window_if_last):
7879 Detect if the window hasn't been added to a HildonProgram.
7881 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7883 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7885 * src/hildon-pannable-area.c
7886 (hildon_pannable_area_button_press_cb),
7887 (hildon_pannable_axis_scroll),
7888 (hildon_pannable_area_scroll),
7889 (hildon_pannable_area_timeout),
7890 (hildon_pannable_calculate_vel_factor),
7891 (hildon_pannable_area_get_property),
7892 (hildon_pannable_area_set_property),
7893 (hildon_pannable_area_class_init),
7894 (hildon_pannable_area_init),
7895 (hildon_pannable_area_scroll_to),
7896 (hildon_pannable_area_jump_to),
7897 (hildon_pannable_area_scroll_to_child),
7898 (hildon_pannable_area_jump_to_child):
7899 * src/hildon-pannable-area.h: Added the new API functions:
7900 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7901 hildon_pannable_area_scroll_to_child,
7902 hildon_pannable_area_jump_to_child
7905 * examples/Makefile.am
7906 * examples/hildon-pannable-area-example-2.c
7907 * examples/hildon-pannable-area-example-3.c: Added these two new
7908 examples in order to test and show how the new APIs work.
7910 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7912 * examples/hildon-stackable-window-example.c (new_window):
7913 * src/Makefile.am (noinst_HEADERS):
7914 * src/hildon-program.c (hildon_program_go_to_root_window):
7915 * src/hildon-program.h:
7916 * src/hildon-stackable-window-private.h:
7917 * src/hildon-stackable-window.c:
7918 * src/hildon-stackable-window.h:
7919 Create hildon-stackable-window-private.h
7920 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7922 * examples/hildon-app-menu-example.c (create_menu):
7923 * examples/hildon-hvolumebar-insensitive-example.c (main):
7924 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7925 * examples/hildon-toolbar-seekbar-example.c (main):
7926 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7927 * src/hildon-banner.c (hildon_banner_set_property):
7928 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7929 Fix compilation warnings
7931 * src/hildon-window.c:
7934 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7936 * src/hildon-stackable-window.c
7937 (hildon_stackable_window_unset_program):
7938 Calculate correctly whether to show the previous window if the
7939 last one is removed from the stack.
7940 (hildon_stackable_window_go_to_root_window):
7941 Send delete events starting from the topmost window.
7942 Stop if one of the windows is not destroyed.
7944 (hildon_stackable_window_delete_event)
7945 (hildon_stackable_window_class_init):
7946 Ignore the delete event if the window is not the topmost one.
7948 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7950 * src/hildon-pannable-area.c
7951 (hildon_pannable_area_expose_event): Fixed a problem when
7952 selecting the background color of the scrollbars.
7954 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7956 * examples/hildon-stackable-window-example.c
7957 * src/hildon-stackable-window.c
7958 * src/hildon-stackable-window.h
7959 hildon_stackable_window_go_home() renamed to
7960 hildon_stackable_window_go_to_root_window()
7961 Send delete events to windows rather than closing them with
7962 gtk_widget_destroy()
7964 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7966 * src/hildon-pannable-area.c
7967 (hildon_pannable_area_button_release_cb): Fix overshooting in
7970 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7972 * src/hildon-pannable-area.c
7973 (hildon_pannable_area_init): Initially show the scroll indicators.
7974 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7976 Add initial effect showing the widget is pannable.
7978 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7980 * src/hildon-pannable-area.c
7981 (hildon_pannable_area_class_init)
7982 (hildon_pannable_area_set_property)
7983 (hildon_pannable_area_get_property)
7984 (hildon_pannable_area_button_press_cb):
7985 New 'velocity_fast_factor' property to decide which velocity is
7988 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7990 * src/hildon-pannable-area.c
7991 (hildon_pannable_draw_hscroll)
7992 (hildon_pannable_draw_vscroll):
7993 Use float variables to calculate the size of the scrollbars to
7994 avoid error propagation and resizing during scrolling.
7996 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7998 * src/hildon-pannable-area.c
7999 (hildon_pannable_draw_vscroll)
8000 (hildon_pannable_draw_hscroll):
8001 Define a minimum size for the scroll bars
8003 * src/hildon-stackable-window.c
8004 (hildon_stackable_window_go_home): Fix compilation warning
8005 (get_last_window): Minor optimizations
8006 (hildon_stackable_window_class_init): Fix initialization of
8009 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8011 * src/hildon-stackable-window.c: Fixed typos in doc
8013 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8015 * src/hildon-pannable-area.c
8016 (hildon_pannable_area_scroll):
8017 Calculate here whether we need to scroll instead of using the booleans
8018 that tell us whether to /draw/ the scrolling bars.
8020 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8022 * src/hildon-app-menu.h
8024 * src/hildon-app-menu.c
8025 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8026 multiple filter groups related code and API. Now we support only
8028 * examples/hildon-app-menu-example.c:
8030 Update to reflect API changes.
8032 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8034 * src/hildon-stackable-window.c
8035 (hildon_stackable_window_class_init):
8036 Add hildon_stackable_window_realize.
8037 (hildon_stackable_window_realize):
8038 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8039 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8040 to apply theming and behavior specific to HildonStackableWindow
8043 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8045 * src/hildon-note.c (hildon_note_button_release):
8046 Close information notes also when tapping on them
8048 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8050 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8051 ELASTICITY, refactor and review, fix some issues with drawing
8054 * src/hildon-pannable-area.c:
8055 (hildon_pannable_area_button_press_cb): removed the conditions to
8056 avoid clicks when overshooting. It is not required
8058 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8059 define. Refatored and reviewed the code, now we do not need to
8060 manage velocity in motion_notify.
8062 (hildon_pannable_area_motion_notify_cb): We have moved the code
8063 that controls the area_scroll to the axis_scroll function and get
8064 rid of duplicated code.
8066 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8068 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8070 (hildon_pannable_draw_vscroll),
8071 (hildon_pannable_draw_hscroll): Fixed the problems with the
8072 scrollbar drawing, now we do not use two surfaces, it is easier
8073 and saves resources.
8075 (hildon_pannable_area_get_property): Style modification.
8077 (hildon_pannable_area_class_init): Changed some default values.
8079 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8081 * src/hildon-stackable-window.c: Fix some typos in the
8084 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8086 * src/hildon-dialog.c:
8087 Change indentation style
8090 (hildon_note_button_release):
8091 Use root coordinates to check if the release event happened
8094 * src/hildon-app-menu.c
8095 (hildon_app_menu_button_release):
8096 Remove unnecessary check
8098 * examples/hildon-app-menu-example.c
8100 Add cast to fix warning
8102 * src/hildon-app-menu.c
8103 (hildon_app_menu_class_init):
8104 New inner-border style property.
8105 Set all default spacings to 16
8106 (hildon_app_menu_init):
8107 Use vertical-spacing to set the space between filter buttons and
8108 regular menu buttons.
8109 Set the default container border using the inner-border value.
8111 * examples/hildon-app-menu-example.c
8113 Don't set the menu border explicitly, now we have the inner-border
8114 style property for that.
8116 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8118 * src/hildon-app-menu.c (hildon_app_menu_init):
8119 Make the window modal
8121 * src/hildon-note.c (hildon_note_map)
8122 * src/hildon-app-menu.c (hildon_app_menu_map):
8123 Destroy the grab window if we're unable to grab the pointer
8125 * src/hildon-app-menu-private.h
8126 * src/hildon-app-menu.c
8127 (hildon_app_menu_init, hildon_app_menu_finalize)
8128 (hildon_app_menu_map, hildon_app_menu_unmap)
8129 (hildon_app_menu_button_release)
8130 (grab_transfer_window_get):
8131 Bring back the grab window
8132 (hildon_app_menu_realize):
8133 Decorate the window, set WM hint for Matchbox
8135 * src/hildon-note.c (hildon_note_realize):
8136 * src/hildon-banner.c (hildon_banner_realize):
8137 Add WM hints for Matchbox
8139 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8141 * src/hildon-app-menu-private.h
8142 * src/hildon-app-menu.c
8143 (hildon_app_menu_init, hildon_app_menu_finalize)
8144 (hildon_app_menu_map, hildon_app_menu_unmap)
8145 (hildon_app_menu_button_release):
8146 Remove the grab window, it's not needed anymore
8148 * src/hildon-program.c
8149 Fixed typo in documentation
8151 * src/hildon-app-menu.h
8152 * src/hildon-app-menu.c
8153 * examples/hildon-app-menu-example.c
8154 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8156 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8159 Added new transfer_window and close_if_pressed_outside private
8161 (hildon_note_rebuild):
8162 Don't add a cancel button to the information note. It will be
8163 closed when tapping outside
8164 Remove the comment about the OK button in the documentation
8165 (hildon_note_realize):
8166 Set the notification type hint
8167 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8168 Grab/ungrab pointer and keyboard if the note has to be closed when
8170 (hildon_note_button_release):
8171 Close the note when tapping outside (if applicable)
8173 * src/hildon-app-menu.c
8174 Grab/ungrab pointer and keyboard on map/unmap
8175 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8176 Close the menu on button release, not button press
8178 * src/hildon-banner.c
8179 (hildon_banner_set_property)
8180 (hildon_banner_check_position):
8181 Make the banner use the full width of the screen
8182 (hildon_banner_show_information)
8183 (hildon_banner_show_information_with_markup):
8184 Don't display an icon by default
8186 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8188 Added fading scrollbars and adapted all the overshooting code to
8189 horizontal scrolling. We have also fixed bugs with overshooting
8190 and current fading implementation.
8192 * src/hildon-pannable-area.c
8193 (hildon_pannable_area_scroll_indicator_fade): Time out function
8194 used to change the transparency of the scrollbars.
8196 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8197 control and fixed a problem with fading, we now remove the fade
8198 timeout before adding a new one.
8200 (hildon_pannable_axis_scroll):
8201 (hildon_pannable_area_scroll):
8202 (hildon_pannable_area_timeout): Added this functions so we can use
8203 the scroll code both for vertical and horizontal.
8205 (hildon_pannable_area_motion_notify_cb):
8206 (hildon_pannable_area_button_release_cb): Added the horizontal
8207 scrolling control, fixed a problem with the overshooting timeout.
8209 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8210 painting of the scrolls.
8212 (hildon_pannable_draw_vscroll):
8213 (hildon_pannable_draw_hscroll):
8214 (hildon_pannable_area_expose_event):
8215 Draw both scrollbars and rectangles in the overshooting area.
8217 (hildon_pannable_area_get_property):
8218 (hildon_pannable_area_set_property):
8219 Modified the overshoot property to overshoot_max
8221 (hildon_pannable_area_map):
8222 Replaced the comments symbols.
8224 (hildon_pannable_area_size_allocate):
8225 (hildon_pannable_area_class_init):
8226 (hildon_pannable_area_init): Added horizontal scroll, fading
8227 effect properties, fixed a problem when overshooting in the bottom
8230 * examples/hildon-pannable-area-example.c:
8231 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8232 looks better in the example.
8234 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8236 * src/hildon-window.c
8237 * src/hildon-window.h
8238 (hildon_window_class_init)
8239 (hildon_window_unset_program)
8240 (hildon_window_unset_program_real):
8241 Make unset_program a virtual function
8243 * src/hildon-stackable-window.c
8244 * src/hildon-stackable-window.h
8245 Added hildon_stackable_window_go_home()
8247 * examples/Makefile.am
8248 * examples/hildon-stackable-window-example.c
8249 HildonStackableWindow example
8251 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8253 * hildon-pannable-area.c: Added the overshoot property and removed
8254 the OVERSHOOT define. Fixed an indent style error.
8255 (hildon_pannable_area_motion_notify_cb):
8256 (hildon_pannable_area_get_property):
8257 (hildon_pannable_area_set_property): Add overshoot property.
8259 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8262 (hildon_pannable_area_class_init): Installed the new property.
8264 * hildon-pannable-area-example.c: Added a sawtooth function, this
8265 way it is easier to check the movement in the pannable.
8266 (get_sawtooth_label): Added this function.
8267 (main): Now we get the labels from the new get_sawtooth_label
8270 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8272 * src/hildon-app-menu.h
8273 * src/hildon-app-menu.c
8274 Renamed API variables for consistency
8276 (hildon_app_menu_popup): Use also the default window size to
8277 decide where to place the menu
8279 (hildon_app_menu_init, hildon_app_menu_class_init): New
8280 external-border style property
8282 2008-05-26 Michael Natterer <mitch@imendio.com>
8284 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8285 widget_class->tap_and_hold_setup signal slot doesn't exist any
8286 longer, stop overriding it.
8288 (hildon_time_editor_init): g_signal_connect() to the
8289 tap-and-hold-setup signal instead.
8291 (hildon_time_editor_entry_keypress): add cast to fix warning.
8293 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8295 * doc/hildon-docs.sgml
8297 * examples/Makefile.am
8298 * examples/hildon-app-menu-example.c
8300 * src/hildon-app-menu-private.h
8301 * src/hildon-app-menu.c
8302 * src/hildon-app-menu.h
8304 New HildonAppMenu widget
8306 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8308 Rearranged the inheritance of the pannable area, now it inherits
8309 from GtkBin. This will allow us to control the event_window and
8310 the allocation process of the widget, required for some effects.
8312 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8313 GtkBin structures. * src/hildon-pannable-area.c: Added the
8314 event_window variable.
8315 (hildon_pannable_area_button_press_cb):
8316 (hildon_pannable_area_button_release_cb):
8317 (hildon_pannable_area_motion_notify_cb):
8318 Changed the signature of the method, now we override the event
8319 callback instead of connecting to the signal.
8321 (hildon_pannable_area_realize):
8322 (hildon_pannable_area_unrealize):
8323 (hildon_pannable_area_map):
8324 (hildon_pannable_area_unmap):
8325 (hildon_pannable_area_size_allocate):
8326 Added functions to control the widget construction. We add a
8327 INPUT_ONLY window and we put it over the widgets inside the
8328 container, this event_window handles the events.
8330 (hildon_pannable_area_class_init):
8331 Replaced the signal connections with overrides of the event
8334 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8336 Bouncing effect added when touching the borders, you can change
8337 the elasticity of the border changing the ELASTICITY define.
8339 * src/hildon-pannable-area.c: Added ELASTICITY define.
8340 (hildon_pannable_area_timeout): Added inverse velocity when
8341 touching the border of the child widget, that causes a bounce.
8343 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8345 Improved performance, we now do not go to the X server in order to
8346 get the list of window children. Apparently the effect is the
8347 same, we have to be careful and check if this breaks something in
8350 * src/hildon-pannable-area.c:
8351 (get_ordered_children): Removed this function.
8352 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8353 the children windows function with gdk_window_get_children.
8355 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8357 * src/hildon-pannable-area.c:
8358 (hildon_pannable_area_dispose): Fixed a crash when closing the
8359 window and kinetics is activated.
8361 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8363 * src/hildon-pannable-area.h
8364 * src/hildon-pannable-area.c
8365 Changed indentation style to meet the one used in Hildon
8367 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8369 Reviewed the interaction of the AUTO mode, now we use the time
8370 attribute of the events and calculate the velocity in the motion,
8371 doing a gimp like calculation. The velocity is calculated in each
8372 motion event using the last velocity and the current one, the
8373 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8375 * src/hildon-pannable-area.c: Replaced the time based algorithm
8377 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8378 timeout for the AUTO mode when we are still moving the cursor. We
8379 added also the velocity calculation in this function.
8380 (hildon_pannable_area_button_release_cb): launch the timeout in
8381 case we are in AUTO mode. There are still some constants here that
8382 come from the old implementation that should be reviewed and
8385 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8387 * doc/hildon-docs.sgml
8390 * src/hildon-stackable-window.c
8391 * src/hildon-stackable-window.h
8393 New HildonStackableWindow widget
8395 * examples/hildon-dialog-example.c
8396 * examples/hildon-pannable-area-example.c
8399 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8401 * src/hildon-dialog.c
8402 (hildon_dialog_new_with_buttons): New constructor.
8404 * examples/hildon-dialog-example.c
8405 (main): Update the example to use the new
8406 hildon_dialog_new_with_buttons().
8408 * examples/hildon-pannable-area-example.c
8409 (main): Update example.
8411 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8413 * doc/hildon-docs.sgml
8415 Added HildonPannableArea to the documentation.
8417 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8419 * doc/visual_index.xml
8420 Fix reference to HildonLoginDialog in documentation
8422 * doc/hildon-docs.sgml
8424 * examples/Makefile.am
8425 * examples/hildon-dialog-example.c
8427 * src/hildon-dialog.c
8428 * src/hildon-dialog.h
8430 New HildonDialog widget.
8432 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8434 * src/hildon-pannable-area.c
8435 Merge latest changes (r4318, r4342) from libmokoui trunk
8437 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8439 * examples/Makefile.am
8440 * examples/hildon-pannable-area-example.c
8442 * src/hildon-pannable-area.c
8443 * src/hildon-pannable-area.h
8445 New HildonPannableArea widget.
8447 2008-04-15 18:05:19 <timj@imendio.com>
8449 * src/hildon-banner.c: revert the recent change, that introduced
8450 gtk_window_present() calls. this reopens:
8451 Bug 78481 - [freetest] information banners are hidden under browser menu
8452 But resolves another variant of:
8453 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8455 2008-04-15 13:21:13 <timj@imendio.com>
8457 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8458 recreated its layout, spotted by Kris. this fixes all remaining
8459 artefacts and stability issues with the banner code. in particular:
8460 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8462 2008-04-14 16:52:59 <timj@imendio.com>
8464 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8465 operating on unrealized widgets, fixes:
8466 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8468 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8470 2008-04-09 Kristian Rietveld <kris@imendio.com>
8472 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8473 makes banner disappear.
8474 Fixes: NB#79182: info banner flickering with certain message lengts.
8476 * src/hildon-banner.c (hildon_banner_constructor),
8477 (hildon_banner_init), (hildon_banner_set_text),
8478 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8479 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8480 FALSE, reset size requests of label and banner,
8481 (force_to_wrap_truncated): when the text is too wide, always enforce
8482 the maximum possible width instead of recalculating it from the
8483 layout; enforce the maximum banner height of 3 lines,
8484 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8485 nicer wrapping and no truncated chars if space gets tight.
8487 * src/hildon-banner-private.h: add has_been_wrapped and
8488 has_been_truncated fields.
8490 2008-04-07 Sven Herzberg <sven@imendio.com>
8492 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8493 local values in hildon_date_editor_size_allocate
8495 * src/hildon-date-editor.c: moved the real allocation code into the
8498 2008-04-07 Sven Herzberg <sven@imendio.com>
8500 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8501 local values in hildon_date_editor_size_allocate
8503 * src/hildon-date-editor.c: merged the two if() branches together
8505 2008-04-07 Sven Herzberg <sven@imendio.com>
8507 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8508 local values in hildon_date_editor_size_allocate
8510 * src/hildon-date-editor.c: changed the arguments of the if()
8513 2008-04-07 Sven Herzberg <sven@imendio.com>
8515 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8516 local values in hildon_date_editor_size_allocate
8518 * src/hildon-date-editor.c: split the calculation of the allocation
8519 from the real allocation
8521 2008-03-27 Michael Natterer <mitch@imendio.com>
8523 Fixes: NB#81696: The passcode is not overwritten even after
8526 * src/hildon-code-dialog.c
8527 (hildon_code_dialog_button_clicked)
8528 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8529 because that doesn't overwrite selected text. Instead, emit the
8530 "commit" signal on the entry's im_context so the entry's normal
8531 insert logic is triggered. Set the cursor to the end of the entry
8532 after each insert operation so that we *only* insert in the middle
8533 of the text if something was selected.
8535 2008-03-27 Michael Natterer <mitch@imendio.com>
8537 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8538 selector cannot be opened
8540 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8541 when the popup color selector is created. Please connect to this
8542 signal in order to set the dialog's help ID.
8544 2008-03-25 Sven Herzberg <sven@imendio.com>
8546 Fixes: MB#1212: Hide info banners (infoprints) on click
8548 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8549 extracted the close event simulation into an extra function
8550 (hildon_banner_button_press_event): simulate a close event and destroy
8551 the widget if the event wasn't handled
8552 (hildon_banner_class_init): added the button_press_event handler
8553 (hildon_banner_init): added button-press events to the widget
8555 2008-03-25 Sven Herzberg <sven@imendio.com>
8557 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8558 Patch from: Mohammad Anwari <mdamt@maemo.org>
8560 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8561 instead of the right in RTL mode
8562 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8563 breadcrumb button list in RTL mode
8564 * src/hildon-caption.c: mirror the appearance of the caption widget in
8566 * src/hildon-date-editor.c: mirror appearance of the date editor in
8568 * src/hildon-time-editor.c: mirror appearance of the time editor in
8570 * src/hildon-window.c: fix the position of the popup in RTL mode
8572 2008-03-25 Sven Herzberg <sven@imendio.com>
8574 Amendment to the fix of NB#22072. Fix compilation.
8576 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8578 2008-03-19 Sven Herzberg <sven@imendio.com>
8580 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8583 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8584 timeout id properly when the timeout will disappear this leaves no
8585 artifacts around in the destroy(); there will only be the timeout
8586 created by hildon_banner_ensure_timeout() and adding a new timeout
8587 will also work if the timeout gets removed because the timeout_handler
8590 2008-03-19 Michael Natterer <mitch@imendio.com>
8592 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8594 * src/hildon-volumebar.c
8595 * src/hildon-vvolumebar.c
8596 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8597 the widget becomes focussable at all.
8599 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8600 set the focus to wither the mute button or the volumebar.
8602 Remove own "can-focus" property and instead listen to
8603 notify::can-focus in order to update the widget's state.
8605 Implement GtkWidget::focus() and make sure we can also *leave* the
8606 widget, not only enter it, depending on volumebar orientation and
8607 requested focus direction.
8609 Clean up set_mute() to cooperate nicely with all the above.
8611 2008-03-04 Michael Natterer <mitch@imendio.com>
8613 Fixes: NB#78481: information banners are hidden under browser menu
8615 * src/hildon-banner.c: call gtk_window_present() on the banners so
8616 they are risen if they are already visible.
8618 2008-03-03 Sven Herzberg <sven@imendio.com>
8620 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8622 * examples/hildon-window-menu-example.c: (main): extended the window
8623 menu example to serve as a testcase for automatically added
8624 accelerator groups, too
8625 * src/hildon-window.c: (hildon_window_add_accel_group),
8626 (hildon_window_set_menu): added patch by Tommi Komulainen
8628 2008-03-03 Sven Herzberg <sven@imendio.com>
8630 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8632 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8633 knowledge about the border allocators used within GTK+
8635 2008-02-26 Sven Herzberg <sven@imendio.com>
8637 Fixes: MB#2981: Build with asserts broken
8639 * src/hildon-date-editor.c,
8640 * src/hildon-number-editor.c,
8641 * src/hildon-time-editor.c,
8642 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8643 the proper GType instance check
8645 2008-02-25 Sven Herzberg <sven@imendio.com>
8647 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8649 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8650 * examples/hildon-window-menu-example.c: (main): explicitly show
8652 * src/hildon-window.c:
8653 (hildon_window_set_main_menu): moved most of the code from set_menu()
8654 to this place; skipped the call to gtk_widget_show_all(); also didn't
8655 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8656 (hildon_window_set_menu): removed most of the code, just keep the
8657 questionable gtk_widget_show_all()
8658 * src/hildon-window.h: added the new function and deprecate the old
8661 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8667 * debian/changelog: Updating.
8669 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8672 * pkgconfig/Makefile.am:
8673 * pkgconfig/hildon.pc.in:
8676 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8677 use newly created API_MAJOR_VERSION.
8679 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8685 * debian/changelog: Updating.
8687 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8689 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8691 Add outer_border style property, we use it but don't define it (!).
8695 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8697 * examples/hildon-bread-crumb-trail-example.c (main):
8701 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8703 Fix logic for the bread crumb trail node removal.
8707 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * debian/changelog: Updating.
8715 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8717 Patch by Alejandro to get/set passwords dialogs accesibility.
8719 * hildon-1/src/hildon-get-password-dialog.c:
8720 * hildon-1/src/hildon-set-password-dialog.c:
8721 Set atk_set_name to the passwd entries in order to allow
8722 accessibility by name on this entries.
8724 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8729 * debian/control: Updating gtk dep.
8731 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8733 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8734 USE_MAEMO_GTK is enabled.
8736 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8738 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8739 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8741 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 * debian/changelog: Updating.
8749 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8751 * examples/Makefile.am:
8752 * examples/hildon-logical-color-example.c:
8753 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8754 applied + adding a test case. Fixes: NB#71660.
8756 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8758 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8759 to be visible, fixes warning on map for windows without toolbars.
8761 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8763 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8764 2.11.0, add a check for that besides the MAEMO_GTK check.
8766 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * debian/changelog: Updating.
8774 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8776 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8777 visibility. Fixes: NB#70842 and MB#615.
8779 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8781 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8782 set the separator as no-show-all so it doesn't unintentionally appear when
8783 someone does a show_all.
8785 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8787 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8788 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8789 toplevel item. Fixes: NB#62031
8791 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8793 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8794 fix the name of the function in the docs.
8796 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 * debian/changelog: Updating.
8804 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8806 * examples/hildon-banner-long-example.c: Adding a test-case for long
8809 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8811 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8813 * src/hildon-color-chooser-dialog.c:
8814 * src/hildon-color-chooser.c:
8815 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8816 memory leaks in font selector and color selector. Fixes: NB#70499 and
8819 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8821 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8823 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8825 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8826 little bit bigger. Fixes: #NB63694.
8828 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8834 * debian/changelog: Updating.
8836 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8839 * doc/hildon-docs.sgml:
8840 * doc/images/bread-crumb-trail.png:
8841 * doc/images/calendar-popup.png:
8842 * doc/images/caption.png:
8843 * doc/images/code-dialog.png:
8844 * doc/images/color-button.png:
8845 * doc/images/color-chooser-dialog.png:
8846 * doc/images/color-chooser.png:
8847 * doc/images/controlbar.png:
8848 * doc/images/date-editor.png:
8849 * doc/images/font-selection-dialog.png:
8850 * doc/images/get-password-dialog.png:
8851 * doc/images/hvolumebar.png:
8852 * doc/images/login-dialog.png:
8853 * doc/images/note.png:
8854 * doc/images/number-editor.png:
8855 * doc/images/range-editor.png:
8856 * doc/images/seekbar.png:
8857 * doc/images/set-password-dialog.png:
8858 * doc/images/sort-dialog.png:
8859 * doc/images/time-editor.png:
8860 * doc/images/time-picker.png:
8861 * doc/images/vvolumebar.png:
8862 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8863 Adding the bread-crumb-trial and helpers to the documentation.
8865 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8867 * examples/hildon-find-toolbar-example.c:
8868 * src/hildon-find-toolbar.c:
8869 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8870 actually continue firing the other handlers if connected. Adding a new
8872 hildon_find_toolbar_get_last_index that gets the index of the most
8873 recently added (last) item. Fixes: NB#52301.
8875 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8877 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8878 behaviour. Fixes: NB#68610.
8880 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8882 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8885 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8887 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8888 when realizing the banner. Should make the infonbanner effect a bit more
8891 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8893 * src/hildon-volumebar.c:
8894 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8895 hildon_volumebar_set_range_insensitive_message and
8896 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8898 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8900 * src/hildon-window.c: Fixing the border freeing on destroy.
8902 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8904 * src/hildon-code-dialog-private.h:
8905 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8906 kw keyboard support in HildonCodeDialog.
8908 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8914 * debian/changelog: Updating.
8916 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8918 * src/hildon-date-editor.c:
8919 * src/hildon-number-editor.c:
8920 * src/hildon-private.c:
8921 * src/hildon-private.h:
8922 * src/hildon-time-editor.c:
8923 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8924 handling in subclassed composite widgets. Fixes: NB#66628.
8926 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8928 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8929 from destroy_ callback as it introduces problems in async dbus signal
8930 handlers. Fixes NB#66673.
8932 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8934 * examples/hildon-hvolumebar-example.c:
8935 * src/hildon-volumebar.c: Improving the focus handling in the
8936 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8937 set_property accessor so that "mute" property can be actually set. I'm
8938 scared that nobody noticed it's totally broken.
8940 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8942 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8945 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8947 * src/hildon-calendar.c:
8948 * src/hildon-number-editor.c:
8949 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8950 matches the spec of 6 chars per second. Fixes: NB#60489.
8952 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8954 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8955 gtk_style_lookup_color sometime returns FALSE even though color was
8956 found and values were filled properly. Weird. Removing the warning for the
8959 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8961 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8962 expand vertically. Adding some extra space to the find toolbar buttons to
8963 make them thumbable. Fixes NB#66060.
8965 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8967 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8968 popup with "Ok" and "Cancel". Fixes NB#59299.
8970 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8972 * src/hildon-calendar.c: Process all window updates before executing next
8973 timeout. Fixes: NB#54146.
8975 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8981 * debian/changelog: Updating.
8983 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8985 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8986 the client event and ignore it, since we use the delete event to close
8989 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8991 * src/hildon-helper.c: Remove the bogus warning about color not being
8992 found. Fixes NB#58352.
8994 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8996 * examples/Makefile.am:
8997 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8998 HildonSeekbar widget inside a toolbar.
9000 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9002 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9003 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9004 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9005 don't want to be closed by non-temporary windows on map.
9007 Also use G_DEFINE_TYPE instead of manually typed code.
9009 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9016 * debian/rules: Updating.
9018 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9020 * examples/Makefile.am:
9021 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9022 bug NB#61128. Strangely it works.
9024 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9026 * src/hildon-date-editor.c: When the date editor entry has been changed
9027 but the numbers of characters < max, turn off the skip validation flag.
9028 Prevents a situation when we enter first a valid year and later re-write
9029 it with an invalid one. Fixes NB#60154.
9031 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9033 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9034 code dialog. Fixes NB#64355.
9036 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9038 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9039 switching the page. Fixes NB#49374.
9041 * examples/Makefile.am:
9042 * examples/hildon-wizard-dialog-example.c: Adding an example for
9043 HildonWizardDialog that shows how to handle manual sensitivity setting on
9046 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9050 * src/hildon-version.h.in:
9051 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9053 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9055 * src/hildon-volumebar.c: Updating the docs.
9057 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9063 * debian/changelog: Updating.
9065 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9067 * src/hildon-find-toolbar.c:
9068 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9069 selected item: hildon_find_toolbar_set_active,
9070 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9071 hildon_find_toolbar_get_active_iter . They correspond to respective
9072 GtkComboBox functions.
9074 * examples/Makefile.am:
9075 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9078 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9080 * examples/Makefile.am:
9081 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9084 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9085 when font size > 32 and we pack a focusable widget inside. Actually using
9086 the default response would work too, but since we don't show default
9087 response state in any way (no theming) it would not be visible to the
9088 user. Fixes NB#63430.
9090 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9092 * src/hildon-date-editor.c: Adding the missing variable setter in the
9093 set_property handler. Fixes NB#54182.
9095 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9097 * src/hildon-window.h: Changing the long key press time from 1500ms to
9098 800ms as requested in NB#63700. I have a bad feeling about this, let's
9099 see... Fixes NB#63700.
9101 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9103 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9104 hildon_time_picker_map, hildon_time_picker_realize,
9105 hildon_time_picker_style_set): Split the contents of map to more
9106 appropriate functions; set window decorations on realize and update
9107 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9109 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9114 * debian/changelog: Updating.
9116 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9118 * src/Makefile.am: fixed installation of the header files
9120 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9126 * debian/changelog: Updating.
9128 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9130 * configure.ac: Removing some remaining of --enable-xan.
9132 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9134 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9135 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9137 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9138 2.10.12-osso6 because the move-focus signal needs to be available in
9141 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * examples/Makefile.am:
9144 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9145 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9146 fine. Prolly NB#61128 is fixed now.
9148 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9150 * src/hildon-volumebar.c:
9151 * src/hildon-volumebar.h: Adding the
9152 hildon_volumebar_set_range_insensitive_message and
9153 hildon_volumebar_set_range_insensitive_messagef functions to set
9154 insensitive message on the slider of the volumebar. Fixes NB#61129.
9156 * examples/Makefile.am:
9157 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9158 test the new insensitive messsage functionality on HildonVolumebar.
9160 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9162 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9165 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9167 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9168 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9169 button on after clearing the trail.
9171 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9173 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9175 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9177 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9178 by splitting the installed headers in generated and non-generated groups. Use
9179 only the non-generated headers to create the hildon-enum-types.h file.
9181 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9183 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9185 * src/hildon-window.c: Hide the window before performing the destroy.
9186 Should make the app closing a little tiny bit more snappy.
9188 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9190 * src/hildon-seekbar.c: add gtkrange.h header
9191 * src/hildon-caption.c: remove unused variable
9193 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9195 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9198 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9204 * debian/changelog: Updating.
9206 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9208 * src/hildon-window.c (hildon_window_window_state_event,
9209 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9210 escape timeout on focus-out-event rather than notify::is-topmost; the
9211 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9213 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9215 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9216 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9218 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9220 * src/hildon-window: actually, you need to use the macro always, there's
9221 no private pointer in the instance structure. We should have cleaned this up
9222 when we had the chance...
9224 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9226 * src/hildon-window.c: do not get the private date from HildonWindow before
9227 it passes the g_return_if_fail check. Once it's passed the test, there's no
9228 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9229 if you are only going to access the data once. Whitespace cleanups.
9231 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9233 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9234 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9236 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9242 * debian/changelog: Updating.
9244 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9246 * src/hildon-window.c: When destroying the window, remove (if exists) the
9247 escape timeout handler. Fixes #NB59276.
9249 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9251 * src/hildon-banner.c: When realizing the widget, set the window
9252 transiency. Setting the transiency in the gobject constructor is not
9253 good, as the widget is not realized at that point. Fixes: #NB56624.
9255 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9257 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9258 Add padding for future expansions.
9260 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9262 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9263 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9264 will fake an activation on the previous to the last item of the trail, so
9265 the effect can be overrided by the developer as usual.
9266 Also change the callback for the back button to do the same thing, so its
9267 effect can be overrided too. Fixes: NB#58982
9269 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9271 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9272 HildonCaption. Fixes NB#52379.
9274 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9276 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9277 the internal state of the trail after the user has had the chance of executing
9278 his handler for the signal. Specifically, it may happen that the activated button
9279 is removed and the user still lets the default handler run. This would segfault
9282 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9284 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9285 scrollbar to the preview dialog. Fixes NB#54147.
9287 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9289 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9290 max/min year properties can be altered, so the client can modify it
9291 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9293 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9295 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9296 hildonlike by default. Fixing a problem with disappearing arrows when
9297 scrolling through months and years. Fixes NB#54127.
9299 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9301 * examples/hildon-date-editor-example.c: Adding error callback to the date
9304 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9310 * configure.ac: Updating.
9312 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9314 * configure.ac: Adding a special '--enable-xan' configure option that
9315 turns off the -Werror compilation setting. Usefull for development.
9317 * src/hildon-calendar.c:
9318 * src/hildon-number-editor.c:
9319 * src/hildon-time-picker.c: Adding the 5* multiplier to
9322 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9324 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9325 instead of g_object_ref + gtk_object_sink.
9327 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9333 * debian/changelog: Updating.
9335 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9337 * src/hildon-color-chooser-dialog.c:
9338 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9339 straight from Tommi labs.
9341 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9343 * examples/hildon-finger-example.c: Correcting the header file path.
9345 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9346 the changed signal. Fixes a small memory leak.
9348 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9352 * src/hildon-banner.c: Importing several usefull fixes from the
9353 ubuntu-mobile branch.
9355 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9357 * examples/Makefile.am:
9358 * examples/hildon-finger-example.c: Adding a finger-checking code
9361 * src/hildon-font-selection-dialog.c: Do not allocate the color
9362 structure using the g_new. Fixes NB#54061.
9364 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9366 * src/hildon-helper.c: Correcting tabs in file.
9368 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9370 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9371 control the visibility of the children.
9373 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9375 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9381 * debian/changelog: Updating.
9383 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9385 * src/hildon-bread-crumb-trail.c:
9386 (hildon_bread_crumb_trail_size_allocate):
9388 Make the back button always a square.
9390 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9392 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9393 from the .c file as it's a private file.
9395 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9397 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9398 uses slightly bigger height.
9400 * src/hildon-font-selection-dialog.c: Adding some checks before
9401 freeing memory in the font selection dialog.
9403 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9405 * src/hildon-font-selection-dialog.c: Adding a small check when
9408 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9409 buttons sensitivity on page switching.
9411 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9413 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9414 internal details of adding a bread crumb to the trail.
9416 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9422 * debian/changelog: Updating.
9424 * src/hildon-bread-crumb-trail.h:
9425 * src/hildon-bread-crumb.h: Changing the API guard to
9426 HILDON_ENABLE_UNSTABLE_API.
9428 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9436 * src/hildon-helper.h: Updating.
9438 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9446 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9450 * src/hildon-helper.h: Small fix to make the package actually compile.
9452 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9454 * src/hildon-bread-crumb-trail.h:
9455 * src/hildon-bread-crumb.h:
9457 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9458 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9460 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9462 * examples/hildon-bread-crumb-trail-example.c:
9464 * src/hildon-bread-crumb-trail.c:
9465 * src/hildon-bread-crumb-trail.h:
9466 * src/hildon-bread-crumb.c:
9467 * src/hildon-bread-crumb.h:
9468 * src/hildon-marshalers.list:
9469 * src/hildon-bread-crumb-widget.c:
9470 * src/hildon-bread-crumb-widget.h:
9472 Slight change in the widget design. The bread crumb trail API is
9473 unchanged, but HildonBreadCrumb is now an interface. A *private*
9474 implementation, hildon-bread-crumb-widget, is provided and used
9475 internally by the trail for the push_text/push_icon functions.
9477 The generic push API is still available, so anyone can implement
9478 and use its own bread crumb widget.
9480 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9482 * debian/rules: Fixing the shlibs.
9484 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9486 * src/hildon-banner.c: Fixing a problem with timed banners having
9487 their parrent destroyed before they are.
9489 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9491 * src/hildon-bread-crumb.c:
9492 * src/hildon-bread-crumb.h:
9494 Make the get_natural_size function a vfunc.
9496 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9498 * src/hildon-bread-crumb.c:
9499 * src/hildon-bread-crumb-trail.c:
9503 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9510 * debian/changelog: Updating for release.
9512 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9514 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9515 don't leak the pango layout.
9517 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9520 * examples/hildon-bread-crumb-trail-example.c:
9524 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9526 * debian/changelog: Removing the bug-fixed entries that were actually
9527 resolved as WONTFIX.
9529 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9532 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9534 * src/hildon-bread-crumb-trail.c:
9535 * src/hildon-bread-crumb-trail.h:
9536 * src/hildon-bread-crumb.c:
9537 * src/hildon-bread-crumb.h:
9541 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9543 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9544 until it's passed the type check.
9546 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9548 * examples/hildon-bread-crumb-trail-example.c
9552 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9554 * examples/Makefile.am
9555 * examples/hildon-bread-crumb-trail-example.c
9557 * src/hildon-bread-crumb-trail.c
9558 * src/hildon-bread-crumb-trail.h
9559 * src/hildon-bread-crumb.c
9560 * src/hildon-bread-crumb.h
9562 New HildonBreadCrumbTrail widget.
9564 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9566 * src/hildon-range-editor.c (hildon_range_editor_init),
9567 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9568 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9569 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9570 hildon_time_editor_class_init, hildon_time_editor_init),
9571 src/hildon-get-password-dialog.c (invalid_input,
9572 hildon_get_password_set_property, hildon_get_password_get_property,
9573 create_contents, hildon_get_password_dialog_set_max_characters),
9574 src/hildon-set-password-dialog.c (create_contents),
9575 src/hildon-date-editor.c (hildon_date_editor_init),
9576 src/hildon-login-dialog.c (hildon_login_dialog_init),
9577 src/hildon-number-editor.c (hildon_number_editor_init),
9578 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9579 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9580 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9581 configure option and adding the respective checks in the code.
9582 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9583 hildon_calendar_drag_data_received): fixed some build warnings.
9585 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9587 * debian/changelog: A 1.0.0 release notes.