1 2009-08-26 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_remove_timeouts): Adding this new function
5 with the code that removes the timeouts of the widget.
6 (hildon_pannable_area_dispose),
7 (hildon_pannable_area_unrealize): Use the new remove function to
8 stop timeouts when unrealizing and disposing.
9 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
10 calculation to avoid negative values in some cases.
12 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
14 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
16 * examples/hildon-check-button-example.c: (button_toggled_cb):
17 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
18 (hildon_check_button_set_active), (hildon_check_button_new),
19 (hildon_check_button_clicked), (hildon_check_button_class_init):
20 * hildon/hildon-check-button.h:
21 * hildon/hildon-set-password-dialog.c: (create_contents),
22 (hildon_set_password_response_change), (hildon_checkbox_toggled):
24 Revert "Make HildonCheckButton derive from GtkToggleButton"
26 2009-08-21 Alberto Garcia <agarcia@igalia.com>
30 * configure.ac: bump version
32 * debian/changelog: updates
34 2009-08-21 Alberto Garcia <agarcia@igalia.com>
36 * hildon/hildon-check-button.h
37 * hildon/hildon-check-button.c
38 (hildon_check_button_clicked, hildon_check_button_class_init):
39 Make HildonCheckButton derive from GtkToggleButton
40 (hildon_check_button_toggled, hildon_check_button_set_active)
41 (hildon_check_button_get_active):
42 Deprecate unnecessary HildonCheckButton API and use the
43 one from GtkToggleButton instead.
45 * hildon/hildon-set-password-dialog.c (create_contents)
46 (hildon_set_password_response_change, hildon_checkbox_toggled)
47 * examples/hildon-check-button-example.c (button_toggled_cb):
48 Update to use the GtkToggleButton API
50 Fixes: MB#4739 (HildonCheckButton should inherit from
53 Fixes: NB#132661 (HildonCheckButton should inherit from
56 2009-08-20 Alberto Garcia <agarcia@igalia.com>
58 * hildon/hildon-pannable-area.c
59 (hildon_pannable_area_class_init):
60 Increase default value of HildonPannableArea:velocity_max to 2000
62 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
64 2009-08-18 Alberto Garcia <agarcia@igalia.com>
68 * configure.ac: bump version
70 * debian/changelog: updates
72 2009-08-11 Alejandro G. Castro <alex@igalia.com>
74 * hildon/hildon-pannable-area.c
75 (hildon_pannable_area_size_allocate): Checked the scrollbars
76 before the first try when defining the layout, avoids two
77 allocations in some situations.
79 Fixes: NB#131794 (pannable area produces unnecessary allocations
80 causing performance problems)
82 2009-08-11 Alejandro G. Castro <alex@igalia.com>
84 * hildon/hildon-pannable-area.c
85 (hildon_pannable_area_button_press_cb),
86 (hildon_pannable_area_motion_notify_cb),
87 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
88 the spurious ref added in the copy, fixes leak of window.
90 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
91 if it's realized without showing and then deleted)
93 2009-08-10 Alberto Garcia <agarcia@igalia.com>
97 * configure.ac: bump version
99 * debian/changelog: updates
101 2009-08-06 Alberto Garcia <agarcia@igalia.com>
103 * examples/hildon-hvolumebar-timer-example.c
105 * hildon/hildon-banner.c
106 (hildon_banner_timeout, hildon_banner_ensure_timeout)
107 * hildon/hildon-calendar.c
108 (calendar_timer, start_spinning)
109 * hildon/hildon-color-chooser.c
110 (inline_limited_expose)
111 * hildon/hildon-date-editor.c
112 (hildon_date_editor_entry_focus_in)
113 (hildon_date_editor_entry_validate)
114 (hildon_date_editor_entry_select_all)
115 * hildon/hildon-note.c
117 * hildon/hildon-number-editor.c
118 (hildon_number_editor_button_pressed)
119 (hildon_number_editor_start_timer, do_mouse_timeout),
120 (add_select_all_idle, hildon_number_editor_select_all)
121 * hildon/hildon-time-editor.c
122 (hildon_time_editor_entry_focus_in)
123 (highlight_callback, hildon_time_editor_validate)
124 (hildon_time_editor_entry_select_all)
125 * hildon/hildon-time-picker.c
126 (hildon_time_picker_arrow_press)
127 (hildon_time_picker_key_repeat_timeout)
128 * hildon/hildon-window.c
129 (hildon_window_key_press_event)
130 (hildon_window_escape_timeout):
131 Replace all calls to g_idle_add/g_timeout_add with their
132 gdk_threads counterparts.
134 Fixes: NB#126198 (gdk-threads API should be used to install idle
135 and timeout handlers)
137 2009-08-06 Alejandro G. Castro <alex@igalia.com>
139 * hildon/hildon-pannable-area.c,
140 (hildon_pannable_area_class_init): Increased the overshooting max
141 speed to get a faster effect.
142 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
143 deceleration of the overshooting
144 (hildon_pannable_area_button_release_cb): Calculate initial
145 overshooting speed when finger on the screen using the distance to
146 launch the effect faster.
148 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
149 lists with slow row renderers)
151 2009-08-05 Alberto Garcia <agarcia@igalia.com>
153 * doc/hildon-sections.txt: Add new functions
155 2009-08-05 Alberto Garcia <agarcia@igalia.com>
157 * hildon/hildon-text-view.[ch]
158 * hildon/hildon-entry.[ch]:
159 Add deprecation guards around deprecated functions.
161 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
163 * hildon/hildon-app-menu.c: Remove leftover function declaration.
165 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
167 Remove the grab from HildonAppMenu
169 * hildon/hildon-app-menu.c:
170 Now hildon-desktop places a blocker window behind the menu to handle
171 its closing, so the grab is no longer needed. This simplifies its
172 implementation and allows the system blanking to succeed.
174 Fixes: NB#130910 (Screen gets unlocked when menu is open)
176 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
180 * configure.ac: bump version
182 * debian/changelog: updates
183 * debian/control: raise debian dependency on GTK+
185 2009-08-04 Alberto Garcia <agarcia@igalia.com>
187 * hildon/hildon-text-view.c
188 * hildon/hildon-entry.c:
189 Remove all placeholder code from HildonEntry and HildonTextView
190 and use the API in GtkEntry and GtkTextView instead.
192 * examples/hildon-entry-example.c
193 * examples/hildon-text-view-example.c
194 * examples/hildon-wizard-dialog-example.c
195 * hildon/hildon-get-password-dialog.c
196 * hildon/hildon-login-dialog.c
197 * hildon/hildon-picker-dialog.c
198 * hildon/hildon-set-password-dialog.c
199 * hildon/hildon-touch-selector-entry.c:
200 Replace all deprecated calls to HildonEntry and HildonTextView
201 with their Gtk counterparts.
203 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
206 2009-08-03 Alejandro G. Castro <alex@igalia.com>
208 * hildon/hildon-pannable-area.c,
209 (hildon_pannable_area_check_move),
210 (hildon_pannable_area_button_release_cb),
211 (hildon_pannable_area_scroll_to): Reverted the priority change of
212 the timeout, in some situations, slow renderers, the click do not
213 make it to the mainloop on time.
215 Fixes NB#131013 (unable to stop panning file manager by tapping on
218 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
220 * configure.ac: bump version
222 * debian/changelog: updates
224 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
226 * hildon/hildon-touch-selector.[ch]
227 (hildon_touch_selector_center_on_index): New method that allows to center
228 on a item not selected
230 Fixes NB#130291 (New HildonTouchSelector API is required to center on
233 2009-07-29 Alberto Garcia <agarcia@igalia.com>
235 * hildon/hildon-text-view.c
236 (+set_logical_color, +hildon_text_view_style_set)
237 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
238 (hildon_text_view_init)
239 * hildon/hildon-entry.c
240 (+set_logical_color, +hildon_entry_style_set)
241 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
242 (hildon_entry_class_init, hildon_entry_init)
243 * hildon/hildon-button.c
244 (+set_logical_font, +set_logical_color)
245 (hildon_button_style_set, hildon_button_init)
246 (hildon_button_set_arrangement, hildon_button_set_style):
247 Remove all calls to hildon_helper_set_logical_font() and
248 hildon_helper_set_logical_color(), which are recursive, from
251 Fixes: NB#123409 (Showing dialog consumes significant amount of
254 2009-07-29 Alejandro G. Castro <alex@igalia.com>
256 * hildon/hildon-pannable-area.c,
257 (hildon_pannable_area_timeout): Added the process updates of the
258 scrollbars window in the pannable.
260 Fixes: NB#130043 (scrollindicator not smooth while panning)
262 2009-07-23 Alejandro G. Castro <alex@igalia.com>
264 * hildon/hildon-pannable-area.c,
265 (hildon_pannable_area_check_move),
266 (hildon_pannable_area_button_release_cb),
267 (hildon_pannable_area_scroll_to): Increased the priority of the
268 timeout this way it is going to be handled before the events.
270 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
274 * configure.ac: bump version
275 * debian/changelog: updates
277 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
279 * hildon/hildon-entry.c: (set_property): Do not allow to set
280 automatic height and use finger height instead, to prevent an to
281 have a smaller size than than its theme pixbuf.
283 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
285 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
287 * configure.ac: postrelease version bump.
288 * debian/changelog: post release version bump
290 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
295 * configure.ac: Bump version.
296 * debian/changelog: Updates.
298 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
300 * hildon/hildon-note.c: (label_size_request): Take the note
301 padding into account when setting the size request.
303 Fixes: NB#127896 (Information notes text truncated)
305 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
307 * configure.ac: postrelease version bump.
308 * debian/changelog: post release version bump
310 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
315 * configure.ac: Bump version.
316 * debian/changelog: Updates.
318 2009-07-16 Alejandro G. Castro <alex@igalia.com>
321 * hildon/hildon-text-view.c,
322 (hildon_text_view_button_press_event): Grabbed the focus in button
323 press, this way we are sure the widget has the focus in the
324 release event, required for HIM.
326 Fixes: NB#121445 (Virtual keyboard opening is not working in same
327 way for each text entry field)
329 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
331 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
332 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
333 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
334 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
335 (hildon_pannable_area_[gs]et_center_on_child_focus)
336 Redefined GtkContainer set-focus-child signal, in order to center
337 properly on a child when it receives the focus. Defined a new property
338 "center-on-child-focus" in order to activate this feature (deactivated
339 by default). Public get/set methods defined to manage the property.
341 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
343 2009-07-14 László Pere <lpere@blumsoft.eu>
345 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
346 the new size is applied.
348 Fixes: NB#124510 (The Application Menu is distorted when switched
349 between portrait and landscape mode)
350 Fixes: NB#115388 (Power key menu does not resize itself)
352 2009-07-01 Alberto Garcia <agarcia@igalia.com>
354 * hildon/hildon-banner.c (hildon_banner_map):
355 Set banner position after mapping.
357 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
359 * configure.ac: postrelease version bump.
360 * debian/changelog: post release version bump
362 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
367 * configure.ac: Bump version.
368 * debian/changelog: Updates.
370 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
372 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
375 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
377 * tests/check-hildon-banner.c
379 * tests/test_suites.h
380 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
381 were testing deprecated functions.
382 * examples/hildon-banner-example.c: typo on button3 type, that causes
383 a fail compiling with --with-examples but without --disable-deprecated
385 Missed commit in order to fix compilation using '--enable-fatal' and
386 '--disable-deprecated' (see previous commit)
388 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
390 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
391 functions with #ifndef HILDON_DISABLE_DEPRECATED
392 * examples/hildon-find-toolbar.c: Protect deprecated
393 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
394 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
395 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
396 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
398 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
399 to allow proper compilation of deprecated functions defined on the header
401 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
403 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
405 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
406 Cache the panning indicator color.,
407 (hildon_pannable_area_style_set): Query the color on style changes.
408 (hildon_pannable_draw_vscroll),
409 (hildon_pannable_draw_hscroll),
410 (hildon_pannable_area_expose_event): Use the cached panning indicator
411 color instead of looking it up on every expose and more.
413 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
415 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
416 (hildon_pannable_draw_hscroll),
417 (hildon_pannable_area_expose_event): Fix the panning indicator color,
418 so that it's "SecondaryTextColor", as desired.
420 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
422 * hildon/hildon-picker-dialog.c:
423 (selection_completed): take into account HILDON_UI_MODE_NORMAL
424 * hildon/hildon-touch-selector.c
425 (hildon_touch_selector_init): Initialize hildon-ui-mode
426 (hildon_touch_selector_row_activated): new callback for the
427 "row-activated" signal, in order to save the last activated
428 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
429 if the current hildon-ui-mode is coherent with the touch selector
430 (hildon_touch_selector_class_init)
431 (hildon_touch_selector_get_property)
432 (hildon_touch_selector_set_property)
433 Added "hildon-ui-mode" property
434 (disconnect_model_handlers): renamed to clean_column
435 (hildon_touch_selector_remove): use clean_column function
436 (_create_new_column): use the hildon-ui-mode to create the treeview, and
437 only select the first element on HILDON_UI_MODE_EDIT
438 (hildon_touch_selector_column_init): Initialize last_activate
439 (hildon_touch_selector_append_column): check that the touch selector
440 is coherent with the current hildon-ui-mode
441 (hildon_touch_selector_get_hildon_ui_mode)
442 (hildon_touch_selector_set_hildon_ui_mode)
443 Added a getter/setter for the hildon-ui-mode property
444 (hildon_touch_selector_get_last_activated_row): Added this method in
445 order to get the last activated row.
446 * examples/hildon-touch-selector-normal-mode-example.c
447 New example, that shows how to use the HildonTouchSelector in
448 HILDON_UI_MODE_NORMAL
450 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
451 Kristian Rietveld <kris@lanedo.com> advices
453 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
455 * hildon/hildon-time-selector.c: (update_format_policy): Do
456 not call update_format_dependant_columns() if not necessary.
457 (update_format_dependant_columns): Remove unnecessary check for
458 the number of columns.
460 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
462 * hildon/hildon-note.c (+hildon_note_constructor),
463 (hildon_note_class_init), (+hildon_note_set_padding),
464 (hildon_note_rebuild): Install a constructor where to set the
465 padding properties in the note, so that it actually works fine.
466 Use hildon_note_set_padding() for this, and also to set it during
469 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
471 * configure.ac: Bump GTK+ requirement to 2.14.3.
472 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
473 when using maemo-gtk to define proper margins for the notes.
475 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
476 with the dialog edge)
478 2009-06-24 Alberto Garcia <agarcia@igalia.com>
480 * hildon/hildon-banner.c
481 (hildon_banner_class_init):
483 (+hildon_banner_size_request):
484 Request always the full width of the screen.
485 (hildon_banner_realize)
486 (-hildon_banner_check_position, hildon_banner_map):
487 hildon_banner_check_position() is not needed in Hildon 2.2.
488 (-hildon_banner_reset_wrap_state)
489 (hildon_banner_constructor, hildon_banner_init):
490 Remove unnecessary calls to hildon_banner_reset_wrap_state()
491 (+banner_do_set_text)
492 (force_to_wrap_truncated):
493 Remove has_been_wrapped and has_been_truncated attributes.
494 (+reshow_banner, hildon_banner_real_show_information)
495 (hildon_banner_show_information_with_markup)
496 (hildon_banner_show_animation, hildon_banner_show_progress)
497 (hildon_banner_set_text, hildon_banner_set_markup):
498 Refactor code. Shrink banner vertically to use the minimum space
499 necessary everytime the text of the label is updated.
500 (screen_size_changed):
501 Call force_to_wrap_truncated() when the size of the screen
504 Fixes: NB#120500 (only device memory connect mmc in use info
505 banner is left aligned)
507 Fixes: NB#120613 (Size of HildonBanner varies depending on
508 previously opened banners)
510 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
512 * hildon/hildon-color-chooser.c
513 (hildon_color_chooser_pointer_motion): Take the widget allocation
516 Fixes: NB#124385 (Unable to select exact point in color mixing box
517 in color palette dialog)
519 2009-06-23 Alejandro G. Castro <alex@igalia.com>
521 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
522 (hildon_pannable_area_dispose)
523 (hildon_pannable_area_button_press_cb)
524 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
525 (hildon_pannable_area_button_release_cb)
526 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
527 New 'panning-started' and 'panning-finished' signals.
529 Fixes: NB#121732 (New feature request: Signal to pannable area
530 that informs when panning is stopped.)
532 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
534 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
535 instead of hardcoded colon.
537 Fixes: NB#124090 (New calendar wizard title is not using
538 ecdg_ti_caption_separator)
540 2009-06-22 David King <davidk@openismus.com>
542 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
543 constants and functions, as well as correct many typos throughout the
546 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
549 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
551 * configure.ac: postrelease version bump.
552 * debian/changelog: post release version bump
554 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
559 * configure.ac: Bump version.
560 * debian/changelog: Updates.
562 2009-06-18 Alberto Garcia <agarcia@igalia.com>
564 * hildon/hildon-window-stack.c
565 (hildon_window_stack_pop_and_push_list):
566 Prevent windows from having the same stack index
568 2009-06-18 Alberto Garcia <agarcia@igalia.com>
570 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
571 Use the index of the previous window rather than the stack length
572 to calculate the new index.
576 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
578 * hildon/hildon-date-selector.c
579 (hildon_date_selector_select_current_date)
580 (hildon_date_selector_get_date)
581 (hildon_date_selector_select_day):
582 Update the documentation: uses always the range (1-31), as it is obvious
583 that the final one will depend on the month and the year, but globally
584 the range is this, in a similar GtkCalendar approach
585 (hildon_date_selector_get_date):
586 Update the documentation: add NULL as a valid value for the day, month
589 Fix some details, after talk with David King on bug MB#4698
591 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
593 * hildon/hildon-touch-selector-entry.c
594 * hildon/hildon-touch-selector.c
595 Update the documentation of the "text-column" property
597 2009-06-18 David King <davidk@openismus.com>
599 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
600 several typos and errors throughout the documentation.
602 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
605 2009-06-18 Alberto Garcia <agarcia@igalia.com>
607 * hildon/hildon-note.c (hildon_note_realize):
608 Make HildonNote support portrait mode.
610 Fixes: NB#123448 (HildonNote is not portrait-friendly)
612 2009-06-17 Alberto Garcia <agarcia@igalia.com>
614 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
615 Document this function
617 2009-06-17 David King <davidk@openismus.com>
619 * hildon/hildon-date-selector.c
620 (hildon_date_selector_select_current_date)
621 (hildon_date_selector_get_date): Update documentation regarding days,
622 as the day of the month is dependent on both the month and the year.
623 (hildon_date_selector_get_date): Fix documentation of output arguments.
625 Fixes: MB#4698 (DateSelector documentation has bad output argument
626 description, and the day depends on both the month and the year)
628 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
630 * hildon/hildon-caption.c: Other documentation fixes to
633 2009-06-17 David King <davidk@openismus.com>
635 * hildon/hildon-caption.c: Minor documentation updates for
636 HildonCaption. Fixes MB#4697.
638 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
640 * doc/hildon-docs.sgml: Add hildon-version section.
641 * doc/hildon-sections.txt:
642 * hildon/hildon-version.h.in: Document versioning macros and
645 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
647 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
648 from HildonPickerDialog section.
650 2009-06-16 Alberto Garcia <agarcia@igalia.com>
652 * hildon/hildon-banner.c (hildon_banner_bind_style)
653 (screen_size_changed, hildon_banner_init)
654 (hildon_banner_real_show_information)
655 (hildon_banner_show_information_with_markup)
656 (hildon_banner_show_animation, hildon_banner_show_progress):
657 Set a different widget name to banners in portrait mode, for them
658 to be themed correctly.
660 2009-06-16 Alberto Garcia <agarcia@igalia.com>
662 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
663 Set a different widget name to notes in portrait mode, for them to
666 Partially fixes: NB#118401 (HildonNote causes unnecessary
669 2009-06-16 Alberto Garcia <agarcia@igalia.com>
671 * hildon/hildon-note.c (hildon_note_class_init)
672 (+hildon_note_size_request, screen_size_changed):
673 Always request the full width of the screen.
675 Fixes: NB#118375 (unnecessary rescaling of images)
677 2009-06-16 Alejandro G. Castro <alex@igalia.com>
679 * hildon/hildon-pannable-area.c,
680 (hildon_pannable_area_init),
681 (hildon_pannable_area_realize): Replaced old code adding flags in
682 the object init, now we add it with the other flags in the realize
685 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
687 * hildon/hildon-note.c: (hildon_note_class_init): Several
688 documentation improvements to the HildonNote widget.
690 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
692 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
694 Fixes: MB#4556 (HildonNoteType is undocumented)
696 2009-06-15 Alberto Garcia <agarcia@igalia.com>
698 * hildon/hildon-picker-button.c:
699 Explain how HildonPickerButton sets the title of its dialog
701 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
702 the title of its dialog)
704 2009-06-15 Alberto Garcia <agarcia@igalia.com>
706 * hildon/hildon-check-button.c:
707 Documentation updates
709 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
712 2009-06-15 Alberto Garcia <agarcia@igalia.com>
715 * hildon/hildon-edit-toolbar-private.h
716 * hildon/hildon-edit-toolbar.c
717 (+hildon_edit_toolbar_set_progress_indicator)
718 (hildon_edit_toolbar_init): Add progress indicator to the
721 * hildon/hildon-gtk.c
722 (hildon_gtk_window_set_progress_indicator):
723 If the window contains a HildonEditToolbar, enable the progress
726 * hildon/hildon-private.h
727 * hildon/hildon-private.c
728 (+hildon_private_create_animation)
729 * hildon/hildon-banner.c
730 (-hildon_banner_create_animation):
731 Moved to hildon-private.c
733 Fixes: NB#102373 (Progress indicator also for the Edit mode
736 2009-06-15 Alberto Garcia <agarcia@igalia.com>
738 * hildon/hildon-app-menu-private.h
739 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
740 (hildon_app_menu_add_filter, +menu_item_button_event)
741 (hildon_app_menu_button_release, hildon_app_menu_init):
742 Make sure that buttons receive 'button-release-event' in spite of
743 the grab held by HildonAppMenu
745 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
747 2009-06-15 Alberto Garcia <agarcia@igalia.com>
749 * hildon/hildon-app-menu.c
750 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
751 New style property to set the size of the group of filter buttons.
753 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
755 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
760 * configure.ac: Bump version.
761 * debian/changelog: Updates.
763 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
765 * hildon/hildon-main.c: Minor documentation fixes.
767 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
769 * doc/hildon-sections.txt:
770 * hildon/hildon-defines.h: Document the defines, organize them,
771 and mark deprecations as such.
773 Fixes: MB#4463 (Hildon size #defines are undocumented)
775 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
777 * hildon/hildon-animation-actor.c:
778 * hildon/hildon-app-menu.c:
779 * hildon/hildon-button.c:
780 * hildon/hildon-date-editor.c:
781 * hildon/hildon-dialog.c:
782 * hildon/hildon-edit-toolbar.c:
783 * hildon/hildon-entry.c:
784 * hildon/hildon-program.c:
785 * hildon/hildon-remote-texture.c:
786 * hildon/hildon-stackable-window.c:
787 * hildon/hildon-text-view.c:
788 * hildon/hildon-touch-selector.c:
789 * hildon/hildon-window-stack.c:
790 * hildon/hildon-window.c:
792 Remove redundant "represents" wording from most of the documentation.
794 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
796 2009-06-12 Alberto Garcia <agarcia@igalia.com>
801 * hildon/hildon-banner-private.h
802 * hildon/hildon-banner.c:
803 Move HildonBannerPrivate to hildon-banner.c and remove
804 hildon-banner-private.h
805 Use a bit field to store private booleans.
807 2009-06-12 Alberto Garcia <agarcia@igalia.com>
809 * hildon/hildon-app-menu.c (hildon_app_menu_map):
810 Don't install a new idle function if there's already one
815 2009-06-11 Alberto Garcia <agarcia@igalia.com>
817 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
818 (+legacy_menu_realized, +legacy_menu_unmapped)
819 (+set_legacy_menu_type):
820 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
821 they can be identified by the window manager.
823 Fixes: NB#101437 (Invoking CSM on the left side of page area is
824 displayed in wrong location)
826 Fixes: MB#4563 (Popup menu won't locate at the left side of the
829 2009-06-11 Alberto Garcia <agarcia@igalia.com>
831 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
833 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
836 2009-06-11 Alberto Garcia <agarcia@igalia.com>
838 * hildon/hildon-code-dialog.c
839 * hildon/hildon-date-editor.c
840 * hildon/hildon-number-editor.c
841 * hildon/hildon-seekbar.c
842 * hildon/hildon-stackable-window.c
843 * hildon/hildon-window.c:
844 Misc documentation updates
846 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
848 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
849 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
851 Fixes: NB#117931 (Theming issues in accounts dialogs)
853 2009-06-09 Alejandro G. Castro <alex@igalia.com>
855 * hildon/hildon-pannable-area.c,
856 (hildon_pannable_area_button_release_cb): Changed the coordinates
857 of the original release in case we want to discard the release,
858 some widgets in Fremantle do not handle the leave-notify.
860 2009-06-09 Alejandro G. Castro <alex@igalia.com>
862 * hildon/hildon-pannable-area.c,
863 (hildon_pannable_area_button_release_cb): Reviewed the logic of
864 the release using the last refactored functions and avoiding the
865 movement if an element was selected.
867 2009-06-09 Alejandro G. Castro <alex@igalia.com>
869 * hildon/hildon-pannable-area.c,
870 (hildon_pannable_area_check_move),
871 (hildon_pannable_area_handle_move),
872 (hildon_pannable_area_motion_notify_cb): Refactored the
873 motion_notify method using a couple of new functions.
875 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
877 * hildon/hildon-date-selector.c:
878 (hildon_date_selector_construct_ui):
879 * hildon/hildon-time-selector.c:
880 (hildon_time_selector_constructor):
881 * hildon/hildon-touch-selector-entry.c:
882 (hildon_touch_selector_entry_set_text_column),
883 (hildon_touch_selector_entry_get_text_column):
884 * hildon/hildon-touch-selector.c: (_default_print_func),
885 (hildon_touch_selector_new_text): Use
886 hildon_touch_selector_set/get_text_column() instead of
887 setting/getting the "text-column" property.
889 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
891 * doc/hildon-sections.txt: Add the new public methods below.
893 * examples/hildon-picker-button-multicolumn-example.c:
894 (create_touch_selector):
895 * examples/hildon-touch-selector-example.c: (create_selector):
896 * examples/hildon-touch-selector-multi-cells-example.c:
898 Use hildon_touch_selector_column_set_text_column()
900 * hildon/hildon-touch-selector-column.h:
901 * hildon/hildon-touch-selector.c:
902 (hildon_touch_selector_column_set_text_column),
903 (hildon_touch_selector_column_get_text_column):
904 Make hildon_touch_selector_column_set/get_column() public, use
905 them in the inline example, document them, and reference to them
908 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
910 * hildon/hildon-time-selector.c: Fix the docs for
911 hildon_time_selector_new_step().
913 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
915 * hildon/hildon-touch-selector.c: Improve the documentation for
916 hildon_touch_selector_append_column().
918 Fixes MB#4641 (Documentation:
919 hildon_touch_selector_append_column() ref-counting)
921 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
923 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
924 Comment out test 5, since the hildon_controlbar_set_range() range
925 check is broken and fixing it would have side effects. Also,
926 this finally fixes make distcheck.
928 Fixes: NB#101420 (Update unit tests and fix make distcheck)
930 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
932 * tests/TEST-CASES.txt: Remove other bogus test.
933 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
934 Remove bogus test that was setting/retrieving a valid value.
936 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
938 * tests/TEST-CASES.txt: Remove bogus tests.
939 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
940 Remove three bogus tests that were actually setting valid colors.
942 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
944 * configure.ac: post release version bump
945 * debian/changelog: post release version bump
947 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
952 * configure.ac: Bump version.
953 * debian/changelog: Updates.
955 2009-06-08 Christian Dywan <christian@lanedo.com>
959 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
960 Correct errors in hildon_format_file-size_for_display and use
961 translations from the hildon-fm package instead of osso-filemanager.
963 2009-06-08 Alejandro G. Castro <alex@igalia.com>
965 * hildon/hildon-pannable-area.c,
966 (hildon_pannable_area_init): Initialized new values to handle the
968 (hildon_pannable_area_adjust_value_changed): Check if the values
969 changed before even call the redraw function.
970 (hildon_pannable_area_size_allocate),
971 (hildon_pannable_axis_scroll),
972 (hildon_pannable_area_scroll),
973 (hildon_pannable_area_jump_to): Improved the diagonal movement
976 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
979 2009-06-08 Alberto Garcia <agarcia@igalia.com>
981 * examples/hildon-banner-example.c:
982 Several style updates
983 (on_animation_clicked, on_animation_idle)
984 (on_progress_clicked, on_progress_idle):
985 Add additional reference for the cases when the parent window is
988 2009-06-08 Alberto Garcia <agarcia@igalia.com>
990 * doc/hildon-sections.txt
991 * hildon/hildon-pannable-area.c
992 * hildon/hildon-banner.h
993 * hildon/hildon-banner.c: Documentation updates.
995 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
998 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1000 * hildon/hildon-calendar-popup.h:
1001 * hildon/hildon-caption.h:
1002 * hildon/hildon-code-dialog.h:
1003 * hildon/hildon-controlbar.h:
1004 * hildon/hildon-date-editor.h:
1005 * hildon/hildon-dialog.h:
1006 * hildon/hildon-get-password-dialog.h:
1007 * hildon/hildon-hvolumebar.h:
1008 * hildon/hildon-login-dialog.h:
1009 * hildon/hildon-note.h:
1010 * hildon/hildon-number-editor.h:
1011 * hildon/hildon-range-editor.h:
1012 * hildon/hildon-seekbar.h:
1013 * hildon/hildon-set-password-dialog.h:
1014 * hildon/hildon-sort-dialog.h:
1015 * hildon/hildon-time-editor.h:
1016 * hildon/hildon-time-picker.h:
1017 * hildon/hildon-volumebar-range.h:
1018 * hildon/hildon-volumebar.h:
1019 * hildon/hildon-vvolumebar.h:
1020 * hildon/hildon-weekday-picker.h:
1021 * hildon/hildon-window.h:
1022 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1023 macros with the current replacements
1025 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1027 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1029 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1030 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1031 itself, to make it fit better with Fremantle style.
1033 Fixes: NB#109878 (height and width of focus on color icon is not
1034 consistent with other item in the application tool bar)
1036 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1038 * hildon/hildon-touch-selector.c:
1039 (hildon_touch_selector_optimal_size_request): use the current requisition
1040 as the base, in order to include any possible extra widget, like the
1041 hildon entry on HildonTouchSelectorEntry
1043 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1045 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1047 * configure.ac: post release version bump
1048 * debian/changelog: post release version bump
1050 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1055 * configure.ac: Bump version.
1056 * debian/changelog: Updates.
1058 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1060 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1062 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1063 to ensure the banner contents are centered, instead of relying on
1064 the expand and fill properties in GtkHBox.
1065 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1067 Fixes: NB#108265 (Animation banner not properly centered)
1069 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1071 * hildon/hildon-pannable-area.c
1072 (hildon_pannable_area_initial_effect): Remove the initial_effect
1073 management, check initial_hint
1074 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1075 set initial_effect to FALSE
1076 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1077 by launching the fade_timeout if the scrollbars state has changed and are
1079 * examples/hildon-pannable-area-initial-hint-example.c
1080 Modified to allow to remove rows too. Add and remove rows one by one.
1082 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1084 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1085 Don't close the menu if there's an animation actor below it.
1087 Fixes: NB#117927 (Application menu not usable with animation
1090 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1092 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1093 "focus-on-click" from the dialog button, to avoid stealing the
1094 focus from the entry.
1096 Fixes: NB#118903 (Account setup wizard: Text in Search field
1097 should be focused when "Region" touch list picker is reopened
1100 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1102 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1103 (prepare_action_area): Completely hide the dialog separator.
1105 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1107 * hildon/hildon-touch-selector-entry.c
1108 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1109 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1110 now that the entry is exposed.
1112 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1114 * hildon/hildon-touch-selector-entry.c
1115 (hildon_touch_selector_entry_init): Change the entry's size
1116 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1118 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1120 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1121 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1122 avoid unnecessary scaling.
1124 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1126 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1127 Create grab transfer window before calling parent's map function.
1129 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1130 "crushed" button(s) in the top left corner)
1132 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1134 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1135 Check if the window is already realized when pushing it.
1137 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1139 * configure.ac: post release version bump
1140 * debian/changelog: post release version bump
1142 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1147 * configure.ac: Bump version.
1148 * debian/changelog: Updates.
1150 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1152 * hildon/hildon-app-menu.c: Doc updates.
1154 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1156 * hildon/hildon-banner.c: Remove leftover macro.
1158 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1160 * hildon/hildon-pannable-area.c,
1161 (hildon_pannable_area_scroll_indicator_fade),
1162 (hildon_pannable_area_button_release_cb): Reviewed vmin
1163 conditions, it could cause problems in the fadeout procedure.
1165 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1167 * hildon/hildon-pannable-area.c
1168 (hildon_pannable_area_button_release_cb): Added a threshold to
1169 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1171 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1173 * hildon/hildon-pannable-area.c,
1174 (hildon_pannable_area_set_property): Added code to sync the gtk
1175 dnd threshold with the panning threshold.
1177 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1179 * hildon/hildon-pannable-area.c,
1180 (hildon_pannable_area_class_init): Changed some of the default
1181 values, now it should be less responsive and more accurate.
1183 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1185 * hildon/hildon-pannable-area.c,
1186 (hildon_pannable_area_init),
1187 (hildon_pannable_area_scroll_indicator_fade),
1188 (hildon_pannable_area_button_press_cb),
1189 (hildon_pannable_axis_scroll),
1190 (hildon_pannable_area_timeout),
1191 (hildon_pannable_area_motion_notify_cb),
1192 (hildon_pannable_area_button_release_cb): Changed the name of the
1193 clicked attribute to button_pressed, it is more clear about its use.
1195 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1197 * src/hildon-pannable-area.c
1198 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1200 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1201 vertical scrollbar visibility, and use the data on private section instead,
1202 remove the initial_hint check
1203 (hildon_pannable_area_expose_event): add the initial_hint check here
1205 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1207 * src/hildon-pannable-area.c
1208 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1209 if the fadeout effect was used
1210 (hildon_pannable_area_expose_event): check if it is required to
1211 manage the initial effect on the begining of the function. Previously
1212 it was made at the end, but this doesn't ensure that the scrollbars
1213 will be painted on the first show. Do not set to FALSE initial_effect,
1214 to ensure that the initial hint is showed the first time the pannable
1216 * examples/Makefile.am
1217 * examples/hildon-pannable-area-initial-hint-example.c:
1218 New example, to show that the initial-hint is showed when the widget
1221 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1222 initially if the application can be scrolled)
1224 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1226 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1227 Resize table before adding new items to make sure that
1228 gtk_table_resize() is called just once.
1230 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1232 * hildon/hildon-app-menu-private.h
1233 * hildon/hildon-app-menu.c (item_visibility_changed)
1234 (filter_visibility_changed, hildon_app_menu_show_all)
1235 (hildon_app_menu_hide_all, hildon_app_menu_init):
1236 Rearrange items just once when gtk_widget_show_all()/hide_all()
1239 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1241 * hildon/hildon-app-menu.c
1242 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1243 Don't call gtk_widget_show() on added items.
1245 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1246 automatically when they're added)
1248 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1250 * hildon/hildon-banner.c
1251 (hildon_banner_realize, +hildon_banner_unrealize)
1252 (+screen_size_changed, hildon_banner_class_init):
1253 Redisplay the banner if the screen is rotated.
1255 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1256 on transition from landscape to portrait)
1258 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1260 * hildon/hildon-banner.[ch]:
1261 (hildon_banner_show_information_override_dnd): remove icon_name from the
1262 method definition as it is ignored.
1263 * examples/hildon-banner-dnd-example.c: updated with the change on
1266 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1268 * hildon/hildon-banner-private.h: new require_override_dnd and
1269 overrides_dnd variables
1270 * hildon/hildon-banner.h:
1271 (hildon_banner_show_information_override_dnd): new method, that shows
1272 the information but sets the override flag, in order to show important
1274 * hildon/hildon-banner.c
1275 (hildon_banner_show_information_override_dnd): new method
1276 (hildon_banner_set_override_flag): new utility function
1277 (hildon_banner_real_show_information): new utility function, in order to
1278 generalize the current hildon_banner_show_information_override_dnd and
1279 hildon_banner_show_information_override_dnd
1280 * examples/Makefile.am
1281 * examples/hildon-banner-dnd-example.c: New example that show how to
1282 use the new hildon_banner_show_information_override_dnd
1284 Fixes: NB#114874 (There is no possibility to show hildon banners with
1287 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1289 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1290 behind hildon_pannable_calculate_vel_factor().
1292 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1294 * hildon/hildon-pannable-area.c
1295 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1296 deceleration factors.
1298 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1300 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1301 Reduce the default value for 'scroll_time' to 1 second, since the
1302 current initial scrolling takes too much time.
1304 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1306 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1307 calculate velocity factor during initialization, since the properties
1310 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1312 * hildon/hildon-pannable-area.c
1313 (hildon_pannable_area_set_property): Calculate the velocity factor
1314 after setting the deceleration property and not after.
1316 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1318 * hildon/hildon-entry.c
1319 (hildon_entry_class_init, +set_property, hildon_entry_new)
1320 * hildon/hildon-check-button.c
1321 (hildon_check_button_class_init)
1322 (+set_property, hildon_check_button_new):
1323 Make the theme size a property.
1325 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1326 others) do too much in the _new function)
1328 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1330 * configure.ac: post release version bump
1331 * debian/changelog: post release version bump
1333 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1338 * configure.ac: Bump version.
1339 * debian/changelog: Updates.
1341 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1343 * hildon/hildon-gtk.h
1344 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1345 New API function to take a screenshot of a window
1347 Fixes: NB#106374 (Need API to take a loading screenshot)
1349 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1351 * hildon/hildon-time-selector.c
1352 (update_format_policy): prevent to use hours and minutes unitialized
1354 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1356 * hildon/hildon-window.c (hildon_window_size_request):
1357 Always request the full size of the screen (minus the title bar if
1358 not in fullscreen mode).
1360 Fixes: NB#107486 (HildonWindow should size itself properly)
1362 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1364 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1365 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1366 (on_show_cb), (sound_handling): Disconnect the idle handler for
1367 the sound when the note is finalized to avoid possible crashes.
1369 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1372 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1374 * src/hildon-animation-actor.c,
1375 * src/hildon-remote-texture.c:
1376 Added proper object cleanup to remove signal handler and object
1377 references as HildonAnimationActor and HildonRemoteTexture
1378 objects get destroyed.
1380 Fixes: NB#116682 (Destroying parented animation actors when
1381 parent in unmapped leads to crash)
1383 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1385 Based on a patch by Christian Dywan (christian@imendio.com)
1387 * doc/hildon-sections.txt:
1388 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1389 * hildon/hildon-helper.h: New file size formatting method.
1391 * debian/control: Depend on osso-filemanager l10n package for
1392 proper localization strings.
1394 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1396 * tests/Makefile.am: Include top_srcdir to make possible to build
1397 tests in a different builddir.
1398 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1399 on a different builddir.
1401 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1403 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1404 (hildon_touch_selector_remove): Disconnect model's signal handler
1407 Fixes: NB#116289 (Hildon home crashes while adding task
1410 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1412 * hildon/hildon-button.c
1413 (hildon_button_set_title, hildon_button_set_value):
1414 Hide labels containing an empty string.
1416 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1418 * configure.ac: post release version bump
1419 * debian/changelog: post release version bump
1421 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1426 * configure.ac: Bump version.
1427 * debian/changelog: Updates.
1429 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1431 * hildon/hildon-note-private.h: Removed sound_signal_handler
1432 * hildon/hildon-note.c
1433 (on_show_cb): new callback on note "show" event, this simply adds
1434 a idle, with the function sound_handling
1435 (sound_handling): removed the sound_signal_handler management
1436 (hildon_note_init): connect note "show" event to on_show_cb
1437 (hildon_note_realize): remove the connection to "expose-event"
1439 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1440 device?' confirmation note)
1442 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1444 * hildon/hildon-note.c
1445 (hildon_note_new_information_with_icon_name)
1446 (hildon_note_new_confirmation_with_icon_name):
1447 Terminate the list of parameters in g_object_set() calls
1449 Fixes: NB#115166 (Formatting memory card is not taking place)
1451 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1453 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1454 "dialog-information" role for the sound being played.
1456 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1458 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1459 Don't make the menu a modal window, it causes strange interactions
1460 with the pointer grab and it's not really needed.
1462 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1464 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1466 * hildon/hildon-touch-selector.[ch]
1467 (hildon_touch_selector_optimal_size_request): function added to get a
1468 optimal size request from the touch selector, when you want a dialog to
1469 show as much of the selector
1470 * hildon/hildon-picker-dialog.c:
1471 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1472 (hildon_app_menu_class_init):
1473 New "max-height-landscape" and "max-height-portrait" style properties
1474 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1475 (hildon_picker_dialog_get_max_height): returns the maximum height using
1476 the style properties defined and checking the current portrait/landscape
1478 (_hildon_picker_dialog_set_selector): removed the set_size_request
1480 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1482 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1484 * hildon/hildon-bread-crumb-trail.c:
1485 * hildon/hildon-bread-crumb.c:
1486 * hildon/hildon-seekbar.c:
1487 Add reference to replacements for these deprecated widgets.
1489 Fixes: MB#4461 (Documentation: All deprecations should mention
1492 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1494 * examples/hildon-remote-texture-example.c
1496 Change the include to the hildon-remote-texture in order to compile
1497 properly the examples on the installed libhildon1-examples package
1499 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1501 * tests/Makefile.am: Add check for HildonPickerButton.
1502 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1503 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1504 checks for the HildonPickerButton.
1505 * tests/check_test.c (configure_tests): Add the test suite.
1506 * tests/test_suites.h: likewise.
1508 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1510 * hildon/hildon-touch-selector.c
1511 (+on_row_changed): Emit HildonTouchSelector:changed when the
1512 contents of a selected row change.
1513 (_create_new_column), (_hildon_touch_selector_set_model): connect
1514 to GtkTreeModel:row-changed on a newly set model.
1516 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1518 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1520 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1522 * hildon/hildon-banner.c (hildon_banner_destroy)
1523 (hildon_banner_show_progress, hildon_banner_set_fraction):
1524 Remove the progress bar from HildonBanner and use a progress
1527 Fixes: NB#113761 (Update progress banner to use progress
1530 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1532 * hildon/hildon-banner.c:
1533 Calculate size of the banner label using the actual screen width
1534 rather than using a fixed value.
1536 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1539 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1541 * hildon/hildon-pannable-area.c,
1542 (hildon_pannable_area_class_init): Fixed signals documentation
1545 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1547 * configure.ac: post release version bump
1548 * debian/changelog: post release version bump
1550 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1555 * configure.ac: Bump version.
1556 * debian/changelog: Updates.
1558 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1560 * hildon/hildon-edit-toolbar.c
1561 (hildon_edit_toolbar_init):
1562 Don't let buttons in HildonEditToolbar receive focus.
1564 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1565 typing on an HW arrows key)
1567 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1569 * doc/Makefile.am: Fix build.
1571 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1573 * doc/Makefile.am: Do not redefine content_files.
1575 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1583 Renamed src/ to hildon/
1588 Include <hildon/hildon.h> directly in all examples.
1590 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1592 * src/hildon-sort-dialog.c
1593 (hildon_sort_dialog_add_sort_key_with_sorting)
1597 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1599 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1600 make distcheck passes.
1602 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1604 * Makefile.am: Enable gtk-doc during distcheck.
1606 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1608 * Makefile.am: Do not distribute the debian/ directory.
1610 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1612 * doc/Makefile.am: Add the extra SGML files to content_files,
1613 so that they are distributed properly.
1615 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1617 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1620 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1622 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1623 (hildon_note_new_information_with_icon_name): Set the "icon" property
1624 to preserve soundness.
1626 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1628 * src/hildon-font-selection-dialog.c
1629 (hildon_font_selection_dialog_set_property): Fail when the "family"
1630 property is set to NULL.
1632 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1634 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1637 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1639 * src/hildon-time-selector.h:
1640 Added HildonTimeSelectorFormatPolicy
1641 * src/hildon-time-selector.c:
1642 Added PROP_TIME_FORMAT_POLICY
1643 (_check_ampm_format): renamed to check_automatic_ampm_format
1644 (update_format_policy), (update_format_dependant_columns): new functions
1645 (hildon_time_selector_class_init)
1646 (hildon_time_selector_contructor)
1647 (hildon_time_selector_init)
1648 (hildon_time_selector_get_property)
1649 (hildon_time_selector_set_property)
1650 (hildon_time_selector_get_time)
1651 (hildon_time_selector_set_time)
1652 * src/hildon-touch-selector.h: new file
1653 * src/hildon-touch-selector.c
1654 (hildon_touch_selector_emit_changed)
1655 (hildon_touch_selector_block_changed)
1656 (hildon_touch_selector_unblock_changed)
1657 Added functions to allow to block the emission of the "changed" signal
1658 * src/hildon-picker-dialog.c
1659 (hildon_picker_dialog_show): call the parent show before the custom code
1660 * examples/hildon-time-button-example.c
1661 Modified, so now you can configure the time format using the new property
1663 Added a new property "time-format-policy" that allow to choose the time
1664 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1665 case it uses gconf in order to check if the time selector must use
1668 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1671 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1673 * src/hildon-note.c (hildon_note_init):
1674 Label in HildonNote must be left aligned, not centered. This
1675 reverts the last commit in HildonNote.
1677 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1678 is connectivity dialog)
1680 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1685 * doc/hildon-sections.txt:
1686 Added hildon_gtk_window_set_do_not_disturb()
1688 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1690 * src/hildon-note.c (hildon_note_init): Center label.
1692 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1695 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1700 * configure.ac: Bump version.
1701 * debian/changelog: Updates.
1703 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1705 * src/hildon-note-private.h: Add button-width to the private data.
1706 * src/hildon-note.c (+resize_button),
1707 (+hildon_note_orientation_update): methods to repack widgets on orientation
1709 (screen_size_changed): Call above method for confirmation notes.
1710 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1711 (hildon_note_rebuild): Store the original width request from buttons.
1713 Fixes: NB#109635 (Confirmation notes do not support portrait)
1715 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1717 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1718 when it is a progress note.
1720 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1722 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1723 in the note, since there are no horizontally arranged contents.
1725 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1727 * src/hildon-gtk.c (+set_flag): new generic method to
1728 set/delay a flag setting in a window.
1729 (hildon_gtk_window_set_progress_indicator):
1730 (hildon_gtk_window_set_do_not_disturb),
1731 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1732 avoid code redundance.
1734 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1736 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1738 * src/hildon-gtk.c (set_clear_window_flag),
1739 (do_set_progress_indicator), (do_set_do_not_disturb),
1740 (do_set_portrait_flags),
1741 (hildon_gtk_window_set_progress_indicator),
1742 (hildon_gtk_window_set_do_not_disturb),
1743 (hildon_gtk_window_set_portrait_flags):
1744 Allow setting dnd-flag, progress indicator, and portrait flags
1745 when the window is not realized.
1747 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1749 * src/hildon-pannable-area.c,
1750 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1751 the size request policy function and defines.
1753 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1755 * doc/hildon-sections.txt: Add the new API.
1756 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1757 method to set the portrait flags.
1758 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1760 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1762 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1764 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1765 to allow using this method with other flags.
1766 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1767 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1769 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1771 * src/hildon-touch-selector.c
1772 (hildon_touch_selector_append_text_column):
1773 Make the cell renderer use the smallest width possible.
1775 Fixes: NB#108470 (Selected items in multiple selection are either
1776 having a tick that is cut or not visible at all.)
1778 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-touch-selector.c
1781 (hildon_touch_selector_append_text_column):
1784 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1786 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1787 Use g_strdup_printf() instead of a fixed size buffer.
1789 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1792 Close banners when a HildonAppMenu is popped up.
1794 Fixes: NB#111027 (Title menu closed immediately if activated when
1795 "Invalid e-mail address" banner is shown)
1797 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1802 * configure.ac: Bump version.
1803 * debian/changelog: Updates.
1805 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1807 * src/hildon-banner.c (hildon_banner_realize):
1808 Mark HildonBanner as supporting portrait mode.
1809 Use GDK to set window properties insetad of direct Xlib calls.
1811 Fixes: NB#111830 (HildonBanner should be marked as supporting
1814 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1816 * src/hildon-note.c (hildon_note_rebuild):
1817 Hide action area in information notes. Prevents text from being
1818 slightly aligned to the left.
1820 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1823 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1825 Patch by Mox Soini (ext-mox.soini@nokia.com)
1827 * src/hildon-banner.c (hildon_banner_create_animation):
1828 Use stylus-sized icons in animation banner.
1830 Fixes: NB#111206 (stylus sized icon for animation banner)
1832 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1836 (+hildon_gtk_window_set_do_not_disturb):
1837 New API to set the do-not-disturb flag.
1839 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1841 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1843 * examples/hildon-progress-indicator-example.c: Fix example
1845 * src/hildon-gtk.c (set_clear_window_flag)
1846 (hildon_gtk_window_set_progress_indicator):
1847 Create a generic function for setting flags to a window.
1848 Use GDK instead of direct Xlib calls.
1850 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1852 * src/hildon-button.c (hildon_button_set_arrangement):
1853 Due to NB#88126, if one of the labels is too long it will be
1854 painted outside the button. The 'value' label is more likely to be
1855 the longest one, so we change its packing options in order to
1856 truncate it if necessary. As a side effect, the 'title' label will
1857 no longer be truncated.
1859 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1861 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1866 * configure.ac: Bump version.
1867 * debian/changelog: Updates.
1869 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1871 Deprecation of the hildon_pannable_area_set_size_request_policy
1872 API, the only policy properly supported in gtk+ nowadays is the
1875 * src/hildon-pannable-area.c,
1876 (hildon_pannable_area_size_request): Added a workaround for the
1877 size_request to avoid the problems of huge pixmaps in case someone
1878 is still using the function.
1879 * src/hildon-pannable-area.h: Deprecated the enum with the
1882 Fixes: NB#110244 (Problems with the
1883 hildon_pannable_area_set_size_request_policy API)
1885 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1887 * src/hildon-pannable-area.c,
1888 (hildon_pannable_area_init),
1889 (hildon_pannable_area_size_request),
1890 (hildon_pannable_area_style_set),
1891 (hildon_pannable_draw_vscroll),
1892 (hildon_pannable_draw_hscroll),
1893 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1894 indicator_width to clarify the use of the attribute.
1896 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1901 * configure.ac: Bump version.
1902 * debian/changelog: Updates.
1904 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1906 * src/hildon-picker-dialog.c
1907 * src/hildon-touch-selector.c
1908 Reverting the change that tried to avoid the hardcoded height on
1909 the picker dialog, as causes problems on the hildon-touch-selector
1912 Fixes: NB#110029 (selectors not scrolling to selected value)
1914 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1916 * src/hildon-touch-selector.c: Fix typos
1918 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1920 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1921 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1922 request more motions after using it.
1924 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1926 * src/hildon-calendar.c (hildon_calendar_expose),
1927 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1928 Remove unused variables.
1930 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1932 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1933 variable assignment.
1935 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1937 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1938 Check the return value of gtk_tree_selection_get_selected()
1941 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-animation-actor.c
1944 * src/hildon-button.c
1946 * src/hildon-pannable-area.c
1947 * src/hildon-picker-button.c
1948 * src/hildon-program.c
1949 * src/hildon-remote-texture.c
1950 * src/hildon-text-view.c
1951 * src/hildon-touch-selector.c
1952 * src/hildon-window-stack.c
1953 * src/hildon-window.c:
1954 Add missing 'Since: 2.2' tags.
1956 * doc/hildon-sections.txt:
1957 Add some missing symbols.
1959 * doc/hildon-docs.sgml:
1960 New 'Other' section for HildonAnimationActor and
1963 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1965 Patch by Iván Gómez (igomez@igalia.com)
1968 * doc/compiling.sgml
1969 * doc/hildon-docs.sgml
1970 * doc/hildon-sections.txt
1971 * doc/migration.sgml
1972 * doc/resources.sgml
1974 New chapters on using the Hildon library.
1975 Updated the general structure of the reference manual.
1976 Other minor documentation fixes.
1978 * src/hildon-calendar-popup.c
1979 * src/hildon-calendar.c
1980 * src/hildon-controlbar.c
1981 * src/hildon-date-editor.c
1982 * src/hildon-dialog.c
1983 * src/hildon-hvolumebar.c
1984 * src/hildon-number-editor.c
1985 * src/hildon-range-editor.c
1986 * src/hildon-sort-dialog.c
1987 * src/hildon-time-editor.c
1988 * src/hildon-time-picker.c
1989 * src/hildon-volumebar-range.c
1990 * src/hildon-volumebar.c
1991 * src/hildon-vvolumebar.c
1992 * src/hildon-weekday-picker.c:
1993 Add deprecation notes
1995 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1996 Document 'horizontal-movement' and 'vertical-movement' signals.
1998 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2003 * configure.ac: Bump version.
2004 * debian/changelog: Updates.
2006 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2008 * src/hildon-pannable-area.c,
2009 (hildon_pannable_area_class_init): increased the minimum velocity.
2010 (hildon_pannable_area_button_release_cb): Updated the
2011 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2012 setup. Review the code to control that last event.
2014 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2017 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2019 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2021 * src/hildon-get-password-dialog.c
2022 (hildon_get_password_set_property),
2023 (hildon_get_password_get_property), (create_contents):
2024 * src/hildon-login-dialog-private.h:
2025 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2026 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2027 (hildon_login_dialog_get_password):
2028 * src/hildon-set-password-dialog-private.h:
2029 * src/hildon-set-password-dialog.c
2030 (hildon_set_password_set_property),
2031 (hildon_set_password_get_property), (create_contents),
2032 (hildon_set_password_response_change),
2033 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2035 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2036 instead and look more Fremantle style.
2038 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2040 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2042 * doc/hildon-sections.txt
2043 * src/hildon-window-stack.h
2044 * src/hildon-window-stack.c
2045 (+hildon_window_stack_get_windows):
2046 New API to obtain the list of windows on a stack.
2048 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2050 * src/hildon-app-menu.c (hildon_app_menu_popup)
2051 (hildon_app_menu_class_init, -hildon_app_menu_show):
2052 Remove hildon_app_menu_show() and move all its checks to
2053 hildon_app_menu_popup()
2055 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2057 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2058 (_hildon_picker_dialog_set_selector): removed call to
2059 gtk_widget_set_size_request
2060 * src/hildon-touch-selector.c
2061 (_create_new_column): change the pannable size request policy
2063 Avoid to use a hardcoded height for the hildon picker dialog. In order
2064 to get that, we needed to change the hildon pannable size request
2066 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2068 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2070 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2071 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2074 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2076 * debian/control: Depend on osso-system-lock localization package.
2077 * src/hildon-code-dialog.c: Obtain the secu_application_title
2078 translation from osso-system-lock.
2079 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2080 for translation the atk related strings, that's not necessary.
2081 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2082 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2083 cancel button, it is not required.
2085 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2087 * src/hildon-pannable-area.c,
2088 (hildon_pannable_area_class_init): Modified the default value of
2089 the overshooting max speed, we have reduced it.
2091 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2093 * doc/hildon-sections.txt
2094 * src/hildon-window-private.h
2095 * src/hildon-window.h
2096 * src/hildon-window.c (hildon_window_class_init)
2097 (hildon_window_init, hildon_window_finalize)
2098 (hildon_window_realize, hildon_window_get_property)
2099 (hildon_window_set_property, hildon_window_update_markup)
2100 (hildon_window_get_markup, hildon_window_set_markup):
2101 New "markup" property and hildon_window_{get,set}_markup() methods.
2103 * examples/hildon-stackable-window-example.c (new_window):
2104 Update example to use hildon_window_set_markup()
2106 Fixes: NB#106375 (Need API to retitle a window with a title
2109 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2111 * src/hildon-pannable-area.c,
2112 (hildon_pannable_area_class_init): Changed the default value of
2113 the initial_hint to TRUE.
2114 (hildon_pannable_area_initial_effect): Changed the initial effect,
2115 not the effect is just the fade-out of the scrollbars.
2117 Fixes: NB#107775 (No scrollbars can be seen when several items are
2118 available in a dialog)
2120 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2122 * src/hildon-program.c (hildon_program_update_top_most):
2125 Fixes: NB#109179 (Memory leak in Hildon program)
2127 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-banner.c (-get_current_app_window):
2130 Remove unused function.
2132 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2134 * src/hildon-pannable-area.c: Modified the documentation of the
2135 get adjustments functions to explain the problem of using the
2136 adjustment directly.
2137 (hildon_pannable_area_class_init): Improved the explanation about
2140 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2142 * src/hildon-app-menu-private.h
2143 * src/hildon-app-menu.c
2144 (hildon_app_menu_class_init):
2145 Bring back the 'external-border' style property
2146 (hildon_app_menu_class_init, hildon_app_menu_init)
2147 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2148 Set a fixed width-request for the menu, independent of the number
2151 Fixes: NB#94957 (Smoothly opened application menu)
2153 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2155 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2157 * src/hildon-banner.c
2158 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2160 Make sure that the banner is correctly placed the first time it's
2162 (hildon_banner_check_position, -check_fullscreen_state):
2163 Show the banner in the same place no matter if the window is in
2164 fullscreen mode or not.
2166 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2168 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2170 * src/hildon-touch-selector.c (_default_print_func): reorder
2171 concatenation for clarity.
2173 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2175 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2176 for multicolumn selectors.
2178 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2180 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2185 * configure.ac: Bump version.
2186 * debian/changelog: Updates.
2188 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2190 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2193 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2195 * configure.ac: removed libcangerra-gtk dependency
2196 * debian/control: removed libcanberra-gtk dependency
2197 * src/Makefile.am: removed libcanberra gtk related flags
2198 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2199 context, and manage a global canberra context instead
2201 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2203 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2205 Patch by Daniel Borgmann (danielb@openismus.com)
2207 * src/hildon-edit-toolbar.c:
2208 Adjust the left padding.
2209 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2210 Paint background of the edit toolbar.
2212 Fixes: NB#107897 (Patch to make editmodetoolbar background
2213 themeable and adjust margin)
2215 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2217 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2219 * src/hildon-program.c (hildon_program_update_top_most):
2220 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2222 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2223 change when the user tasks in/out of an application)
2225 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2227 * configure.ac: added libcangerra-gtk dependency
2228 * debian/control: added libcanberra-gtk dependency
2229 * src/Makefile.am: added libcanberra gtk related flags
2230 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2233 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2235 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2237 * src/hildon-program.c (hildon_program_remove_window)
2238 (hildon_program_add_window): Add checks for the window
2239 parameter. Don't decrease the window counter if the window is not
2242 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2244 * src/hildon-pannable-area.c,
2245 (hildon_pannable_area_realize): Fixed position of the event_window
2246 in the realize method.
2248 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2250 * src/hildon-app-menu-private.h
2251 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2252 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2253 (hildon_app_menu_key_press, hildon_app_menu_init)
2254 (hildon_app_menu_finalize):
2255 Make sure that all idle functions are removed when the widget is
2258 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2260 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2265 * configure.ac: Bump version.
2266 * debian/changelog: Updates.
2268 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2270 * src/hildon-entry.c
2271 (+hildon_entry_show_placeholder),
2272 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2273 that replace hildon_entry_update_contents().
2274 (hildon_entry_set_text),
2275 (hildon_entry_set_placeholder),
2276 (hildon_entry_focus_in_event),
2277 (hildon_entry_focus_out_event): Determine when it is needed
2278 either to show or hide the placeholder and call the above methods.
2280 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2281 when the placeholder text is already set)
2283 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2286 simple GdkPixbufAnim using the new icons for the banner.
2287 (hildon_banner_show_animation): Use the above mentioned method to
2288 create the animation widget.
2290 Fixes: NB#103564 (Make hildon animation banner use individual
2291 image files as the animation)
2293 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2295 * src/hildon-pannable-area.c,
2296 (hildon_pannable_leave_notify_event): Check if the child is NULL
2297 to avoid sending the leave.
2299 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2301 * src/hildon-pannable-area.c,
2302 (hildon_pannable_area_class_init),
2303 (hildon_pannable_leave_notify_event): Added a handler of the
2304 leave-notify-signal to consider when no motion notify before
2307 Fixes: NB#107494 (Items stay selected when clicking and moving
2308 away when inside pannable area)
2310 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2315 * configure.ac: Bump version.
2316 * debian/changelog: Updates.
2318 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2320 Patch by Alberto Garcia (agarcia@igalia.com)
2322 * src/hildon-date-button.c,
2323 (hildon_date_button_class_init),
2324 (hildon_date_button_init): Removed the construct property handling
2325 and created a default selector in the init method.
2326 * src/hildon-picker-button.c,
2327 (hildon_picker_button_class_init): Removed the construct flag of the
2330 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2332 * src/hildon-main.c (hildon_init):
2333 Don't allow hildon_init() to be called more than once.
2335 Fixes: NB#106607 (hildon_init should issue error message upon
2338 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2340 * examples/hildon-pannable-area-touch-list-example.c
2341 * examples/hildon-pannagle-area-touch-grid-example.c
2342 * examples/hildon-edit-toolbar-example.c
2343 * examples/hildon-touch-selector-multi-cells-example.c
2344 Removed the call to gtk_rc_parse_string, as it is not required since
2347 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2349 * src/hildon-pannable-area.c,
2350 (hildon_pannable_area_class_init): Modified the default panning
2351 threshold of the widget to 6px.
2353 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2354 than the threshold value ) within the button is not sending the
2357 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2359 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2360 for the treeview in the new column. This way, the touch list will never
2363 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2364 be selected manually for the HW keys to work)
2366 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2368 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2369 comparison instead of using strcmp(). Fixes a compiler warning as well.
2371 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2373 * doc/hildon-docs.sgml: Do not set the library version in the
2374 document title, use the releaseinfo tag for that purpose instead.
2376 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2378 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2379 Do not jump to the first item if the text in the entry is removed.
2381 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2386 * configure.ac: Bump version.
2387 * debian/changelog: Updates.
2389 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2391 * src/hildon-entry.c (hildon_entry_refresh_contents):
2392 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2393 Use "ReversedSecondaryTextColor" for the placeholder text.
2395 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2397 * src/hildon-text-view.c: Fix compilation warning.
2399 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2401 * src/hildon-button.c (hildon_button_class_init): Don't make
2402 "title" and "value" construction properties, to prevent them from
2403 overwriting labels set from derived classes.
2405 * src/hildon-picker-button.c
2406 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2407 (hildon_picker_button_class_init): Make touch-selector a
2408 construction property.
2410 * src/hildon-date-button.c (hildon_date_button_class_init)
2411 (+hildon_date_button_constructed): Add a default date selector if
2414 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2416 * src/hildon-touch-selector.c: Small documentation fixes.
2418 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2420 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2422 * src/hildon-entry.c (hildon_entry_refresh_contents),
2423 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2424 widget name, set the logical color directly instead and a boolean
2425 showing_placeholder instead.
2426 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2427 use the widget name here either.
2429 Fixes: NB#105678 (HildonTextView should use logical colours
2430 instead of setting widget name)
2432 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2434 Patch by Daniel Elster (danielk@openismus.com)
2436 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2437 Add user_data parameter.
2438 (hildon_touch_selector_set_print_func_full): New function akin
2439 hildon_touch_selector_set_print_func() but with support for user
2440 data and a destroy callback.
2441 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2442 to clean up the print function user data.
2443 (hildon_touch_selector_class_init): Install dispose function.
2444 (HildonTouchSelectorPrivate::print_user_data),
2445 (HildonTouchSelectorPrivate::print_destroy_func): New private
2447 (hildon_touch_selector_init): Initialize new private members.
2448 (hildon_touch_selector_get_current_text): Pass along user data
2449 to the print function.
2450 (_default_print_func): Add dummy user_data to parameter list.
2451 * hildon-date-selector.c (_custom_print_func): ditto,
2452 * hildon-time-selector.c (_custom_print_func): ditto,
2453 * hildon-touch-selector-entry.c
2454 (hildon_touch_selector_entry_print_func): ditto.
2456 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2458 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2460 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2462 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2464 * src/hildon-pannable-area.c,
2465 (hildon_pannable_area_init),
2466 (hildon_pannable_area_button_press_cb),
2467 (hildon_pannable_area_motion_notify_cb): We have added code to
2468 handle the leave and enter events when using the motion events.
2470 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2472 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2474 * src/hildon-date-button.c (hildon_date_button_get_date)
2475 (hildon_date_button_set_date): Make sure that the button has a
2478 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2480 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2482 * src/hildon-pannable-area.c,
2483 (hildon_pannable_area_class_init),
2484 (hildon_pannable_area_calculate_velocity): Modify the use of the
2485 force and adapt the value.
2487 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2490 (hildon_app_menu_class_init): Hide the menu if it receives a
2491 delete-event, but don't destroy it
2493 Fixes: NB#104485 (Not able to address the call when application
2494 menu is opened at background)
2496 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2498 * src/hildon-app-menu.c
2499 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2500 Remove the "external-border" style property, let the menu take its
2501 natural size (or the one set by the window manager)
2502 (hildon_app_menu_repack_items):
2503 Don't reshow the menu, avoid flickers.
2505 Partially fixes NB#94957 (Smoothly opened application menu)
2507 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2512 * configure.ac: Bump version.
2513 * debian/changelog: Updates.
2515 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2517 * src/hildon-pannable-area.c,
2518 (hildon_pannable_area_motion_notify_cb): We control that the
2519 direction error margin is used just in case the movement is
2520 allowed in the other direction.
2522 Fixes: NB#105012 (buttons inside a pannable area not getting
2523 release event when dragging/releasing)
2525 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2527 * src/hildon-pannable-area.c,
2528 (hildon_pannable_area_class_init),
2529 (hildon_pannable_area_get_property),
2530 (hildon_pannable_area_set_property),
2531 (hildon_pannable_area_initial_effect),
2532 (hildon_pannable_axis_scroll),
2533 (hildon_pannable_area_button_release_cb): Reviewed the
2534 overshooting effect, now it has its own max
2535 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2536 speed when bouncing.
2538 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2543 * configure.ac: Bump version.
2544 * debian/changelog: Updates.
2546 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2548 * src/hildon-pannable-area.c,
2549 (hildon_pannable_area_class_init): Changed the max speed, now
2550 users can launch the widget very fast. Reduced the default force,
2551 that way it is easier to control the launch speed.
2553 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2555 * src/hildon-pannable-area.c,
2556 (hildon_pannable_area_button_release_cb): Removed this check
2557 because it causes problems when the device is overloaded.
2559 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2561 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2562 add a current_text field to store the text entered in the
2563 touch selector entry.
2564 (_clean_current_selection): clean up the current text as well.
2565 (_save_current_selection), (_restore_current_selection):
2566 Save/restore the text in the entry if the selector is a
2567 HildonTouchSelectorEntry.
2569 Fixes: NB#102541 (value entered in the touch selector entry is not
2570 shown when opened for second time)
2572 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2574 * doc/hildon-sections.txt:
2575 * src/hildon-touch-selector-entry.c
2576 (+hildon_touch_selector_entry_get_entry):
2577 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2579 Fixes: NB#104815 (I need accessor to the entry inside
2580 HildonTouchSelectorEntry)
2582 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2584 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2585 (hildon_app_menu_class_init):
2586 New "filter-vertical-spacing" style property.
2588 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2590 * src/hildon-find-toolbar.c
2591 (hildon_find_toolbar_emit_close)
2592 (hildon_find_toolbar_emit_invalid_input)
2593 (hildon_find_toolbar_entry_activate):
2594 Use g_signal_emit() instead of g_signal_emit_by_name()
2596 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2598 Patch by Mox Soini (ext-mox.soini@nokia.com)
2600 * tests/TEST-CASES.txt
2601 * tests/check-hildon-banner.c
2602 * tests/check-hildon-note.c
2603 * src/hildon-banner.c
2604 * src/hildon-code-dialog.c
2605 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2606 * src/hildon-time-editor.c
2607 * examples/hildon-lookup-example.c (main):
2608 Replace obsolete icon names with new ones.
2610 * src/hildon-find-toolbar-private.h:
2611 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2612 (-hildon_find_toolbar_emit_search):
2613 Remove find button and change icon of close button.
2615 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2617 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-time-button.c (hildon_time_button_new_step):
2620 Use the "touch-selector" property to set the selector directly
2621 when creating the object.
2623 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2625 Added a new example application that allows tuning the pannable
2626 area and replaced defines with properties in order to simplify the
2627 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2628 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2629 PROP_DIRECTION_ERROR_MARGIN.
2631 * examples/hildon-pannable-area-tuning-example.c: New example
2633 * src/hildon-pannable-area.c,
2634 (hildon_pannable_area_class_init),
2635 (hildon_pannable_area_init),
2636 (hildon_pannable_area_get_property),
2637 (hildon_pannable_area_set_property),
2638 (hildon_pannable_area_launch_fade_timeout),
2639 (hildon_pannable_area_adjust_value_changed),
2640 (hildon_pannable_axis_scroll),
2641 (hildon_pannable_area_motion_notify_cb),
2642 (hildon_pannable_area_scroll_cb),
2643 (hildon_pannable_area_button_release_cb): We have converted some
2644 of the defines that control the widget to properties to simplify
2647 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2649 * src/hildon-app-menu.c (hildon_app_menu_map)
2650 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2651 so it's closed if a new window appears.
2653 Fixes: NB#104485 (Not able to address the call when application
2654 menu is opened at background)
2656 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2658 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2659 missing 'break' statement in in 'case' construct to avoid
2662 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-touch-selector-entry.c
2665 (hildon_touch_selector_entry_get_property),
2666 (hildon_touch_selector_entry_set_property): Add missing 'break'
2667 statements in in 'case' constructs to avoid incorrect warnings.
2669 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2671 * src/hildon-time-editor.c
2672 (hildon_time_editor_get_time_separators): Do not crash if
2673 the first label is NULL.
2675 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2677 * src/hildon-date-selector.c (_month_days): Check for month to be
2678 strictly less than 12, since otherwise we may overrun the array.
2680 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-date-button.c (+hildon_date_button_new_full)
2683 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2684 (hildon_date_button_init): Set the date selector using a
2685 construction property, to make it happen after HildonButton's
2686 "value" property is set.
2688 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2689 current date by default)
2691 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2693 * doc/hildon-sections.txt
2694 * src/hildon-program.c
2695 * src/hildon-stackable-window.c
2696 * src/hildon-window.c:
2697 Documentation updates
2699 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2701 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2702 (hildon_window_stack_new, +hildon_window_stack_set_property)
2703 (+hildon_window_stack_get_property)
2704 (hildon_window_stack_class_init)
2705 (+hildon_window_stack_set_window_group)
2706 (+hildon_window_stack_get_window_group):
2707 Make the window group a construction property.
2709 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2711 * doc/hildon-sections.txt
2712 * src/hildon-stackable-window-private.h
2713 * src/hildon-stackable-window.h
2714 * src/hildon-stackable-window.c
2715 (-hildon_stackable_window_set_app_menu)
2716 (-hildon_stackable_window_get_app_menu)
2717 (-hildon_stackable_window_toggle_menu)
2718 (-hildon_stackable_window_finalize)
2719 (hildon_stackable_window_class_init)
2720 (hildon_stackable_window_init)
2721 * src/hildon-window-private.h
2722 * src/hildon-window.h
2723 * src/hildon-window.c (hildon_window_init)
2724 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2725 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2726 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2727 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2728 Moved all HildonAppMenu code to HildonWindow. The menu does not
2729 require a HildonStackableWindow anymore.
2731 * src/hildon-app-menu.c
2732 * src/hildon-program.c
2733 * examples/hildon-app-menu-example.c (main):
2734 Update examples and documentation to reflect HildonAppMenu
2737 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2739 * src/hildon-remote-texture.c
2740 * src/hildon-animation-actor.c:
2741 Don't include unused private headers.
2743 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2745 * src/hildon-program-private.h
2746 * src/hildon-program.c
2747 (hildon_program_set_common_menu)
2748 (hildon_program_get_common_menu)
2749 (hildon_program_set_common_app_menu)
2750 (hildon_program_get_common_app_menu):
2751 Change common menu pointers from GtkWidget* to GtkMenu* and
2752 HildonAppMenu* to avoid unnecessary casts.
2754 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2756 * src/hildon-window.c (hildon_window_set_main_menu):
2757 Removed incorrect 'Since:' tag
2759 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2761 * src/hildon-pannable-area.c,
2762 (hildon_pannable_area_calculate_velocity): We use now the
2763 RATIO_TOLERANCE here to check the distance, fixed typo in the
2765 (hildon_pannable_area_motion_notify_cb): We have to set the type
2766 and time even if we are not sending the motion.
2768 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2770 * doc/hildon-sections.txt
2771 * src/hildon-app-menu.h
2772 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2773 (+hildon_app_menu_get_filters): New methods to get the contents of
2776 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2779 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2781 * src/hildon-app-menu.c (hildon_app_menu_popup):
2784 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-window.h
2787 * src/hildon-window.c (+hildon_window_get_main_menu)
2788 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2789 and deprecated hildon_window_get_menu().
2791 * src/hildon-stackable-window.h
2792 * src/hildon-stackable-window.c
2793 (+hildon_stackable_window_set_app_menu)
2794 (+hildon_stackable_window_get_app_menu)
2795 (hildon_stackable_window_set_main_menu): Created
2796 hildon_stackable_window_{get,set}_app_menu() and deprecated
2797 hildon_stackable_window_set_main_menu().
2799 * doc/hildon-sections.txt
2800 * examples/hildon-app-menu-example.c (main)
2801 * src/hildon-app-menu.c
2802 * src/hildon-program.c:
2803 Updated examples and documentation.
2805 Fixes: NB#103758 (No way to obtain a menu from a
2806 HildonStackableWindow)
2808 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2813 * configure.ac: Bump version.
2814 * debian/changelog: Updates.
2816 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2818 * examples/hildon-remote-texture-example.c: Include
2819 hildon-remote-texture.h explicitely.
2820 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2821 applications not defining _XOPEN_SOURCE which don't require this header.
2823 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2825 * doc/hildon-sections.txt
2826 * src/hildon-app-menu.h
2827 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2828 New function to pop up a HildonAppMenu
2830 * src/hildon-stackable-window.c
2831 (hildon_stackable_window_toggle_menu):
2832 Use hildon_app_menu_popup() to show the menu.
2834 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2836 * src/hildon-app-menu.c (hildon_app_menu_show)
2837 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2838 menu if there's another window between it and its parent window.
2840 Fixes: NB#100468 (Application menu window is launched even when a
2841 new secondary-window/dialog is pending to be shown/realized)
2843 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-window-stack.c (hildon_window_stack_push)
2846 (hildon_window_stack_pop_and_push):
2847 Don't forget to push/pop the first window.
2848 Reverse the window list before calling _push_list()
2850 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-picker-button.h
2853 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2854 Remove "value_changed" slot to avoid ABI breakage
2856 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2858 * src/hildon-pannable-area.c,
2859 (hildon_pannable_area_realize),
2860 (hildon_pannable_area_unrealize),
2861 (hildon_pannable_draw_vscroll),
2862 (hildon_pannable_draw_hscroll): Changed the method to handle the
2863 GC used to draw the transparent scrollbar, this way we avoid
2864 creating the GC all the time when drawing the scrollbars.
2866 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2868 * src/hildon-pannable-area.c,
2869 (hildon_pannable_area_init),
2870 (hildon_pannable_area_remove): Removed some unnecessary casts.
2871 (hildon_pannable_area_dispose): Disconnected some signals before
2872 releasing the adjustments.
2874 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2876 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2877 Make sure that all widgets contained in the toolbar are shown.
2879 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2881 * doc/hildon-sections.txt
2882 * src/hildon-picker-button.h
2883 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2884 (_selection_changed, hildon_picker_button_on_dialog_response)
2885 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2886 New hildon_picker_button_value_changed() method.
2889 * src/hildon-picker-button-private.h
2890 * src/hildon-picker-button.c (hildon_picker_button_init)
2891 (+hildon_picker_button_disable_value_changed): Add protected
2892 function for disabling the "value-changed" signal.
2894 * src/hildon-date-button.c (hildon_date_button_set_date):
2895 Don't emit "value-changed" for each one of the three columns.
2897 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2898 before actual change of values)
2900 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2902 * src/hildon-pannable-area.c,
2903 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2904 for the treeview overshooting.
2906 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2908 * src/hildon-banner.c (+hildon_banner_bind_style):
2909 Renamed from hildon_banner_bind_label_style(), now naming the
2910 banner itself as well.
2911 (hildon_banner_show_information),
2912 (hildon_banner_show_information_with_markup),
2913 (hildon_banner_show_animation), (hildon_banner_show_progress):
2914 Name the widgets and labels, based on their type.
2916 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2919 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2921 * src/hildon-note.c (hildon_note_set_property): call
2922 hildon_note_rename() on HildonNote:note-type set.
2923 (hildon_note_rename): Name the note and its label, based on the
2924 HildonNote:note-type property.
2926 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2929 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2931 * src/hildon-pannable-area.c,
2932 (hildon_pannable_area_class_init),
2933 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2934 panning parameters, increased SPS and deceleration factor. Added
2935 also a margin to control fake directions.
2937 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2939 Patch by Sven Herzberg (sven@imendio.com)
2941 * configure.ac: Add missing AM_PROG_CC_C_0
2942 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2944 See NB#101420 (Update unit tests and fix make check)
2946 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2948 This patch was applied before but reverted because it caused
2949 problems, we have changed the main condition and tested the
2950 regressions we detected before and they work ok. We have done a
2951 complete review of the topmost algorithm in order to get a more
2954 * src/hildon-pannable-area.c,
2955 (hildon_pannable_area_get_topmost): Added a new parameter to
2956 filter the the windows that do not include those events.
2957 (hildon_pannable_area_button_press_cb),
2958 (hildon_pannable_area_button_release_cb),
2959 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2960 topmost function, we have added the new parameter.
2962 Fixes: NB#97458 (Pannable area prevents propagation of button
2965 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2967 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2968 if all columns in the selector have an item selected.
2969 (_on_dialog_response): Stop "response" signal emission if there is
2970 any selector column without selected items.
2972 Fixes: NB#101889 (Picker dialog should not close when nothing is
2973 selected in multiple selection list)
2975 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2977 * src/hildon-font-selection-dialog.c
2978 (hildon_font_selection_dialog_class_init),
2979 (hildon_font_selection_dialog_init): Remove the preview
2980 button and dialog, since previewing with default theming is likely
2981 to be overcomplicated. The :preview property has now no effect.
2982 Update documentation blurbs to inform about this.
2984 Fixes: NB#92297 (Preview content is not clearly visible for
2985 default colour text)
2987 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2989 Reviewed the geometry that handles the children size and
2990 scrollbar, now it tries a size and reviews the results depending
2991 on the scrollbars visibility.
2993 * src/hildon-pannable-area.c,
2994 (hildon_pannable_area_realize): Fixed a typo.
2995 (hildon_pannable_area_child_allocate_calculate): Added this
2996 function to calculate the child allocation.
2997 (hildon_pannable_area_size_allocate): Reviewed the allocation
2999 (hildon_pannable_area_check_scrollbars),
3000 (hildon_pannable_area_refresh): Refactored refresh function, this
3001 way we can call the code handling the scrollbars without causing a
3002 size_request, it is interesting in the allocate.
3003 (hildon_pannable_area_init): Replace the callbacks of the
3004 value_changed and changed signals to propertly deal with the
3006 (hildon_pannable_area_grab_notify),
3007 (hildon_pannable_area_initial_effect),
3008 (hildon_pannable_area_launch_fade_timeout),
3009 (hildon_pannable_area_adjust_changed),
3010 (hildon_pannable_area_adjust_value_changed),
3011 (hildon_pannable_area_redraw),
3012 (hildon_pannable_area_button_press_cb),
3013 (hildon_pannable_area_button_release_cb),
3014 (hildon_pannable_area_scroll_cb),
3015 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3016 code and use the new functions adjust_changed and
3017 adjust_value_changed.
3019 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3020 Contact editor dialog)
3022 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3027 * configure.ac: Bump version.
3028 * debian/changelog: Updates.
3030 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3032 * src/hildon-pannable-area.c,
3033 (hildon_pannable_area_get_topmost),
3034 (hildon_pannable_area_button_press_cb),
3035 (hildon_pannable_area_button_release_cb),
3036 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3037 topmost function adding the event mask. We have to try a
3038 differente approach because it is still causing problems (NB#9745,
3041 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3043 * src/hildon-banner.c:
3044 Update the maximum width of timed banners.
3045 (force_to_wrap_truncated): Enforce the maximum text width if the
3048 Fixes: NB#102413 (The text margins (wrapping) in information
3049 banner should be HILDON_MARGIN_TRIPLE)
3051 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3053 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3055 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3056 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3057 bound when calculating the scroll indicator position.
3059 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3060 treat ->lower correctly)
3062 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3064 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3065 expose event handling, since it is not necessary to draw the focus
3068 Fixes: NB#102467 (Do not show highlight on the text in
3071 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3073 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3074 full height of the toolbar for the button and the label.
3076 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3078 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3079 padding before the label and after the button.
3081 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3083 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3085 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3086 Add a GtkVSeparator between the button and the back arrow.
3087 Let the button have automatic size.
3088 Set a name to the widget for theming handling.
3090 Fixes: NB#101793 (Make edit toolbar the same height as window
3091 title bar (use title area theming))
3093 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3095 * src/hildon-helper.c (attach_new_color_element): Fix memory
3098 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3100 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3102 * examples/hildon-button-example.c (common_buttons_window): Don't
3105 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3108 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3110 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3112 * src/hildon-gtk.c: Check that the window is realized.
3114 Fixes: NB#102225 (Crash setting the progress indicator to a non
3117 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3119 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3120 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3121 instead of modifying the one in the widget style.
3123 Fixes: NB#101043 (Second row of all the command button are
3124 displayed in transparent mode.)
3126 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-date-button.c
3129 * src/hildon-time-button.c: Add gettext macros
3131 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3133 * src/hildon-date-button.c (hildon_date_button_new):
3134 * src/hildon-time-button.c (hildon_time_button_new_step):
3135 Use new logical strings to set the button default title.
3137 Fixes: NB#99915 (Date and Time options are not localised in Date
3140 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3142 * src/hildon-pannable-area.c
3143 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3144 the PANNING_THRESHOLD.
3146 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3148 * src/hildon-pannable-area.c,
3149 (hildon_pannable_area_class_init): Increased the maximum speed.
3150 (hildon_pannable_area_get_property),
3151 (hildon_pannable_area_set_property),
3152 (hildon_pannable_area_timeout): Added a new low friction mode, it
3153 allows the user avoid friction when launching the widget fast
3154 enough. It is interesting to traverse long lists.
3156 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3158 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3159 (+hildon_stackable_window_delete_event): Ignore delete events if
3160 the window is not the topmost one.
3162 Fixes: NB#101698 (Back button long press and delete-event handling)
3164 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3166 * src/hildon-pannable-area.c,
3167 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3168 gtk-dnd-drag-threshold, it was too big. We have defined our own
3169 dnd define and set a smaller value: PANNIG_THRESHOLD.
3171 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3173 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3174 user-defined icons, use always the default one.
3176 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3178 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3180 This patch was applied before but reverted because it caused
3181 problems, we have changed the main condition and tested the
3182 regressions we detected before and they work ok.
3184 * src/hildon-pannable-area.c,
3185 (hildon_pannable_area_get_topmost): Added a new parameter to
3186 filter the the windows that do not include those events. Added
3187 also a condition when finding the window to filter windows that do
3188 not ask for those events.
3189 (hildon_pannable_area_button_press_cb),
3190 (hildon_pannable_area_button_release_cb),
3191 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3192 topmost function, we have added the new parameter.
3194 Fixes: NB#97458 (Pannable area prevents propagation of button
3197 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3199 * tests/check-hildon-color-button.c (START_TEST): do not leak
3202 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3204 * src/hildon-font-selection-dialog.c
3205 (hildon_font_selection_dialog_get_preview_text): Return NULL
3206 instead of FALSE on the g_return_val_if_fail().
3208 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3210 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3211 * src/hildon-date-selector.c
3212 (hildon_date_selector_select_current_date):
3213 Do not compare unsigned integers to be greater than or equal 0,
3214 because it's always TRUE.
3216 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3218 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3219 (hildon_date_selector_constructor): Do not select the current
3220 date until we are handle the "changed" signal, to avoid having bogus
3221 elements in the days model.
3223 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3225 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3226 for num_days, since _month_days() can return a negative value.
3228 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3230 * src/hildon-caption.c (hildon_caption_size_allocate):
3231 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3232 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3234 Initialize allocation variables to 0, to avoid eventually using
3235 unitialized variables.
3237 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-bread-crumb-trail.c
3240 (hildon_bread_crumb_trail_size_allocate):
3241 * src/hildon-calendar.c (hildon_calendar_set_background):
3242 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3243 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3244 * src/hildon-seekbar.c (hildon_seekbar_init):
3245 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3246 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3247 * src/hildon-touch-selector-entry.c
3248 (hildon_touch_selector_get_text_from_model):
3249 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3250 * src/hildon-window.c (hildon_window_finalize):
3252 Remove many unused variables.
3254 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3256 * src/hildon-seekbar.c: (hildon_seekbar_init),
3257 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3259 Remove unnecessary g_assert() calls.
3261 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-caption.c: (hildon_caption_expose),
3264 (hildon_caption_set_property), (hildon_caption_init),
3265 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3266 (hildon_caption_size_request), (hildon_caption_size_allocate),
3267 (hildon_caption_forall), (hildon_caption_set_separator),
3268 (hildon_caption_activate), (hildon_caption_set_child_expand),
3269 (hildon_caption_set_label_text),
3270 (hildon_caption_get_label_alignment):
3272 Remove unnecessary g_assert() calls.
3274 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3276 * src/hildon-banner.c
3277 (hildon_banner_map, hildon_banner_init): Make banner temporary
3278 before mapping it to avoid closing other temporary windows, but
3279 make it non-temporary afterwards to avoid being closed by other
3280 non-temporary windows.
3281 (-hildon_banner_client_event, hildon_banner_init):
3282 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3284 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3287 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3289 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3292 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3294 * src/hildon-remote-texture.c
3295 * src/hildon-remote-texture.h
3296 * src/hildon-remote-texture-private.h
3297 * examples/hildon-remote-texture-example.c:
3298 Updates/fixes to remote-texture and its example.
3300 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3302 Patch by Mox Soini (ext-mox.soini@nokia.com)
3304 * src/hildon-code-dialog.c: Update logical id.
3305 * src/hildon-set-password-dialog.c: Update logical id.
3307 Fixes: NB#100646 (Logical strings is shown for ok in set
3308 password,Password needed dialogs)
3310 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3313 * src/hildon-remote-texture.c
3314 * src/hildon-remote-texture.h
3315 * src/hildon-remote-texture-private.h
3317 Added remote texture widget (for Clutter shared memory textures)
3319 * examples/hildon-remote-texture-example.c
3320 * examples/Makefile.am
3321 Added example file for remote texture usage
3323 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3325 * configure.ac: post release version bump.
3326 * debian/changelog: version bump.
3328 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3333 * configure.ac: Bump version.
3334 * debian/changelog: Updates.
3336 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3338 * src/hildon-date-selector.c (hildon_date_selector_init)
3339 (hildon_date_selector_constructor): Don't connect to the "changed"
3340 signal until the selector is completely constructed.
3342 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3344 * src/hildon-touch-selector.c: (_create_new_column),
3345 (hildon_touch_selector_append_column),
3346 (hildon_touch_selector_set_column_selection_mode),
3347 (hildon_touch_selector_set_active),
3348 (hildon_touch_selector_select_iter):
3349 Emit the HildonTouchSelector::changed signal every time selection
3350 is changed in any of the methods above. This behavior was already
3351 documented but not fully functional.
3353 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3354 selection is programmatically changed)
3356 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3358 * doc/hildon-sections.txt: Remove obsolete icon
3359 sizes from here as well.
3361 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3363 * examples/hildon-stackable-window-example.c (add_window): Remove
3366 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3368 * src/hildon-app-menu.c
3369 (hildon_app_menu_show): Check whether the parent window of a menu
3370 is topmost before popping it up.
3372 Fixes: NB#100468 (Application menu window is launched even when a
3373 new secondary-window/dialog is pending to be shown/realized.)
3375 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3377 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3380 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3382 Patch by Mox Soini (ext-mox.soini@nokia.com)
3384 * src/hildon-banner.c: (hildon_banner_show_animation):
3385 use stylus size instead of obsolete note size.
3386 * src/hildon-defines.h: Update icon sizes.
3388 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3390 * src/hildon-touch-selector-entry.c:
3391 (hildon_touch_selector_entry_init): Disable unsupported
3393 (hildon_touch_selector_entry_get_text_column): Emit a warning
3394 if an unsupported input modes is used and explicitile state
3395 these modes in the documentation.
3397 Fixes: NB#99802 (Hildon touch selector entry not working properly
3398 for some of the input modes)
3400 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3402 * src/hildon-pannable-area.c,
3403 (hildon_pannable_area_init): Added the changed signal handlers of
3406 Fixes: NB#100320 (HildonPannableArea does not listen to
3407 GtkAdjustment "change" signals)
3409 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3411 * doc/hildon-sections.txt
3412 * src/hildon-window-private.h
3413 * src/hildon-window.h
3414 * src/hildon-window.c (hildon_window_init)
3415 (hildon_window_realize, hildon_window_unrealize)
3416 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3417 (hildon_window_size_request, hildon_window_size_allocate)
3418 (hildon_window_forall, hildon_window_show_all)
3419 (hildon_window_destroy, +paint_edit_toolbar)
3420 (+hildon_window_set_edit_toolbar):
3421 New hildon_window_set_edit_toolbar() method, to add a
3422 HildonEditToolbar to a window without having to pack it manually.
3424 Reorganize hildon_window_size_allocate()
3426 * src/hildon-edit-toolbar.c: Update documentation.
3428 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3429 example to use the new API.
3431 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3433 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3435 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3436 Remove from stack before calling parent's hide.
3438 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3440 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3441 window is removed from the middle of the stack, update the
3442 transiency of the previous one.
3444 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3447 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3449 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3450 block/unblock the signal handler if it's not actually being used.
3451 Fixes some critical warnings.
3453 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3455 Based on a patch by Iván Gómez (igomez@igalia.com)
3457 * src/hildon-banner.c
3461 * src/hildon-pannable-area.c
3462 * src/hildon-picker-dialog.c
3463 * src/hildon-wizard-dialog.h
3464 * src/hildon-wizard-dialog.c: Documentation updates.
3466 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3467 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3469 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3471 * configure.ac: post release version bump.
3472 * debian/changelog: version bump.
3474 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3479 * configure.ac: Bump version.
3480 * debian/changelog: Updates.
3482 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3484 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3485 a stock icon nor change the relief of the back arrow.
3487 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3488 graphics from theme)
3490 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-button.c (hildon_button_set_alignment): Use
3493 priv->alignment if the button has no child yet.
3495 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-button.c: (hildon_button_init): Set the
3498 button style during initialization to give it the proper
3501 Fixes: NB#99713 (HildonButton value label color is wrong)
3503 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3505 * src/hildon-touch-selector.c: Document
3506 hildon_touch_selector_center_on_selected()
3508 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3510 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3511 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3512 all menu items, but not the menu itself.
3513 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3514 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3515 items after adding them to the menu so keyboard accelerators work.
3516 (hildon_app_menu_show): Don't show the menu if it contains items
3517 but none of them are visible.
3519 * examples/hildon-app-menu-example.c (create_menu): Use
3520 gtk_widget_show_all() to show all menu items.
3522 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3524 * src/hildon-picker-dialog.c:
3525 (-_update_title_on_selector_changed_cb),
3526 (-_dialog_update_title): Removed.
3527 (_select_on_selector_changed_cb), (_on_dialog_response),
3528 (on_selector_columns_changed): Do not update the dialog title.
3529 (setup_interaction_mode): Do not connect to
3530 HildonTouchSelector::changed signal if there's a "done" button, as
3531 the dialog title doesn't need to be updated.
3533 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3536 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3538 Patch by Kristian Rietveld (kris@imendio.com)
3540 * src/hildon-touch-selector.c: (_create_new_column): Use new
3541 GtkTreeView::hildon-row-tapped signal to react to user interactions
3542 instead of ::changed.
3544 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3545 with some dynamic tree model)
3547 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3549 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3550 (+screen_size_changed, +label_size_request)
3551 (hildon_note_class_init): Make the Hildon information note have a
3552 minimum height, and make its text hvae a maximum width.
3554 Fixes: NB#98614 (Hildon information note (background) should have
3555 minimum height and maximum text width)
3557 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-banner.h
3560 * src/hildon-banner.c (hildon_banner_show_information)
3561 (hildon_banner_show_informationf)
3562 (hildon_banner_show_information_with_markup): Update documentation
3563 to reflect that the icon_name parameter is not used anymore.
3564 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3565 Remove all code from these functions and mark them as deprecated.
3566 (hildon_banner_show_progress): Mark as deprecated.
3568 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3570 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3572 * src/hildon-pannable-area.c,
3573 (hildon_pannable_area_class_init),
3574 (tranparency_color),
3575 (hildon_pannable_draw_vscroll),
3576 (hildon_pannable_draw_hscroll),
3577 (hildon_pannable_area_expose_event): Added a new way to render the
3578 scrollbars of the pannable area avoiding using cairo at all. This
3579 way we improve the performance of the pannable area rendering. The
3580 cairo rendering procedure is still in the code, we can control
3581 which one to use changing the value of the define
3582 USE_CAIRO_SCROLLBARS.
3584 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3586 * configure.ac: post release version bump.
3587 * debian/changelog: version bump.
3589 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3594 * configure.ac: Bump version.
3595 * debian/changelog: Updates.
3597 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3599 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3600 banners instead of destroying them when they receive a button
3603 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3605 Reverted commit 34028, it was causing regressions, probably the
3606 topmost condition is not correct, we have to check it in more
3607 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3608 propagation of button press events)
3610 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3612 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3613 that the selection is not empty before attempting to retrieve the
3614 current ampm selection.
3616 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3618 * src/hildon-picker-button.c:
3619 (hildon_picker_button_on_dialog_response): Directly update the
3620 button contents when required instead of calling _selection_changed.
3622 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3624 * src/hildon-program.c (hildon_program_update_top_most): Update
3625 'is-topmost' property also when wm_hints is not set.
3627 Fixes: NB#98383 (is-topmost signal is not emitted when task
3628 switcher is clicked.)
3630 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3632 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3636 * src/hildon-animation-actor.c,
3637 * src/hildon-animation-actor.h: Added the animation actor class,
3638 this widget represents an animation actor for WM-assisted
3639 animation effects in the Hildon framework.
3641 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3643 * src/hildon-window-stack-private.h
3644 * src/hildon-window-stack.c
3645 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3646 Avoid calling gtk_widget_show() again indirectly from
3647 hildon_stackable_window_show()
3649 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3651 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3654 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3656 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3657 (hildon_time_selector_init): Move the construction of the hours and
3658 ampm columns to the constructor to preserve the order the columns
3661 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3663 * src/hildon-picker-dialog.c:
3664 (hildon_picker_dialog_class_init): Connect a realize method.
3665 (+hildon_picker_dialog_realize): Setup the interaction mode here
3667 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3668 yet, do it during the realize instead.
3669 (_on_dialog_response):
3670 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3671 if the widget is not realized, to avoid the dialog response before it
3674 Avoid premature responses in the HildonPickerDialog that can cause it
3675 to be hidden before it's even shown.
3677 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3680 (on_selector_columns_changed), (requires_done_button),
3681 (+prepare_action_area), (setup_interaction_mode),
3682 (_hildon_picker_dialog_set_selector):
3684 Split the interaction mode setup into preparation of the
3685 action area (prepare_action_area()) and the connection of
3686 the signals in setup_interaction_mode() and update the code to
3689 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3691 * src/hildon-pannable-area.c,
3692 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3693 per second to 15, we will check if this is ok regarding
3696 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3698 * src/hildon-pannable-area.c,
3699 (hildon_pannable_axis_scroll): Avoid resize if we already have
3700 reached overshoot_max.
3702 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3704 * src/hildon-pannable-area.c,
3705 (hildon_pannable_area_init),
3706 (hildon_pannable_area_realize),
3707 (hildon_pannable_area_size_allocate),
3708 (hildon_pannable_area_map),
3709 (hildon_pannable_area_unmap),
3710 (hildon_pannable_draw_vscroll),
3711 (hildon_pannable_draw_hscroll),
3712 (hildon_pannable_area_expose_event),
3713 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3714 pannable are to avoid the expose events go to the window and
3715 redraw the window. We save this way that part of the stack and the
3716 paint_boxes. We had to change the positions of the elements when
3719 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3721 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3722 * src/hildon-color-chooser-dialog.c:
3723 (hildon_color_chooser_dialog_init):
3724 * src/hildon-font-selection-dialog.c:
3725 (hildon_font_selection_dialog_init),
3726 (hildon_font_selection_dialog_show_preview):
3727 * src/hildon-get-password-dialog.c:
3728 * src/hildon-login-dialog.c:
3729 * src/hildon-set-password-dialog.c:
3730 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3731 * src/hildon-time-picker.c: (hildon_time_picker_init):
3733 Remove obsolete logical string IDs and update to the appropriate ones.
3735 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3737 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3739 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3740 that happens if the window hasn't been realized yet.
3742 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3743 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3745 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3747 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3748 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3751 Fixes: NB#98537 (Device hangs in account settings dialog)
3753 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3755 * configure.ac: post release version bump.
3756 * debian/changelog: version bump
3758 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3763 * configure.ac: Bump version.
3764 * debian/changelog: Updates.
3766 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3768 Added a new function to the HildonTimeButton widget that allows to
3769 change the step of the minutes in the selector associated with the
3770 button: hildon_time_button_new_step
3772 * src/hildon-time-button.c,
3773 (hildon_time_button_init),
3774 (hildon_time_button_new),
3775 (hildon_time_button_new_step):
3776 * src/hildon-time-button.h: Added the new function and refactored
3778 * examples/hildon-time-button-example.c,
3779 (main): We have replaced the function without parameters with the
3780 function with the steps set to 5
3782 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3784 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3786 * src/hildon-time-selector.c,
3787 (hildon_time_selector_class_init),
3788 (hildon_time_selector_constructor),
3789 (hildon_time_selector_get_property),
3790 (hildon_time_selector_set_property),
3791 (_create_minutes_model),
3792 (hildon_time_selector_new_step),
3793 (hildon_time_selector_set_time),
3794 * src/hildon-time-selector.h: Added a new property to the
3795 HildonTimeSelector (minutes-step), we use that property to control
3796 the steps between the minutes in the list of the selector. We have
3797 added a new function to the API to create a widget changing the
3798 step: hildon_time_selector_new_step.
3800 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3802 * src/hildon-time-selector.c,
3803 (hildon_time_selector_class_init),
3804 (hildon_time_selector_constructor),
3805 (hildon_time_selector_init): Overrided the construct function when
3806 creating the time selector object. We have moved the minutes model
3807 handling code from the init to the new construction function:
3808 hildon_time_selector_constructor.
3810 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3812 * examples/hildon-date-button-example.c: (main): Use the new
3813 hildon_date_button_new_with_year_range() method in the example.
3814 * src/hildon-date-button.c:
3815 (+hildon_date_button_new_with_year_range): New public method
3816 to conveniently create a HildonDateButton with a custom year range
3817 in its HildonDateSelector.
3818 * src/hildon-date-button.h: Add the new public method definition.
3820 Fixes: NB#97908 (Not possible to change the year range in
3821 HildonDateSelector/HildonDateButton)
3823 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3825 * src/hildon-date-selector.c:
3826 (+hildon_date_selector_set_property),
3827 (+hildon_date_selector_get_property),
3828 (hildon_date_selector_class_init): Install new properties "min-year"
3829 and "max-year" to define boundaries for the year column.
3830 (_create_year_model): Use the boundary properties to populate the model.
3831 (+hildon_date_selector_new_with_year_range): New public method to
3832 create a HildonDateSelector with a user defined year range.
3833 (hildon_date_selector_select_current_date): Use the new boundaries to
3834 calculate the iterator of current year.
3835 * src/hildon-date-selector.h: Add the new public method definition.
3837 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3839 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3840 Install a constructor method.
3841 (+hildon_date_selector_construct_ui): construct the widget.
3842 (+hildon_date_selector_constructor): new constructor.
3843 (+hildon_date_selector_init): move out widget construction code to
3844 the new constructor.
3846 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3848 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3849 that there's actually a month or year selected before obtaining them.
3850 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3851 of the HildonTouchSelector::changed signal, as it was emitted on every
3852 single item selection.
3854 Fix some warnings and possible crashers due to the selection restoring.
3856 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3858 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3859 the signal handlers only after creating the dialog instead of on every
3862 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-button.c (hildon_button_init)
3865 * src/hildon-check-button.c (hildon_check_button_init)
3866 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3867 focus when clicked by default.
3869 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3871 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3874 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3876 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3877 Alejandro G. Castro (alex@igalia.com)
3879 * src/hildon-picker-dialog.c:
3880 (hildon_picker_dialog_class_init): install new "center-on-show"
3882 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3883 (hildon_picker_dialog_set_property): add setter code for the new
3885 (hildon_picker_dialog_get_property): add getter code for the new
3887 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3888 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3891 Fixes: NB#92849 (Selected item is not always visible when
3892 HildonTouchSelector is shown)
3894 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3896 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3897 Alejandro G. Castro (alex@igalia.com)
3899 * src/hildon-touch-selector.c:
3900 (_create_new_column): Do not connect to the "realize" signal of the
3902 (hildon_touch_selector_append_column): center on the selected items
3903 when a new column is appended.
3904 (hildon_touch_selector_select_iter): Factor out the code to select a
3905 column to hildon_touch_selector_scroll_to().
3906 (+search_nearest_element): Method to retrieve the nearest selected
3907 element to the visible area of the pannable area in a column.
3908 (+on_realize_cb): scroll to the initially selected item.
3909 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3910 the pannable area is realized, otherwise delay this until it is.
3911 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3912 selected items of a given column.
3913 (+hildon_touch_selector_center_on_selected): Public method to center
3914 all columns on the nearest selected item.
3915 * src/hildon-touch-selector.h: Add definition for
3916 hildon_touch_selector_center_on_selected().
3918 Implement public API to ensure visibility of all selected items in
3919 a HildonTouchSelector.
3921 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3923 Fixed a problem in the fading when calling the scroll_to API, and
3924 improve scrollbar fading handling.
3926 * src/hildon-pannable-area.c,
3927 (hildon_pannable_area_grab_notify): avoid the timeout when the
3929 (hildon_pannable_area_button_press_cb),
3930 (hildon_pannable_area_motion_notify_cb): Code style changes.
3931 (hildon_pannable_area_button_release_cb): Review the conditions
3932 when releasing the mouse button to avoid unrequired fading
3934 (hildon_pannable_area_scroll_to): Do not calculate and set the
3935 velocity if the scroll is not required.
3937 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3939 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3940 Don't check whether the new selector is NULL: it cannot be.
3941 Hold a reference to the selector while doing the replacement.
3943 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3945 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3946 unnecessary size_request in a removed widget.
3948 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3950 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3951 an unnecessary reference tracking that was leaking.
3953 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3955 Added delayed motion notify event handling, this way we can
3956 discard redrawing if more than 25 events arrive per second.
3958 * src/hildon-pannable-area.c,
3959 (hildon_pannable_area_init): Initialized the new private atributes
3960 controlling this timeout
3961 (hildon_pannable_area_dispose): Remove the timeout that controls
3962 the motion notify events.
3963 (hildon_pannable_area_scroll): Added a condition to control the
3964 use of the acceleration.
3965 (hildon_pannable_area_motion_event_scroll_timeout),
3966 (hildon_pannable_area_motion_event_scroll): Added this two
3967 functions, they handle the motion notify events inside the
3969 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3970 to the scroll method with the new function.
3971 (hildon_pannable_area_button_release_cb): We have to remove the
3972 timeout handler and move to the last position if the last motion
3973 events were not handled.
3975 Fixes: NB#97028 (Pannable area updates on every motion event)
3977 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3979 * src/hildon-pannable-area.c,
3980 (hildon_pannable_area_get_topmost): Added a new parameter to
3981 filter the the windows that do not include those events. Added
3982 also a condition when finding the window to filter windows that do
3983 not ask for those events.
3984 (hildon_pannable_area_button_press_cb),
3985 (hildon_pannable_area_button_release_cb),
3986 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3987 topmost function, we have added the new parameter.
3989 Fixes: NB#97458 (Pannable area prevents propagation of button
3992 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3994 * src/hildon-pannable-area.c,
3995 (hildon_pannable_area_initial_effect): Added controls before
3996 launching the timeout and the idle functions.
3997 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3998 of the method, in some situations it can return with TRUE and 0 in
4000 (hildon_pannable_area_button_press_cb): We do not need to set
4001 DELAY for fading out here.
4003 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4005 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4007 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4008 post-cleaning if the selection is not NULL.
4010 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4012 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4013 all items before restoring the selection.
4015 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4017 * src/hildon-touch-selector.c:
4018 (+hildon_touch_selector_unselect_all):
4019 * src/hildon-touch-selector.h: New API to unselect all items in a
4020 column of the touch selector.
4022 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4024 * src/hildon-pannable-area.c,
4025 (hildon_pannable_area_redraw): Added a call to the refresh
4026 function inside the redraw because apparently in some cases the
4027 change in the adjustment does not imply a size allocate.
4029 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4030 despite the view not being scrollable)
4032 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4034 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4035 leak. Check for NULL before attempting to set the window title.
4037 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4039 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4040 whether to show or not the 'Done' button each time the dialog is
4041 shown, as it depends on the HildonTouchSelector selection mode.
4043 Fixes: NB#96226 (In multiple selection mode Done button is shown
4044 sometimes in listpicker)
4046 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4048 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4049 for the number of columns in the HildonTouchSelector more than once.
4051 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4053 * src/hildon-touch-selector.c: Minor documentation fixes.
4055 * src/hildon-picker-dialog.c (+_dialog_update_title)
4056 (_select_on_selector_changed_cb)
4057 (_update_title_on_selector_changed_cb)
4058 (on_selector_columns_changed): Update dialog title when there's no
4059 'Done' button and also when the number of columns in the selector
4063 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4064 (+_selection_changed, hildon_picker_button_on_dialog_response)
4065 (hildon_picker_button_selector_selection_changed)
4066 (+hildon_picker_button_selector_columns_changed)
4067 (hildon_picker_button_set_selector): Update button value and emit
4068 'value-changed' when the number of columns in the selector
4072 Fixes: NB#96225 (Dialog titles are not shown according to the
4073 values selected in the list picker)
4075 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4077 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4078 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4079 New "arrow-width" and "arrow-height" style properties to set the
4080 size of the arrow button.
4081 Set name of arrow button ("hildon-edit-toolbar-arrow").
4083 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4084 graphics from theme)
4086 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4088 * src/hildon-picker-button.c:
4089 (hildon_picker_button_selector_selection_changed): Use
4090 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4091 the dialog is present.
4093 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4094 the selection is accepted in the dialog)
4096 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4098 * src/hildon-color-chooser.h
4099 * src/hildon-color-chooser-dialog.h:
4100 Added G_BEGIN_DECLS and G_END_DECLS
4102 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4104 (_clean_current_selection): plug a leak in the list.
4106 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4108 * src/hildon-picker-dialog.c:
4109 (+free_path_list): Method to free a GList of GtkTreePaths.
4110 (_clean_current_selection), (_save_current_selection),
4111 (_restore_current_selection): Save the current selection in
4112 as a list of lists, to support multiple selection properly.
4114 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4116 patch by Claudio Saavedra (csaavedra@igalia.com)
4118 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4119 Store the press position.
4120 (+hildon_text_view_button_release_event): If the release position is
4121 close enough to the press position, move the cursor here. Otherwise,
4123 (hildon_text_view_class_init): Override GtkTextView press, release, and
4124 motion event handlers, disabling this way text selection through
4125 pointer interaction, and allowing the container widget to handle the
4128 Fixes: NB#95828 (HildonTextView functionality)
4130 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4132 Based on a patch by Iván Gómez (igomez@igalia.com)
4134 * src/hildon-button.[ch]
4135 * src/hildon-calendar.c
4136 * src/hildon-check-button.c
4137 * src/hildon-date-editor.c
4138 * src/hildon-date-selector.c
4139 * src/hildon-picker-button.c
4140 * src/hildon-time-editor.c
4141 * src/hildon-time-selector.c
4142 * src/hildon-touch-selector.[ch]:
4143 Documentation updates
4145 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4147 * src/hildon-pannable-area.c,
4148 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4149 threshold, it was required due to X events handling.
4151 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4153 * src/hildon-pannable-area.c,
4154 (hildon_pannable_area_grab_notify),
4155 (hildon_pannable_area_initial_effect),
4156 (hildon_pannable_area_button_press_cb),
4157 (hildon_pannable_area_button_release_cb),
4158 (hildon_pannable_area_scroll_cb),
4159 (hildon_pannable_area_scroll_to): Review the timeout management of
4160 the scrollbar, the frecuency was incorrectly set.
4162 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4164 * src/hildon-picker-button.c:
4165 (+hildon_picker_button_on_dialog_response),
4166 (hildon_picker_button_clicked): Present the dialog instead of
4167 running it with gtk_dialog_run().
4169 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4172 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4174 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4175 (hildon_app_menu_finalize): When a window is hidden it doesn't
4176 emit notify::is-topmost, so make sure than the menu also
4177 disappears in that case.
4178 (parent_window_topmost_notify): Renamed from parent_window_hidden
4180 Fixes: NB#94460 (stackable window's menu is not closed when its
4183 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4185 * src/hildon-touch-selector-entry.c:
4186 (+hildon_touch_selector_entry_set_input_mode),
4187 (+hildon_touch_selector_entry_get_input_mode):
4188 * src/hildon-touch-selector-entry.h: New methods to access the input
4189 mode in the selector's entry.
4191 Fixes: NB#93410 (API required for setting IM mode in
4192 HildonTouchSelectorEntry)
4194 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4196 * configure.ac: post release version bump.
4197 * debian/changelog: version bump
4199 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4204 * configure.ac: Bump version.
4205 * debian/changelog: Updates.
4207 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4209 * src/hildon-touch-selector.c:
4210 (_hildon_touch_selector_has_multiple_selection): No need
4211 to initialize the variables here.
4213 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-note-private.h
4216 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4217 (hildon_note_finalize, hildon_note_rebuild): Close information
4218 notes when they receive a button press.
4220 Fixes: NB#89890 (Information notes does not get disappeared after
4223 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4225 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4226 mark from the wizard title, as it's not really necessary. Also,
4227 do not display the page title if not set.
4229 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4231 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4232 (parent_window_hidden): Use the window's "is-topmost" property to
4233 detect when to hide the menu.
4235 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4237 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4238 (hildon_app_menu_finalize): If the parent window of the menu is
4239 hidden, hide the menu too.
4241 Fixes: NB#94460 (stackable window's menu is not closed when its
4244 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4247 * debian/libhildon1-examples.install
4249 * examples/Makefile.am:
4250 Use dh_install to install all examples.
4251 Use DEB_SRCDIR instead of defining SOURCE_DIR
4253 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4255 * configure.ac: post release version bump.
4256 * debian/changelog: version bump
4258 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4263 * configure.ac: bump version
4264 * debian/changelog: updates
4265 * debian/control: bump gtk+ dependency
4267 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4269 patch by Christian Dywan (christian@imendio.com)
4271 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4272 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4274 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4276 * src/hildon-check-button.c (hildon_check_button_init)
4277 (hildon_check_button_class_init, hildon_check_button_style_set)
4278 (hildon_check_button_apply_style):
4279 New "checkbox-size" style property.
4281 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4282 larger / configurable size)
4284 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4286 * configure.ac: post release version bump.
4287 * debian/changelog: version bump
4289 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4294 * configure.ac: bump version
4295 * debian/changelog: updates
4297 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4299 * doc/hildon-sections.txt
4300 * src/hildon-pannable-area.c
4301 * src/hildon-program.c
4302 * src/hildon-time-editor.c
4303 * src/hildon-touch-selector-entry.c:
4305 More documentation updates.
4307 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4309 * doc/hildon-sections.txt
4310 * src/hildon-caption.c
4311 * src/hildon-code-dialog.c
4312 * src/hildon-color-button.c
4313 * src/hildon-controlbar.c
4314 * src/hildon-date-editor.c
4315 * src/hildon-date-selector.c
4316 * src/hildon-edit-toolbar.c
4317 * src/hildon-find-toolbar.c
4318 * src/hildon-font-selection-dialog.c
4320 * src/hildon-program.c
4321 * src/hildon-range-editor.c
4322 * src/hildon-seekbar.c
4323 * src/hildon-time-editor.c
4324 * src/hildon-time-selector.c
4325 * src/hildon-volumebar-range.c
4326 * src/hildon-volumebar.c
4327 * src/hildon-vvolumebar.c
4328 * src/hildon-weekday-picker.c
4329 * src/hildon-window.c
4330 * src/hildon-wizard-dialog.c:
4332 Lots of documentation fixes.
4334 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4336 Patch contributed by Iván Gómez (igomez@igalia.com)
4338 * src/hildon-check-button.c:
4339 * src/hildon-date-button.c:
4340 * src/hildon-date-selector.c:
4341 * src/hildon-dialog.c:
4342 * src/hildon-edit-toolbar.c:
4343 * src/hildon-entry.c:
4344 * src/hildon-picker-button.c:
4345 * src/hildon-program.c:
4346 * src/hildon-text-view.c:
4347 * src/hildon-time-button.c:
4348 * src/hildon-touch-selector-entry.c:
4349 * src/hildon-window-stack.c:
4351 Add more "since" tags to the new API.
4353 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4355 * doc/hildon-sections.txt: Add below method.
4356 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4357 version for the hildonized scale.
4358 * src/hildon-gtk.h: Add the definition.
4360 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4362 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4364 * doc/hildon-sections.txt: Add missing entries for new methods.
4366 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4368 Added API to pannable are in order to get its adjustments. We
4369 added two properties to manage the values we had in the private
4372 * src/hildon-pannable-area.c:
4373 (hildon_pannable_area_class_init): Added hadjustment and
4374 vadjustment properties in order to expose horizontal and vertical
4376 (hildon_pannable_area_get_property),
4377 (hildon_pannable_area_set_property): Added code to handle the new
4379 (hildon_pannable_area_get_hadjustment),
4380 (hildon_pannable_area_get_vadjustment): API functions to get the
4382 * src/hildon-pannable-area.h:
4383 (hildon_pannable_area_get_hadjustment),
4384 (hildon_pannable_area_get_vadjustment): API functions to get the
4387 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4389 Fixed some leaks, after valgrinding.
4391 * src/hildon-touch-selector.c:
4392 (_default_print_func): Fixed a leak.
4393 (hildon_touch_selector_append_column): Fixed a leak.
4394 * src/hildon-date-button.c:
4395 (hildon_date_button_init): Fixed a leak.
4396 * src/hildon-date-selector.c
4397 (hildon_date_selector_finalize): Fixed a leak.
4399 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4401 Based on a patch by Christian Dywan (christian@imendio.com)
4403 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4405 * src/hildon-gtk.h: Add definition.
4407 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4409 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-picker-button.c: (hildon_picker_button_init),
4412 (hildon_picker_button_new): Set the HildonButton::style property
4413 in the init method, to propagate the value to the derived classes.
4415 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4417 * src/hildon-button.c: (hildon_button_class_init): Do not make
4418 the "style" property a construct property.
4420 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4422 * src/hildon-wizard-dialog.h
4423 * src/hildon-wizard-dialog.c
4424 (hildon_wizard_dialog_set_forward_page_func)
4425 * src/hildon-pannable-area.h
4426 * src/hildon-pannable-area.c
4427 (hildon_pannable_area_set_size_request_policy):
4428 Documentation fixes.
4430 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4432 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4434 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4436 * doc/hildon-sections.txt: Added sections file.
4438 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/*.[ch]: Updates.
4443 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4445 * examples/hildon-progress-indicator-example.c: new file
4446 * examples/Makefile.am: include the new example program
4448 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4450 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4452 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4454 * configure.ac: post release version bump
4455 * debian/changelog: version bump
4457 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4462 * configure.ac: bump version
4463 * debian/changelog: updates
4464 * debian/control: bump gtk+ dependency
4466 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4468 * src/hildon-dialog.c: Mark as deprecated.
4469 * src/hildon-dialog.h: Mark as deprecated.
4470 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4471 from HildonDialog and still work, even if
4472 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4473 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4475 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4476 maemo changes) instead)
4478 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4480 * src/hildon-pannable_area.h:
4481 * src/hildon-pannable_area.c:
4482 (hildon_pannable_area_class_init),
4483 (hildon_pannable_area_set_property),
4484 (hildon_pannable_area_get_property),
4485 (hildon_pannable_area_size_request),
4486 (hildon_pannable_area_get_size_request_policy),
4487 (hildon_pannable_area_set_size_request_policy): Added new API
4488 allowing applications to control the request policy. Now they can
4489 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4490 children allocation (HILDON_MOVEMENT_CHILDREN).
4492 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4496 (hildon_gtk_tree_view_set_ui_mode)
4497 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4498 mode of treeviews and iconviews.
4500 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4502 * src/hildon-touch-selector-entry.c:
4503 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4504 of a GtkEntry to get proper theming.
4506 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4507 widget, not GtkEntry)
4509 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4511 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4512 no HildonWizardDialogPageFunc.
4514 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4516 Patch contributed by Iván Gómez (igomez@igalia.com)
4518 * src/hildon-app-menu.c:
4519 * src/hildon-button.c:
4520 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4521 * src/hildon-stackable-window.c:
4522 * src/hildon-time-selector.c:
4523 * src/hildon-touch-selector.c:
4524 * src/hildon-window.c:
4526 Add more "since" tags to the new API in hildon 2.2.
4528 2008-12-05 Tim Janik <timj@imendio.com>
4530 Patch contributed by Christian Dywan (christian@imendio.com)
4532 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4533 HildonSizeType, which are supplied by Gtk+ now.
4535 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4537 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4538 (with maemo changes) instead)
4540 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4542 Patch contributed by Iván Gómez (igomez@igalia.com)
4544 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4547 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4549 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4550 (some_page_func), (main): Update the example to use a
4551 HildonWizardDialogPageFunc function.
4553 * src/hildon-wizard-dialog-private.h: Add private data for
4554 the HildonWizardDialogPageFunc function usage.
4556 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4557 (destroy), (hildon_wizard_dialog_init), (response),
4558 (hildon_wizard_dialog_set_forward_page_func):
4559 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4560 that applications can use to stop a HildonWizardDialog to jump to
4563 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4566 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4568 * src/hildon-program.h
4569 * src/hildon-program-private.h
4570 * src/hildon-program.c (hildon_program_init)
4571 (hildon_program_set_common_app_menu)
4572 (hildon_program_get_common_app_menu):
4573 New API for setting a common HildonAppMenu for all
4574 HildonStackableWindows registered with the HildonProgram.
4576 * src/hildon-stackable-window.c
4577 (hildon_stackable_window_toggle_menu):
4578 Use the common HildonAppMenu if a window doesn't have a specific
4581 * src/hildon-app-menu-private.h
4582 * src/hildon-app-menu.c
4583 (hildon_app_menu_get_parent_window):
4584 Function to obtain the window a HildonAppMenu is attached to.
4585 (hildon_app_menu_set_parent_window):
4586 Hide the menu if the parent window is set to NULL.
4588 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4590 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4591 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4592 search widget to popup.
4594 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4596 * configure.ac: post release version bump
4597 * debian/changelog: version bump
4599 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4604 * configure.ac: bump version
4605 * debian/changelog: updates
4607 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4609 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4611 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4612 (hildon_window_stack_window_realized)
4613 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4614 Set the leader GdkWindow when a window is stacked and realized,
4615 unset it when it's unstacked.
4616 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4618 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4620 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4622 * src/hildon-stackable-window.h
4623 * src/hildon-window-stack.h:
4624 Protect definition of HildonWindowStack using the preprocessor.
4626 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4628 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4629 Fix warning if all menu items are hidden.
4631 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4633 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4635 * src/hildon-controlbar.c:
4636 * src/hildon-hvolumebar.c:
4637 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4638 Multiple scale size defines updates.
4640 Fixes: NB#94322 (Scale Updates)
4642 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4644 * examples/hildon-app-menu-example.c (create_menu)
4645 Show items after adding them to the menu, as in the future the
4646 menu will no longer call gtk_widget_show() on the added items.
4648 * src/hildon-app-menu.c:
4649 Update example as explained above.
4651 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4653 * src/hildon-app-menu.c
4654 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4655 Make sure that all menu items have finger height.
4657 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4659 * src/hildon-picker-dialog.c:
4660 (_on_dialog_response), (_save_current_selection),
4661 (_restore_current_selection), (_clean_current_selection),
4662 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4663 Defined new functions in order to save the current internal selector
4664 selection previous open the dialog, in case that the use cancel the
4665 interaction, so the widget restores the previous selection.
4667 Fixes: NB#92032 (In calendar application, date values in 'new event'
4670 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4672 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4674 * src/hildon-button.c: Add a reference to the button examples in
4675 hildon-button-example.c
4677 * examples/hildon-button-example.c: Added examples of the most
4678 common button layouts.
4680 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4682 * src/hildon-app-menu.c (hildon_app_menu_show)
4683 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4685 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4687 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4689 * src/hildon-picker-dialog.c:
4690 (hildon_picker_dialog_init): Initialize the signal id for
4691 HildonTouchSelector::columns-changed.
4692 (+on_selector_columns_changed): Set up the interaction mode everytime a
4693 column is added or removed from the HildonTouchSelector.
4694 (_hildon_picker_dialog_set_selector): Connect to
4695 HildonTouchSelector::columns-changed and keep track of it.
4697 Make sure to update the interaction mode of the dialog everytime a
4698 column is added or removed in the HildonTouchSelector.
4700 Fixes: NB#93228 (Done button is not shown always in listpicker)
4702 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4705 a new ::columns-changed signal.
4706 (hildon_touch_selector_append_column): Emit ::columns-changed.
4707 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4709 Add a ::columns-changed signal, emitted when the number of columns in a
4710 HildonTouchSelector changes.
4712 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4714 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4715 (_hildon_picker_dialog_set_selector): Factor out the code
4716 to set up the dialog interaction mode.
4718 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4720 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4721 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4722 to signal_changed_id.
4724 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4726 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4729 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4731 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4732 Updated the logical ids related to ampm format, as now it is required to
4733 show it correctly localized even on languages with no default
4734 abbreviations for am or pm
4735 (_check_am_pm_format): check correctly the 24h format gconf property
4737 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4739 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4741 * src/hildon-button.c: Documentation updates.
4743 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4745 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4746 * src/hildon-caption.c: (hildon_caption_class_init):
4747 * src/hildon-color-button.c: (hildon_color_button_class_init):
4748 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4749 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4750 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4751 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4753 Remove deprecated GTK+ marshalers and replace them with the ones
4754 provided by GLib, for those available, add a marshaler for
4755 BOOLEAN:VOID, which is not available in GLib, and use it.
4757 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4759 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4760 the text from the previous column if there is no
4761 HildonTouchSelectorColumn::text-property set.
4763 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4765 * src/hildon-button.h
4766 * src/hildon-button.c (hildon_button_set_property)
4767 (hildon_button_get_property, hildon_button_class_init)
4768 (hildon_button_set_style, hildon_button_get_style):
4769 New "style" property to change the visual appearance of the
4772 * src/hildon-picker-button.c (hildon_picker_button_new):
4773 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4775 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4776 HildonButton look like PickerButton)
4778 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4780 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4781 column while building the default string.
4783 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4785 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4786 scroll indicator by default.
4788 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4790 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-main.c: Fix the documentation for hildon_init()
4794 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4796 * doc/hildon-docs.sgml
4800 * src/hildon-window-stack-private.h
4801 * src/hildon-window-stack.h
4802 * src/hildon-window-stack.c:
4803 New HildonWindowStack object, that adds support for multiple
4804 stacks of windows per process.
4806 * src/hildon-stackable-window-private.h
4807 * src/hildon-stackable-window.h
4808 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4809 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4810 (hildon_stackable_window_show, hildon_stackable_window_hide)
4811 (hildon_stackable_window_class_init)
4812 (hildon_stackable_window_init):
4813 Use HildonWindowStack for stack management.
4815 * src/hildon-program.c (hildon_program_pop_window_stack)
4816 (hildon_program_peek_window_stack)
4817 (hildon_program_go_to_root_window):
4818 Add a fallback implementation to the deprecated functions using
4821 * examples/hildon-stackable-window-example.c:
4822 Use the new HildonWindowStack API.
4824 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4826 * src/hildon-stackable-window-private.h
4827 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4828 (hildon_stackable_window_hide, hildon_stackable_window_init):
4829 Remove all window stack management.
4831 * src/hildon-program-private.h
4832 * src/hildon-program.h
4833 * src/hildon-program.c (hildon_program_init)
4834 (hildon_program_pop_window_stack)
4835 (hildon_program_peek_window_stack)
4836 (hildon_program_go_to_root_window):
4837 Remove all window stack management and mark functions as
4840 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4842 * src/hildon-app-menu.c (hildon_app_menu_realize):
4843 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4845 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4847 * configure.ac: post release version bump
4848 * debian/changelog: version bump
4850 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4855 * configure.ac: bump version
4856 * debian/changelog: updates
4858 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4860 Based on initial code by Christian Dywan (christian@imendio.com)
4862 * doc/hildon-docs.sgml: Add section for hildon-main.
4863 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4864 * src/Makefile.am: Add new hildon-main.[ch]
4865 * src/hildon-defines.h: Update the icon sizes.
4866 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4867 new library initialization files and register icon sizes.
4868 * src/hildon-main.h: New declarations.
4869 * src/hildon.h: Include hildon-main.h
4871 Add new initialization functions to the library. These methods
4872 will register the hildon specific icon sizes and can be used in the
4873 future for other hildon specific bits.
4875 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4877 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4879 * src/hildon-window.c: (hildon_window_realize),
4880 (hildon_window_notify), (-hildon_window_update_title): Do not set
4881 the application name in the window title.
4883 Fixes: NB#89754 (Applications shouldn't display their names in the
4886 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4888 * src/hildon-note-private.h:
4889 * src/hildon-note.c: (hildon_note_set_property),
4890 (hildon_note_get_property), (hildon_note_class_init),
4891 (hildon_note_init), (hildon_note_finalize),
4892 (hildon_note_new_confirmation_with_icon_name),
4893 (hildon_note_new_information_with_icon_name):
4895 No need to mark as deprecated the actual code. Revert
4896 to avoid missing symbols in widgets using deprecated API.
4898 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4900 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4902 * src/hildon-volumebar.h
4903 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4904 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4906 * src/hildon-helper.h
4907 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4908 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4910 * examples/Makefile.am:
4911 Deprecate hildon-insensitive-example
4913 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4915 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4917 * examples/hildon-pannable-area-buttons-scroll-example.c:
4918 Make all buttons finger height
4920 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4922 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4924 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4925 update the day model only if it is really required, and to avoid the
4926 full-reconstruction aproach. Now it only add or remove the required days.
4928 The purpose of this is avoid superfluous HildonTouchSelector::changed
4931 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4932 with strange parameters)
4934 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4936 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4938 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4939 the WINDOW_TYPE property.
4941 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4943 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4946 Fix dependency to allow parallel compilation with make -jX
4948 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4950 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4951 color frame and some minor tweaks to make it more consistent with
4954 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4955 highlighted but not visible)
4957 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4959 * examples/Makefile.am: Fixed typo in the Makefile.am.
4961 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4963 Reviewed the use of MAEMO_GTK define, now we add the define in the
4964 compilation line, and we also add it to the pc file.
4966 * configure.ac: Added MAEMO_GTK define to the compilation command
4967 and removed it from the config.h.
4969 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4970 do not have to take care about this define if the library was
4974 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4976 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4978 * examples/Makefile.am,
4979 * examples/hildon-pannable-area-buttons-scroll-example.c,
4980 * examples/hildon-pannable-area-gesture-signals-example.c,
4981 * examples/hildon-pannable-area-scroll-jump-example.c,
4982 * examples/hildon-pannable-area-tree-view-example.c:
4983 Renamed the pannable area examples, now they have more meaningful
4986 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4988 * src/hildon-touch-selector.c:
4989 (hildon_touch_selector_set_column_selection_mode): Used of
4990 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4991 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4992 to avoid re-seting the same selection mode.
4994 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4995 breaks HildonPickerDialog)
4997 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4999 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5000 conditional in the Makefile.am
5002 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5004 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5005 Remove unused methods.
5007 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5009 * src/hildon-button.c (hildon_button_init):
5010 Make button images center-aligned by default
5012 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5015 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5016 activated, we have to think about how to deal with both defines
5017 MAEMO_GTK and MAEMO_CHANGES.
5019 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5021 * examples/hildon-app-menu-example.c (create_menu): Make all
5022 buttons finger size.
5024 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5026 Fixed the compilation without maemo gtk adding ifdefs with
5027 MAEMO_GTK define to the code, we have to check this version more
5030 * examples/Makefile.am: Added control to avoid some examples that
5031 just make sense with maemo gtk.
5034 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5035 hildon modes with the define.
5037 * examples/hildon-edit-toolbar-example.c,
5038 (create_icon_view): Create the icon view without hildon-gtk
5039 helpers if we are not using maemo gtk.
5041 * src/hildon-touch-selector.c,
5042 (_create_new_column): Create the treeview without hildon-gtk
5043 helpers if we are not using maemo gtk.
5045 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5047 * src/hildon-pnnable-area.c,
5048 (hildon_pannable_area_dispose),
5049 (hildon_pannable_area_button_press_cb),
5050 (hildon_pannable_area_child_mapped),
5051 (hildon_pannable_area_add),
5052 (hildon_pannable_area_remove): Added code to control the position
5053 of the event_window when adding and removing children from the
5054 pannable. We have to raise the event window when the child is
5057 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5058 selection mode using custom widget inside pannable)
5060 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5062 * configure.ac: post release version bump
5063 * debian/changelog: version bump
5065 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5070 * configure.ac: bump version
5071 * debian/changelog: updates
5073 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5075 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5076 search mode, in order to avoid lose the focus on the treeview when
5077 a hw key (like enter) is pressed.
5079 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5080 in HildonDateSelector dialog)
5082 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5084 * debian/rules: Added --enable-maintainer-mode
5085 * Makefile.am: Added ACLOCAL_AMFLAGS
5087 This allows to properly regenerate the Makefiles if you modify the
5088 configure.ac or any Makefile.am.
5090 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5092 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5093 properties, not needed at all.
5095 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5097 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5099 * src/hildon-note.c: (hildon_note_set_property),
5100 (hildon_note_get_property), (hildon_note_class_init),
5101 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5102 (hildon_note_new_confirmation_add_buttons): Remove icons.
5103 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5104 (hildon_note_new_information_with_icon_name): Deprecate.
5105 (hildon_note_new_confirmation): Act directly, without calling
5106 the deprecated constructor.
5107 (hildon_note_new_information): Act directly, without calling
5108 the deprecated constructor.
5109 * src/hildon-note.h: Mark deprecate methods as such.
5110 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5111 not run tests on the deprecated methods if built with deprecation
5114 Fixes: NB#91688 (Never show icons in information notes/confirmation
5117 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5119 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5120 (hildon_app_menu_key_press): Remove leftover usage of the
5121 private structure in HildonAppMenu struct.
5122 * src/hildon-app-menu.h: Remove leftover private structure
5123 from the HildonAppMenu struct.
5125 Fixes a crasher when using the HildonAppMenu.
5127 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5129 * src/hildon-picker-dialog.c: Use appropriate logical id
5130 for the default "Done" text.
5132 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5134 * configure.ac: post release version bump
5135 * debian/changelog: version bump
5137 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5139 Modified the way to scroll to the current selection just when the touch
5140 selector is shown on the screen, avoiding a g_idle. Added too a property
5141 to configure this behaviour. See hildon_pannable_area_jump_to_child
5142 documentation for more information.
5144 * src/hildon-touch-selector.c
5145 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5146 Added 'initial-scroll' property
5147 (hildon_touch_selector_set_property): Added
5148 (hildon_touch_selector_map): Removed as not required anymore
5149 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5150 only a concrete column, instead of iterate along all the columns
5152 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5157 * configure.ac: bump version
5158 * debian/changelog: updates
5160 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5162 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5163 compilation time warnings.
5165 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5167 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5168 the default value for HildonPannableArea::mov-mode to
5169 HILDON_PANNABLE_AREA_MODE_VERT.
5171 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5173 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5175 Reverting following commit:
5177 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5179 * src/hildon-app-menu-private.h
5180 * src/hildon-app-menu.[ch]
5181 * src/hildon-button.[ch]
5182 * src/hildon-check-button.[ch]
5183 * src/hildon-entry.[ch]
5184 * src/hildon-pannable-area.[ch]
5185 * src/hildon-text-view.[ch]:
5186 Added private field to the object's structure.
5188 because it causes an ABI breakage. We will need to introduce these
5189 changes later at some point. See NB#91636 for an extensive
5190 explanation and status.
5192 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5194 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5196 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5197 remove special cases that are no longer necessary.
5199 Fixes: NB#91016 (Change toolbar sizes, simplification)
5201 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5203 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5204 is shown in the cancel note.
5206 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5208 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5209 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5210 (hildon_seekbar_init): Remove steppers, remove expose event.
5211 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5213 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5215 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5217 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5218 label font to "SmallSystemFont" for vertically arranged buttons.
5220 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5223 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5225 * src/hildon-check-button.c
5226 (hildon_check_button_set_active, hildon_check_button_clicked):
5227 Don't access private parts directly, use getters instead.
5229 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5231 * src/hildon-check-button.c (hildon_check_button_new):
5232 Align the contents of the check button to the left.
5234 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5236 * src/hildon-pannable-area.c,
5237 (hildon_pannable_area_scroll_to),
5238 (hildon_pannable_area_jump_to),
5239 (hildon_pannable_area_scroll_to_child),
5240 (hildon_pannable_area_jump_to_child): Replace the mapped
5241 precondition of these functions with the realized, it is the
5242 correct state of the widget in this case. Changed the
5243 documentation according to this modification.
5245 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5247 Added a new EXTRA_CFLAGS option to add the deprecated define to
5248 the compilation command. This way we can avoid using the define in
5249 the documentation compilation.
5251 * configure.ac: Defined EXTRA_CFLAGS.
5253 * examples/Makefile.am:
5255 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5257 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5259 * src/hildon-picker-dialog.c:
5260 Defined a utility macro with the desired touch selector height
5261 Removed currently unused separator, and title_label variables from
5263 (hildon_picker_dialog_init): Removed code related to the creation
5264 of unused private variables title_label and separator.
5265 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5266 to ensure correct visualization of the touch selector inside the dialog.
5267 * src/hildon-touch-selector.c
5268 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5269 ensure a concrete height of the widget.
5271 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5274 * tests/Makefile.am:
5276 Remove spurious whitespaces.
5278 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5280 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5281 compilation warning after the cancel button removal.
5283 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5285 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5287 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5288 Makefile.am, that way we can choose not to compile some examples
5289 and tests of the deprecated widgets.
5291 * examples/Makefile.am: Divided the sources in deprecated and
5294 * src/Makefile.am: Added undef statement of the deprecated
5295 symbol to the enums file generation process.
5297 * src/hildon-color-chooser-dialog.c
5298 * src/hildon-color-chooser-dialog.h
5299 * src/hildon-color-button.c
5300 * src/hildon-color-button.h
5301 * src/hildon-color-chooser.c
5302 * src/hildon-color-chooser.h
5303 * src/hildon-controlbar.c
5304 * src/hildon-controlbar.h
5305 * src/hildon-date-editor.c
5306 * src/hildon-date-editor.h
5307 * src/hildon-hvolumebar.c
5308 * src/hildon-hvolumebar.h
5309 * src/hildon-private.c
5310 * src/hildon-private.h
5311 * src/hildon-range-editor.c
5312 * src/hildon-range-editor.h
5313 * src/hildon-seekbar.c
5314 * src/hildon-seekbar.h
5315 * src/hildon-time-editor.c
5316 * src/hildon-time-editor.h
5317 * src/hildon-time-picker.c
5318 * src/hildon-time-picker.h
5319 * src/hildon-volumebar.c
5320 * src/hildon-volumebar.h
5321 * src/hildon-vvolumebar.c
5322 * src/hildon-vvolumebar.h
5323 * src/hildon-bread-crumb-trail.h
5324 * src/hildon-bread-crumb-trail.c
5325 * src/hildon-calendar-popup.c
5326 * src/hildon-calendar-popup.h
5327 * src/hildon-weekday-picker.c:
5328 * src/hildon-weekday-picker.h:
5329 * src/hildon-bread-crumb-widget.c:
5330 * src/hildon-bread-crumb-widget.h:
5331 * src/hildon-bread-crumb.c:
5332 * src/hildon-bread-crumb.h:
5333 * src/hildon-calendar.c:
5334 * src/hildon-calendar.h:
5335 * src/hildon-caption.c:
5336 * src/hildon-code-dialog.c:
5337 * src/hildon-code-dialog.h:
5338 * src/hildon-font-selection-dialog.c:
5339 * src/hildon-font-selection-dialog.h:
5340 * src/hildon-get-password-dialog.c:
5341 * src/hildon-get-password-dialog.h:
5342 * src/hildon-login-dialog.c:
5343 * src/hildon-login-dialog.h:
5344 * src/hildon-number-editor.c:
5345 * src/hildon-number-editor.h:
5346 * src/hildon-set-password-dialog.c:
5347 * src/hildon-set-password-dialog.h:
5348 * src/hildon-sort-dialog.c:
5349 * src/hildon-sort-dialog.h: This is the list of deprecated
5352 * src/hildon-touch-selector.c:
5353 * src/hildon-window.c: Added undef statement to avoid compilation
5356 * tests/Makefile.am: Divided the sources in deprecated and
5359 * tests/check_test.c,
5360 (configure_tests): Marked the deprecated code that was adding
5361 suites with deprecated tests.
5363 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5365 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5367 * src/hildon-touch-selector.c: (_default_print_func): Do not
5368 duplicate a string returned by gtk_tree_model_get(), it is already
5371 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5374 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5376 * src/hildon-pannable-area.c
5377 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5378 method, it had problems when adding a widget with viewport the
5379 second time. Now checks if it already has a viewport and uses it.
5381 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5384 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5386 * src/hildon-pannable-area.c,
5387 (hildon_pannable_area_scroll_to),
5388 (hildon_pannable_area_jump_to),
5389 (hildon_pannable_area_scroll_to_child),
5390 (hildon_pannable_area_jump_to_child): Added a precondition to the
5391 scroll and jump to functions: the widget must be mapped before we
5392 can safely call these functions. We have also added documentation
5393 to the functions to explain how to use them in this situation.
5396 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5398 Reviewed the threading handling of the pannable widget, we have
5399 used the gdk_threads_add_timeout function instead of the usual
5400 glib handlers. This avoids some problems with the threads.
5402 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5403 (hildon_pannable_area_initial_effect),
5404 (hildon_pannable_area_scroll_indicator_fade),
5405 (hildon_pannable_area_button_press_cb),
5406 (hildon_pannable_area_timeout),
5407 (hildon_pannable_area_motion_notify_cb),
5408 (hildon_pannable_area_button_release_cb),
5409 (hildon_pannable_area_scroll_cb),
5410 (hildon_pannable_area_scroll_to): Removed the
5411 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5412 gdk_threads_add_timeout.
5414 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5416 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5421 * configure.ac: bump version
5422 * debian/changelog: updates
5424 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5426 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5427 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5428 * src/hildon-color-chooser-dialog.c:
5429 (hildon_color_chooser_dialog_init):
5430 * src/hildon-font-selection-dialog.c:
5431 (hildon_font_selection_dialog_init):
5432 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5434 Remove all cancel/close-like dialogs, as these are not going to be
5437 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5439 * src/hildon-note.c: (hildon_note_rebuild),
5440 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5443 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5445 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5447 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5448 sure all buttons are shown, even the Cancel/Close-like ones.
5450 Fixes: NB#90861 (Custom Confirmation dialogs should be
5451 protected from cancel button removal)
5453 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5455 * debian/control: Change libhildon1-examples dependency from libhildon1
5457 * debian/libhildon1-examples.install
5459 * Makefile.am: Modified the final install directory for the examples on
5460 package libhildon1-examples
5461 * Makefile.static: Update clean target in order to remove all the binary
5464 Changes suggested by Claudio after review new libhildon1-examples package
5466 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5468 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5469 * src/hildon-touch-selector.c: Ditto.
5471 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5473 * debian/control: Added new package libhildon1-examples, in order to pack
5474 the current hildon examples as documentation
5475 * debian/rules: Not to compress .c files, modify some includes on the
5476 examples (as normally are compiled locally, but when installed it will
5477 require to include the installed libhildon1 library), and rename
5479 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5480 install all the example files on the new example package
5481 * examples/Makefile.static: Added static makefile that can be used to
5482 compile the examples, once installed the new example package
5483 * examples: Most of the examples were modified in order to grant that
5484 all use only '#include "hildon.h"', in order to be easy to prepare
5485 it on the example package
5487 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5490 * debian/libhildon1-dev.install
5491 * debian/libhildon1-doc.install:
5492 Move all gtk-doc files to a separate libhildon1-doc package.
5494 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5496 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5498 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5500 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5502 * debian/rules: Fixed a error in order to avoid unnecessary calls
5503 to autogen.sh on package building
5505 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5507 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5509 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5511 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5514 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5516 * src/hildon-picker-button.c
5517 (hildon_picker_button_finalize):
5518 Free priv->done_button_text
5520 * src/hildon-time-button.c
5521 (hildon_time_button_set_time)
5522 * src/hildon-picker-button.c
5523 (hildon_picker_button_clicked)
5524 (hildon_picker_button_selector_selection_changed)
5525 (hildon_picker_button_set_selector)
5526 * src/hildon-date-button.c
5527 (hildon_date_button_set_date):
5528 Free strings returned by hildon_touch_selector_get_current_text()
5530 * src/hildon-button.c (hildon_button_construct_child):
5531 Fix leaks in priv->image and priv->label_box
5533 Fixes: NB#90535 (Memory leak in picker button)
5535 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5537 * src/hildon-button.c: (hildon_button_get_property): Do not access
5538 private elements directly, use getters instead.
5540 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5542 * src/hildon-app-menu-private.h
5543 * src/hildon-app-menu.c
5544 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5545 Store the menu's parent window.
5547 * src/hildon-stackable-window.c
5548 (hildon_stackable_window_toggle_menu)
5549 (hildon_stackable_window_finalize):
5550 Set the menu's parent window when the menu is shown, unset it when
5553 * src/hildon-app-menu.c
5554 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5555 (hildon_app_menu_class_init):
5556 Send unhandled keyboard accelerators to the parent window.
5558 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5560 * src/hildon-stackable-window.c
5561 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5563 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5565 * configure.ac: post release version bump
5567 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5570 * configure.ac: Bump version
5571 * debian/changelog: Updates
5572 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5575 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5577 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5580 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5581 GtkMenu with Hildon style.
5583 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5585 * src/hildon-picker-button.c:
5586 (hildon_picker_button_set_done_button_text): Set the dialog's
5587 done button text here as well.
5589 Fixes: NB#90232 (Picker button does not set the label on done button
5590 for the second time)
5592 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5594 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5597 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5599 * src/hildon-app-menu.c (hildon_app_menu_insert)
5600 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5601 the HildonAppMenu to be activatable using keyboard accelerators
5602 when the menu is not being shown.
5604 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5606 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5608 * src/hildon-stackable-window.c
5609 (hildon_stackable_window_show):
5610 Don't hide old windows automatically when new windows are shown:
5611 this is now a task for the window manager.
5612 (hildon_stackable_window_class_init)
5613 (hildon_stackable_window_hide):
5614 Remove windows from the stack everytime they're hidden.
5615 (hildon_stackable_window_realize):
5616 Don't change the _NET_WM_WINDOW_TYPE property. Use
5617 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5618 it as a stackable window.
5620 * src/hildon-program.c
5621 (hildon_program_pop_window_stack):
5622 Just hide the window to remove it from the stack.
5623 (hildon_program_go_to_root_window):
5624 Don't call gtk_widget_show(), this is now a task for the window
5627 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5629 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5631 * src/hildon-button.c
5632 (hildon_button_construct_child):
5633 Don't pack anything in the button until text or image are
5634 set. This allows adding a custom child after creating the button
5635 with hildon_button_new().
5636 (hildon_button_finalize, hildon_button_class_init)
5637 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5638 alignment and the label box even when they're not packed in the
5641 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5643 * src/hildon-touch-selector.h:
5644 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5645 currently the type definition was using GTK_TYPE_VBOX
5646 * src/hildon-touch-selector.c:
5647 Added some implementation notes in order to clarify that any other widget
5648 added without the column related API will not be included on the
5649 selection logic, and how the widget is freed, as some people ask about
5651 (hildon_touch_selector_remove): Reimplemented in order to free properly
5652 the column related data when you remove the private hbox.
5653 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5654 to get a proper HildonTouchSelectorColumn documentation
5656 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5658 * src/hildon-touch-selector-entry.c:
5659 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5660 text in the GtkEntry and there is no item selected. Fixes a
5663 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5665 * src/hildon-app-menu-private.h
5666 * src/hildon-app-menu.[ch]
5667 * src/hildon-button.[ch]
5668 * src/hildon-check-button.[ch]
5669 * src/hildon-entry.[ch]
5670 * src/hildon-pannable-area.[ch]
5671 * src/hildon-text-view.[ch]:
5672 Added private field to the object's structure.
5674 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5676 * configure.ac: post-release version bump
5678 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5682 * configure.ac: pre-release version bump
5684 * debian/changelog: updates.
5686 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5688 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5689 Disconnect the handler for HildonTouchSelector::changed.
5691 (hildon_picker_button_selector_selection_changed): Update the button
5692 value if the selection change was not triggered by the
5695 (hildon_picker_button_set_selector): connect to
5696 HildonTouchSelector::changed.
5698 Fixes: NB#89650 (Picker button is not updated, when selection in
5699 selector has changed)
5701 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5703 * src/hildon-picker-dialog.c
5704 (hildon_picker_dialog_realize): Removed as not required
5705 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5706 * src/hildon-picker-button.c
5707 (_current_selector_empty): New function, checks if the selector is empty
5708 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5709 if the current selector is empty, in order to avoid to show the dialog
5710 close the dialog in this case (and shows a g_warning).
5712 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5714 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5716 * src/hildon-pannable-area.c,
5717 (hildon_pannable_area_scroll): Added clause to stop movement when
5718 the child of pannable is smaller than one page.
5719 (hildon_pannable_area_scroll_to): Added conditions to avoid
5720 starting the scrolling movement if the child is smaller than one
5721 page, the complete child is in the screen, we do not have to move.
5723 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5725 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5727 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5728 this is managed automatically by the widget when the size of the
5731 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5733 * src/hildon-picker-button.c
5734 (hildon_picker_button_set_done_button_text): Make a copy of the
5735 text, and free the previous value.
5737 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5739 * src/hildon-touch-selector-entry.c:
5740 (hildon_touch_selector_entry_print_func): Return the selected row's
5741 text if the entry is empty.
5743 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5746 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5748 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5750 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5753 * src/hildon-check-button.h
5754 * src/hildon-check-button.c
5755 * examples/hildon-check-button-example.c:
5756 HildonCheckButton is now a new widget. 'toggled' signal added.
5758 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5760 * src/hildon-program-private.h
5761 * src/hildon-program.c (hildon_program_init)
5762 (hildon_program_finalize): Removed unused variables group_leader
5763 and name from HildonProgramPrivate.
5765 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5767 * src/hildon-check-button.c (hildon_check_button_set_active)
5768 (hildon_check_button_get_active, hildon_check_button_new): Use
5769 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5771 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5773 * src/hildon-touch-selector.h
5774 (hildon_touch_selector_set_column_attributes): added deprecation
5775 guard HILDON_DISABLE_DEPRECATED
5776 * src/hildon-time-selector.c
5777 (hildon_time_selector_set_time)
5778 (hildon_time_selector_get_time): Fixed a typo on documentation
5779 * src/hildon-touch-selector.c: update HildonTouchSelector and
5780 HildonTouchSelectorColumn documentation
5781 * src/hildon-touch-selector-entry.c: update "text-column" property
5783 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5784 to be added to the general documentation.
5786 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5788 * examples/hildon-pannable-area-example-4.c,
5790 * examples/hildon-pannable-area-example.c,
5791 (main): Modified the code in order to use the container add, with
5792 viewport treeviews could have problems if they are really big.
5794 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5796 * src/hildon-weekday-picker.c,
5797 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5798 the agreement regarding deprecation in the library.
5800 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5802 * examples/hildon-picker-button-multicolumn-example.c:
5803 (main): Use custom "done" button text.
5805 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5806 (hildon_picker_button_set_property),
5807 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5808 (hildon_picker_button_init),
5809 (+hildon_picker_button_get_done_button_text),
5810 (+hildon_picker_button_set_done_button_text): New methods to customize
5811 the "done" button label in the launched HildonPickerDialog. Also,
5814 * src/hildon-picker-button.h: add the public API.
5816 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5818 * src/hildon-date-selector.h:
5819 * src/hildon-picker-dialog.h:
5820 * src/hildon-time-selector.h:
5821 * src/hildon-touch-selector-column.h:
5822 * src/hildon-touch-selector.h:
5824 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5825 declarations. Fixes gtk-doc warnings.
5827 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5829 * src/hildon-picker-dialog.h
5830 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5831 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5833 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5834 long text is set as label for done button)
5836 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5838 * src/hildon-dialog.c (hildon_dialog_add_button):
5839 Set fixed width to all buttons in the HildonDialog.
5841 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5843 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5845 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5846 Set widget name using class name plus "-finger" or "-thumb".
5848 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5850 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5851 'clicked' when the state of the button is manually changed.
5853 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-app-menu.c (hildon_app_menu_realize)
5856 (hildon_app_menu_unrealize, hildon_app_menu_init)
5857 (hildon_app_menu_class_init, item_visibility_changed):
5858 Change the menu layout when the size of the screen changes.
5859 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5860 Show warning only when changing the number of colums using the
5863 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5865 * debian/compat: Set to 5
5866 * debian/control: Update dependencies.
5867 * debian/libhildon1-dbg.install: Remove.
5868 * debian/libhildon1-dev.install: Update according to cdbs paths.
5869 * debian/libhildon1.install: Update according to cdbs paths.
5870 * debian/rules: Switch to cdbs.
5872 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5875 'item' variable renamed to 'filter'
5877 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-app-menu.c (hildon_app_menu_insert)
5880 (hildon_app_menu_add_filter, remove_item_from_list)
5881 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5882 Don't leak hidden items when the menu is destroyed.
5884 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5886 * src/hildon-app-menu.c (hildon_app_menu_insert)
5887 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5888 (hildon_app_menu_set_columns, item_visibility_changed)
5889 (filter_visibility_changed, hildon_app_menu_repack_filters)
5890 (hildon_app_menu_repack_items):
5891 Repack items and filters separately.
5893 Don't repack all items, change only the ones that are needed to
5896 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5898 * src/Makefile.am: added hildon-touch-selector-column.h
5900 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5902 * src/hildon-touch-selector.c: added the property "text-column" to the
5903 class HildonTouchSelectorColumn, and related get/set functions
5904 (_default_printf_func): updated to use "text-column" property
5905 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5906 "text-column" in his documentation, as this is now included on
5907 HildonTouchSelectorColumn. The get/set_property can still be used,
5908 working as a wrapper to the concrete column "text-column" property
5909 (_text_column_modified): callback added in order to handle the signal
5910 "notify::text-column" of the concrete HildonTouchSelectorColumn
5911 (hildon_touch_selector_entry_get_text_column)
5912 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5913 modified in order to use the HildonTouchSelectorColumn "text-column"
5915 * src/hildon-time-selector.c:
5916 * src/hildon-date-selector.c:
5917 * examples/hildon-touch-selector-example.c
5918 * examples/hildon-touch-selector-multi-cells-example.c
5919 * examples/hildon-picker-button-multicolumn-example.c
5920 Set the right value to "text-column" property on the creation of a new
5921 column using hildon_touch_selector_append_column()
5923 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5925 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5927 * src/hildon-app-menu.c
5928 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5929 updating the layout of the menu, don't create all widgets again,
5930 just repack the items in their new places.
5932 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5934 * src/hildon-time-selector.c
5935 (hildon_time_selector_get_time)
5936 (hildon_time_selector_set_time)
5937 Added documentation of these public methods
5939 * src/hildon-date-button.h
5940 * src/hildon-touch-selector-column.h
5941 * src/hildon-time-button.h
5942 * src/hildon-picker-dialog.h
5943 * src/hildon-time-selector.h
5944 * src/hildon-picker-button.h
5945 * src/hildon-touch-selector.h
5946 * src/hildon-time-picker.h
5947 * src/hildon-date-selector.h
5948 * src/hildon-touch-selector-entry.h
5949 Modified in order to use hildon-widgets code style
5951 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5953 Added deprecated support to the compilation process using
5954 HILDON_DISABLE_DEPRECATED
5956 * configure.ac: Added the --disable-deprecated to the configure
5959 * src/hildon-weekday-picker.c:
5960 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5961 to use the deprecated support. We will update the other deprecated
5962 widgets status in a new patch.
5964 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5966 * configure.ac: Fixed typo with fatal warnings support, the
5967 variable name was not correct
5969 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5971 * src/hildon-app-menu.c
5972 * src/hildon-program.c: Update documentation.
5974 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5976 * configure.ac: Post-release version bump.
5978 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5983 * configure.ac: Pre-release version bump.
5984 * debian/changelog: Updates.
5986 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5988 * NEWS: Update news for previous releases.
5990 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5992 * examples/hildon-touch-selector-multi-cells-example.c:
5993 (create_selector): Update the example to use
5994 hildon_touch_selector_append_column() with a NULL renderer and set
5995 the renderers later.
5996 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5997 passed a NULL renderer. This is documented behavior now.
5999 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6000 This must be used if the developer wants full control on the layout of
6001 the renderers to be added to the column.
6003 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6005 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6007 * src/hildon-touch-selector.c: Documentation fixes.
6009 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6011 * src/hildon-wizard-dialog-private.h: Remove image and box.
6012 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6013 (hildon_wizard_dialog_set_property), (response): Completely remove
6014 image/icon support, and the containers required for the layout.
6016 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6018 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6020 * src/hildon-app-menu.c: Updated documentation.
6022 * src/hildon-stackable-window.c
6023 (hildon_stackable_window_set_main_menu): Unref the old menu after
6024 ref'ing the new one.
6026 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6028 * src/hildon-stackable-window.c
6029 (hildon_stackable_window_set_main_menu): Unref the previous menu
6030 instead of destroying it.
6032 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6033 floating reference and set has_user_ref_count to FALSE to make
6034 HildonAppMenu act like a normal ref-counted widget and not a
6037 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6040 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6042 * src/hildon-touch-selector-column.h: new file
6043 * src/hildon-touch-selector.h
6044 * src/hildon-touch-selector.c
6045 Implemented GtkCellLayout interface, in order to allow to configure
6046 the cell layout on each individual selector column
6047 (hildon_touch_selector_set_column_attributes): marked as deprecated
6048 * examples/hildon-touch-selector-multi-cells-example.c
6049 Example of how to use the GtkCellLayout interface on the selector
6051 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6053 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6055 * src/hildon-app-menu.h
6056 * src/hildon-app-menu.c
6057 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6058 (hildon_app_menu_append, hildon_app_menu_prepend):
6059 New methods to prepend, insert and move items in the menu.
6061 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6063 * src/hildon-wizard-dialog.c:
6065 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6067 (create_title): Update logical IDs and related code.
6068 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6070 * src/hildon-wizard-dialog.h: Note that
6071 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6072 point, as it is not used anymore.
6074 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6076 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6078 * src/hildon-note.c:
6079 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6080 shown. Do not display an icon in confirmation notes nor information
6082 (hildon_note_set_button_text): Update logical ID for cancel button.
6084 Fixes: NB#88850 (Update HildonNote button strings + signals)
6086 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-stackable-window.c
6089 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6091 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6093 * src/hildon-app-menu-private.h
6094 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6095 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6096 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6097 temporary property 'columns' to change the number of columns.
6099 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6101 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6103 * examples/hildon-note-example.c: (on_information_clicked),
6104 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6105 debugging information.
6106 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6108 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6109 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6110 in order to close: this will be handled by the WM from now on.
6112 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6114 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6116 * src/hildon-app-menu-private.h
6117 * src/hildon-app-menu.c
6118 (hildon_app_menu_append, hildon_app_menu_add_filter)
6119 (button_visibility_changed, hildon_app_menu_apply_style)
6120 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6121 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6122 layout everytime a button (item or filter) is shown or hidden.
6124 * src/hildon-stackable-window.c
6125 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6128 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6130 * src/hildon-touch-selector.c:
6131 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6132 that the treeview inside the touch selector is in fremantle hildon mode
6133 * examples/hildon-date-button-example.c
6134 * examples/hildon-picker-button-multicolumn-example.c
6135 * examples/hildon-touch-selector-entry-example.c
6136 * examples/hildon-touch-selector-example.c
6137 * examples/hildon-time-button-example.c
6138 * examples/hildon-picker-button-example.c:
6139 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6141 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6143 * examples/hildon-text-view-example.c: (main): Remove the
6144 gtkrc bits, now handled by the theme.
6146 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6148 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6151 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6153 * po/Makefile.am: Install properly the mo files.
6154 * po/en_GB.po: Update translation, to ease testing purposes.
6156 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6158 * examples/hildon-picker-button-example.c: (main): Select an item
6159 in the selector before setting it to the button.
6161 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6163 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6164 Update button's value if the selector has an item active.
6166 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6167 'value' with the selector)
6169 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6171 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6172 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6173 (hildon_picker_button_class_init): Plug the finalize method.
6174 (hildon_picker_button_set_selector): If there's a previously set
6175 selector, unref'it before setting a new one.
6177 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6178 HildonTouchSelector)
6180 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6182 * src/hildon-touch-selector-entry.c:
6183 (hildon_touch_selector_entry_changed): Check if there is no text
6184 selected before setting the entry text.
6187 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6189 * src/hildon-touch-selector.h
6190 * src/hildon-touch-selector.c
6191 (hildon_touch_selector_get_active)
6192 (hildon_touch_selector_set_active): New methods to set/get the
6193 index of the selected item.
6195 * src/hildon-picker-button.h
6196 * src/hildon-picker-button.c
6197 (hildon_picker_button_get_active)
6198 (hildon_picker_button_set_active): New methods to set/get the
6199 index of the selected item.
6201 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6203 * configure.ac: post-release version bump.
6205 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6209 * configure.ac: Pre-release version bump.
6210 * debian/changelog: Updates.
6211 * debian/control: Add myself as maintainer and depend on l10n
6214 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6216 * src/hildon-window.c
6217 (hildon_window_set_main_menu)
6218 * src/hildon-stackable-window.c
6219 (hildon_stackable_window_set_main_menu):
6220 Updated documentation.
6222 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6224 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6225 Don't free selector->priv manually.
6228 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6231 (hildon_gtk_window_set_progress_indicator):
6232 * src/hildon-gtk.h: Added the new API
6233 hildon_gtk_window_set_progress_indicator, it changes the state of
6234 the window progress hint.
6236 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-button.c
6239 * src/hildon-stackable-window.c: Minor documentation updates.
6241 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6243 * src/hildon-stackable-window.c: Updated documentation.
6245 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6247 * src/hildon-defines.h: Update margins definitions
6248 to the Fremantle sizes.
6251 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6253 * src/hildon-touch-selector.c,
6254 (_hildon_touch_selector_set_model): Cleaning the code after
6255 review, removed g_print and #if 0 from the code.
6257 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6259 * src/hildon-edit-toolbar.c: Update documentation.
6261 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6263 * src/hildon-check-button.h
6264 * src/hildon-check-button.c
6265 (hildon_check_button_set_label, hildon_check_button_get_label)
6266 * examples/hildon-check-button-example.c
6267 (button_clicked_cb):
6268 Removed deprecated methods.
6270 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6272 * src/hildon-text-view.c:
6273 Add sample code to the documentation.
6275 * src/hildon-entry.h
6276 * src/hildon-text-view.h:
6277 Minor cosmetic changes.
6279 * src/hildon-entry.c:
6280 Add sample code to the documentation.
6281 (hildon_entry_init, hildon_entry_refresh_contents):
6282 Don't allow NULL values in the placeholder.
6284 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6286 * doc/hildon-docs.sgml
6288 * examples/Makefile.am
6289 * examples/hildon-text-view-example.c
6291 * src/hildon-text-view.c
6292 * src/hildon-text-view.h
6294 New HildonTextView widget, with example.
6296 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6298 * po/POTFILES.in: Add missing files with translatable strings.
6299 Partially fixes NB#88287.
6301 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6303 * examples/hildon-pannable-area-example-2.c: (main): No need to
6304 set the cellrenderer height inside hildon touch lists, the theme does
6307 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6309 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6310 they are integrated in the theme.
6312 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6314 * examples/hildon-entry-example.c: Update the example adding
6315 widgets to modify the text and the placeholder of the HildonEntry.
6317 * src/hildon-entry.c: Show the placeholder everytime the widget
6318 is empty and loses the focus.
6320 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6322 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6324 * src/hildon-pannable-area.c,
6325 (hildon_pannable_area_size_request): Fixed bug in height
6326 requisition, avoid increasing size and add border twice.
6328 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6330 * configure.ac: postrelease version bump.
6332 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6336 * configure.ac: Prerelease version bump.
6337 * debian/changelog: update.
6338 * debian/rules: make -dbg package contain useful debugging symbols.
6340 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6342 * src/hildon-dialog.h
6343 * src/hildon-dialog.c
6344 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6345 New methods to add buttons with finger size.
6346 (hildon_dialog_new_with_buttons):
6347 Create buttons with finger size.
6349 * examples/hildon-dialog-example.c (main): Use HildonDialog
6350 methods to add buttons.
6352 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6354 * src/hildon-entry.c: Updated HildonButton documentation.
6356 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6358 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6359 button value label with (FALSE, FALSE) to prevent NB#88126 from
6362 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6364 * examples/hildon-pannable-area-example.c,
6365 (main): Removed examples panning a vbox inside a pannable
6366 area. Check bug NB#87965
6368 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6370 Patch contributed by Kris Rietveld (kris@imendio.com)
6372 * src/hildon-pannable-area.c,
6373 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6374 get_size and get_position, this saves an X server roundtrip.
6376 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6378 * doc/hildon-docs.sgml
6380 * examples/Makefile.am
6381 * examples/hildon-entry-example.c
6383 * src/hildon-entry.c
6384 * src/hildon-entry.h
6386 New HildonEntry widget, with example.
6388 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6390 * src/hildon-button.c (hildon_button_construct_child): Pack the
6391 image with expand == fill == FALSE. This is a workaround for a bug
6394 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6396 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6397 labels for the text column, to make it more look more dynamic.
6399 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6401 * src/hildon-time-selector.c
6402 Define gettext auxiliar macro N_
6403 (_create_minutes_model)
6404 (_create_hours_model)
6405 (_create_ampm_model): use of strftime in order to fill the model
6406 * src/hildon-date-selector.c
6407 (hildon_date_selector_finalize):
6408 (_locales_init): remove the logic related to get the name of the months
6409 using nl_langinfo, as it is not required anymore
6411 (_create_year_model)
6412 (_create_month_model)
6413 (_update_day_model): use of strftime in order to fill the model properly
6416 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6418 * src/hildon-button.h
6419 * src/hildon-button.c (hildon_button_get_image): New method to
6422 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6424 * src/hildon-touch-selector.c:
6425 (hildon_touch_selector_remove_column): Remove from the correct parent
6426 and also remove the list element and free it.
6429 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6431 * src/hildon-time-selector.c
6432 (_create_hours_model): change the range on 12h ampm format in order to use
6433 a 12-11 range instead of previous 01-12 range
6434 (hildon_time_selector_set_time): change the way to select the current time
6435 on 12h ampm format, due the change on the range
6436 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6439 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6441 * src/hildon-touch-selector.c
6442 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6443 in order to allow use this function on multiple row selection mode if
6444 the column is different that the first one
6447 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6449 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6450 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6452 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6454 * src/hildon-date-selector.h: clean some comments, now on the .c
6455 * src/hildon-date-selector.c
6456 (hildon_date_selector_select_month): first implementation
6457 (hildon_date_selector_select_day): added documentation, reimplemented
6458 using hildon_date_selector_select_current_date to avoid repeat code
6461 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6463 Reviewed interaction logic based on device experiences, refactored
6466 * src/hildon-pannable-area.c,
6467 (hildon_pannable_area_class_init): Updated default vmax speed.
6468 (hildon_pannable_area_calculate_velocity): Added this function, it
6469 avoids duplicate valocity calculation. Adjusted calculation to
6470 avoid problems with zero dist events.
6472 (hildon_pannable_area_motion_notify_cb): Now we use the
6473 calculate_velocity function.
6475 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6477 * src/hildon-date-selector.c
6478 (hildon_date_selector_select_current_date): fix the day range check
6479 as it failed using the last day of the current month
6482 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6484 * src/hildon-touch-selector.c
6485 (hildon_touch_selector_get_num_columns): added a parameter validation
6488 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6490 * examples/Makefile.am
6491 * examples/hildon-edit-toolbar-example.c: Example of the
6492 HildonEditToolbar widget.
6494 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6496 * configure.ac: postrelease version bump.
6498 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6502 * configure.ac: prerelease version bump.
6503 * debian/changelog: update.
6505 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6507 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6508 renderer to display stock icons in the touch list. Also, set the sizes
6509 to the recommended in the style guide.
6511 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6512 * src/hildon-touch-selector.h
6513 (hildon_touch_selector_set_active_iter): renamed, now is
6514 hildon_touch_selector_select_iter
6515 (hildon_touch_selector_get_active_iter): renamed, now is
6516 hildon_touch_selector_get_selected
6517 (hildon_touch_selector_unselect_iter): added
6518 * src/hildon-touch-selector.c
6519 Update after API modification (methods renamed)
6520 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6521 order to avoid problems selecting multiple elements on the column
6522 (hildon_touch_selector_unselect_iter): added the implementation
6523 * src/hildon-time-selector.c
6524 * src/hildon-date-selector.c
6525 * src/hildon-touch-selector-entry.c
6526 Update methods calls after hildon-touch-selector.h API modification (methods
6529 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6531 * src/hildon-stackable-window.c
6532 (hildon_stackable_window_finalize): Call the parent class's finalize.
6534 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6536 * examples/hildon-touch-selector-example.c: (create_selector): Use
6537 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6540 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6542 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6543 set a cell background color, to respect theming.
6545 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6547 * doc/hildon-docs.sgml
6550 * src/hildon-edit-toolbar.c
6551 * src/hildon-edit-toolbar.h
6552 * src/hildon.h: New HildonEditToolbar widget.
6554 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6556 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6559 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6560 * src/hildon-touch-selector.c
6561 (_create_new_column): use g_object_set instead of two g_object_set_property
6563 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6564 * src/hildon-touch-selector.c
6565 (_create_new_column): use of hildon_gtk_tree_view_new to create
6566 the treeview, instead of use directly g_object_new
6567 (_create_new_column): update the property name "vindicator-mode" for the
6568 new one "vscrollbar-policy"
6569 * examples/hildon-date-button-example.c
6570 * examples/hildon-picker-button-multicolumn-example.c
6571 * examples/hildon-touch-selector-entry-example.c
6572 * examples/hildon-touch-selector-example.c
6573 * examples/hildon-time-button-example.c
6574 * examples/hildon-picker-button-example.c
6575 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6576 to all the treeviews inside a pannable area.
6578 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6580 * src/hildon-button.h
6581 * src/hildon-button.c (hildon_button_init)
6582 (hildon_button_set_arrangement, hildon_button_set_alignment)
6583 (hildon_button_set_title_alignment)
6584 (hildon_button_set_value_alignment)
6585 (hildon_button_set_image_alignment)
6586 (hildon_button_construct_child): New methods to set the alignment
6587 of the individual components of the button (title, value,
6588 image). Also, new method to alter the xscale and yscale properties
6589 of the GtkAlignment inside the button, so more complex layouts can
6592 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6594 * src/hildon-button.c (hildon_button_style_set)
6595 (hildon_button_class_init, hildon_button_set_arrangement)
6596 (hildon_button_construct_child): Apply style properties
6597 correctly. Use the 'image-spacing' style property too.
6599 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6601 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6602 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6605 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6607 * src/hildon-pannable-area.c,
6608 (hildon_pannable_area_size_request): Fixed problem with
6609 pannable-area size_request.
6611 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6613 Added management for the grab-focus to a child widget, like a
6614 range, we need to fade out the scrollbar when releasing.
6616 * src/hildon-pannable-area.c,
6617 (hildon_pannable_area_init): Connected the grab-focus signal to
6619 (hildon_pannable_area_grab_notify): Added this function in order
6620 to manage the situation when the grab-focus ends. We have to
6621 fade-out the scrollbar.
6623 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6625 * src/hildon-app-menu.c: Minor documentation update.
6627 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6629 * src/hildon-app-menu.c
6630 * examples/hildon-app-menu-example.c (create_menu): Update
6631 examples and documentation to explain how to connect callbacks.
6633 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6635 * examples/hildon-button-example.c
6636 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6637 hildon_stackable_window_new instead of gtk_window_new
6639 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6641 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6642 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6643 (hildon_pannable_area_set_property),
6644 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6645 (hildon_pannable_area_unrealize),
6646 (hildon_pannable_area_size_request),
6647 (hildon_pannable_area_size_allocate),
6648 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6649 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6650 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6651 (hildon_pannable_area_initial_effect),
6652 (hildon_pannable_area_redraw),
6653 (hildon_pannable_area_scroll_indicator_fade),
6654 (hildon_pannable_area_expose_event),
6655 (hildon_pannable_area_get_topmost), (synth_crossing),
6656 (hildon_pannable_area_button_press_cb),
6657 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6658 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6659 (hildon_pannable_area_motion_notify_cb),
6660 (hildon_pannable_area_button_release_cb),
6661 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6662 (hildon_pannable_area_remove),
6663 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6664 chage the code layout to a more GtkWidget like. Review the use of
6667 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6669 * examples/hildon-pannable-area-example-4.c,
6670 (main): Modified the name of the hindicator_mode to
6673 * src/hildon-pannable-area.c,
6674 (hildon_pannable_area_class_init),
6675 (hildon_pannable_area_motion_notify_cb),
6676 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6677 we have reduced the amount of signals and managed reviewed its
6678 rationale. Changed the default decelerate value.
6680 (hildon_pannable_area_add),
6681 (hildon_pannable_area_redraw): Refactored functions.
6683 (hildon_pannable_area_init),
6684 (hildon_pannable_area_get_property),
6685 (hildon_pannable_area_set_property):
6686 (hildon_pannable_draw_vscroll),
6687 (hildon_pannable_draw_hscroll),
6688 (hildon_pannable_area_initial_effect),
6689 (hildon_pannable_area_expose_event),
6690 (hildon_pannable_area_scroll),
6691 (hildon_pannable_area_button_press_cb),
6692 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6693 and vindicator_mode with hscrollbar_policy and
6694 vscrollbar_policy. Replaced hscroll and vscroll with
6695 hscroll_visible and vscroll_visible.
6697 (hildon_pannable_area_refresh): Refactor the function, remove
6698 variables and check the calls to this function, added resize
6699 conditions in case the children change their layout.
6701 (hildon_pannable_area_size_request): Added more detailed
6702 size_request calculation.
6705 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6707 * src/hildon-color-chooser.c
6708 (init_borders): use the correct gtk_border_free instead of g_free, to
6709 avoid a crash when this widget is used (ie: the three color selection
6712 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6714 * src/hildon-check-button.c,
6715 (hildon_check_button_set_active): Fixed problem when setting the
6716 active value, the widget was not redrawn.
6718 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6720 * src/hildon-pannable-area.c,
6721 (hildon_pannable_area_refresh),
6722 (hildon_pannable_area_scroll),
6723 (hildon_pannable_area_motion_notify_cb): Small code style change.
6725 (hildon_pannable_area_class_init): Default initial_hint set to
6726 FALSE, it is not in the specs.
6728 (hildon_pannable_area_initial_effect),
6729 (hildon_pannable_area_expose_event),
6730 (hildon_pannable_area_map),
6731 (hildon_pannable_area_init): Moved the launching point of the
6732 initial effect, it was in map but the sizes where not correct in
6733 that method so we do not know if we have the reproduce it. Now it
6734 is placed in the expose_event method and uses a variable to
6735 reproduce it just once.
6737 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6739 * src/hildon-pannable-area.c,
6740 (hildon_pannable_draw_vscroll),
6741 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6742 position allowed for the scrollbars.
6744 (hildon_pannable_area_size_allocate): Small style change.
6746 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6748 * src/hildon-pannable-area.c,
6749 (hildon_pannable_area_scroll_indicator_fade),
6750 (hildon_pannable_area_button_press_cb),
6751 (hildon_pannable_area_button_release_cb),
6752 (hildon_pannable_area_scroll_cb),
6753 (hildon_pannable_area_expose_event),
6754 (hildon_pannable_area_init): Added the define parameter
6755 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6756 and refactor the fade variable.
6758 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6760 * src/hildon-pannable-area.c,
6761 (hildon_pannable_area_redraw),
6762 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6763 lines, we were reimplemeting the redraw code.
6765 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6767 * src/hildon-pannable-area.c,
6768 (hildon_pannable_area_scroll_cb),
6769 (hildon_pannable_area_realize),
6770 (hildon_pannable_area_class_init): Added scroll_event management
6771 for pannable area, now we can scroll the usual desktop method.
6773 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6774 initialization of the parameters should depend on idle_id.
6776 (hildon_pannable_area_init),
6777 (hildon_pannable_area_map): Small code style modifications
6779 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6781 * src/hildon-pannable-area.c
6782 (hildon_pannable_area_button_press_cb),
6783 (hildon_pannable_area_motion_notify_cb),
6784 (hildon_pannable_area_button_release_cb),
6785 (hildon_pannable_area_size_allocate),
6786 (hildon_pannable_area_scroll_to): Improved the timeouts
6787 management, we avoid creating them each time.
6789 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6791 * src/hildon-pannable-area.c:
6792 (hildon_pannable_area_refresh),
6793 (hildon_pannable_area_motion_notify_cb),
6794 (hildon_pannable_area_class_init):
6795 * src/hildon-pannable-area.h:
6796 * src/hildon-touch-selector.c
6797 (_create_new_column):
6798 * examples/hildon-pannable-area-example-4.c:
6799 (horizontal_movement),
6800 (vertical_movement),
6802 Replaced the names of enums in the HildonPannableArea:
6803 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6804 HILDON_MOVEMENT_MODE_*
6805 - HILDON_PANNABLE_AREA_MOV_* ->
6807 - Removed HildonPannableAreaIndicatorMode, now we
6810 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6812 * examples/hildon-pannable-area-touch-grid-example.c
6813 * examples/hildon-pannable-area-touch-list-example.c: Fix
6814 compilation warnings.
6816 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6818 * src/hildon-gtk.c (hildon_gtk_button_new)
6819 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6820 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6821 images overriding the value of the "gtk-button-images" setting.
6823 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6825 * src/hildon-check-button.c (hildon_check_button_new):
6826 Instead of using a custom container, display the label and the
6827 checkbox using the standard GtkButton API.
6829 * examples/hildon-check-button-example.c (main): Don't use
6830 hildon_check_button_set_label() anymore
6832 * src/hildon-check-button.h
6833 * src/hildon-check-button.c
6834 (hildon_check_button_set_label, hildon_check_button_get_label):
6835 Set as deprecated, now we're using gtk_button_{get,set}_label()
6837 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6839 * src/hildon-pannable-area.c,
6840 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6841 GtkTreeview first line we detected it after the inclusion of the
6842 GtkWindowImpl in gtk+. We now check if the window is visible, not
6843 just if the pointer is over the window.
6844 (hildon_pannable_axis_scroll),
6845 (hildon_pannable_area_expose_event): Small style changes.
6847 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6849 * src/hildon-button.c: Update documentation.
6851 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6853 * examples/hildon-button-example.c: Add a switch to show images in
6856 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6858 * doc/hildon-docs.sgml: Some docs reorganization.
6860 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6862 * examples/hildon-pannable-area-touch-list-example.c
6864 * examples/hildon-pannable-area-touch-grid-example.c
6865 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6866 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6867 Fix memory leak when setting the tree model.
6869 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6873 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6875 * doc/hildon.types: Remove duplicated hildon_window_get_type
6876 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6877 documentation comment.
6879 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6881 * doc/Makefile.am: Complete list of private headers.
6883 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6885 * doc/hildon-docs.sgml
6886 * src/hildon-app-menu.c
6887 * src/hildon-bread-crumb.c
6888 * src/hildon-button.c
6890 * src/hildon-program.c
6891 * src/hildon-stackable-window.c
6892 * src/hildon-window.c: Lots of documentation updates.
6894 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6896 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6898 * configure.ac: Require Gtk+ 2.12.9 at least
6900 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6902 * src/hildon-pannable-area.c
6903 (hildon_pannable_area_scroll_indicator_fade),
6904 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6905 to protect the return of this timeout callbacks, avoiding deadlocks.
6907 2008-08-12 Christian Dywan <christian@imendio.com>
6910 * src/hildon-*.h: Ensure a consistent include order,
6911 include <gtk/gtk.h> instead of particular files and
6912 only include the topmost header in the gtk stack. See NB #39857
6914 2008-08-12 Christian Dywan <christian@imendio.com>
6916 * src/hildon-picker-dialog.c
6917 * src/hildon-touch-selector.c: Fix warnings about unused and
6918 uninitialized variables.
6920 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6922 * examples/Makefile.am
6923 * examples/hildon-check-button-example.c: Example of the hildon
6926 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6928 * src/hildon-window.h
6929 * src/hildon-window.c (hildon_window_class_init)
6930 (hildon_window_unset_program): Don't make
6931 hildon_window_unset_program a virtual function anymore.
6933 * src/hildon-stackable-window.c: Update documentation
6935 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6938 * doc/hildon-docs.sgml
6939 * doc/visual_index.xml
6940 * src/hildon-defines.c
6942 * src/hildon-helper.c
6943 * src/hildon-range-editor.c: Lots of documentation fixes.
6945 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6947 * examples/hildon-picker-button-multicolumn-example.c
6948 (create_touch_selector): Fix compilation warning.
6950 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6952 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6953 (hildon_pannable_area_button_release_cb)
6954 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6956 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6958 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6961 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6963 * src/hildon-bread-crumb-trail.h
6964 * src/hildon-date-editor.c
6965 * src/hildon-date-selector.c
6966 * src/hildon-pannable-area.c
6967 * src/hildon-picker-dialog.c
6968 * src/hildon-time-selector.c
6969 * src/hildon-touch-selector-entry.c
6970 * src/hildon-touch-selector.c
6971 * src/hildon-touch-selector.h: Misc documentation fixes
6973 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6975 * examples/hildon-date-editor-example.c (main): Updated date
6978 * examples/hildon-note-example.c (on_confirmation_clicked):
6979 Updated confirmation note example.
6981 * src/hildon-date-editor.c
6982 * src/hildon-note.c: Updated sample programs in documentation.
6985 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6987 * src/hildon-date-button.h:
6988 * src/hildon-picker-button.h:
6989 * src/hildon-time-button.c:
6990 * src/hildon-time-button.h:
6992 Some declarations changes to allow gtk-doc to document the widgets
6995 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6997 * src/hildon-date-button.c: Document the widget.
6998 * src/hildon-time-button.c: Document the widget.
7000 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7002 * src/hildon-picker-button.c: Document the widget.
7003 * src/hildon-touch-selector-entry.c: Document the widget.
7005 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7007 * doc/hildon-docs.sgml
7010 * src/hildon-check-button.h
7011 * src/hildon-check-button.c: New functions to create the Hildon
7015 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7017 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7019 * src/hildon-button.h
7020 * src/hildon-button.c
7021 (hildon_button_add_title_size_group)
7022 (hildon_button_add_value_size_group)
7023 (hildon_button_add_image_size_group)
7024 (hildon_button_add_size_groups): New functions to set size groups
7025 for the button labels and image.
7026 (hildon_button_new_full): Removed
7028 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7030 * src/hildon-time-selector.c
7031 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7032 in order to avoid a crash if gconf is not available
7034 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7036 * src/hildon-button.c (hildon_button_set_arrangement)
7037 (hildon_button_construct_child): Don't construct the button child
7038 before setting the arrangement.
7040 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7042 * src/hildon-program-private.h
7043 * src/hildon-program.c
7044 * src/hildon-program.h
7045 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7046 (hildon_program_peek_window_stack)
7047 (hildon_program_pop_window_stack)
7048 (hildon_program_go_to_root_window): HildonProgram now has a
7049 separate list for stackable windows. Functions are provided to
7050 manage that list with a stack-like API.
7052 * src/hildon-stackable-window.c: Stackable window management is
7053 now much simpler with the new HildonProgram API. Windows no
7054 longer need to be manually added to the program, they're
7055 automatically pushed to the top of the stack when shown.
7057 * examples/hildon-stackable-window-example.c: Updated example to
7058 reflect the API changes.
7060 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7062 * src/hildon-touch-selector.c: Comment out unimplemented
7063 hildon_touch_selector_insert_column() to avoid a compile warning.
7065 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7067 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7068 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7069 (hildon_touch_selector_set_column_selection_mode),
7070 (_hildon_touch_selector_set_model),
7071 (hildon_touch_selector_set_model):
7073 Complete review of HildonTouchSelector documentation.
7075 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7077 * doc/hildon-docs.sgml
7081 * src/hildon-gtk.c: Convenience functions for standard Gtk
7082 widgets, used to easily perform frequent operations.
7084 * src/hildon-button-helpers.h
7085 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7087 * src/hildon-helper.h
7088 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7089 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7091 * src/hildon-button.h
7092 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7094 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7096 * src/hildon-button.c (hildon_button_init)
7097 (hildon_button_set_arrangement, hildon_button_construct_child):
7098 Pack the image and the labels inside the same GtkAlignment so
7099 gtk_button_set_alignment() can be used
7101 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7103 * src/hildon-button.h
7104 * src/hildon-button.c
7105 (hildon_button_init, hildon_button_set_image)
7106 (hildon_button_set_image_position)
7107 (hildon_button_construct_child): New functions to add an image to
7110 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7112 * src/hildon-date-button.c
7113 * src/hildon-picker-button.c
7114 * src/hildon-time-button.c
7115 * src/hildon-button.c:
7116 (hildon_button_class_init): "size-flags" renamed to "size"
7117 (hildon_button_set_title): Hide the title label if set to NULL.
7119 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7121 HildonButtonFlags split into HildonButtonArrangement (to set the
7122 button layout) and HildonSizeType (which can be used for any
7125 * src/hildon-button.h
7126 * src/hildon-button.c
7127 (hildon_button_class_init)
7128 (hildon_button_set_arrangement)
7129 (hildon_button_set_property): New "size-flags"
7130 property. "arrangement-flags" renamed to "arrangement".
7131 (hildon_button_new, hildon_button_new_with_text)
7132 (hildon_button_new_full): Constructors updated to reflect type changes.
7134 * src/hildon-helper.h
7135 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7136 to set the size of a widget.
7140 * src/hildon-button-helpers.c
7141 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7143 * src/hildon-date-button.c
7144 * src/hildon-date-button.h
7145 * src/hildon-picker-button.c
7146 * src/hildon-picker-button.h
7147 * src/hildon-time-button.c
7148 * src/hildon-time-button.h: Updated widgets to reflect
7149 HildonButton API changes.
7151 * examples/hildon-button-example.c
7152 * examples/hildon-date-button-example.c
7153 * examples/hildon-picker-button-example.c
7154 * examples/hildon-picker-button-multicolumn-example.c
7155 * examples/hildon-time-button-example.c
7156 * examples/hildon-touch-selector-entry-example.c
7157 * examples/hildon-touch-selector-example.c: Updated examples to
7158 reflect HildonButton API changes.
7160 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7162 * doc/hildon-docs.sgml:
7164 * examples/Makefile.am:
7165 * examples/hildon-touch-selector-entry-example.c:
7167 * src/hildon-touch-selector-entry.c:
7168 * src/hildon-touch-selector-entry.h:
7171 Moved HildonTouchSelectorEntry from sandbox. Added its
7172 documentation and examples.
7174 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7176 * src/hildon-touch-selector.h:
7177 * examples/hildon-picker-button-multicolumn-example.c:
7178 (hildon_touch_selector_append_text_column): Add a gboolean
7179 parameter to determine if text must be centered in the column.
7181 * src/hildon-date-selector.c: (hildon_date_selector_init):
7182 * src/hildon-time-selector.c: (hildon_time_selector_init):
7183 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7184 (create_touch_selector): Update widgets and example to reflect
7187 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7189 * src/hildon-touch-selector.c:
7190 (hildon_touch_selector_set_active_iter): Set also the cursor in
7193 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7195 * doc/hildon-docs.sgml
7198 * src/hildon-toggle-button.c
7199 * src/hildon-toggle-button.h
7200 * src/hildon.h: Removed HildonToggleButton widget, a derived
7201 class is not necessary for this.
7203 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7205 * src/hildon-pannable-area.c,
7206 (hildon_pannable_area_realize),
7207 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7210 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7212 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7213 "done" button the default widget for the dialog.
7215 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7217 * src/hildon-touch-selector.c:
7218 (hildon_touch_selector_class_init),
7219 (hildon_touch_selector_get_property),
7220 (_hildon_touch_selector_set_model),
7221 (_hildon_touch_selector_has_multiple_selection),
7222 (hildon_touch_selector_has_multiple_selection):
7223 Add a "has-multiple-selection" property with a virtual
7224 has_multiple_selection() method to allow derived classes to
7225 override the default value for it. See the method and property
7226 documentation for details.
7228 * src/hildon-touch-selector.h: Add the new API.
7230 * src/hildon-picker-dialog.c: (requires_done_button): Call
7231 hildon_touch_selector_has_multiple_selection() instead of
7232 determining the need for a button itself.
7234 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7236 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7237 (_hildon_touch_selector_set_model),
7238 (hildon_touch_selector_set_model): Move working code to
7239 _hildon_touch_selector_set_mode(). Call the class method instead.
7241 * src/hildon-touch-selector.h: Add (*set_model) to
7242 HildonTouchSelectorClass.
7244 Make hildon_touch_selector_set_model() a virtual method, so that
7245 derived classes can extend it and do fancy stuff with the model.
7247 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7249 * configure.ac: Set back the tarname in AC_INIT to hildon.
7251 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7255 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7256 instead of libesd (NB#86876). Volume handling is still an open issue.
7258 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7261 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7263 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7264 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7265 derived class to ease placement of an entry widget in
7266 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7267 end, where the selector columns are packed now.
7269 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7271 * src/hildon-picker-button.c: Removed the simple _text() API.
7272 * src/hildon-picker-button.h: Likewise.
7274 * src/hildon-touch-selector.h:
7275 * src/hildon-touch-selector.c:
7276 (hildon_touch_selector_new_text),
7277 (hildon_touch_selector_append_text),
7278 (hildon_touch_selector_prepend_text),
7279 (hildon_touch_selector_insert_text):
7281 Moved the simple _text() API from HildonPickerButton to
7282 HildonTouchPicker, to provide better escalability and not to tie
7283 that API to HildonPickerButton.
7285 * examples/hildon-picker-button-example.c: (main): Example updated.
7287 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7289 * src/hildon-button.c: Updated documentation.
7291 * examples/hildon-button-example.c: Add the posibility to create
7292 the buttons using horizontal layout for title and value.
7294 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7296 * src/hildon-app-menu-private.h
7297 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7298 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7299 GtkSizeGroup for the filters, use the 'homogeneous' property of
7302 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7304 * examples/hildon-button-example.c: Updated example.
7306 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7308 * doc/hildon-docs.sgml:
7311 Update documentation.
7313 * examples/Makefile.am: Update renamed examples.
7315 * examples/hildon-picker-button-multicolumn-example.c:
7316 (create_touch_selector), (main): Update after the rename.
7318 * examples/hildon-touch-picker-example.c: Removed.
7319 * examples/hildon-touch-selector-example.c: (value_changed),
7320 (create_selector), (get_visible_content), (main): Renamed from
7321 hildon-touch-picker-example.c
7323 * src/Makefile.am: Updated renamed files.
7325 * src/hildon-date-button.c: (hildon_date_button_init),
7326 (hildon_date_button_get_date), (hildon_date_button_set_date):
7327 * src/hildon-date-selector.c: (hildon_date_selector_init),
7328 (_custom_print_func), (_update_day_model),
7329 (_manage_selector_change_cb),
7330 (hildon_date_selector_select_current_date),
7331 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7332 * src/hildon-date-selector.h:
7333 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7334 (hildon_picker_button_set_property),
7335 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7336 (hildon_picker_button_init), (hildon_picker_button_new_text),
7337 (hildon_picker_button_append_text),
7338 (hildon_picker_button_prepend_text),
7339 (hildon_picker_button_insert_text),
7340 (hildon_picker_button_set_selector),
7341 (hildon_picker_button_get_selector):
7342 * src/hildon-picker-button.h:
7343 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7344 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7345 (_update_title_on_selector_changed_cb), (requires_done_button),
7346 (_hildon_picker_dialog_set_selector),
7347 (hildon_picker_dialog_set_selector),
7348 (hildon_picker_dialog_get_selector):
7349 * src/hildon-picker-dialog.h:
7350 * src/hildon-time-button.c: (hildon_time_button_init),
7351 (hildon_time_button_get_time), (hildon_time_button_set_time):
7352 * src/hildon-time-selector.c: (hildon_time_selector_init),
7353 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7354 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7355 * src/hildon-time-selector.h:
7358 Massive code updates after the rename.
7360 * src/hildon-touch-picker.c: Removed.
7361 * src/hildon-touch-picker.h: Removed.
7363 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7364 (hildon_touch_selector_init), (hildon_touch_selector_map),
7365 (hildon_touch_selector_remove), (_default_print_func),
7366 (_selection_changed_cb), (_create_new_column),
7367 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7368 (hildon_touch_selector_append_text_column),
7369 (hildon_touch_selector_remove_column),
7370 (hildon_touch_selector_set_column_attributes),
7371 (hildon_touch_selector_insert_column),
7372 (hildon_touch_selector_get_num_columns),
7373 (hildon_touch_selector_get_column_selection_mode),
7374 (hildon_touch_selector_set_column_selection_mode),
7375 (hildon_touch_selector_set_print_func),
7376 (hildon_touch_selector_get_print_func),
7377 (hildon_touch_selector_get_active_iter),
7378 (hildon_touch_selector_set_active_iter),
7379 (hildon_touch_selector_get_selected_rows),
7380 (hildon_touch_selector_get_model),
7381 (hildon_touch_selector_set_model),
7382 (hildon_touch_selector_get_current_text),
7383 (_hildon_touch_selector_center_on_selected_items):
7384 * src/hildon-touch-selector.h: Renamed from
7385 hildon-touch-picker.[ch]
7387 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7388 references, code examples, and related documentation.
7390 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7392 * doc/hildon-docs.sgml
7395 * src/hildon-toggle-button.c
7396 * src/hildon-toggle-button.h
7397 * src/hildon.h: New HildonToggleButton widget.
7399 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7401 * src/hildon-button.c: Add API documentation.
7402 (hildon_button_set_size_groups): Check input parameters
7404 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7406 * src/hildon-pannable-area.c
7407 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7408 effect after reaching the movement thredshold. This way we start
7409 using the distance after passing the thredshold.
7411 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7413 * src/hildon-button.c: (hildon_button_set_property): Use the
7414 appropriate g_value_get_flags() method.
7416 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7418 * doc/hildon-docs.sgml:
7421 Add the touch pickers, picker dialogs, and picker button widgets
7422 to the documentation.
7424 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7426 * src/hildon-button.c: (hildon_button_set_property),
7427 (hildon_button_class_init): Make "arrangement-flags" a proper
7428 G_TYPE_FLAGS derived property.
7430 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7432 * examples/Makefile.am: Add below examples.
7433 * examples/hildon-date-button-example.c:
7434 * examples/hildon-picker-button-example.c:
7435 * examples/hildon-picker-button-multicolumn-example.c:
7436 * examples/hildon-time-button-example.c:
7437 * examples/hildon-touch-picker-example.c:
7439 Add examples for the recently added touch pickers,
7440 picker dialogs, and picker button widgets.
7442 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7444 * src/hildon-button.c: Add some API documentation
7446 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7448 * src/hildon-button.h
7449 * src/hildon-button.c
7451 (hildon_button_new_with_text): New constructor to create a button
7452 with no text at all.
7453 (hildon_button_init, hildon_button_set_arrangement)
7454 (hildon_button_set_title, hildon_button_set_value)
7455 (hildon_button_set_text)
7456 (hildon_button_construct_child): Hide the value when it's not used
7457 so the rest of the text is properly aligned.
7458 Allow creating buttons with arbitrary widgets inside (not just
7459 title/value labels).
7461 * examples/hildon-button-example.c (vertical_buttons_window)
7462 (horizontal_buttons_window): Update example to use new API.
7464 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7466 * src/Makefile.am: Added HildonTimeButton.
7467 * src/hildon-time-button.c: Added missing LGPL header.
7468 * src/hildon-time-button.h: Added missing LGPL header.
7469 * src/hildon.h: Add hildon-time-button.h
7471 Copied HildonTimeButton from sandbox to trunk. Future work on this
7472 widget must take place in trunk.
7474 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7476 * src/Makefile.am: Added HildonDateButton.
7477 * src/hildon-date-button.c: Update includes.
7478 * src/hildon.h: Add hildon-date-button.h
7480 Copied HildonDateButton from sandbox to trunk. Future work on this
7481 widget must take place in trunk.
7483 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7485 * src/Makefile.am: Added HildonPickerButton.
7486 * src/hildon-picker-button.h: Update includes.
7487 * src/hildon.h: Add hildon-picker-button.h
7489 Copied HildonPickerButton from sandbox to trunk. Future work on
7490 this widget must take place in trunk.
7492 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7494 * src/Makefile.am: Added HildonPickerDialog.
7495 * src/hildon-picker-dialog.c: Update includes.
7496 * src/hildon.h: Add hildon-picker-dialog.h
7498 Copied HildonPickerDialog from sandbox to trunk. Future work
7499 on this widget must take place in trunk.
7501 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7503 * src/Makefile.am: Added HildonTimeSelector.
7504 * src/hildon.h: Add hildon-time-selector.h
7506 Copied HildonTimeSelector widget from sandbox to trunk. Future
7507 work on this widget must happen in trunk.
7509 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7511 * src/Makefile.am: Added HildonDateSelector.
7512 * src/hildon.h: Add hildon-date-selector.h
7514 Copied HildonDateSelector widget from sandbox to trunk. Future
7515 work on this widget must happen in trunk.
7517 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7519 * src/Makefile.am: Added HildonTouchPicker.
7520 * src/hildon-touch-picker.c: Update includes.
7521 * src/hildon.h: Add hildon-touch-picker.h
7523 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7524 on this widget must happen in trunk.
7526 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7528 * src/hildon-pannable-area.c:
7529 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7531 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7533 * examples/hildon-app-menu-example.c (main): Let the window
7536 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7538 * src/hildon-pannable-area.c
7539 (hildon_pannable_area_class_init): Set the min value of the
7540 overshoot properties to zero, which points out that not
7541 overshooting allowed.
7543 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7545 Modified the procedure to get the widget at a point inside the
7546 pannable area when using the movement type signals. Now the user
7547 has to call a function to get the child, that way we just
7548 calculate the child in case the user really want to use it and not
7551 * src/hildon-marshalers.list: Modified the marshallers, now we do
7552 not have the widget as a parameter.
7554 * src/hildon-pannable-area.c
7555 (hildon_pannable_area_motion_notify_cb),
7556 (hildon_pannable_area_class_init),
7557 (hildon_pannable_get_child_widget_at): Removed the widget
7558 parameter from the signal callback. We have also refactored the
7559 emission of the signals.
7561 * src/hildon-pannable-area.h: Added a new method to the API to
7562 calculate a widget at a point inside the pannable area,
7563 hildon_pannable_get_child_widget_at.
7565 * examples/hildon-pannable-area-example-4.c
7566 (horizontal_movement): Modified the example to use the new API,
7567 added condition to control which widget is under the event. This
7568 way we can avoid scrolling laterally over other widgets.
7570 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7572 * src/hildon-pannable-area.c
7573 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7574 modes, we stop getting the pointer events due to returning the
7575 callback without properly calling the get pointer again. Fixed
7576 also an error using the hscroll and vscroll.
7578 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7580 * src/hildon-app-menu-private.h
7581 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7582 (hildon_app_menu_button_release, hildon_app_menu_init)
7583 (hildon_app_menu_class_init): Don't hide the menu on button
7584 release if the user didn't press outside first.
7586 * src/hildon-window.h
7587 * src/hildon-window.c (hildon_window_toggle_menu)
7588 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7589 hildon_window_toggle_menu a virtual function for the stackable
7590 window to override it.
7592 * src/hildon-stackable-window.h
7593 * src/hildon-stackable-window-private.h
7594 * src/hildon-stackable-window.c
7595 (hildon_stackable_window_realize)
7596 (hildon_stackable_window_finalize)
7597 (hildon_stackable_window_class_init)
7598 (hildon_stackable_window_init)
7599 (hildon_stackable_window_set_main_menu): New function to set the
7600 app menu of a HildonStackableWindow.
7602 * examples/hildon-app-menu-example.c: Remove the button to show
7603 the app menu, now it'll be shown when clicking on the title bar
7606 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7608 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7609 set the widget name if the arrangement flags do not specify
7612 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7614 * src/hildon-button.c: (hildon_button_set_property),
7615 (hildon_button_class_init), (hildon_button_new_full),
7616 (hildon_button_set_arrangement): Added "arrangement-flags"
7619 Make the HildonButtonFlags a construction-only property, to allow
7620 subclasses to set them properly.
7622 2008-07-21 Tim Janik <timj@imendio.com>
7624 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7625 insertion position after backspace, so additional digits are appended,
7628 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7630 * src/hildon-pannable-area.c,
7631 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7632 TODO list, it was complete and removed the g_debug and g_print
7635 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7637 Added the movement modes to the hildon-pannable-area, with this
7638 modes the developers can control in which directions the widget
7639 can scroll. They can also connect to signals in order to do
7640 something when that happens, allowing applications scroll. There
7641 is an example uploaded showing how to use it.
7643 * examples/Makefile.am:
7644 * examples/hildon-pannable-area-example-4.c: Added this example of
7645 an application using the modes.
7647 * src/hildon-marshalers.list: Added a new marshaller for the new
7650 * src/hildon-pannable-area.h: Added new enumerations and flags in
7651 order to control the movement modes and the new signals to warn
7652 about the movements in the area.
7654 * src/hildon-pannable-area.c:
7655 (hildon_pannable_axis_scroll),
7656 (hildon_pannable_area_scroll),
7657 (hildon_pannable_area_motion_notify_cb),
7658 (hildon_pannable_area_get_property),
7659 (hildon_pannable_area_set_property),
7660 (hildon_pannable_area_map),
7661 (hildon_pannable_area_class_init),
7662 (hildon_pannable_area_init),
7663 (hildon_pannable_area_jump_to): Added the modes to control the
7664 movement in the widget. We have added properties to control it,
7665 signals to warn about the movements and refactored some code.
7667 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7669 Changes required in order to allow vfast_factor set to zero to
7672 * src/hildon-pannable-area.c:
7673 (hildon_pannable_area_button_press_cb): Changed the condition, it
7674 is required for not allowing click when vfast_factor is zero.
7675 (hildon_pannable_area_timeout): Initialized velocity variables
7676 when we stop moving, it was less than 1 but not zero and we need
7677 to check zero in some situations.
7678 (hildon_pannable_area_class_init): Changed the default value of
7679 the speed factor, now the button_press is just sent in case the
7680 speed is 2 per cent of the max speed.
7681 (hildon_pannable_area_init): Initialization with 0.
7683 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7685 * src/hildon-pannable-area.c,
7686 (hildon_pannable_area_get_topmost): replaced
7687 gdk_window_get_children with gdk_window_peek_children, this way we
7688 do not have to free the list because it is not a copy.
7690 (hildon_pannable_axis_scroll),
7691 (hildon_pannable_area_scroll),
7692 (hildon_pannable_area_timeout),
7693 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7694 two parameters that were only used inside the
7695 hildon_pannable_area_scroll function.
7697 * examples/hildon-pannable-area-example.c,
7698 (get_sawtooth_label): Fixed small memory leak.
7700 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7702 More checks for the case where the overshoot is bigger than the
7705 * src/hildon-pannable-area.c:
7706 (hildon_pannable_draw_vscroll),
7707 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7708 to draw the slider of the scrollbar under the other scrollbar.
7709 (hildon_pannable_area_expose_event): added new checks to control
7710 the drawing of the overshooting area rectangle, in case it is too
7711 big for the area of the widget.
7712 (hildon_pannable_area_size_allocate): add more checks to avoid
7713 setting a position to the child widget outside the area.
7715 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7717 * src/hildon-pannable-area.c
7718 (hildon_pannable_area_size_allocate): Added conditions to control
7719 when overshooting is bigger than the allocated space for the
7720 children, this avoids negative allocations.
7722 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7724 * doc/hildon-docs.sgml
7726 * examples/Makefile.am
7727 * examples/hildon-button-example.c
7729 * src/hildon-button.c
7730 * src/hildon-button.h
7731 * src/hildon.h: Initial version of the new HildonButton widget,
7734 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7736 * src/hildon-pannable-area.c:
7737 (hildon_pannable_area_button_press_cb),
7738 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7739 (hildon_pannable_area_motion_notify_cb),
7740 (hildon_pannable_area_button_release_cb),
7741 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7742 (hildon_pannable_area_jump_to_child):
7744 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7746 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7748 * examples/Makefile.am
7749 * examples/hildon-pannable-area-touch-grid-example.c
7750 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7751 the Hildon Touch List and Hildon Touch Grid using the
7752 HildonPannableArea widget.
7754 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7756 * src/hildon-pannable-area.c,
7757 (hildon_pannable_area_button_press_cb),
7758 (hildon_pannable_area_refresh),
7759 (hildon_pannable_area_scroll),
7760 (hildon_pannable_area_motion_notify_cb),
7761 (hildon_pannable_area_button_release_cb),
7762 (hildon_pannable_area_expose_event),
7763 (hildon_pannable_area_add),
7764 (hildon_pannable_area_remove),
7765 (hildon_pannable_area_realize),
7766 (hildon_pannable_area_size_allocate),
7767 (hildon_pannable_area_class_init),
7768 (hildon_pannable_area_init),
7769 (hildon_pannable_area_scroll_to_child),
7770 (hildon_pannable_area_jump_to_child): Fixed the problem of
7771 removing the child from the GtkBin, we have rearranged the widget
7772 hierarchy, now there is no GtkAlignment which was not doing
7773 anything interesting but breaking some of the assumptions of
7774 GtkContainer. Now developers if they want to add a GtkAlignment
7775 they could, but it is not inside the area.
7777 We had to review the whole allocation/expose process, now it is
7778 improved and we save at least three signals which would be saving
7779 some time when rendering the widget. The allocation of the
7780 scrollbars is now made in the allocate method as usual.
7782 We have also added some conditions in order to control when there
7783 is no child of the pannable area. Maybe we will need more work
7786 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7788 * src/hildon-pannable-area.c,
7789 (hildon_pannable_area_dispose): Released the fade-out timeout when
7790 disposing the widget.
7792 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7794 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7795 zero, we are going to use that property in order to deactivate the
7797 (hildon_pannable_axis_scroll),
7798 (hildon_pannable_area_size_allocate): Added conditions to control
7799 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7800 call, now it is called in all situations and we can remove calls
7801 in the allocate method.
7802 (hildon_pannable_area_map): Control the situation when
7803 overshoot_max is zero, we do not need the timeout.
7804 (hildon_pannable_area_class_init): Added documentation in order to
7805 point out that setting zero to overshoot_max means deactivate
7808 NOTE: removed trailing whitespaces from my previous comments of
7811 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7813 * src/hildon-pannable-area.c
7814 (hildon_pannable_area_get_property),
7815 (hildon_pannable_area_set_property),
7816 (hildon_pannable_area_map),
7817 (hildon_pannable_area_class_init),
7818 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7819 to cause the widget give a hint about its panning abilities upon
7822 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7824 * src/hildon-pannable-area.c: Several documentation improvements.
7826 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7828 * src/hildon-program.c
7829 * src/hildon-stackable-window.c: Update documentation.
7831 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7833 * src/hildon-stackable-window.c (get_previous_window_if_last):
7834 Renamed get_last_window()
7835 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7836 (hildon_stackable_window_unset_program):
7838 (get_previous_window_if_last):
7839 Detect if the window hasn't been added to a HildonProgram.
7841 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7843 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7845 * src/hildon-pannable-area.c
7846 (hildon_pannable_area_button_press_cb),
7847 (hildon_pannable_axis_scroll),
7848 (hildon_pannable_area_scroll),
7849 (hildon_pannable_area_timeout),
7850 (hildon_pannable_calculate_vel_factor),
7851 (hildon_pannable_area_get_property),
7852 (hildon_pannable_area_set_property),
7853 (hildon_pannable_area_class_init),
7854 (hildon_pannable_area_init),
7855 (hildon_pannable_area_scroll_to),
7856 (hildon_pannable_area_jump_to),
7857 (hildon_pannable_area_scroll_to_child),
7858 (hildon_pannable_area_jump_to_child):
7859 * src/hildon-pannable-area.h: Added the new API functions:
7860 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7861 hildon_pannable_area_scroll_to_child,
7862 hildon_pannable_area_jump_to_child
7865 * examples/Makefile.am
7866 * examples/hildon-pannable-area-example-2.c
7867 * examples/hildon-pannable-area-example-3.c: Added these two new
7868 examples in order to test and show how the new APIs work.
7870 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7872 * examples/hildon-stackable-window-example.c (new_window):
7873 * src/Makefile.am (noinst_HEADERS):
7874 * src/hildon-program.c (hildon_program_go_to_root_window):
7875 * src/hildon-program.h:
7876 * src/hildon-stackable-window-private.h:
7877 * src/hildon-stackable-window.c:
7878 * src/hildon-stackable-window.h:
7879 Create hildon-stackable-window-private.h
7880 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7882 * examples/hildon-app-menu-example.c (create_menu):
7883 * examples/hildon-hvolumebar-insensitive-example.c (main):
7884 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7885 * examples/hildon-toolbar-seekbar-example.c (main):
7886 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7887 * src/hildon-banner.c (hildon_banner_set_property):
7888 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7889 Fix compilation warnings
7891 * src/hildon-window.c:
7894 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7896 * src/hildon-stackable-window.c
7897 (hildon_stackable_window_unset_program):
7898 Calculate correctly whether to show the previous window if the
7899 last one is removed from the stack.
7900 (hildon_stackable_window_go_to_root_window):
7901 Send delete events starting from the topmost window.
7902 Stop if one of the windows is not destroyed.
7904 (hildon_stackable_window_delete_event)
7905 (hildon_stackable_window_class_init):
7906 Ignore the delete event if the window is not the topmost one.
7908 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7910 * src/hildon-pannable-area.c
7911 (hildon_pannable_area_expose_event): Fixed a problem when
7912 selecting the background color of the scrollbars.
7914 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7916 * examples/hildon-stackable-window-example.c
7917 * src/hildon-stackable-window.c
7918 * src/hildon-stackable-window.h
7919 hildon_stackable_window_go_home() renamed to
7920 hildon_stackable_window_go_to_root_window()
7921 Send delete events to windows rather than closing them with
7922 gtk_widget_destroy()
7924 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7926 * src/hildon-pannable-area.c
7927 (hildon_pannable_area_button_release_cb): Fix overshooting in
7930 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7932 * src/hildon-pannable-area.c
7933 (hildon_pannable_area_init): Initially show the scroll indicators.
7934 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7936 Add initial effect showing the widget is pannable.
7938 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7940 * src/hildon-pannable-area.c
7941 (hildon_pannable_area_class_init)
7942 (hildon_pannable_area_set_property)
7943 (hildon_pannable_area_get_property)
7944 (hildon_pannable_area_button_press_cb):
7945 New 'velocity_fast_factor' property to decide which velocity is
7948 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7950 * src/hildon-pannable-area.c
7951 (hildon_pannable_draw_hscroll)
7952 (hildon_pannable_draw_vscroll):
7953 Use float variables to calculate the size of the scrollbars to
7954 avoid error propagation and resizing during scrolling.
7956 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7958 * src/hildon-pannable-area.c
7959 (hildon_pannable_draw_vscroll)
7960 (hildon_pannable_draw_hscroll):
7961 Define a minimum size for the scroll bars
7963 * src/hildon-stackable-window.c
7964 (hildon_stackable_window_go_home): Fix compilation warning
7965 (get_last_window): Minor optimizations
7966 (hildon_stackable_window_class_init): Fix initialization of
7969 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7971 * src/hildon-stackable-window.c: Fixed typos in doc
7973 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7975 * src/hildon-pannable-area.c
7976 (hildon_pannable_area_scroll):
7977 Calculate here whether we need to scroll instead of using the booleans
7978 that tell us whether to /draw/ the scrolling bars.
7980 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7982 * src/hildon-app-menu.h
7984 * src/hildon-app-menu.c
7985 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7986 multiple filter groups related code and API. Now we support only
7988 * examples/hildon-app-menu-example.c:
7990 Update to reflect API changes.
7992 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7994 * src/hildon-stackable-window.c
7995 (hildon_stackable_window_class_init):
7996 Add hildon_stackable_window_realize.
7997 (hildon_stackable_window_realize):
7998 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7999 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8000 to apply theming and behavior specific to HildonStackableWindow
8003 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8005 * src/hildon-note.c (hildon_note_button_release):
8006 Close information notes also when tapping on them
8008 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8010 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8011 ELASTICITY, refactor and review, fix some issues with drawing
8014 * src/hildon-pannable-area.c:
8015 (hildon_pannable_area_button_press_cb): removed the conditions to
8016 avoid clicks when overshooting. It is not required
8018 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8019 define. Refatored and reviewed the code, now we do not need to
8020 manage velocity in motion_notify.
8022 (hildon_pannable_area_motion_notify_cb): We have moved the code
8023 that controls the area_scroll to the axis_scroll function and get
8024 rid of duplicated code.
8026 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8028 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8030 (hildon_pannable_draw_vscroll),
8031 (hildon_pannable_draw_hscroll): Fixed the problems with the
8032 scrollbar drawing, now we do not use two surfaces, it is easier
8033 and saves resources.
8035 (hildon_pannable_area_get_property): Style modification.
8037 (hildon_pannable_area_class_init): Changed some default values.
8039 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8041 * src/hildon-stackable-window.c: Fix some typos in the
8044 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8046 * src/hildon-dialog.c:
8047 Change indentation style
8050 (hildon_note_button_release):
8051 Use root coordinates to check if the release event happened
8054 * src/hildon-app-menu.c
8055 (hildon_app_menu_button_release):
8056 Remove unnecessary check
8058 * examples/hildon-app-menu-example.c
8060 Add cast to fix warning
8062 * src/hildon-app-menu.c
8063 (hildon_app_menu_class_init):
8064 New inner-border style property.
8065 Set all default spacings to 16
8066 (hildon_app_menu_init):
8067 Use vertical-spacing to set the space between filter buttons and
8068 regular menu buttons.
8069 Set the default container border using the inner-border value.
8071 * examples/hildon-app-menu-example.c
8073 Don't set the menu border explicitly, now we have the inner-border
8074 style property for that.
8076 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8078 * src/hildon-app-menu.c (hildon_app_menu_init):
8079 Make the window modal
8081 * src/hildon-note.c (hildon_note_map)
8082 * src/hildon-app-menu.c (hildon_app_menu_map):
8083 Destroy the grab window if we're unable to grab the pointer
8085 * src/hildon-app-menu-private.h
8086 * src/hildon-app-menu.c
8087 (hildon_app_menu_init, hildon_app_menu_finalize)
8088 (hildon_app_menu_map, hildon_app_menu_unmap)
8089 (hildon_app_menu_button_release)
8090 (grab_transfer_window_get):
8091 Bring back the grab window
8092 (hildon_app_menu_realize):
8093 Decorate the window, set WM hint for Matchbox
8095 * src/hildon-note.c (hildon_note_realize):
8096 * src/hildon-banner.c (hildon_banner_realize):
8097 Add WM hints for Matchbox
8099 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8101 * src/hildon-app-menu-private.h
8102 * src/hildon-app-menu.c
8103 (hildon_app_menu_init, hildon_app_menu_finalize)
8104 (hildon_app_menu_map, hildon_app_menu_unmap)
8105 (hildon_app_menu_button_release):
8106 Remove the grab window, it's not needed anymore
8108 * src/hildon-program.c
8109 Fixed typo in documentation
8111 * src/hildon-app-menu.h
8112 * src/hildon-app-menu.c
8113 * examples/hildon-app-menu-example.c
8114 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8116 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8119 Added new transfer_window and close_if_pressed_outside private
8121 (hildon_note_rebuild):
8122 Don't add a cancel button to the information note. It will be
8123 closed when tapping outside
8124 Remove the comment about the OK button in the documentation
8125 (hildon_note_realize):
8126 Set the notification type hint
8127 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8128 Grab/ungrab pointer and keyboard if the note has to be closed when
8130 (hildon_note_button_release):
8131 Close the note when tapping outside (if applicable)
8133 * src/hildon-app-menu.c
8134 Grab/ungrab pointer and keyboard on map/unmap
8135 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8136 Close the menu on button release, not button press
8138 * src/hildon-banner.c
8139 (hildon_banner_set_property)
8140 (hildon_banner_check_position):
8141 Make the banner use the full width of the screen
8142 (hildon_banner_show_information)
8143 (hildon_banner_show_information_with_markup):
8144 Don't display an icon by default
8146 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8148 Added fading scrollbars and adapted all the overshooting code to
8149 horizontal scrolling. We have also fixed bugs with overshooting
8150 and current fading implementation.
8152 * src/hildon-pannable-area.c
8153 (hildon_pannable_area_scroll_indicator_fade): Time out function
8154 used to change the transparency of the scrollbars.
8156 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8157 control and fixed a problem with fading, we now remove the fade
8158 timeout before adding a new one.
8160 (hildon_pannable_axis_scroll):
8161 (hildon_pannable_area_scroll):
8162 (hildon_pannable_area_timeout): Added this functions so we can use
8163 the scroll code both for vertical and horizontal.
8165 (hildon_pannable_area_motion_notify_cb):
8166 (hildon_pannable_area_button_release_cb): Added the horizontal
8167 scrolling control, fixed a problem with the overshooting timeout.
8169 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8170 painting of the scrolls.
8172 (hildon_pannable_draw_vscroll):
8173 (hildon_pannable_draw_hscroll):
8174 (hildon_pannable_area_expose_event):
8175 Draw both scrollbars and rectangles in the overshooting area.
8177 (hildon_pannable_area_get_property):
8178 (hildon_pannable_area_set_property):
8179 Modified the overshoot property to overshoot_max
8181 (hildon_pannable_area_map):
8182 Replaced the comments symbols.
8184 (hildon_pannable_area_size_allocate):
8185 (hildon_pannable_area_class_init):
8186 (hildon_pannable_area_init): Added horizontal scroll, fading
8187 effect properties, fixed a problem when overshooting in the bottom
8190 * examples/hildon-pannable-area-example.c:
8191 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8192 looks better in the example.
8194 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8196 * src/hildon-window.c
8197 * src/hildon-window.h
8198 (hildon_window_class_init)
8199 (hildon_window_unset_program)
8200 (hildon_window_unset_program_real):
8201 Make unset_program a virtual function
8203 * src/hildon-stackable-window.c
8204 * src/hildon-stackable-window.h
8205 Added hildon_stackable_window_go_home()
8207 * examples/Makefile.am
8208 * examples/hildon-stackable-window-example.c
8209 HildonStackableWindow example
8211 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8213 * hildon-pannable-area.c: Added the overshoot property and removed
8214 the OVERSHOOT define. Fixed an indent style error.
8215 (hildon_pannable_area_motion_notify_cb):
8216 (hildon_pannable_area_get_property):
8217 (hildon_pannable_area_set_property): Add overshoot property.
8219 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8222 (hildon_pannable_area_class_init): Installed the new property.
8224 * hildon-pannable-area-example.c: Added a sawtooth function, this
8225 way it is easier to check the movement in the pannable.
8226 (get_sawtooth_label): Added this function.
8227 (main): Now we get the labels from the new get_sawtooth_label
8230 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8232 * src/hildon-app-menu.h
8233 * src/hildon-app-menu.c
8234 Renamed API variables for consistency
8236 (hildon_app_menu_popup): Use also the default window size to
8237 decide where to place the menu
8239 (hildon_app_menu_init, hildon_app_menu_class_init): New
8240 external-border style property
8242 2008-05-26 Michael Natterer <mitch@imendio.com>
8244 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8245 widget_class->tap_and_hold_setup signal slot doesn't exist any
8246 longer, stop overriding it.
8248 (hildon_time_editor_init): g_signal_connect() to the
8249 tap-and-hold-setup signal instead.
8251 (hildon_time_editor_entry_keypress): add cast to fix warning.
8253 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8255 * doc/hildon-docs.sgml
8257 * examples/Makefile.am
8258 * examples/hildon-app-menu-example.c
8260 * src/hildon-app-menu-private.h
8261 * src/hildon-app-menu.c
8262 * src/hildon-app-menu.h
8264 New HildonAppMenu widget
8266 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8268 Rearranged the inheritance of the pannable area, now it inherits
8269 from GtkBin. This will allow us to control the event_window and
8270 the allocation process of the widget, required for some effects.
8272 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8273 GtkBin structures. * src/hildon-pannable-area.c: Added the
8274 event_window variable.
8275 (hildon_pannable_area_button_press_cb):
8276 (hildon_pannable_area_button_release_cb):
8277 (hildon_pannable_area_motion_notify_cb):
8278 Changed the signature of the method, now we override the event
8279 callback instead of connecting to the signal.
8281 (hildon_pannable_area_realize):
8282 (hildon_pannable_area_unrealize):
8283 (hildon_pannable_area_map):
8284 (hildon_pannable_area_unmap):
8285 (hildon_pannable_area_size_allocate):
8286 Added functions to control the widget construction. We add a
8287 INPUT_ONLY window and we put it over the widgets inside the
8288 container, this event_window handles the events.
8290 (hildon_pannable_area_class_init):
8291 Replaced the signal connections with overrides of the event
8294 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8296 Bouncing effect added when touching the borders, you can change
8297 the elasticity of the border changing the ELASTICITY define.
8299 * src/hildon-pannable-area.c: Added ELASTICITY define.
8300 (hildon_pannable_area_timeout): Added inverse velocity when
8301 touching the border of the child widget, that causes a bounce.
8303 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8305 Improved performance, we now do not go to the X server in order to
8306 get the list of window children. Apparently the effect is the
8307 same, we have to be careful and check if this breaks something in
8310 * src/hildon-pannable-area.c:
8311 (get_ordered_children): Removed this function.
8312 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8313 the children windows function with gdk_window_get_children.
8315 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8317 * src/hildon-pannable-area.c:
8318 (hildon_pannable_area_dispose): Fixed a crash when closing the
8319 window and kinetics is activated.
8321 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8323 * src/hildon-pannable-area.h
8324 * src/hildon-pannable-area.c
8325 Changed indentation style to meet the one used in Hildon
8327 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8329 Reviewed the interaction of the AUTO mode, now we use the time
8330 attribute of the events and calculate the velocity in the motion,
8331 doing a gimp like calculation. The velocity is calculated in each
8332 motion event using the last velocity and the current one, the
8333 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8335 * src/hildon-pannable-area.c: Replaced the time based algorithm
8337 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8338 timeout for the AUTO mode when we are still moving the cursor. We
8339 added also the velocity calculation in this function.
8340 (hildon_pannable_area_button_release_cb): launch the timeout in
8341 case we are in AUTO mode. There are still some constants here that
8342 come from the old implementation that should be reviewed and
8345 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8347 * doc/hildon-docs.sgml
8350 * src/hildon-stackable-window.c
8351 * src/hildon-stackable-window.h
8353 New HildonStackableWindow widget
8355 * examples/hildon-dialog-example.c
8356 * examples/hildon-pannable-area-example.c
8359 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8361 * src/hildon-dialog.c
8362 (hildon_dialog_new_with_buttons): New constructor.
8364 * examples/hildon-dialog-example.c
8365 (main): Update the example to use the new
8366 hildon_dialog_new_with_buttons().
8368 * examples/hildon-pannable-area-example.c
8369 (main): Update example.
8371 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8373 * doc/hildon-docs.sgml
8375 Added HildonPannableArea to the documentation.
8377 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8379 * doc/visual_index.xml
8380 Fix reference to HildonLoginDialog in documentation
8382 * doc/hildon-docs.sgml
8384 * examples/Makefile.am
8385 * examples/hildon-dialog-example.c
8387 * src/hildon-dialog.c
8388 * src/hildon-dialog.h
8390 New HildonDialog widget.
8392 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8394 * src/hildon-pannable-area.c
8395 Merge latest changes (r4318, r4342) from libmokoui trunk
8397 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8399 * examples/Makefile.am
8400 * examples/hildon-pannable-area-example.c
8402 * src/hildon-pannable-area.c
8403 * src/hildon-pannable-area.h
8405 New HildonPannableArea widget.
8407 2008-04-15 18:05:19 <timj@imendio.com>
8409 * src/hildon-banner.c: revert the recent change, that introduced
8410 gtk_window_present() calls. this reopens:
8411 Bug 78481 - [freetest] information banners are hidden under browser menu
8412 But resolves another variant of:
8413 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8415 2008-04-15 13:21:13 <timj@imendio.com>
8417 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8418 recreated its layout, spotted by Kris. this fixes all remaining
8419 artefacts and stability issues with the banner code. in particular:
8420 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8422 2008-04-14 16:52:59 <timj@imendio.com>
8424 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8425 operating on unrealized widgets, fixes:
8426 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8428 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8430 2008-04-09 Kristian Rietveld <kris@imendio.com>
8432 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8433 makes banner disappear.
8434 Fixes: NB#79182: info banner flickering with certain message lengts.
8436 * src/hildon-banner.c (hildon_banner_constructor),
8437 (hildon_banner_init), (hildon_banner_set_text),
8438 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8439 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8440 FALSE, reset size requests of label and banner,
8441 (force_to_wrap_truncated): when the text is too wide, always enforce
8442 the maximum possible width instead of recalculating it from the
8443 layout; enforce the maximum banner height of 3 lines,
8444 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8445 nicer wrapping and no truncated chars if space gets tight.
8447 * src/hildon-banner-private.h: add has_been_wrapped and
8448 has_been_truncated fields.
8450 2008-04-07 Sven Herzberg <sven@imendio.com>
8452 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8453 local values in hildon_date_editor_size_allocate
8455 * src/hildon-date-editor.c: moved the real allocation code into the
8458 2008-04-07 Sven Herzberg <sven@imendio.com>
8460 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8461 local values in hildon_date_editor_size_allocate
8463 * src/hildon-date-editor.c: merged the two if() branches together
8465 2008-04-07 Sven Herzberg <sven@imendio.com>
8467 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8468 local values in hildon_date_editor_size_allocate
8470 * src/hildon-date-editor.c: changed the arguments of the if()
8473 2008-04-07 Sven Herzberg <sven@imendio.com>
8475 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8476 local values in hildon_date_editor_size_allocate
8478 * src/hildon-date-editor.c: split the calculation of the allocation
8479 from the real allocation
8481 2008-03-27 Michael Natterer <mitch@imendio.com>
8483 Fixes: NB#81696: The passcode is not overwritten even after
8486 * src/hildon-code-dialog.c
8487 (hildon_code_dialog_button_clicked)
8488 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8489 because that doesn't overwrite selected text. Instead, emit the
8490 "commit" signal on the entry's im_context so the entry's normal
8491 insert logic is triggered. Set the cursor to the end of the entry
8492 after each insert operation so that we *only* insert in the middle
8493 of the text if something was selected.
8495 2008-03-27 Michael Natterer <mitch@imendio.com>
8497 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8498 selector cannot be opened
8500 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8501 when the popup color selector is created. Please connect to this
8502 signal in order to set the dialog's help ID.
8504 2008-03-25 Sven Herzberg <sven@imendio.com>
8506 Fixes: MB#1212: Hide info banners (infoprints) on click
8508 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8509 extracted the close event simulation into an extra function
8510 (hildon_banner_button_press_event): simulate a close event and destroy
8511 the widget if the event wasn't handled
8512 (hildon_banner_class_init): added the button_press_event handler
8513 (hildon_banner_init): added button-press events to the widget
8515 2008-03-25 Sven Herzberg <sven@imendio.com>
8517 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8518 Patch from: Mohammad Anwari <mdamt@maemo.org>
8520 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8521 instead of the right in RTL mode
8522 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8523 breadcrumb button list in RTL mode
8524 * src/hildon-caption.c: mirror the appearance of the caption widget in
8526 * src/hildon-date-editor.c: mirror appearance of the date editor in
8528 * src/hildon-time-editor.c: mirror appearance of the time editor in
8530 * src/hildon-window.c: fix the position of the popup in RTL mode
8532 2008-03-25 Sven Herzberg <sven@imendio.com>
8534 Amendment to the fix of NB#22072. Fix compilation.
8536 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8538 2008-03-19 Sven Herzberg <sven@imendio.com>
8540 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8543 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8544 timeout id properly when the timeout will disappear this leaves no
8545 artifacts around in the destroy(); there will only be the timeout
8546 created by hildon_banner_ensure_timeout() and adding a new timeout
8547 will also work if the timeout gets removed because the timeout_handler
8550 2008-03-19 Michael Natterer <mitch@imendio.com>
8552 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8554 * src/hildon-volumebar.c
8555 * src/hildon-vvolumebar.c
8556 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8557 the widget becomes focussable at all.
8559 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8560 set the focus to wither the mute button or the volumebar.
8562 Remove own "can-focus" property and instead listen to
8563 notify::can-focus in order to update the widget's state.
8565 Implement GtkWidget::focus() and make sure we can also *leave* the
8566 widget, not only enter it, depending on volumebar orientation and
8567 requested focus direction.
8569 Clean up set_mute() to cooperate nicely with all the above.
8571 2008-03-04 Michael Natterer <mitch@imendio.com>
8573 Fixes: NB#78481: information banners are hidden under browser menu
8575 * src/hildon-banner.c: call gtk_window_present() on the banners so
8576 they are risen if they are already visible.
8578 2008-03-03 Sven Herzberg <sven@imendio.com>
8580 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8582 * examples/hildon-window-menu-example.c: (main): extended the window
8583 menu example to serve as a testcase for automatically added
8584 accelerator groups, too
8585 * src/hildon-window.c: (hildon_window_add_accel_group),
8586 (hildon_window_set_menu): added patch by Tommi Komulainen
8588 2008-03-03 Sven Herzberg <sven@imendio.com>
8590 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8592 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8593 knowledge about the border allocators used within GTK+
8595 2008-02-26 Sven Herzberg <sven@imendio.com>
8597 Fixes: MB#2981: Build with asserts broken
8599 * src/hildon-date-editor.c,
8600 * src/hildon-number-editor.c,
8601 * src/hildon-time-editor.c,
8602 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8603 the proper GType instance check
8605 2008-02-25 Sven Herzberg <sven@imendio.com>
8607 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8609 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8610 * examples/hildon-window-menu-example.c: (main): explicitly show
8612 * src/hildon-window.c:
8613 (hildon_window_set_main_menu): moved most of the code from set_menu()
8614 to this place; skipped the call to gtk_widget_show_all(); also didn't
8615 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8616 (hildon_window_set_menu): removed most of the code, just keep the
8617 questionable gtk_widget_show_all()
8618 * src/hildon-window.h: added the new function and deprecate the old
8621 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8627 * debian/changelog: Updating.
8629 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8632 * pkgconfig/Makefile.am:
8633 * pkgconfig/hildon.pc.in:
8636 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8637 use newly created API_MAJOR_VERSION.
8639 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8645 * debian/changelog: Updating.
8647 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8649 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8651 Add outer_border style property, we use it but don't define it (!).
8655 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8657 * examples/hildon-bread-crumb-trail-example.c (main):
8661 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8663 Fix logic for the bread crumb trail node removal.
8667 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8673 * debian/changelog: Updating.
8675 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8677 Patch by Alejandro to get/set passwords dialogs accesibility.
8679 * hildon-1/src/hildon-get-password-dialog.c:
8680 * hildon-1/src/hildon-set-password-dialog.c:
8681 Set atk_set_name to the passwd entries in order to allow
8682 accessibility by name on this entries.
8684 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8689 * debian/control: Updating gtk dep.
8691 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8693 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8694 USE_MAEMO_GTK is enabled.
8696 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8698 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8699 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8701 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8707 * debian/changelog: Updating.
8709 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8711 * examples/Makefile.am:
8712 * examples/hildon-logical-color-example.c:
8713 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8714 applied + adding a test case. Fixes: NB#71660.
8716 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8718 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8719 to be visible, fixes warning on map for windows without toolbars.
8721 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8723 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8724 2.11.0, add a check for that besides the MAEMO_GTK check.
8726 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8732 * debian/changelog: Updating.
8734 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8736 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8737 visibility. Fixes: NB#70842 and MB#615.
8739 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8741 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8742 set the separator as no-show-all so it doesn't unintentionally appear when
8743 someone does a show_all.
8745 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8747 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8748 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8749 toplevel item. Fixes: NB#62031
8751 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8753 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8754 fix the name of the function in the docs.
8756 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8762 * debian/changelog: Updating.
8764 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * examples/hildon-banner-long-example.c: Adding a test-case for long
8769 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8771 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8773 * src/hildon-color-chooser-dialog.c:
8774 * src/hildon-color-chooser.c:
8775 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8776 memory leaks in font selector and color selector. Fixes: NB#70499 and
8779 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8781 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8783 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8786 little bit bigger. Fixes: #NB63694.
8788 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8794 * debian/changelog: Updating.
8796 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8799 * doc/hildon-docs.sgml:
8800 * doc/images/bread-crumb-trail.png:
8801 * doc/images/calendar-popup.png:
8802 * doc/images/caption.png:
8803 * doc/images/code-dialog.png:
8804 * doc/images/color-button.png:
8805 * doc/images/color-chooser-dialog.png:
8806 * doc/images/color-chooser.png:
8807 * doc/images/controlbar.png:
8808 * doc/images/date-editor.png:
8809 * doc/images/font-selection-dialog.png:
8810 * doc/images/get-password-dialog.png:
8811 * doc/images/hvolumebar.png:
8812 * doc/images/login-dialog.png:
8813 * doc/images/note.png:
8814 * doc/images/number-editor.png:
8815 * doc/images/range-editor.png:
8816 * doc/images/seekbar.png:
8817 * doc/images/set-password-dialog.png:
8818 * doc/images/sort-dialog.png:
8819 * doc/images/time-editor.png:
8820 * doc/images/time-picker.png:
8821 * doc/images/vvolumebar.png:
8822 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8823 Adding the bread-crumb-trial and helpers to the documentation.
8825 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8827 * examples/hildon-find-toolbar-example.c:
8828 * src/hildon-find-toolbar.c:
8829 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8830 actually continue firing the other handlers if connected. Adding a new
8832 hildon_find_toolbar_get_last_index that gets the index of the most
8833 recently added (last) item. Fixes: NB#52301.
8835 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8837 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8838 behaviour. Fixes: NB#68610.
8840 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8842 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8845 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8847 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8848 when realizing the banner. Should make the infonbanner effect a bit more
8851 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8853 * src/hildon-volumebar.c:
8854 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8855 hildon_volumebar_set_range_insensitive_message and
8856 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8858 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8860 * src/hildon-window.c: Fixing the border freeing on destroy.
8862 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8864 * src/hildon-code-dialog-private.h:
8865 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8866 kw keyboard support in HildonCodeDialog.
8868 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8874 * debian/changelog: Updating.
8876 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8878 * src/hildon-date-editor.c:
8879 * src/hildon-number-editor.c:
8880 * src/hildon-private.c:
8881 * src/hildon-private.h:
8882 * src/hildon-time-editor.c:
8883 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8884 handling in subclassed composite widgets. Fixes: NB#66628.
8886 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8889 from destroy_ callback as it introduces problems in async dbus signal
8890 handlers. Fixes NB#66673.
8892 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8894 * examples/hildon-hvolumebar-example.c:
8895 * src/hildon-volumebar.c: Improving the focus handling in the
8896 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8897 set_property accessor so that "mute" property can be actually set. I'm
8898 scared that nobody noticed it's totally broken.
8900 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8905 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8907 * src/hildon-calendar.c:
8908 * src/hildon-number-editor.c:
8909 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8910 matches the spec of 6 chars per second. Fixes: NB#60489.
8912 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8914 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8915 gtk_style_lookup_color sometime returns FALSE even though color was
8916 found and values were filled properly. Weird. Removing the warning for the
8919 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8921 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8922 expand vertically. Adding some extra space to the find toolbar buttons to
8923 make them thumbable. Fixes NB#66060.
8925 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8927 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8928 popup with "Ok" and "Cancel". Fixes NB#59299.
8930 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8932 * src/hildon-calendar.c: Process all window updates before executing next
8933 timeout. Fixes: NB#54146.
8935 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8941 * debian/changelog: Updating.
8943 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8945 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8946 the client event and ignore it, since we use the delete event to close
8949 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8951 * src/hildon-helper.c: Remove the bogus warning about color not being
8952 found. Fixes NB#58352.
8954 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8956 * examples/Makefile.am:
8957 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8958 HildonSeekbar widget inside a toolbar.
8960 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8962 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8963 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8964 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8965 don't want to be closed by non-temporary windows on map.
8967 Also use G_DEFINE_TYPE instead of manually typed code.
8969 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8976 * debian/rules: Updating.
8978 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * examples/Makefile.am:
8981 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8982 bug NB#61128. Strangely it works.
8984 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8986 * src/hildon-date-editor.c: When the date editor entry has been changed
8987 but the numbers of characters < max, turn off the skip validation flag.
8988 Prevents a situation when we enter first a valid year and later re-write
8989 it with an invalid one. Fixes NB#60154.
8991 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8993 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8994 code dialog. Fixes NB#64355.
8996 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8998 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8999 switching the page. Fixes NB#49374.
9001 * examples/Makefile.am:
9002 * examples/hildon-wizard-dialog-example.c: Adding an example for
9003 HildonWizardDialog that shows how to handle manual sensitivity setting on
9006 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9010 * src/hildon-version.h.in:
9011 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9013 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9015 * src/hildon-volumebar.c: Updating the docs.
9017 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9023 * debian/changelog: Updating.
9025 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * src/hildon-find-toolbar.c:
9028 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9029 selected item: hildon_find_toolbar_set_active,
9030 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9031 hildon_find_toolbar_get_active_iter . They correspond to respective
9032 GtkComboBox functions.
9034 * examples/Makefile.am:
9035 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9038 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * examples/Makefile.am:
9041 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9044 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9045 when font size > 32 and we pack a focusable widget inside. Actually using
9046 the default response would work too, but since we don't show default
9047 response state in any way (no theming) it would not be visible to the
9048 user. Fixes NB#63430.
9050 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9052 * src/hildon-date-editor.c: Adding the missing variable setter in the
9053 set_property handler. Fixes NB#54182.
9055 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9057 * src/hildon-window.h: Changing the long key press time from 1500ms to
9058 800ms as requested in NB#63700. I have a bad feeling about this, let's
9059 see... Fixes NB#63700.
9061 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9063 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9064 hildon_time_picker_map, hildon_time_picker_realize,
9065 hildon_time_picker_style_set): Split the contents of map to more
9066 appropriate functions; set window decorations on realize and update
9067 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9069 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9074 * debian/changelog: Updating.
9076 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9078 * src/Makefile.am: fixed installation of the header files
9080 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9086 * debian/changelog: Updating.
9088 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9090 * configure.ac: Removing some remaining of --enable-xan.
9092 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9094 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9095 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9097 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9098 2.10.12-osso6 because the move-focus signal needs to be available in
9101 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9103 * examples/Makefile.am:
9104 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9105 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9106 fine. Prolly NB#61128 is fixed now.
9108 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9110 * src/hildon-volumebar.c:
9111 * src/hildon-volumebar.h: Adding the
9112 hildon_volumebar_set_range_insensitive_message and
9113 hildon_volumebar_set_range_insensitive_messagef functions to set
9114 insensitive message on the slider of the volumebar. Fixes NB#61129.
9116 * examples/Makefile.am:
9117 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9118 test the new insensitive messsage functionality on HildonVolumebar.
9120 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9122 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9125 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9127 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9128 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9129 button on after clearing the trail.
9131 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9135 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9137 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9138 by splitting the installed headers in generated and non-generated groups. Use
9139 only the non-generated headers to create the hildon-enum-types.h file.
9141 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9143 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9145 * src/hildon-window.c: Hide the window before performing the destroy.
9146 Should make the app closing a little tiny bit more snappy.
9148 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9150 * src/hildon-seekbar.c: add gtkrange.h header
9151 * src/hildon-caption.c: remove unused variable
9153 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9155 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9158 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9164 * debian/changelog: Updating.
9166 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9168 * src/hildon-window.c (hildon_window_window_state_event,
9169 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9170 escape timeout on focus-out-event rather than notify::is-topmost; the
9171 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9173 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9175 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9176 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9178 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9180 * src/hildon-window: actually, you need to use the macro always, there's
9181 no private pointer in the instance structure. We should have cleaned this up
9182 when we had the chance...
9184 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9186 * src/hildon-window.c: do not get the private date from HildonWindow before
9187 it passes the g_return_if_fail check. Once it's passed the test, there's no
9188 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9189 if you are only going to access the data once. Whitespace cleanups.
9191 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9193 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9194 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9196 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9202 * debian/changelog: Updating.
9204 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9206 * src/hildon-window.c: When destroying the window, remove (if exists) the
9207 escape timeout handler. Fixes #NB59276.
9209 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9211 * src/hildon-banner.c: When realizing the widget, set the window
9212 transiency. Setting the transiency in the gobject constructor is not
9213 good, as the widget is not realized at that point. Fixes: #NB56624.
9215 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9217 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9218 Add padding for future expansions.
9220 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9222 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9223 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9224 will fake an activation on the previous to the last item of the trail, so
9225 the effect can be overrided by the developer as usual.
9226 Also change the callback for the back button to do the same thing, so its
9227 effect can be overrided too. Fixes: NB#58982
9229 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9231 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9232 HildonCaption. Fixes NB#52379.
9234 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9236 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9237 the internal state of the trail after the user has had the chance of executing
9238 his handler for the signal. Specifically, it may happen that the activated button
9239 is removed and the user still lets the default handler run. This would segfault
9242 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9244 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9245 scrollbar to the preview dialog. Fixes NB#54147.
9247 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9249 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9250 max/min year properties can be altered, so the client can modify it
9251 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9253 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9255 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9256 hildonlike by default. Fixing a problem with disappearing arrows when
9257 scrolling through months and years. Fixes NB#54127.
9259 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9261 * examples/hildon-date-editor-example.c: Adding error callback to the date
9264 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9270 * configure.ac: Updating.
9272 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9274 * configure.ac: Adding a special '--enable-xan' configure option that
9275 turns off the -Werror compilation setting. Usefull for development.
9277 * src/hildon-calendar.c:
9278 * src/hildon-number-editor.c:
9279 * src/hildon-time-picker.c: Adding the 5* multiplier to
9282 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9284 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9285 instead of g_object_ref + gtk_object_sink.
9287 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9293 * debian/changelog: Updating.
9295 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9297 * src/hildon-color-chooser-dialog.c:
9298 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9299 straight from Tommi labs.
9301 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9303 * examples/hildon-finger-example.c: Correcting the header file path.
9305 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9306 the changed signal. Fixes a small memory leak.
9308 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9312 * src/hildon-banner.c: Importing several usefull fixes from the
9313 ubuntu-mobile branch.
9315 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9317 * examples/Makefile.am:
9318 * examples/hildon-finger-example.c: Adding a finger-checking code
9321 * src/hildon-font-selection-dialog.c: Do not allocate the color
9322 structure using the g_new. Fixes NB#54061.
9324 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9326 * src/hildon-helper.c: Correcting tabs in file.
9328 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9330 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9331 control the visibility of the children.
9333 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9335 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * debian/changelog: Updating.
9343 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9345 * src/hildon-bread-crumb-trail.c:
9346 (hildon_bread_crumb_trail_size_allocate):
9348 Make the back button always a square.
9350 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9352 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9353 from the .c file as it's a private file.
9355 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9357 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9358 uses slightly bigger height.
9360 * src/hildon-font-selection-dialog.c: Adding some checks before
9361 freeing memory in the font selection dialog.
9363 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9365 * src/hildon-font-selection-dialog.c: Adding a small check when
9368 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9369 buttons sensitivity on page switching.
9371 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9373 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9374 internal details of adding a bread crumb to the trail.
9376 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9382 * debian/changelog: Updating.
9384 * src/hildon-bread-crumb-trail.h:
9385 * src/hildon-bread-crumb.h: Changing the API guard to
9386 HILDON_ENABLE_UNSTABLE_API.
9388 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9396 * src/hildon-helper.h: Updating.
9398 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9406 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9410 * src/hildon-helper.h: Small fix to make the package actually compile.
9412 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9414 * src/hildon-bread-crumb-trail.h:
9415 * src/hildon-bread-crumb.h:
9417 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9418 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9420 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9422 * examples/hildon-bread-crumb-trail-example.c:
9424 * src/hildon-bread-crumb-trail.c:
9425 * src/hildon-bread-crumb-trail.h:
9426 * src/hildon-bread-crumb.c:
9427 * src/hildon-bread-crumb.h:
9428 * src/hildon-marshalers.list:
9429 * src/hildon-bread-crumb-widget.c:
9430 * src/hildon-bread-crumb-widget.h:
9432 Slight change in the widget design. The bread crumb trail API is
9433 unchanged, but HildonBreadCrumb is now an interface. A *private*
9434 implementation, hildon-bread-crumb-widget, is provided and used
9435 internally by the trail for the push_text/push_icon functions.
9437 The generic push API is still available, so anyone can implement
9438 and use its own bread crumb widget.
9440 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9442 * debian/rules: Fixing the shlibs.
9444 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9446 * src/hildon-banner.c: Fixing a problem with timed banners having
9447 their parrent destroyed before they are.
9449 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9451 * src/hildon-bread-crumb.c:
9452 * src/hildon-bread-crumb.h:
9454 Make the get_natural_size function a vfunc.
9456 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9458 * src/hildon-bread-crumb.c:
9459 * src/hildon-bread-crumb-trail.c:
9463 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9470 * debian/changelog: Updating for release.
9472 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9474 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9475 don't leak the pango layout.
9477 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9480 * examples/hildon-bread-crumb-trail-example.c:
9484 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9486 * debian/changelog: Removing the bug-fixed entries that were actually
9487 resolved as WONTFIX.
9489 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9492 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9494 * src/hildon-bread-crumb-trail.c:
9495 * src/hildon-bread-crumb-trail.h:
9496 * src/hildon-bread-crumb.c:
9497 * src/hildon-bread-crumb.h:
9501 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9503 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9504 until it's passed the type check.
9506 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9508 * examples/hildon-bread-crumb-trail-example.c
9512 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9514 * examples/Makefile.am
9515 * examples/hildon-bread-crumb-trail-example.c
9517 * src/hildon-bread-crumb-trail.c
9518 * src/hildon-bread-crumb-trail.h
9519 * src/hildon-bread-crumb.c
9520 * src/hildon-bread-crumb.h
9522 New HildonBreadCrumbTrail widget.
9524 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9526 * src/hildon-range-editor.c (hildon_range_editor_init),
9527 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9528 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9529 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9530 hildon_time_editor_class_init, hildon_time_editor_init),
9531 src/hildon-get-password-dialog.c (invalid_input,
9532 hildon_get_password_set_property, hildon_get_password_get_property,
9533 create_contents, hildon_get_password_dialog_set_max_characters),
9534 src/hildon-set-password-dialog.c (create_contents),
9535 src/hildon-date-editor.c (hildon_date_editor_init),
9536 src/hildon-login-dialog.c (hildon_login_dialog_init),
9537 src/hildon-number-editor.c (hildon_number_editor_init),
9538 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9539 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9540 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9541 configure option and adding the respective checks in the code.
9542 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9543 hildon_calendar_drag_data_received): fixed some build warnings.
9545 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9547 * debian/changelog: A 1.0.0 release notes.