1 2009-07-23 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_check_move),
5 (hildon_pannable_area_button_release_cb),
6 (hildon_pannable_area_scroll_to): Increased the priority of the
7 timeout this way it is going to be handled before the events.
9 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
13 * configure.ac: bump version
14 * debian/changelog: updates
16 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
18 * hildon/hildon-entry.c: (set_property): Do not allow to set
19 automatic height and use finger height instead, to prevent an to
20 have a smaller size than than its theme pixbuf.
22 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
24 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
26 * configure.ac: postrelease version bump.
27 * debian/changelog: post release version bump
29 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
34 * configure.ac: Bump version.
35 * debian/changelog: Updates.
37 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
39 * hildon/hildon-note.c: (label_size_request): Take the note
40 padding into account when setting the size request.
42 Fixes: NB#127896 (Information notes text truncated)
44 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
46 * configure.ac: postrelease version bump.
47 * debian/changelog: post release version bump
49 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
54 * configure.ac: Bump version.
55 * debian/changelog: Updates.
57 2009-07-16 Alejandro G. Castro <alex@igalia.com>
60 * hildon/hildon-text-view.c,
61 (hildon_text_view_button_press_event): Grabbed the focus in button
62 press, this way we are sure the widget has the focus in the
63 release event, required for HIM.
65 Fixes: NB#121445 (Virtual keyboard opening is not working in same
66 way for each text entry field)
68 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
70 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
71 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
72 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
73 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
74 (hildon_pannable_area_[gs]et_center_on_child_focus)
75 Redefined GtkContainer set-focus-child signal, in order to center
76 properly on a child when it receives the focus. Defined a new property
77 "center-on-child-focus" in order to activate this feature (deactivated
78 by default). Public get/set methods defined to manage the property.
80 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
82 2009-07-14 László Pere <lpere@blumsoft.eu>
84 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
85 the new size is applied.
87 Fixes: NB#124510 (The Application Menu is distorted when switched
88 between portrait and landscape mode)
89 Fixes: NB#115388 (Power key menu does not resize itself)
91 2009-07-01 Alberto Garcia <agarcia@igalia.com>
93 * hildon/hildon-banner.c (hildon_banner_map):
94 Set banner position after mapping.
96 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
98 * configure.ac: postrelease version bump.
99 * debian/changelog: post release version bump
101 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
106 * configure.ac: Bump version.
107 * debian/changelog: Updates.
109 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
111 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
114 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
116 * tests/check-hildon-banner.c
118 * tests/test_suites.h
119 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
120 were testing deprecated functions.
121 * examples/hildon-banner-example.c: typo on button3 type, that causes
122 a fail compiling with --with-examples but without --disable-deprecated
124 Missed commit in order to fix compilation using '--enable-fatal' and
125 '--disable-deprecated' (see previous commit)
127 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
129 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
130 functions with #ifndef HILDON_DISABLE_DEPRECATED
131 * examples/hildon-find-toolbar.c: Protect deprecated
132 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
133 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
134 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
135 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
137 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
138 to allow proper compilation of deprecated functions defined on the header
140 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
142 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
144 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
145 Cache the panning indicator color.,
146 (hildon_pannable_area_style_set): Query the color on style changes.
147 (hildon_pannable_draw_vscroll),
148 (hildon_pannable_draw_hscroll),
149 (hildon_pannable_area_expose_event): Use the cached panning indicator
150 color instead of looking it up on every expose and more.
152 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
154 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
155 (hildon_pannable_draw_hscroll),
156 (hildon_pannable_area_expose_event): Fix the panning indicator color,
157 so that it's "SecondaryTextColor", as desired.
159 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
161 * hildon/hildon-picker-dialog.c:
162 (selection_completed): take into account HILDON_UI_MODE_NORMAL
163 * hildon/hildon-touch-selector.c
164 (hildon_touch_selector_init): Initialize hildon-ui-mode
165 (hildon_touch_selector_row_activated): new callback for the
166 "row-activated" signal, in order to save the last activated
167 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
168 if the current hildon-ui-mode is coherent with the touch selector
169 (hildon_touch_selector_class_init)
170 (hildon_touch_selector_get_property)
171 (hildon_touch_selector_set_property)
172 Added "hildon-ui-mode" property
173 (disconnect_model_handlers): renamed to clean_column
174 (hildon_touch_selector_remove): use clean_column function
175 (_create_new_column): use the hildon-ui-mode to create the treeview, and
176 only select the first element on HILDON_UI_MODE_EDIT
177 (hildon_touch_selector_column_init): Initialize last_activate
178 (hildon_touch_selector_append_column): check that the touch selector
179 is coherent with the current hildon-ui-mode
180 (hildon_touch_selector_get_hildon_ui_mode)
181 (hildon_touch_selector_set_hildon_ui_mode)
182 Added a getter/setter for the hildon-ui-mode property
183 (hildon_touch_selector_get_last_activated_row): Added this method in
184 order to get the last activated row.
185 * examples/hildon-touch-selector-normal-mode-example.c
186 New example, that shows how to use the HildonTouchSelector in
187 HILDON_UI_MODE_NORMAL
189 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
190 Kristian Rietveld <kris@lanedo.com> advices
192 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
194 * hildon/hildon-time-selector.c: (update_format_policy): Do
195 not call update_format_dependant_columns() if not necessary.
196 (update_format_dependant_columns): Remove unnecessary check for
197 the number of columns.
199 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
201 * hildon/hildon-note.c (+hildon_note_constructor),
202 (hildon_note_class_init), (+hildon_note_set_padding),
203 (hildon_note_rebuild): Install a constructor where to set the
204 padding properties in the note, so that it actually works fine.
205 Use hildon_note_set_padding() for this, and also to set it during
208 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
210 * configure.ac: Bump GTK+ requirement to 2.14.3.
211 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
212 when using maemo-gtk to define proper margins for the notes.
214 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
215 with the dialog edge)
217 2009-06-24 Alberto Garcia <agarcia@igalia.com>
219 * hildon/hildon-banner.c
220 (hildon_banner_class_init):
222 (+hildon_banner_size_request):
223 Request always the full width of the screen.
224 (hildon_banner_realize)
225 (-hildon_banner_check_position, hildon_banner_map):
226 hildon_banner_check_position() is not needed in Hildon 2.2.
227 (-hildon_banner_reset_wrap_state)
228 (hildon_banner_constructor, hildon_banner_init):
229 Remove unnecessary calls to hildon_banner_reset_wrap_state()
230 (+banner_do_set_text)
231 (force_to_wrap_truncated):
232 Remove has_been_wrapped and has_been_truncated attributes.
233 (+reshow_banner, hildon_banner_real_show_information)
234 (hildon_banner_show_information_with_markup)
235 (hildon_banner_show_animation, hildon_banner_show_progress)
236 (hildon_banner_set_text, hildon_banner_set_markup):
237 Refactor code. Shrink banner vertically to use the minimum space
238 necessary everytime the text of the label is updated.
239 (screen_size_changed):
240 Call force_to_wrap_truncated() when the size of the screen
243 Fixes: NB#120500 (only device memory connect mmc in use info
244 banner is left aligned)
246 Fixes: NB#120613 (Size of HildonBanner varies depending on
247 previously opened banners)
249 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
251 * hildon/hildon-color-chooser.c
252 (hildon_color_chooser_pointer_motion): Take the widget allocation
255 Fixes: NB#124385 (Unable to select exact point in color mixing box
256 in color palette dialog)
258 2009-06-23 Alejandro G. Castro <alex@igalia.com>
260 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
261 (hildon_pannable_area_dispose)
262 (hildon_pannable_area_button_press_cb)
263 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
264 (hildon_pannable_area_button_release_cb)
265 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
266 New 'panning-started' and 'panning-finished' signals.
268 Fixes: NB#121732 (New feature request: Signal to pannable area
269 that informs when panning is stopped.)
271 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
273 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
274 instead of hardcoded colon.
276 Fixes: NB#124090 (New calendar wizard title is not using
277 ecdg_ti_caption_separator)
279 2009-06-22 David King <davidk@openismus.com>
281 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
282 constants and functions, as well as correct many typos throughout the
285 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
288 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
290 * configure.ac: postrelease version bump.
291 * debian/changelog: post release version bump
293 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
298 * configure.ac: Bump version.
299 * debian/changelog: Updates.
301 2009-06-18 Alberto Garcia <agarcia@igalia.com>
303 * hildon/hildon-window-stack.c
304 (hildon_window_stack_pop_and_push_list):
305 Prevent windows from having the same stack index
307 2009-06-18 Alberto Garcia <agarcia@igalia.com>
309 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
310 Use the index of the previous window rather than the stack length
311 to calculate the new index.
315 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
317 * hildon/hildon-date-selector.c
318 (hildon_date_selector_select_current_date)
319 (hildon_date_selector_get_date)
320 (hildon_date_selector_select_day):
321 Update the documentation: uses always the range (1-31), as it is obvious
322 that the final one will depend on the month and the year, but globally
323 the range is this, in a similar GtkCalendar approach
324 (hildon_date_selector_get_date):
325 Update the documentation: add NULL as a valid value for the day, month
328 Fix some details, after talk with David King on bug MB#4698
330 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
332 * hildon/hildon-touch-selector-entry.c
333 * hildon/hildon-touch-selector.c
334 Update the documentation of the "text-column" property
336 2009-06-18 David King <davidk@openismus.com>
338 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
339 several typos and errors throughout the documentation.
341 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
344 2009-06-18 Alberto Garcia <agarcia@igalia.com>
346 * hildon/hildon-note.c (hildon_note_realize):
347 Make HildonNote support portrait mode.
349 Fixes: NB#123448 (HildonNote is not portrait-friendly)
351 2009-06-17 Alberto Garcia <agarcia@igalia.com>
353 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
354 Document this function
356 2009-06-17 David King <davidk@openismus.com>
358 * hildon/hildon-date-selector.c
359 (hildon_date_selector_select_current_date)
360 (hildon_date_selector_get_date): Update documentation regarding days,
361 as the day of the month is dependent on both the month and the year.
362 (hildon_date_selector_get_date): Fix documentation of output arguments.
364 Fixes: MB#4698 (DateSelector documentation has bad output argument
365 description, and the day depends on both the month and the year)
367 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
369 * hildon/hildon-caption.c: Other documentation fixes to
372 2009-06-17 David King <davidk@openismus.com>
374 * hildon/hildon-caption.c: Minor documentation updates for
375 HildonCaption. Fixes MB#4697.
377 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
379 * doc/hildon-docs.sgml: Add hildon-version section.
380 * doc/hildon-sections.txt:
381 * hildon/hildon-version.h.in: Document versioning macros and
384 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
386 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
387 from HildonPickerDialog section.
389 2009-06-16 Alberto Garcia <agarcia@igalia.com>
391 * hildon/hildon-banner.c (hildon_banner_bind_style)
392 (screen_size_changed, hildon_banner_init)
393 (hildon_banner_real_show_information)
394 (hildon_banner_show_information_with_markup)
395 (hildon_banner_show_animation, hildon_banner_show_progress):
396 Set a different widget name to banners in portrait mode, for them
397 to be themed correctly.
399 2009-06-16 Alberto Garcia <agarcia@igalia.com>
401 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
402 Set a different widget name to notes in portrait mode, for them to
405 Partially fixes: NB#118401 (HildonNote causes unnecessary
408 2009-06-16 Alberto Garcia <agarcia@igalia.com>
410 * hildon/hildon-note.c (hildon_note_class_init)
411 (+hildon_note_size_request, screen_size_changed):
412 Always request the full width of the screen.
414 Fixes: NB#118375 (unnecessary rescaling of images)
416 2009-06-16 Alejandro G. Castro <alex@igalia.com>
418 * hildon/hildon-pannable-area.c,
419 (hildon_pannable_area_init),
420 (hildon_pannable_area_realize): Replaced old code adding flags in
421 the object init, now we add it with the other flags in the realize
424 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
426 * hildon/hildon-note.c: (hildon_note_class_init): Several
427 documentation improvements to the HildonNote widget.
429 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
431 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
433 Fixes: MB#4556 (HildonNoteType is undocumented)
435 2009-06-15 Alberto Garcia <agarcia@igalia.com>
437 * hildon/hildon-picker-button.c:
438 Explain how HildonPickerButton sets the title of its dialog
440 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
441 the title of its dialog)
443 2009-06-15 Alberto Garcia <agarcia@igalia.com>
445 * hildon/hildon-check-button.c:
446 Documentation updates
448 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
451 2009-06-15 Alberto Garcia <agarcia@igalia.com>
454 * hildon/hildon-edit-toolbar-private.h
455 * hildon/hildon-edit-toolbar.c
456 (+hildon_edit_toolbar_set_progress_indicator)
457 (hildon_edit_toolbar_init): Add progress indicator to the
460 * hildon/hildon-gtk.c
461 (hildon_gtk_window_set_progress_indicator):
462 If the window contains a HildonEditToolbar, enable the progress
465 * hildon/hildon-private.h
466 * hildon/hildon-private.c
467 (+hildon_private_create_animation)
468 * hildon/hildon-banner.c
469 (-hildon_banner_create_animation):
470 Moved to hildon-private.c
472 Fixes: NB#102373 (Progress indicator also for the Edit mode
475 2009-06-15 Alberto Garcia <agarcia@igalia.com>
477 * hildon/hildon-app-menu-private.h
478 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
479 (hildon_app_menu_add_filter, +menu_item_button_event)
480 (hildon_app_menu_button_release, hildon_app_menu_init):
481 Make sure that buttons receive 'button-release-event' in spite of
482 the grab held by HildonAppMenu
484 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
486 2009-06-15 Alberto Garcia <agarcia@igalia.com>
488 * hildon/hildon-app-menu.c
489 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
490 New style property to set the size of the group of filter buttons.
492 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
494 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
499 * configure.ac: Bump version.
500 * debian/changelog: Updates.
502 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
504 * hildon/hildon-main.c: Minor documentation fixes.
506 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
508 * doc/hildon-sections.txt:
509 * hildon/hildon-defines.h: Document the defines, organize them,
510 and mark deprecations as such.
512 Fixes: MB#4463 (Hildon size #defines are undocumented)
514 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
516 * hildon/hildon-animation-actor.c:
517 * hildon/hildon-app-menu.c:
518 * hildon/hildon-button.c:
519 * hildon/hildon-date-editor.c:
520 * hildon/hildon-dialog.c:
521 * hildon/hildon-edit-toolbar.c:
522 * hildon/hildon-entry.c:
523 * hildon/hildon-program.c:
524 * hildon/hildon-remote-texture.c:
525 * hildon/hildon-stackable-window.c:
526 * hildon/hildon-text-view.c:
527 * hildon/hildon-touch-selector.c:
528 * hildon/hildon-window-stack.c:
529 * hildon/hildon-window.c:
531 Remove redundant "represents" wording from most of the documentation.
533 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
535 2009-06-12 Alberto Garcia <agarcia@igalia.com>
540 * hildon/hildon-banner-private.h
541 * hildon/hildon-banner.c:
542 Move HildonBannerPrivate to hildon-banner.c and remove
543 hildon-banner-private.h
544 Use a bit field to store private booleans.
546 2009-06-12 Alberto Garcia <agarcia@igalia.com>
548 * hildon/hildon-app-menu.c (hildon_app_menu_map):
549 Don't install a new idle function if there's already one
554 2009-06-11 Alberto Garcia <agarcia@igalia.com>
556 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
557 (+legacy_menu_realized, +legacy_menu_unmapped)
558 (+set_legacy_menu_type):
559 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
560 they can be identified by the window manager.
562 Fixes: NB#101437 (Invoking CSM on the left side of page area is
563 displayed in wrong location)
565 Fixes: MB#4563 (Popup menu won't locate at the left side of the
568 2009-06-11 Alberto Garcia <agarcia@igalia.com>
570 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
572 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
575 2009-06-11 Alberto Garcia <agarcia@igalia.com>
577 * hildon/hildon-code-dialog.c
578 * hildon/hildon-date-editor.c
579 * hildon/hildon-number-editor.c
580 * hildon/hildon-seekbar.c
581 * hildon/hildon-stackable-window.c
582 * hildon/hildon-window.c:
583 Misc documentation updates
585 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
587 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
588 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
590 Fixes: NB#117931 (Theming issues in accounts dialogs)
592 2009-06-09 Alejandro G. Castro <alex@igalia.com>
594 * hildon/hildon-pannable-area.c,
595 (hildon_pannable_area_button_release_cb): Changed the coordinates
596 of the original release in case we want to discard the release,
597 some widgets in Fremantle do not handle the leave-notify.
599 2009-06-09 Alejandro G. Castro <alex@igalia.com>
601 * hildon/hildon-pannable-area.c,
602 (hildon_pannable_area_button_release_cb): Reviewed the logic of
603 the release using the last refactored functions and avoiding the
604 movement if an element was selected.
606 2009-06-09 Alejandro G. Castro <alex@igalia.com>
608 * hildon/hildon-pannable-area.c,
609 (hildon_pannable_area_check_move),
610 (hildon_pannable_area_handle_move),
611 (hildon_pannable_area_motion_notify_cb): Refactored the
612 motion_notify method using a couple of new functions.
614 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
616 * hildon/hildon-date-selector.c:
617 (hildon_date_selector_construct_ui):
618 * hildon/hildon-time-selector.c:
619 (hildon_time_selector_constructor):
620 * hildon/hildon-touch-selector-entry.c:
621 (hildon_touch_selector_entry_set_text_column),
622 (hildon_touch_selector_entry_get_text_column):
623 * hildon/hildon-touch-selector.c: (_default_print_func),
624 (hildon_touch_selector_new_text): Use
625 hildon_touch_selector_set/get_text_column() instead of
626 setting/getting the "text-column" property.
628 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
630 * doc/hildon-sections.txt: Add the new public methods below.
632 * examples/hildon-picker-button-multicolumn-example.c:
633 (create_touch_selector):
634 * examples/hildon-touch-selector-example.c: (create_selector):
635 * examples/hildon-touch-selector-multi-cells-example.c:
637 Use hildon_touch_selector_column_set_text_column()
639 * hildon/hildon-touch-selector-column.h:
640 * hildon/hildon-touch-selector.c:
641 (hildon_touch_selector_column_set_text_column),
642 (hildon_touch_selector_column_get_text_column):
643 Make hildon_touch_selector_column_set/get_column() public, use
644 them in the inline example, document them, and reference to them
647 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
649 * hildon/hildon-time-selector.c: Fix the docs for
650 hildon_time_selector_new_step().
652 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
654 * hildon/hildon-touch-selector.c: Improve the documentation for
655 hildon_touch_selector_append_column().
657 Fixes MB#4641 (Documentation:
658 hildon_touch_selector_append_column() ref-counting)
660 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
662 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
663 Comment out test 5, since the hildon_controlbar_set_range() range
664 check is broken and fixing it would have side effects. Also,
665 this finally fixes make distcheck.
667 Fixes: NB#101420 (Update unit tests and fix make distcheck)
669 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
671 * tests/TEST-CASES.txt: Remove other bogus test.
672 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
673 Remove bogus test that was setting/retrieving a valid value.
675 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
677 * tests/TEST-CASES.txt: Remove bogus tests.
678 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
679 Remove three bogus tests that were actually setting valid colors.
681 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
683 * configure.ac: post release version bump
684 * debian/changelog: post release version bump
686 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
691 * configure.ac: Bump version.
692 * debian/changelog: Updates.
694 2009-06-08 Christian Dywan <christian@lanedo.com>
698 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
699 Correct errors in hildon_format_file-size_for_display and use
700 translations from the hildon-fm package instead of osso-filemanager.
702 2009-06-08 Alejandro G. Castro <alex@igalia.com>
704 * hildon/hildon-pannable-area.c,
705 (hildon_pannable_area_init): Initialized new values to handle the
707 (hildon_pannable_area_adjust_value_changed): Check if the values
708 changed before even call the redraw function.
709 (hildon_pannable_area_size_allocate),
710 (hildon_pannable_axis_scroll),
711 (hildon_pannable_area_scroll),
712 (hildon_pannable_area_jump_to): Improved the diagonal movement
715 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
718 2009-06-08 Alberto Garcia <agarcia@igalia.com>
720 * examples/hildon-banner-example.c:
721 Several style updates
722 (on_animation_clicked, on_animation_idle)
723 (on_progress_clicked, on_progress_idle):
724 Add additional reference for the cases when the parent window is
727 2009-06-08 Alberto Garcia <agarcia@igalia.com>
729 * doc/hildon-sections.txt
730 * hildon/hildon-pannable-area.c
731 * hildon/hildon-banner.h
732 * hildon/hildon-banner.c: Documentation updates.
734 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
737 2009-06-05 Alejandro G. Castro <alex@igalia.com>
739 * hildon/hildon-calendar-popup.h:
740 * hildon/hildon-caption.h:
741 * hildon/hildon-code-dialog.h:
742 * hildon/hildon-controlbar.h:
743 * hildon/hildon-date-editor.h:
744 * hildon/hildon-dialog.h:
745 * hildon/hildon-get-password-dialog.h:
746 * hildon/hildon-hvolumebar.h:
747 * hildon/hildon-login-dialog.h:
748 * hildon/hildon-note.h:
749 * hildon/hildon-number-editor.h:
750 * hildon/hildon-range-editor.h:
751 * hildon/hildon-seekbar.h:
752 * hildon/hildon-set-password-dialog.h:
753 * hildon/hildon-sort-dialog.h:
754 * hildon/hildon-time-editor.h:
755 * hildon/hildon-time-picker.h:
756 * hildon/hildon-volumebar-range.h:
757 * hildon/hildon-volumebar.h:
758 * hildon/hildon-vvolumebar.h:
759 * hildon/hildon-weekday-picker.h:
760 * hildon/hildon-window.h:
761 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
762 macros with the current replacements
764 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
766 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
768 * hildon/hildon-color-button.c (hildon_color_button_init): Use
769 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
770 itself, to make it fit better with Fremantle style.
772 Fixes: NB#109878 (height and width of focus on color icon is not
773 consistent with other item in the application tool bar)
775 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
777 * hildon/hildon-touch-selector.c:
778 (hildon_touch_selector_optimal_size_request): use the current requisition
779 as the base, in order to include any possible extra widget, like the
780 hildon entry on HildonTouchSelectorEntry
782 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
784 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
786 * configure.ac: post release version bump
787 * debian/changelog: post release version bump
789 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
794 * configure.ac: Bump version.
795 * debian/changelog: Updates.
797 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
799 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
801 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
802 to ensure the banner contents are centered, instead of relying on
803 the expand and fill properties in GtkHBox.
804 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
806 Fixes: NB#108265 (Animation banner not properly centered)
808 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
810 * hildon/hildon-pannable-area.c
811 (hildon_pannable_area_initial_effect): Remove the initial_effect
812 management, check initial_hint
813 (hildon_pannable_are_expose_event): Remove the initial_hint management,
814 set initial_effect to FALSE
815 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
816 by launching the fade_timeout if the scrollbars state has changed and are
818 * examples/hildon-pannable-area-initial-hint-example.c
819 Modified to allow to remove rows too. Add and remove rows one by one.
821 2009-05-28 Alberto Garcia <agarcia@igalia.com>
823 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
824 Don't close the menu if there's an animation actor below it.
826 Fixes: NB#117927 (Application menu not usable with animation
829 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
831 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
832 "focus-on-click" from the dialog button, to avoid stealing the
833 focus from the entry.
835 Fixes: NB#118903 (Account setup wizard: Text in Search field
836 should be focused when "Region" touch list picker is reopened
839 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
841 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
842 (prepare_action_area): Completely hide the dialog separator.
844 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
846 * hildon/hildon-touch-selector-entry.c
847 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
848 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
849 now that the entry is exposed.
851 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
853 * hildon/hildon-touch-selector-entry.c
854 (hildon_touch_selector_entry_init): Change the entry's size
855 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
857 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
859 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
860 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
861 avoid unnecessary scaling.
863 2009-05-27 Alberto Garcia <agarcia@igalia.com>
865 * hildon/hildon-app-menu.c (hildon_app_menu_map):
866 Create grab transfer window before calling parent's map function.
868 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
869 "crushed" button(s) in the top left corner)
871 2009-05-26 Alberto Garcia <agarcia@igalia.com>
873 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
874 Check if the window is already realized when pushing it.
876 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
878 * configure.ac: post release version bump
879 * debian/changelog: post release version bump
881 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
886 * configure.ac: Bump version.
887 * debian/changelog: Updates.
889 2009-05-25 Alberto Garcia <agarcia@igalia.com>
891 * hildon/hildon-app-menu.c: Doc updates.
893 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
895 * hildon/hildon-banner.c: Remove leftover macro.
897 2009-05-25 Alejandro G. Castro <alex@igalia.com>
899 * hildon/hildon-pannable-area.c,
900 (hildon_pannable_area_scroll_indicator_fade),
901 (hildon_pannable_area_button_release_cb): Reviewed vmin
902 conditions, it could cause problems in the fadeout procedure.
904 2009-05-25 Alejandro G. Castro <alex@igalia.com>
906 * hildon/hildon-pannable-area.c
907 (hildon_pannable_area_button_release_cb): Added a threshold to
908 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
910 2009-05-25 Alejandro G. Castro <alex@igalia.com>
912 * hildon/hildon-pannable-area.c,
913 (hildon_pannable_area_set_property): Added code to sync the gtk
914 dnd threshold with the panning threshold.
916 2009-05-25 Alejandro G. Castro <alex@igalia.com>
918 * hildon/hildon-pannable-area.c,
919 (hildon_pannable_area_class_init): Changed some of the default
920 values, now it should be less responsive and more accurate.
922 2009-05-25 Alejandro G. Castro <alex@igalia.com>
924 * hildon/hildon-pannable-area.c,
925 (hildon_pannable_area_init),
926 (hildon_pannable_area_scroll_indicator_fade),
927 (hildon_pannable_area_button_press_cb),
928 (hildon_pannable_axis_scroll),
929 (hildon_pannable_area_timeout),
930 (hildon_pannable_area_motion_notify_cb),
931 (hildon_pannable_area_button_release_cb): Changed the name of the
932 clicked attribute to button_pressed, it is more clear about its use.
934 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
936 * src/hildon-pannable-area.c
937 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
939 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
940 vertical scrollbar visibility, and use the data on private section instead,
941 remove the initial_hint check
942 (hildon_pannable_area_expose_event): add the initial_hint check here
944 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
946 * src/hildon-pannable-area.c
947 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
948 if the fadeout effect was used
949 (hildon_pannable_area_expose_event): check if it is required to
950 manage the initial effect on the begining of the function. Previously
951 it was made at the end, but this doesn't ensure that the scrollbars
952 will be painted on the first show. Do not set to FALSE initial_effect,
953 to ensure that the initial hint is showed the first time the pannable
955 * examples/Makefile.am
956 * examples/hildon-pannable-area-initial-hint-example.c:
957 New example, to show that the initial-hint is showed when the widget
960 Fixes: NB#116607 (Pannable area should always have scrollbar visible
961 initially if the application can be scrolled)
963 2009-05-25 Alberto Garcia <agarcia@igalia.com>
965 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
966 Resize table before adding new items to make sure that
967 gtk_table_resize() is called just once.
969 2009-05-25 Alberto Garcia <agarcia@igalia.com>
971 * hildon/hildon-app-menu-private.h
972 * hildon/hildon-app-menu.c (item_visibility_changed)
973 (filter_visibility_changed, hildon_app_menu_show_all)
974 (hildon_app_menu_hide_all, hildon_app_menu_init):
975 Rearrange items just once when gtk_widget_show_all()/hide_all()
978 2009-05-25 Alberto Garcia <agarcia@igalia.com>
980 * hildon/hildon-app-menu.c
981 (hildon_app_menu_insert, hildon_app_menu_add_filter):
982 Don't call gtk_widget_show() on added items.
984 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
985 automatically when they're added)
987 2009-05-20 Alberto Garcia <agarcia@igalia.com>
989 * hildon/hildon-banner.c
990 (hildon_banner_realize, +hildon_banner_unrealize)
991 (+screen_size_changed, hildon_banner_class_init):
992 Redisplay the banner if the screen is rotated.
994 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
995 on transition from landscape to portrait)
997 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
999 * hildon/hildon-banner.[ch]:
1000 (hildon_banner_show_information_override_dnd): remove icon_name from the
1001 method definition as it is ignored.
1002 * examples/hildon-banner-dnd-example.c: updated with the change on
1005 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1007 * hildon/hildon-banner-private.h: new require_override_dnd and
1008 overrides_dnd variables
1009 * hildon/hildon-banner.h:
1010 (hildon_banner_show_information_override_dnd): new method, that shows
1011 the information but sets the override flag, in order to show important
1013 * hildon/hildon-banner.c
1014 (hildon_banner_show_information_override_dnd): new method
1015 (hildon_banner_set_override_flag): new utility function
1016 (hildon_banner_real_show_information): new utility function, in order to
1017 generalize the current hildon_banner_show_information_override_dnd and
1018 hildon_banner_show_information_override_dnd
1019 * examples/Makefile.am
1020 * examples/hildon-banner-dnd-example.c: New example that show how to
1021 use the new hildon_banner_show_information_override_dnd
1023 Fixes: NB#114874 (There is no possibility to show hildon banners with
1026 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1028 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1029 behind hildon_pannable_calculate_vel_factor().
1031 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1033 * hildon/hildon-pannable-area.c
1034 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1035 deceleration factors.
1037 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1039 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1040 Reduce the default value for 'scroll_time' to 1 second, since the
1041 current initial scrolling takes too much time.
1043 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1045 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1046 calculate velocity factor during initialization, since the properties
1049 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1051 * hildon/hildon-pannable-area.c
1052 (hildon_pannable_area_set_property): Calculate the velocity factor
1053 after setting the deceleration property and not after.
1055 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1057 * hildon/hildon-entry.c
1058 (hildon_entry_class_init, +set_property, hildon_entry_new)
1059 * hildon/hildon-check-button.c
1060 (hildon_check_button_class_init)
1061 (+set_property, hildon_check_button_new):
1062 Make the theme size a property.
1064 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1065 others) do too much in the _new function)
1067 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1069 * configure.ac: post release version bump
1070 * debian/changelog: post release version bump
1072 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1077 * configure.ac: Bump version.
1078 * debian/changelog: Updates.
1080 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1082 * hildon/hildon-gtk.h
1083 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1084 New API function to take a screenshot of a window
1086 Fixes: NB#106374 (Need API to take a loading screenshot)
1088 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1090 * hildon/hildon-time-selector.c
1091 (update_format_policy): prevent to use hours and minutes unitialized
1093 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1095 * hildon/hildon-window.c (hildon_window_size_request):
1096 Always request the full size of the screen (minus the title bar if
1097 not in fullscreen mode).
1099 Fixes: NB#107486 (HildonWindow should size itself properly)
1101 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1103 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1104 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1105 (on_show_cb), (sound_handling): Disconnect the idle handler for
1106 the sound when the note is finalized to avoid possible crashes.
1108 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1111 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1113 * src/hildon-animation-actor.c,
1114 * src/hildon-remote-texture.c:
1115 Added proper object cleanup to remove signal handler and object
1116 references as HildonAnimationActor and HildonRemoteTexture
1117 objects get destroyed.
1119 Fixes: NB#116682 (Destroying parented animation actors when
1120 parent in unmapped leads to crash)
1122 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1124 Based on a patch by Christian Dywan (christian@imendio.com)
1126 * doc/hildon-sections.txt:
1127 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1128 * hildon/hildon-helper.h: New file size formatting method.
1130 * debian/control: Depend on osso-filemanager l10n package for
1131 proper localization strings.
1133 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1135 * tests/Makefile.am: Include top_srcdir to make possible to build
1136 tests in a different builddir.
1137 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1138 on a different builddir.
1140 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1142 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1143 (hildon_touch_selector_remove): Disconnect model's signal handler
1146 Fixes: NB#116289 (Hildon home crashes while adding task
1149 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1151 * hildon/hildon-button.c
1152 (hildon_button_set_title, hildon_button_set_value):
1153 Hide labels containing an empty string.
1155 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1157 * configure.ac: post release version bump
1158 * debian/changelog: post release version bump
1160 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1165 * configure.ac: Bump version.
1166 * debian/changelog: Updates.
1168 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1170 * hildon/hildon-note-private.h: Removed sound_signal_handler
1171 * hildon/hildon-note.c
1172 (on_show_cb): new callback on note "show" event, this simply adds
1173 a idle, with the function sound_handling
1174 (sound_handling): removed the sound_signal_handler management
1175 (hildon_note_init): connect note "show" event to on_show_cb
1176 (hildon_note_realize): remove the connection to "expose-event"
1178 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1179 device?' confirmation note)
1181 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1183 * hildon/hildon-note.c
1184 (hildon_note_new_information_with_icon_name)
1185 (hildon_note_new_confirmation_with_icon_name):
1186 Terminate the list of parameters in g_object_set() calls
1188 Fixes: NB#115166 (Formatting memory card is not taking place)
1190 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1192 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1193 "dialog-information" role for the sound being played.
1195 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1197 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1198 Don't make the menu a modal window, it causes strange interactions
1199 with the pointer grab and it's not really needed.
1201 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1203 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1205 * hildon/hildon-touch-selector.[ch]
1206 (hildon_touch_selector_optimal_size_request): function added to get a
1207 optimal size request from the touch selector, when you want a dialog to
1208 show as much of the selector
1209 * hildon/hildon-picker-dialog.c:
1210 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1211 (hildon_app_menu_class_init):
1212 New "max-height-landscape" and "max-height-portrait" style properties
1213 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1214 (hildon_picker_dialog_get_max_height): returns the maximum height using
1215 the style properties defined and checking the current portrait/landscape
1217 (_hildon_picker_dialog_set_selector): removed the set_size_request
1219 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1221 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1223 * hildon/hildon-bread-crumb-trail.c:
1224 * hildon/hildon-bread-crumb.c:
1225 * hildon/hildon-seekbar.c:
1226 Add reference to replacements for these deprecated widgets.
1228 Fixes: MB#4461 (Documentation: All deprecations should mention
1231 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1233 * examples/hildon-remote-texture-example.c
1235 Change the include to the hildon-remote-texture in order to compile
1236 properly the examples on the installed libhildon1-examples package
1238 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1240 * tests/Makefile.am: Add check for HildonPickerButton.
1241 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1242 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1243 checks for the HildonPickerButton.
1244 * tests/check_test.c (configure_tests): Add the test suite.
1245 * tests/test_suites.h: likewise.
1247 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1249 * hildon/hildon-touch-selector.c
1250 (+on_row_changed): Emit HildonTouchSelector:changed when the
1251 contents of a selected row change.
1252 (_create_new_column), (_hildon_touch_selector_set_model): connect
1253 to GtkTreeModel:row-changed on a newly set model.
1255 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1257 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1259 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1261 * hildon/hildon-banner.c (hildon_banner_destroy)
1262 (hildon_banner_show_progress, hildon_banner_set_fraction):
1263 Remove the progress bar from HildonBanner and use a progress
1266 Fixes: NB#113761 (Update progress banner to use progress
1269 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1271 * hildon/hildon-banner.c:
1272 Calculate size of the banner label using the actual screen width
1273 rather than using a fixed value.
1275 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1278 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1280 * hildon/hildon-pannable-area.c,
1281 (hildon_pannable_area_class_init): Fixed signals documentation
1284 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1286 * configure.ac: post release version bump
1287 * debian/changelog: post release version bump
1289 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1294 * configure.ac: Bump version.
1295 * debian/changelog: Updates.
1297 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1299 * hildon/hildon-edit-toolbar.c
1300 (hildon_edit_toolbar_init):
1301 Don't let buttons in HildonEditToolbar receive focus.
1303 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1304 typing on an HW arrows key)
1306 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1308 * doc/Makefile.am: Fix build.
1310 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1312 * doc/Makefile.am: Do not redefine content_files.
1314 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1322 Renamed src/ to hildon/
1327 Include <hildon/hildon.h> directly in all examples.
1329 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1331 * src/hildon-sort-dialog.c
1332 (hildon_sort_dialog_add_sort_key_with_sorting)
1336 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1338 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1339 make distcheck passes.
1341 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1343 * Makefile.am: Enable gtk-doc during distcheck.
1345 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1347 * Makefile.am: Do not distribute the debian/ directory.
1349 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1351 * doc/Makefile.am: Add the extra SGML files to content_files,
1352 so that they are distributed properly.
1354 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1356 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1359 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1361 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1362 (hildon_note_new_information_with_icon_name): Set the "icon" property
1363 to preserve soundness.
1365 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1367 * src/hildon-font-selection-dialog.c
1368 (hildon_font_selection_dialog_set_property): Fail when the "family"
1369 property is set to NULL.
1371 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1373 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1376 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1378 * src/hildon-time-selector.h:
1379 Added HildonTimeSelectorFormatPolicy
1380 * src/hildon-time-selector.c:
1381 Added PROP_TIME_FORMAT_POLICY
1382 (_check_ampm_format): renamed to check_automatic_ampm_format
1383 (update_format_policy), (update_format_dependant_columns): new functions
1384 (hildon_time_selector_class_init)
1385 (hildon_time_selector_contructor)
1386 (hildon_time_selector_init)
1387 (hildon_time_selector_get_property)
1388 (hildon_time_selector_set_property)
1389 (hildon_time_selector_get_time)
1390 (hildon_time_selector_set_time)
1391 * src/hildon-touch-selector.h: new file
1392 * src/hildon-touch-selector.c
1393 (hildon_touch_selector_emit_changed)
1394 (hildon_touch_selector_block_changed)
1395 (hildon_touch_selector_unblock_changed)
1396 Added functions to allow to block the emission of the "changed" signal
1397 * src/hildon-picker-dialog.c
1398 (hildon_picker_dialog_show): call the parent show before the custom code
1399 * examples/hildon-time-button-example.c
1400 Modified, so now you can configure the time format using the new property
1402 Added a new property "time-format-policy" that allow to choose the time
1403 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1404 case it uses gconf in order to check if the time selector must use
1407 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1410 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1412 * src/hildon-note.c (hildon_note_init):
1413 Label in HildonNote must be left aligned, not centered. This
1414 reverts the last commit in HildonNote.
1416 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1417 is connectivity dialog)
1419 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1424 * doc/hildon-sections.txt:
1425 Added hildon_gtk_window_set_do_not_disturb()
1427 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1429 * src/hildon-note.c (hildon_note_init): Center label.
1431 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1434 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1439 * configure.ac: Bump version.
1440 * debian/changelog: Updates.
1442 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1444 * src/hildon-note-private.h: Add button-width to the private data.
1445 * src/hildon-note.c (+resize_button),
1446 (+hildon_note_orientation_update): methods to repack widgets on orientation
1448 (screen_size_changed): Call above method for confirmation notes.
1449 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1450 (hildon_note_rebuild): Store the original width request from buttons.
1452 Fixes: NB#109635 (Confirmation notes do not support portrait)
1454 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1456 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1457 when it is a progress note.
1459 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1461 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1462 in the note, since there are no horizontally arranged contents.
1464 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1466 * src/hildon-gtk.c (+set_flag): new generic method to
1467 set/delay a flag setting in a window.
1468 (hildon_gtk_window_set_progress_indicator):
1469 (hildon_gtk_window_set_do_not_disturb),
1470 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1471 avoid code redundance.
1473 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1475 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1477 * src/hildon-gtk.c (set_clear_window_flag),
1478 (do_set_progress_indicator), (do_set_do_not_disturb),
1479 (do_set_portrait_flags),
1480 (hildon_gtk_window_set_progress_indicator),
1481 (hildon_gtk_window_set_do_not_disturb),
1482 (hildon_gtk_window_set_portrait_flags):
1483 Allow setting dnd-flag, progress indicator, and portrait flags
1484 when the window is not realized.
1486 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1488 * src/hildon-pannable-area.c,
1489 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1490 the size request policy function and defines.
1492 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1494 * doc/hildon-sections.txt: Add the new API.
1495 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1496 method to set the portrait flags.
1497 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1499 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1501 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1503 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1504 to allow using this method with other flags.
1505 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1506 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1508 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1510 * src/hildon-touch-selector.c
1511 (hildon_touch_selector_append_text_column):
1512 Make the cell renderer use the smallest width possible.
1514 Fixes: NB#108470 (Selected items in multiple selection are either
1515 having a tick that is cut or not visible at all.)
1517 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1519 * src/hildon-touch-selector.c
1520 (hildon_touch_selector_append_text_column):
1523 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1525 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1526 Use g_strdup_printf() instead of a fixed size buffer.
1528 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1530 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1531 Close banners when a HildonAppMenu is popped up.
1533 Fixes: NB#111027 (Title menu closed immediately if activated when
1534 "Invalid e-mail address" banner is shown)
1536 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1541 * configure.ac: Bump version.
1542 * debian/changelog: Updates.
1544 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1546 * src/hildon-banner.c (hildon_banner_realize):
1547 Mark HildonBanner as supporting portrait mode.
1548 Use GDK to set window properties insetad of direct Xlib calls.
1550 Fixes: NB#111830 (HildonBanner should be marked as supporting
1553 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1555 * src/hildon-note.c (hildon_note_rebuild):
1556 Hide action area in information notes. Prevents text from being
1557 slightly aligned to the left.
1559 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1562 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1564 Patch by Mox Soini (ext-mox.soini@nokia.com)
1566 * src/hildon-banner.c (hildon_banner_create_animation):
1567 Use stylus-sized icons in animation banner.
1569 Fixes: NB#111206 (stylus sized icon for animation banner)
1571 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1575 (+hildon_gtk_window_set_do_not_disturb):
1576 New API to set the do-not-disturb flag.
1578 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1580 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1582 * examples/hildon-progress-indicator-example.c: Fix example
1584 * src/hildon-gtk.c (set_clear_window_flag)
1585 (hildon_gtk_window_set_progress_indicator):
1586 Create a generic function for setting flags to a window.
1587 Use GDK instead of direct Xlib calls.
1589 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1591 * src/hildon-button.c (hildon_button_set_arrangement):
1592 Due to NB#88126, if one of the labels is too long it will be
1593 painted outside the button. The 'value' label is more likely to be
1594 the longest one, so we change its packing options in order to
1595 truncate it if necessary. As a side effect, the 'title' label will
1596 no longer be truncated.
1598 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1600 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1605 * configure.ac: Bump version.
1606 * debian/changelog: Updates.
1608 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1610 Deprecation of the hildon_pannable_area_set_size_request_policy
1611 API, the only policy properly supported in gtk+ nowadays is the
1614 * src/hildon-pannable-area.c,
1615 (hildon_pannable_area_size_request): Added a workaround for the
1616 size_request to avoid the problems of huge pixmaps in case someone
1617 is still using the function.
1618 * src/hildon-pannable-area.h: Deprecated the enum with the
1621 Fixes: NB#110244 (Problems with the
1622 hildon_pannable_area_set_size_request_policy API)
1624 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1626 * src/hildon-pannable-area.c,
1627 (hildon_pannable_area_init),
1628 (hildon_pannable_area_size_request),
1629 (hildon_pannable_area_style_set),
1630 (hildon_pannable_draw_vscroll),
1631 (hildon_pannable_draw_hscroll),
1632 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1633 indicator_width to clarify the use of the attribute.
1635 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1640 * configure.ac: Bump version.
1641 * debian/changelog: Updates.
1643 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1645 * src/hildon-picker-dialog.c
1646 * src/hildon-touch-selector.c
1647 Reverting the change that tried to avoid the hardcoded height on
1648 the picker dialog, as causes problems on the hildon-touch-selector
1651 Fixes: NB#110029 (selectors not scrolling to selected value)
1653 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1655 * src/hildon-touch-selector.c: Fix typos
1657 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1659 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1660 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1661 request more motions after using it.
1663 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1665 * src/hildon-calendar.c (hildon_calendar_expose),
1666 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1667 Remove unused variables.
1669 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1671 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1672 variable assignment.
1674 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1676 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1677 Check the return value of gtk_tree_selection_get_selected()
1680 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1682 * src/hildon-animation-actor.c
1683 * src/hildon-button.c
1685 * src/hildon-pannable-area.c
1686 * src/hildon-picker-button.c
1687 * src/hildon-program.c
1688 * src/hildon-remote-texture.c
1689 * src/hildon-text-view.c
1690 * src/hildon-touch-selector.c
1691 * src/hildon-window-stack.c
1692 * src/hildon-window.c:
1693 Add missing 'Since: 2.2' tags.
1695 * doc/hildon-sections.txt:
1696 Add some missing symbols.
1698 * doc/hildon-docs.sgml:
1699 New 'Other' section for HildonAnimationActor and
1702 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1704 Patch by Iván Gómez (igomez@igalia.com)
1707 * doc/compiling.sgml
1708 * doc/hildon-docs.sgml
1709 * doc/hildon-sections.txt
1710 * doc/migration.sgml
1711 * doc/resources.sgml
1713 New chapters on using the Hildon library.
1714 Updated the general structure of the reference manual.
1715 Other minor documentation fixes.
1717 * src/hildon-calendar-popup.c
1718 * src/hildon-calendar.c
1719 * src/hildon-controlbar.c
1720 * src/hildon-date-editor.c
1721 * src/hildon-dialog.c
1722 * src/hildon-hvolumebar.c
1723 * src/hildon-number-editor.c
1724 * src/hildon-range-editor.c
1725 * src/hildon-sort-dialog.c
1726 * src/hildon-time-editor.c
1727 * src/hildon-time-picker.c
1728 * src/hildon-volumebar-range.c
1729 * src/hildon-volumebar.c
1730 * src/hildon-vvolumebar.c
1731 * src/hildon-weekday-picker.c:
1732 Add deprecation notes
1734 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1735 Document 'horizontal-movement' and 'vertical-movement' signals.
1737 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1742 * configure.ac: Bump version.
1743 * debian/changelog: Updates.
1745 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1747 * src/hildon-pannable-area.c,
1748 (hildon_pannable_area_class_init): increased the minimum velocity.
1749 (hildon_pannable_area_button_release_cb): Updated the
1750 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1751 setup. Review the code to control that last event.
1753 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1756 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1758 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1760 * src/hildon-get-password-dialog.c
1761 (hildon_get_password_set_property),
1762 (hildon_get_password_get_property), (create_contents):
1763 * src/hildon-login-dialog-private.h:
1764 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1765 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1766 (hildon_login_dialog_get_password):
1767 * src/hildon-set-password-dialog-private.h:
1768 * src/hildon-set-password-dialog.c
1769 (hildon_set_password_set_property),
1770 (hildon_set_password_get_property), (create_contents),
1771 (hildon_set_password_response_change),
1772 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1774 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1775 instead and look more Fremantle style.
1777 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1779 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1781 * doc/hildon-sections.txt
1782 * src/hildon-window-stack.h
1783 * src/hildon-window-stack.c
1784 (+hildon_window_stack_get_windows):
1785 New API to obtain the list of windows on a stack.
1787 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1789 * src/hildon-app-menu.c (hildon_app_menu_popup)
1790 (hildon_app_menu_class_init, -hildon_app_menu_show):
1791 Remove hildon_app_menu_show() and move all its checks to
1792 hildon_app_menu_popup()
1794 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1796 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1797 (_hildon_picker_dialog_set_selector): removed call to
1798 gtk_widget_set_size_request
1799 * src/hildon-touch-selector.c
1800 (_create_new_column): change the pannable size request policy
1802 Avoid to use a hardcoded height for the hildon picker dialog. In order
1803 to get that, we needed to change the hildon pannable size request
1805 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1807 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1809 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1810 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1813 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1815 * debian/control: Depend on osso-system-lock localization package.
1816 * src/hildon-code-dialog.c: Obtain the secu_application_title
1817 translation from osso-system-lock.
1818 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1819 for translation the atk related strings, that's not necessary.
1820 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1821 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1822 cancel button, it is not required.
1824 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1826 * src/hildon-pannable-area.c,
1827 (hildon_pannable_area_class_init): Modified the default value of
1828 the overshooting max speed, we have reduced it.
1830 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1832 * doc/hildon-sections.txt
1833 * src/hildon-window-private.h
1834 * src/hildon-window.h
1835 * src/hildon-window.c (hildon_window_class_init)
1836 (hildon_window_init, hildon_window_finalize)
1837 (hildon_window_realize, hildon_window_get_property)
1838 (hildon_window_set_property, hildon_window_update_markup)
1839 (hildon_window_get_markup, hildon_window_set_markup):
1840 New "markup" property and hildon_window_{get,set}_markup() methods.
1842 * examples/hildon-stackable-window-example.c (new_window):
1843 Update example to use hildon_window_set_markup()
1845 Fixes: NB#106375 (Need API to retitle a window with a title
1848 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1850 * src/hildon-pannable-area.c,
1851 (hildon_pannable_area_class_init): Changed the default value of
1852 the initial_hint to TRUE.
1853 (hildon_pannable_area_initial_effect): Changed the initial effect,
1854 not the effect is just the fade-out of the scrollbars.
1856 Fixes: NB#107775 (No scrollbars can be seen when several items are
1857 available in a dialog)
1859 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1861 * src/hildon-program.c (hildon_program_update_top_most):
1864 Fixes: NB#109179 (Memory leak in Hildon program)
1866 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1868 * src/hildon-banner.c (-get_current_app_window):
1869 Remove unused function.
1871 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1873 * src/hildon-pannable-area.c: Modified the documentation of the
1874 get adjustments functions to explain the problem of using the
1875 adjustment directly.
1876 (hildon_pannable_area_class_init): Improved the explanation about
1879 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1881 * src/hildon-app-menu-private.h
1882 * src/hildon-app-menu.c
1883 (hildon_app_menu_class_init):
1884 Bring back the 'external-border' style property
1885 (hildon_app_menu_class_init, hildon_app_menu_init)
1886 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1887 Set a fixed width-request for the menu, independent of the number
1890 Fixes: NB#94957 (Smoothly opened application menu)
1892 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1894 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1896 * src/hildon-banner.c
1897 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1899 Make sure that the banner is correctly placed the first time it's
1901 (hildon_banner_check_position, -check_fullscreen_state):
1902 Show the banner in the same place no matter if the window is in
1903 fullscreen mode or not.
1905 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1907 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1909 * src/hildon-touch-selector.c (_default_print_func): reorder
1910 concatenation for clarity.
1912 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1914 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1915 for multicolumn selectors.
1917 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1919 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1924 * configure.ac: Bump version.
1925 * debian/changelog: Updates.
1927 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1929 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1932 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1934 * configure.ac: removed libcangerra-gtk dependency
1935 * debian/control: removed libcanberra-gtk dependency
1936 * src/Makefile.am: removed libcanberra gtk related flags
1937 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1938 context, and manage a global canberra context instead
1940 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1942 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1944 Patch by Daniel Borgmann (danielb@openismus.com)
1946 * src/hildon-edit-toolbar.c:
1947 Adjust the left padding.
1948 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1949 Paint background of the edit toolbar.
1951 Fixes: NB#107897 (Patch to make editmodetoolbar background
1952 themeable and adjust margin)
1954 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1956 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1958 * src/hildon-program.c (hildon_program_update_top_most):
1959 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1961 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1962 change when the user tasks in/out of an application)
1964 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1966 * configure.ac: added libcangerra-gtk dependency
1967 * debian/control: added libcanberra-gtk dependency
1968 * src/Makefile.am: added libcanberra gtk related flags
1969 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1972 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1974 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1976 * src/hildon-program.c (hildon_program_remove_window)
1977 (hildon_program_add_window): Add checks for the window
1978 parameter. Don't decrease the window counter if the window is not
1981 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1983 * src/hildon-pannable-area.c,
1984 (hildon_pannable_area_realize): Fixed position of the event_window
1985 in the realize method.
1987 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1989 * src/hildon-app-menu-private.h
1990 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1991 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1992 (hildon_app_menu_key_press, hildon_app_menu_init)
1993 (hildon_app_menu_finalize):
1994 Make sure that all idle functions are removed when the widget is
1997 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1999 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2004 * configure.ac: Bump version.
2005 * debian/changelog: Updates.
2007 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2009 * src/hildon-entry.c
2010 (+hildon_entry_show_placeholder),
2011 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2012 that replace hildon_entry_update_contents().
2013 (hildon_entry_set_text),
2014 (hildon_entry_set_placeholder),
2015 (hildon_entry_focus_in_event),
2016 (hildon_entry_focus_out_event): Determine when it is needed
2017 either to show or hide the placeholder and call the above methods.
2019 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2020 when the placeholder text is already set)
2022 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2024 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2025 simple GdkPixbufAnim using the new icons for the banner.
2026 (hildon_banner_show_animation): Use the above mentioned method to
2027 create the animation widget.
2029 Fixes: NB#103564 (Make hildon animation banner use individual
2030 image files as the animation)
2032 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2034 * src/hildon-pannable-area.c,
2035 (hildon_pannable_leave_notify_event): Check if the child is NULL
2036 to avoid sending the leave.
2038 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2040 * src/hildon-pannable-area.c,
2041 (hildon_pannable_area_class_init),
2042 (hildon_pannable_leave_notify_event): Added a handler of the
2043 leave-notify-signal to consider when no motion notify before
2046 Fixes: NB#107494 (Items stay selected when clicking and moving
2047 away when inside pannable area)
2049 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2054 * configure.ac: Bump version.
2055 * debian/changelog: Updates.
2057 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2059 Patch by Alberto Garcia (agarcia@igalia.com)
2061 * src/hildon-date-button.c,
2062 (hildon_date_button_class_init),
2063 (hildon_date_button_init): Removed the construct property handling
2064 and created a default selector in the init method.
2065 * src/hildon-picker-button.c,
2066 (hildon_picker_button_class_init): Removed the construct flag of the
2069 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2071 * src/hildon-main.c (hildon_init):
2072 Don't allow hildon_init() to be called more than once.
2074 Fixes: NB#106607 (hildon_init should issue error message upon
2077 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2079 * examples/hildon-pannable-area-touch-list-example.c
2080 * examples/hildon-pannagle-area-touch-grid-example.c
2081 * examples/hildon-edit-toolbar-example.c
2082 * examples/hildon-touch-selector-multi-cells-example.c
2083 Removed the call to gtk_rc_parse_string, as it is not required since
2086 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2088 * src/hildon-pannable-area.c,
2089 (hildon_pannable_area_class_init): Modified the default panning
2090 threshold of the widget to 6px.
2092 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2093 than the threshold value ) within the button is not sending the
2096 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2098 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2099 for the treeview in the new column. This way, the touch list will never
2102 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2103 be selected manually for the HW keys to work)
2105 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2107 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2108 comparison instead of using strcmp(). Fixes a compiler warning as well.
2110 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2112 * doc/hildon-docs.sgml: Do not set the library version in the
2113 document title, use the releaseinfo tag for that purpose instead.
2115 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2117 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2118 Do not jump to the first item if the text in the entry is removed.
2120 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2125 * configure.ac: Bump version.
2126 * debian/changelog: Updates.
2128 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2130 * src/hildon-entry.c (hildon_entry_refresh_contents):
2131 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2132 Use "ReversedSecondaryTextColor" for the placeholder text.
2134 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2136 * src/hildon-text-view.c: Fix compilation warning.
2138 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2140 * src/hildon-button.c (hildon_button_class_init): Don't make
2141 "title" and "value" construction properties, to prevent them from
2142 overwriting labels set from derived classes.
2144 * src/hildon-picker-button.c
2145 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2146 (hildon_picker_button_class_init): Make touch-selector a
2147 construction property.
2149 * src/hildon-date-button.c (hildon_date_button_class_init)
2150 (+hildon_date_button_constructed): Add a default date selector if
2153 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2155 * src/hildon-touch-selector.c: Small documentation fixes.
2157 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2159 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2161 * src/hildon-entry.c (hildon_entry_refresh_contents),
2162 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2163 widget name, set the logical color directly instead and a boolean
2164 showing_placeholder instead.
2165 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2166 use the widget name here either.
2168 Fixes: NB#105678 (HildonTextView should use logical colours
2169 instead of setting widget name)
2171 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2173 Patch by Daniel Elster (danielk@openismus.com)
2175 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2176 Add user_data parameter.
2177 (hildon_touch_selector_set_print_func_full): New function akin
2178 hildon_touch_selector_set_print_func() but with support for user
2179 data and a destroy callback.
2180 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2181 to clean up the print function user data.
2182 (hildon_touch_selector_class_init): Install dispose function.
2183 (HildonTouchSelectorPrivate::print_user_data),
2184 (HildonTouchSelectorPrivate::print_destroy_func): New private
2186 (hildon_touch_selector_init): Initialize new private members.
2187 (hildon_touch_selector_get_current_text): Pass along user data
2188 to the print function.
2189 (_default_print_func): Add dummy user_data to parameter list.
2190 * hildon-date-selector.c (_custom_print_func): ditto,
2191 * hildon-time-selector.c (_custom_print_func): ditto,
2192 * hildon-touch-selector-entry.c
2193 (hildon_touch_selector_entry_print_func): ditto.
2195 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2197 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2199 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2201 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2203 * src/hildon-pannable-area.c,
2204 (hildon_pannable_area_init),
2205 (hildon_pannable_area_button_press_cb),
2206 (hildon_pannable_area_motion_notify_cb): We have added code to
2207 handle the leave and enter events when using the motion events.
2209 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2211 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2213 * src/hildon-date-button.c (hildon_date_button_get_date)
2214 (hildon_date_button_set_date): Make sure that the button has a
2217 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2219 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2221 * src/hildon-pannable-area.c,
2222 (hildon_pannable_area_class_init),
2223 (hildon_pannable_area_calculate_velocity): Modify the use of the
2224 force and adapt the value.
2226 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2228 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2229 (hildon_app_menu_class_init): Hide the menu if it receives a
2230 delete-event, but don't destroy it
2232 Fixes: NB#104485 (Not able to address the call when application
2233 menu is opened at background)
2235 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2237 * src/hildon-app-menu.c
2238 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2239 Remove the "external-border" style property, let the menu take its
2240 natural size (or the one set by the window manager)
2241 (hildon_app_menu_repack_items):
2242 Don't reshow the menu, avoid flickers.
2244 Partially fixes NB#94957 (Smoothly opened application menu)
2246 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2251 * configure.ac: Bump version.
2252 * debian/changelog: Updates.
2254 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2256 * src/hildon-pannable-area.c,
2257 (hildon_pannable_area_motion_notify_cb): We control that the
2258 direction error margin is used just in case the movement is
2259 allowed in the other direction.
2261 Fixes: NB#105012 (buttons inside a pannable area not getting
2262 release event when dragging/releasing)
2264 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2266 * src/hildon-pannable-area.c,
2267 (hildon_pannable_area_class_init),
2268 (hildon_pannable_area_get_property),
2269 (hildon_pannable_area_set_property),
2270 (hildon_pannable_area_initial_effect),
2271 (hildon_pannable_axis_scroll),
2272 (hildon_pannable_area_button_release_cb): Reviewed the
2273 overshooting effect, now it has its own max
2274 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2275 speed when bouncing.
2277 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2282 * configure.ac: Bump version.
2283 * debian/changelog: Updates.
2285 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2287 * src/hildon-pannable-area.c,
2288 (hildon_pannable_area_class_init): Changed the max speed, now
2289 users can launch the widget very fast. Reduced the default force,
2290 that way it is easier to control the launch speed.
2292 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2294 * src/hildon-pannable-area.c,
2295 (hildon_pannable_area_button_release_cb): Removed this check
2296 because it causes problems when the device is overloaded.
2298 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2300 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2301 add a current_text field to store the text entered in the
2302 touch selector entry.
2303 (_clean_current_selection): clean up the current text as well.
2304 (_save_current_selection), (_restore_current_selection):
2305 Save/restore the text in the entry if the selector is a
2306 HildonTouchSelectorEntry.
2308 Fixes: NB#102541 (value entered in the touch selector entry is not
2309 shown when opened for second time)
2311 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2313 * doc/hildon-sections.txt:
2314 * src/hildon-touch-selector-entry.c
2315 (+hildon_touch_selector_entry_get_entry):
2316 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2318 Fixes: NB#104815 (I need accessor to the entry inside
2319 HildonTouchSelectorEntry)
2321 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2323 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2324 (hildon_app_menu_class_init):
2325 New "filter-vertical-spacing" style property.
2327 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2329 * src/hildon-find-toolbar.c
2330 (hildon_find_toolbar_emit_close)
2331 (hildon_find_toolbar_emit_invalid_input)
2332 (hildon_find_toolbar_entry_activate):
2333 Use g_signal_emit() instead of g_signal_emit_by_name()
2335 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2337 Patch by Mox Soini (ext-mox.soini@nokia.com)
2339 * tests/TEST-CASES.txt
2340 * tests/check-hildon-banner.c
2341 * tests/check-hildon-note.c
2342 * src/hildon-banner.c
2343 * src/hildon-code-dialog.c
2344 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2345 * src/hildon-time-editor.c
2346 * examples/hildon-lookup-example.c (main):
2347 Replace obsolete icon names with new ones.
2349 * src/hildon-find-toolbar-private.h:
2350 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2351 (-hildon_find_toolbar_emit_search):
2352 Remove find button and change icon of close button.
2354 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2356 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2358 * src/hildon-time-button.c (hildon_time_button_new_step):
2359 Use the "touch-selector" property to set the selector directly
2360 when creating the object.
2362 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2364 Added a new example application that allows tuning the pannable
2365 area and replaced defines with properties in order to simplify the
2366 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2367 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2368 PROP_DIRECTION_ERROR_MARGIN.
2370 * examples/hildon-pannable-area-tuning-example.c: New example
2372 * src/hildon-pannable-area.c,
2373 (hildon_pannable_area_class_init),
2374 (hildon_pannable_area_init),
2375 (hildon_pannable_area_get_property),
2376 (hildon_pannable_area_set_property),
2377 (hildon_pannable_area_launch_fade_timeout),
2378 (hildon_pannable_area_adjust_value_changed),
2379 (hildon_pannable_axis_scroll),
2380 (hildon_pannable_area_motion_notify_cb),
2381 (hildon_pannable_area_scroll_cb),
2382 (hildon_pannable_area_button_release_cb): We have converted some
2383 of the defines that control the widget to properties to simplify
2386 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2388 * src/hildon-app-menu.c (hildon_app_menu_map)
2389 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2390 so it's closed if a new window appears.
2392 Fixes: NB#104485 (Not able to address the call when application
2393 menu is opened at background)
2395 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2397 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2398 missing 'break' statement in in 'case' construct to avoid
2401 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2403 * src/hildon-touch-selector-entry.c
2404 (hildon_touch_selector_entry_get_property),
2405 (hildon_touch_selector_entry_set_property): Add missing 'break'
2406 statements in in 'case' constructs to avoid incorrect warnings.
2408 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2410 * src/hildon-time-editor.c
2411 (hildon_time_editor_get_time_separators): Do not crash if
2412 the first label is NULL.
2414 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2416 * src/hildon-date-selector.c (_month_days): Check for month to be
2417 strictly less than 12, since otherwise we may overrun the array.
2419 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2421 * src/hildon-date-button.c (+hildon_date_button_new_full)
2422 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2423 (hildon_date_button_init): Set the date selector using a
2424 construction property, to make it happen after HildonButton's
2425 "value" property is set.
2427 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2428 current date by default)
2430 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2432 * doc/hildon-sections.txt
2433 * src/hildon-program.c
2434 * src/hildon-stackable-window.c
2435 * src/hildon-window.c:
2436 Documentation updates
2438 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2440 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2441 (hildon_window_stack_new, +hildon_window_stack_set_property)
2442 (+hildon_window_stack_get_property)
2443 (hildon_window_stack_class_init)
2444 (+hildon_window_stack_set_window_group)
2445 (+hildon_window_stack_get_window_group):
2446 Make the window group a construction property.
2448 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2450 * doc/hildon-sections.txt
2451 * src/hildon-stackable-window-private.h
2452 * src/hildon-stackable-window.h
2453 * src/hildon-stackable-window.c
2454 (-hildon_stackable_window_set_app_menu)
2455 (-hildon_stackable_window_get_app_menu)
2456 (-hildon_stackable_window_toggle_menu)
2457 (-hildon_stackable_window_finalize)
2458 (hildon_stackable_window_class_init)
2459 (hildon_stackable_window_init)
2460 * src/hildon-window-private.h
2461 * src/hildon-window.h
2462 * src/hildon-window.c (hildon_window_init)
2463 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2464 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2465 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2466 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2467 Moved all HildonAppMenu code to HildonWindow. The menu does not
2468 require a HildonStackableWindow anymore.
2470 * src/hildon-app-menu.c
2471 * src/hildon-program.c
2472 * examples/hildon-app-menu-example.c (main):
2473 Update examples and documentation to reflect HildonAppMenu
2476 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2478 * src/hildon-remote-texture.c
2479 * src/hildon-animation-actor.c:
2480 Don't include unused private headers.
2482 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-program-private.h
2485 * src/hildon-program.c
2486 (hildon_program_set_common_menu)
2487 (hildon_program_get_common_menu)
2488 (hildon_program_set_common_app_menu)
2489 (hildon_program_get_common_app_menu):
2490 Change common menu pointers from GtkWidget* to GtkMenu* and
2491 HildonAppMenu* to avoid unnecessary casts.
2493 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2495 * src/hildon-window.c (hildon_window_set_main_menu):
2496 Removed incorrect 'Since:' tag
2498 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2500 * src/hildon-pannable-area.c,
2501 (hildon_pannable_area_calculate_velocity): We use now the
2502 RATIO_TOLERANCE here to check the distance, fixed typo in the
2504 (hildon_pannable_area_motion_notify_cb): We have to set the type
2505 and time even if we are not sending the motion.
2507 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2509 * doc/hildon-sections.txt
2510 * src/hildon-app-menu.h
2511 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2512 (+hildon_app_menu_get_filters): New methods to get the contents of
2515 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2518 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2520 * src/hildon-app-menu.c (hildon_app_menu_popup):
2523 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2525 * src/hildon-window.h
2526 * src/hildon-window.c (+hildon_window_get_main_menu)
2527 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2528 and deprecated hildon_window_get_menu().
2530 * src/hildon-stackable-window.h
2531 * src/hildon-stackable-window.c
2532 (+hildon_stackable_window_set_app_menu)
2533 (+hildon_stackable_window_get_app_menu)
2534 (hildon_stackable_window_set_main_menu): Created
2535 hildon_stackable_window_{get,set}_app_menu() and deprecated
2536 hildon_stackable_window_set_main_menu().
2538 * doc/hildon-sections.txt
2539 * examples/hildon-app-menu-example.c (main)
2540 * src/hildon-app-menu.c
2541 * src/hildon-program.c:
2542 Updated examples and documentation.
2544 Fixes: NB#103758 (No way to obtain a menu from a
2545 HildonStackableWindow)
2547 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2552 * configure.ac: Bump version.
2553 * debian/changelog: Updates.
2555 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2557 * examples/hildon-remote-texture-example.c: Include
2558 hildon-remote-texture.h explicitely.
2559 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2560 applications not defining _XOPEN_SOURCE which don't require this header.
2562 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2564 * doc/hildon-sections.txt
2565 * src/hildon-app-menu.h
2566 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2567 New function to pop up a HildonAppMenu
2569 * src/hildon-stackable-window.c
2570 (hildon_stackable_window_toggle_menu):
2571 Use hildon_app_menu_popup() to show the menu.
2573 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2575 * src/hildon-app-menu.c (hildon_app_menu_show)
2576 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2577 menu if there's another window between it and its parent window.
2579 Fixes: NB#100468 (Application menu window is launched even when a
2580 new secondary-window/dialog is pending to be shown/realized)
2582 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2584 * src/hildon-window-stack.c (hildon_window_stack_push)
2585 (hildon_window_stack_pop_and_push):
2586 Don't forget to push/pop the first window.
2587 Reverse the window list before calling _push_list()
2589 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2591 * src/hildon-picker-button.h
2592 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2593 Remove "value_changed" slot to avoid ABI breakage
2595 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2597 * src/hildon-pannable-area.c,
2598 (hildon_pannable_area_realize),
2599 (hildon_pannable_area_unrealize),
2600 (hildon_pannable_draw_vscroll),
2601 (hildon_pannable_draw_hscroll): Changed the method to handle the
2602 GC used to draw the transparent scrollbar, this way we avoid
2603 creating the GC all the time when drawing the scrollbars.
2605 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2607 * src/hildon-pannable-area.c,
2608 (hildon_pannable_area_init),
2609 (hildon_pannable_area_remove): Removed some unnecessary casts.
2610 (hildon_pannable_area_dispose): Disconnected some signals before
2611 releasing the adjustments.
2613 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2615 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2616 Make sure that all widgets contained in the toolbar are shown.
2618 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2620 * doc/hildon-sections.txt
2621 * src/hildon-picker-button.h
2622 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2623 (_selection_changed, hildon_picker_button_on_dialog_response)
2624 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2625 New hildon_picker_button_value_changed() method.
2628 * src/hildon-picker-button-private.h
2629 * src/hildon-picker-button.c (hildon_picker_button_init)
2630 (+hildon_picker_button_disable_value_changed): Add protected
2631 function for disabling the "value-changed" signal.
2633 * src/hildon-date-button.c (hildon_date_button_set_date):
2634 Don't emit "value-changed" for each one of the three columns.
2636 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2637 before actual change of values)
2639 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2641 * src/hildon-pannable-area.c,
2642 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2643 for the treeview overshooting.
2645 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2647 * src/hildon-banner.c (+hildon_banner_bind_style):
2648 Renamed from hildon_banner_bind_label_style(), now naming the
2649 banner itself as well.
2650 (hildon_banner_show_information),
2651 (hildon_banner_show_information_with_markup),
2652 (hildon_banner_show_animation), (hildon_banner_show_progress):
2653 Name the widgets and labels, based on their type.
2655 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2658 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2660 * src/hildon-note.c (hildon_note_set_property): call
2661 hildon_note_rename() on HildonNote:note-type set.
2662 (hildon_note_rename): Name the note and its label, based on the
2663 HildonNote:note-type property.
2665 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2668 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2670 * src/hildon-pannable-area.c,
2671 (hildon_pannable_area_class_init),
2672 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2673 panning parameters, increased SPS and deceleration factor. Added
2674 also a margin to control fake directions.
2676 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2678 Patch by Sven Herzberg (sven@imendio.com)
2680 * configure.ac: Add missing AM_PROG_CC_C_0
2681 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2683 See NB#101420 (Update unit tests and fix make check)
2685 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2687 This patch was applied before but reverted because it caused
2688 problems, we have changed the main condition and tested the
2689 regressions we detected before and they work ok. We have done a
2690 complete review of the topmost algorithm in order to get a more
2693 * src/hildon-pannable-area.c,
2694 (hildon_pannable_area_get_topmost): Added a new parameter to
2695 filter the the windows that do not include those events.
2696 (hildon_pannable_area_button_press_cb),
2697 (hildon_pannable_area_button_release_cb),
2698 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2699 topmost function, we have added the new parameter.
2701 Fixes: NB#97458 (Pannable area prevents propagation of button
2704 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2706 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2707 if all columns in the selector have an item selected.
2708 (_on_dialog_response): Stop "response" signal emission if there is
2709 any selector column without selected items.
2711 Fixes: NB#101889 (Picker dialog should not close when nothing is
2712 selected in multiple selection list)
2714 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2716 * src/hildon-font-selection-dialog.c
2717 (hildon_font_selection_dialog_class_init),
2718 (hildon_font_selection_dialog_init): Remove the preview
2719 button and dialog, since previewing with default theming is likely
2720 to be overcomplicated. The :preview property has now no effect.
2721 Update documentation blurbs to inform about this.
2723 Fixes: NB#92297 (Preview content is not clearly visible for
2724 default colour text)
2726 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2728 Reviewed the geometry that handles the children size and
2729 scrollbar, now it tries a size and reviews the results depending
2730 on the scrollbars visibility.
2732 * src/hildon-pannable-area.c,
2733 (hildon_pannable_area_realize): Fixed a typo.
2734 (hildon_pannable_area_child_allocate_calculate): Added this
2735 function to calculate the child allocation.
2736 (hildon_pannable_area_size_allocate): Reviewed the allocation
2738 (hildon_pannable_area_check_scrollbars),
2739 (hildon_pannable_area_refresh): Refactored refresh function, this
2740 way we can call the code handling the scrollbars without causing a
2741 size_request, it is interesting in the allocate.
2742 (hildon_pannable_area_init): Replace the callbacks of the
2743 value_changed and changed signals to propertly deal with the
2745 (hildon_pannable_area_grab_notify),
2746 (hildon_pannable_area_initial_effect),
2747 (hildon_pannable_area_launch_fade_timeout),
2748 (hildon_pannable_area_adjust_changed),
2749 (hildon_pannable_area_adjust_value_changed),
2750 (hildon_pannable_area_redraw),
2751 (hildon_pannable_area_button_press_cb),
2752 (hildon_pannable_area_button_release_cb),
2753 (hildon_pannable_area_scroll_cb),
2754 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2755 code and use the new functions adjust_changed and
2756 adjust_value_changed.
2758 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2759 Contact editor dialog)
2761 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2766 * configure.ac: Bump version.
2767 * debian/changelog: Updates.
2769 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2771 * src/hildon-pannable-area.c,
2772 (hildon_pannable_area_get_topmost),
2773 (hildon_pannable_area_button_press_cb),
2774 (hildon_pannable_area_button_release_cb),
2775 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2776 topmost function adding the event mask. We have to try a
2777 differente approach because it is still causing problems (NB#9745,
2780 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-banner.c:
2783 Update the maximum width of timed banners.
2784 (force_to_wrap_truncated): Enforce the maximum text width if the
2787 Fixes: NB#102413 (The text margins (wrapping) in information
2788 banner should be HILDON_MARGIN_TRIPLE)
2790 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2792 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2794 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2795 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2796 bound when calculating the scroll indicator position.
2798 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2799 treat ->lower correctly)
2801 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2803 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2804 expose event handling, since it is not necessary to draw the focus
2807 Fixes: NB#102467 (Do not show highlight on the text in
2810 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2812 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2813 full height of the toolbar for the button and the label.
2815 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2817 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2818 padding before the label and after the button.
2820 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2824 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2825 Add a GtkVSeparator between the button and the back arrow.
2826 Let the button have automatic size.
2827 Set a name to the widget for theming handling.
2829 Fixes: NB#101793 (Make edit toolbar the same height as window
2830 title bar (use title area theming))
2832 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-helper.c (attach_new_color_element): Fix memory
2837 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2839 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2841 * examples/hildon-button-example.c (common_buttons_window): Don't
2844 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2846 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2847 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2849 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-gtk.c: Check that the window is realized.
2853 Fixes: NB#102225 (Crash setting the progress indicator to a non
2856 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2858 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2859 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2860 instead of modifying the one in the widget style.
2862 Fixes: NB#101043 (Second row of all the command button are
2863 displayed in transparent mode.)
2865 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2867 * src/hildon-date-button.c
2868 * src/hildon-time-button.c: Add gettext macros
2870 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2872 * src/hildon-date-button.c (hildon_date_button_new):
2873 * src/hildon-time-button.c (hildon_time_button_new_step):
2874 Use new logical strings to set the button default title.
2876 Fixes: NB#99915 (Date and Time options are not localised in Date
2879 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2881 * src/hildon-pannable-area.c
2882 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2883 the PANNING_THRESHOLD.
2885 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2887 * src/hildon-pannable-area.c,
2888 (hildon_pannable_area_class_init): Increased the maximum speed.
2889 (hildon_pannable_area_get_property),
2890 (hildon_pannable_area_set_property),
2891 (hildon_pannable_area_timeout): Added a new low friction mode, it
2892 allows the user avoid friction when launching the widget fast
2893 enough. It is interesting to traverse long lists.
2895 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2897 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2898 (+hildon_stackable_window_delete_event): Ignore delete events if
2899 the window is not the topmost one.
2901 Fixes: NB#101698 (Back button long press and delete-event handling)
2903 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2905 * src/hildon-pannable-area.c,
2906 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2907 gtk-dnd-drag-threshold, it was too big. We have defined our own
2908 dnd define and set a smaller value: PANNIG_THRESHOLD.
2910 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2912 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2913 user-defined icons, use always the default one.
2915 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2917 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2919 This patch was applied before but reverted because it caused
2920 problems, we have changed the main condition and tested the
2921 regressions we detected before and they work ok.
2923 * src/hildon-pannable-area.c,
2924 (hildon_pannable_area_get_topmost): Added a new parameter to
2925 filter the the windows that do not include those events. Added
2926 also a condition when finding the window to filter windows that do
2927 not ask for those events.
2928 (hildon_pannable_area_button_press_cb),
2929 (hildon_pannable_area_button_release_cb),
2930 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2931 topmost function, we have added the new parameter.
2933 Fixes: NB#97458 (Pannable area prevents propagation of button
2936 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2938 * tests/check-hildon-color-button.c (START_TEST): do not leak
2941 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2943 * src/hildon-font-selection-dialog.c
2944 (hildon_font_selection_dialog_get_preview_text): Return NULL
2945 instead of FALSE on the g_return_val_if_fail().
2947 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2950 * src/hildon-date-selector.c
2951 (hildon_date_selector_select_current_date):
2952 Do not compare unsigned integers to be greater than or equal 0,
2953 because it's always TRUE.
2955 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2957 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2958 (hildon_date_selector_constructor): Do not select the current
2959 date until we are handle the "changed" signal, to avoid having bogus
2960 elements in the days model.
2962 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2964 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2965 for num_days, since _month_days() can return a negative value.
2967 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2969 * src/hildon-caption.c (hildon_caption_size_allocate):
2970 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2971 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2973 Initialize allocation variables to 0, to avoid eventually using
2974 unitialized variables.
2976 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2978 * src/hildon-bread-crumb-trail.c
2979 (hildon_bread_crumb_trail_size_allocate):
2980 * src/hildon-calendar.c (hildon_calendar_set_background):
2981 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2982 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2983 * src/hildon-seekbar.c (hildon_seekbar_init):
2984 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2985 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2986 * src/hildon-touch-selector-entry.c
2987 (hildon_touch_selector_get_text_from_model):
2988 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2989 * src/hildon-window.c (hildon_window_finalize):
2991 Remove many unused variables.
2993 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2995 * src/hildon-seekbar.c: (hildon_seekbar_init),
2996 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2998 Remove unnecessary g_assert() calls.
3000 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3002 * src/hildon-caption.c: (hildon_caption_expose),
3003 (hildon_caption_set_property), (hildon_caption_init),
3004 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3005 (hildon_caption_size_request), (hildon_caption_size_allocate),
3006 (hildon_caption_forall), (hildon_caption_set_separator),
3007 (hildon_caption_activate), (hildon_caption_set_child_expand),
3008 (hildon_caption_set_label_text),
3009 (hildon_caption_get_label_alignment):
3011 Remove unnecessary g_assert() calls.
3013 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3015 * src/hildon-banner.c
3016 (hildon_banner_map, hildon_banner_init): Make banner temporary
3017 before mapping it to avoid closing other temporary windows, but
3018 make it non-temporary afterwards to avoid being closed by other
3019 non-temporary windows.
3020 (-hildon_banner_client_event, hildon_banner_init):
3021 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3023 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3026 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3031 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3033 * src/hildon-remote-texture.c
3034 * src/hildon-remote-texture.h
3035 * src/hildon-remote-texture-private.h
3036 * examples/hildon-remote-texture-example.c:
3037 Updates/fixes to remote-texture and its example.
3039 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3041 Patch by Mox Soini (ext-mox.soini@nokia.com)
3043 * src/hildon-code-dialog.c: Update logical id.
3044 * src/hildon-set-password-dialog.c: Update logical id.
3046 Fixes: NB#100646 (Logical strings is shown for ok in set
3047 password,Password needed dialogs)
3049 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3052 * src/hildon-remote-texture.c
3053 * src/hildon-remote-texture.h
3054 * src/hildon-remote-texture-private.h
3056 Added remote texture widget (for Clutter shared memory textures)
3058 * examples/hildon-remote-texture-example.c
3059 * examples/Makefile.am
3060 Added example file for remote texture usage
3062 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3064 * configure.ac: post release version bump.
3065 * debian/changelog: version bump.
3067 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3072 * configure.ac: Bump version.
3073 * debian/changelog: Updates.
3075 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3077 * src/hildon-date-selector.c (hildon_date_selector_init)
3078 (hildon_date_selector_constructor): Don't connect to the "changed"
3079 signal until the selector is completely constructed.
3081 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3083 * src/hildon-touch-selector.c: (_create_new_column),
3084 (hildon_touch_selector_append_column),
3085 (hildon_touch_selector_set_column_selection_mode),
3086 (hildon_touch_selector_set_active),
3087 (hildon_touch_selector_select_iter):
3088 Emit the HildonTouchSelector::changed signal every time selection
3089 is changed in any of the methods above. This behavior was already
3090 documented but not fully functional.
3092 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3093 selection is programmatically changed)
3095 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3097 * doc/hildon-sections.txt: Remove obsolete icon
3098 sizes from here as well.
3100 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3102 * examples/hildon-stackable-window-example.c (add_window): Remove
3105 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-app-menu.c
3108 (hildon_app_menu_show): Check whether the parent window of a menu
3109 is topmost before popping it up.
3111 Fixes: NB#100468 (Application menu window is launched even when a
3112 new secondary-window/dialog is pending to be shown/realized.)
3114 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3116 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3119 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3121 Patch by Mox Soini (ext-mox.soini@nokia.com)
3123 * src/hildon-banner.c: (hildon_banner_show_animation):
3124 use stylus size instead of obsolete note size.
3125 * src/hildon-defines.h: Update icon sizes.
3127 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3129 * src/hildon-touch-selector-entry.c:
3130 (hildon_touch_selector_entry_init): Disable unsupported
3132 (hildon_touch_selector_entry_get_text_column): Emit a warning
3133 if an unsupported input modes is used and explicitile state
3134 these modes in the documentation.
3136 Fixes: NB#99802 (Hildon touch selector entry not working properly
3137 for some of the input modes)
3139 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3141 * src/hildon-pannable-area.c,
3142 (hildon_pannable_area_init): Added the changed signal handlers of
3145 Fixes: NB#100320 (HildonPannableArea does not listen to
3146 GtkAdjustment "change" signals)
3148 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3150 * doc/hildon-sections.txt
3151 * src/hildon-window-private.h
3152 * src/hildon-window.h
3153 * src/hildon-window.c (hildon_window_init)
3154 (hildon_window_realize, hildon_window_unrealize)
3155 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3156 (hildon_window_size_request, hildon_window_size_allocate)
3157 (hildon_window_forall, hildon_window_show_all)
3158 (hildon_window_destroy, +paint_edit_toolbar)
3159 (+hildon_window_set_edit_toolbar):
3160 New hildon_window_set_edit_toolbar() method, to add a
3161 HildonEditToolbar to a window without having to pack it manually.
3163 Reorganize hildon_window_size_allocate()
3165 * src/hildon-edit-toolbar.c: Update documentation.
3167 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3168 example to use the new API.
3170 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3172 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3174 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3175 Remove from stack before calling parent's hide.
3177 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3179 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3180 window is removed from the middle of the stack, update the
3181 transiency of the previous one.
3183 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3186 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3189 block/unblock the signal handler if it's not actually being used.
3190 Fixes some critical warnings.
3192 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3194 Based on a patch by Iván Gómez (igomez@igalia.com)
3196 * src/hildon-banner.c
3200 * src/hildon-pannable-area.c
3201 * src/hildon-picker-dialog.c
3202 * src/hildon-wizard-dialog.h
3203 * src/hildon-wizard-dialog.c: Documentation updates.
3205 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3206 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3208 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3210 * configure.ac: post release version bump.
3211 * debian/changelog: version bump.
3213 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3218 * configure.ac: Bump version.
3219 * debian/changelog: Updates.
3221 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3223 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3224 a stock icon nor change the relief of the back arrow.
3226 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3227 graphics from theme)
3229 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3231 * src/hildon-button.c (hildon_button_set_alignment): Use
3232 priv->alignment if the button has no child yet.
3234 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3236 * src/hildon-button.c: (hildon_button_init): Set the
3237 button style during initialization to give it the proper
3240 Fixes: NB#99713 (HildonButton value label color is wrong)
3242 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3244 * src/hildon-touch-selector.c: Document
3245 hildon_touch_selector_center_on_selected()
3247 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3249 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3250 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3251 all menu items, but not the menu itself.
3252 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3253 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3254 items after adding them to the menu so keyboard accelerators work.
3255 (hildon_app_menu_show): Don't show the menu if it contains items
3256 but none of them are visible.
3258 * examples/hildon-app-menu-example.c (create_menu): Use
3259 gtk_widget_show_all() to show all menu items.
3261 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-picker-dialog.c:
3264 (-_update_title_on_selector_changed_cb),
3265 (-_dialog_update_title): Removed.
3266 (_select_on_selector_changed_cb), (_on_dialog_response),
3267 (on_selector_columns_changed): Do not update the dialog title.
3268 (setup_interaction_mode): Do not connect to
3269 HildonTouchSelector::changed signal if there's a "done" button, as
3270 the dialog title doesn't need to be updated.
3272 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3275 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3277 Patch by Kristian Rietveld (kris@imendio.com)
3279 * src/hildon-touch-selector.c: (_create_new_column): Use new
3280 GtkTreeView::hildon-row-tapped signal to react to user interactions
3281 instead of ::changed.
3283 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3284 with some dynamic tree model)
3286 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3288 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3289 (+screen_size_changed, +label_size_request)
3290 (hildon_note_class_init): Make the Hildon information note have a
3291 minimum height, and make its text hvae a maximum width.
3293 Fixes: NB#98614 (Hildon information note (background) should have
3294 minimum height and maximum text width)
3296 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-banner.h
3299 * src/hildon-banner.c (hildon_banner_show_information)
3300 (hildon_banner_show_informationf)
3301 (hildon_banner_show_information_with_markup): Update documentation
3302 to reflect that the icon_name parameter is not used anymore.
3303 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3304 Remove all code from these functions and mark them as deprecated.
3305 (hildon_banner_show_progress): Mark as deprecated.
3307 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3309 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3311 * src/hildon-pannable-area.c,
3312 (hildon_pannable_area_class_init),
3313 (tranparency_color),
3314 (hildon_pannable_draw_vscroll),
3315 (hildon_pannable_draw_hscroll),
3316 (hildon_pannable_area_expose_event): Added a new way to render the
3317 scrollbars of the pannable area avoiding using cairo at all. This
3318 way we improve the performance of the pannable area rendering. The
3319 cairo rendering procedure is still in the code, we can control
3320 which one to use changing the value of the define
3321 USE_CAIRO_SCROLLBARS.
3323 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3325 * configure.ac: post release version bump.
3326 * debian/changelog: version bump.
3328 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3333 * configure.ac: Bump version.
3334 * debian/changelog: Updates.
3336 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3338 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3339 banners instead of destroying them when they receive a button
3342 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3344 Reverted commit 34028, it was causing regressions, probably the
3345 topmost condition is not correct, we have to check it in more
3346 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3347 propagation of button press events)
3349 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3352 that the selection is not empty before attempting to retrieve the
3353 current ampm selection.
3355 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3357 * src/hildon-picker-button.c:
3358 (hildon_picker_button_on_dialog_response): Directly update the
3359 button contents when required instead of calling _selection_changed.
3361 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3363 * src/hildon-program.c (hildon_program_update_top_most): Update
3364 'is-topmost' property also when wm_hints is not set.
3366 Fixes: NB#98383 (is-topmost signal is not emitted when task
3367 switcher is clicked.)
3369 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3371 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3375 * src/hildon-animation-actor.c,
3376 * src/hildon-animation-actor.h: Added the animation actor class,
3377 this widget represents an animation actor for WM-assisted
3378 animation effects in the Hildon framework.
3380 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3382 * src/hildon-window-stack-private.h
3383 * src/hildon-window-stack.c
3384 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3385 Avoid calling gtk_widget_show() again indirectly from
3386 hildon_stackable_window_show()
3388 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3390 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3393 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3395 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3396 (hildon_time_selector_init): Move the construction of the hours and
3397 ampm columns to the constructor to preserve the order the columns
3400 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3402 * src/hildon-picker-dialog.c:
3403 (hildon_picker_dialog_class_init): Connect a realize method.
3404 (+hildon_picker_dialog_realize): Setup the interaction mode here
3406 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3407 yet, do it during the realize instead.
3408 (_on_dialog_response):
3409 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3410 if the widget is not realized, to avoid the dialog response before it
3413 Avoid premature responses in the HildonPickerDialog that can cause it
3414 to be hidden before it's even shown.
3416 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3418 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3419 (on_selector_columns_changed), (requires_done_button),
3420 (+prepare_action_area), (setup_interaction_mode),
3421 (_hildon_picker_dialog_set_selector):
3423 Split the interaction mode setup into preparation of the
3424 action area (prepare_action_area()) and the connection of
3425 the signals in setup_interaction_mode() and update the code to
3428 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3430 * src/hildon-pannable-area.c,
3431 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3432 per second to 15, we will check if this is ok regarding
3435 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3437 * src/hildon-pannable-area.c,
3438 (hildon_pannable_axis_scroll): Avoid resize if we already have
3439 reached overshoot_max.
3441 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3443 * src/hildon-pannable-area.c,
3444 (hildon_pannable_area_init),
3445 (hildon_pannable_area_realize),
3446 (hildon_pannable_area_size_allocate),
3447 (hildon_pannable_area_map),
3448 (hildon_pannable_area_unmap),
3449 (hildon_pannable_draw_vscroll),
3450 (hildon_pannable_draw_hscroll),
3451 (hildon_pannable_area_expose_event),
3452 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3453 pannable are to avoid the expose events go to the window and
3454 redraw the window. We save this way that part of the stack and the
3455 paint_boxes. We had to change the positions of the elements when
3458 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3460 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3461 * src/hildon-color-chooser-dialog.c:
3462 (hildon_color_chooser_dialog_init):
3463 * src/hildon-font-selection-dialog.c:
3464 (hildon_font_selection_dialog_init),
3465 (hildon_font_selection_dialog_show_preview):
3466 * src/hildon-get-password-dialog.c:
3467 * src/hildon-login-dialog.c:
3468 * src/hildon-set-password-dialog.c:
3469 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3470 * src/hildon-time-picker.c: (hildon_time_picker_init):
3472 Remove obsolete logical string IDs and update to the appropriate ones.
3474 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3476 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3478 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3479 that happens if the window hasn't been realized yet.
3481 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3482 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3484 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3486 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3487 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3490 Fixes: NB#98537 (Device hangs in account settings dialog)
3492 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3494 * configure.ac: post release version bump.
3495 * debian/changelog: version bump
3497 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3502 * configure.ac: Bump version.
3503 * debian/changelog: Updates.
3505 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3507 Added a new function to the HildonTimeButton widget that allows to
3508 change the step of the minutes in the selector associated with the
3509 button: hildon_time_button_new_step
3511 * src/hildon-time-button.c,
3512 (hildon_time_button_init),
3513 (hildon_time_button_new),
3514 (hildon_time_button_new_step):
3515 * src/hildon-time-button.h: Added the new function and refactored
3517 * examples/hildon-time-button-example.c,
3518 (main): We have replaced the function without parameters with the
3519 function with the steps set to 5
3521 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3523 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3525 * src/hildon-time-selector.c,
3526 (hildon_time_selector_class_init),
3527 (hildon_time_selector_constructor),
3528 (hildon_time_selector_get_property),
3529 (hildon_time_selector_set_property),
3530 (_create_minutes_model),
3531 (hildon_time_selector_new_step),
3532 (hildon_time_selector_set_time),
3533 * src/hildon-time-selector.h: Added a new property to the
3534 HildonTimeSelector (minutes-step), we use that property to control
3535 the steps between the minutes in the list of the selector. We have
3536 added a new function to the API to create a widget changing the
3537 step: hildon_time_selector_new_step.
3539 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3541 * src/hildon-time-selector.c,
3542 (hildon_time_selector_class_init),
3543 (hildon_time_selector_constructor),
3544 (hildon_time_selector_init): Overrided the construct function when
3545 creating the time selector object. We have moved the minutes model
3546 handling code from the init to the new construction function:
3547 hildon_time_selector_constructor.
3549 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3551 * examples/hildon-date-button-example.c: (main): Use the new
3552 hildon_date_button_new_with_year_range() method in the example.
3553 * src/hildon-date-button.c:
3554 (+hildon_date_button_new_with_year_range): New public method
3555 to conveniently create a HildonDateButton with a custom year range
3556 in its HildonDateSelector.
3557 * src/hildon-date-button.h: Add the new public method definition.
3559 Fixes: NB#97908 (Not possible to change the year range in
3560 HildonDateSelector/HildonDateButton)
3562 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3564 * src/hildon-date-selector.c:
3565 (+hildon_date_selector_set_property),
3566 (+hildon_date_selector_get_property),
3567 (hildon_date_selector_class_init): Install new properties "min-year"
3568 and "max-year" to define boundaries for the year column.
3569 (_create_year_model): Use the boundary properties to populate the model.
3570 (+hildon_date_selector_new_with_year_range): New public method to
3571 create a HildonDateSelector with a user defined year range.
3572 (hildon_date_selector_select_current_date): Use the new boundaries to
3573 calculate the iterator of current year.
3574 * src/hildon-date-selector.h: Add the new public method definition.
3576 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3578 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3579 Install a constructor method.
3580 (+hildon_date_selector_construct_ui): construct the widget.
3581 (+hildon_date_selector_constructor): new constructor.
3582 (+hildon_date_selector_init): move out widget construction code to
3583 the new constructor.
3585 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3587 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3588 that there's actually a month or year selected before obtaining them.
3589 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3590 of the HildonTouchSelector::changed signal, as it was emitted on every
3591 single item selection.
3593 Fix some warnings and possible crashers due to the selection restoring.
3595 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3597 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3598 the signal handlers only after creating the dialog instead of on every
3601 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3603 * src/hildon-button.c (hildon_button_init)
3604 * src/hildon-check-button.c (hildon_check_button_init)
3605 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3606 focus when clicked by default.
3608 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3610 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3613 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3615 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3616 Alejandro G. Castro (alex@igalia.com)
3618 * src/hildon-picker-dialog.c:
3619 (hildon_picker_dialog_class_init): install new "center-on-show"
3621 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3622 (hildon_picker_dialog_set_property): add setter code for the new
3624 (hildon_picker_dialog_get_property): add getter code for the new
3626 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3627 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3630 Fixes: NB#92849 (Selected item is not always visible when
3631 HildonTouchSelector is shown)
3633 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3635 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3636 Alejandro G. Castro (alex@igalia.com)
3638 * src/hildon-touch-selector.c:
3639 (_create_new_column): Do not connect to the "realize" signal of the
3641 (hildon_touch_selector_append_column): center on the selected items
3642 when a new column is appended.
3643 (hildon_touch_selector_select_iter): Factor out the code to select a
3644 column to hildon_touch_selector_scroll_to().
3645 (+search_nearest_element): Method to retrieve the nearest selected
3646 element to the visible area of the pannable area in a column.
3647 (+on_realize_cb): scroll to the initially selected item.
3648 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3649 the pannable area is realized, otherwise delay this until it is.
3650 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3651 selected items of a given column.
3652 (+hildon_touch_selector_center_on_selected): Public method to center
3653 all columns on the nearest selected item.
3654 * src/hildon-touch-selector.h: Add definition for
3655 hildon_touch_selector_center_on_selected().
3657 Implement public API to ensure visibility of all selected items in
3658 a HildonTouchSelector.
3660 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3662 Fixed a problem in the fading when calling the scroll_to API, and
3663 improve scrollbar fading handling.
3665 * src/hildon-pannable-area.c,
3666 (hildon_pannable_area_grab_notify): avoid the timeout when the
3668 (hildon_pannable_area_button_press_cb),
3669 (hildon_pannable_area_motion_notify_cb): Code style changes.
3670 (hildon_pannable_area_button_release_cb): Review the conditions
3671 when releasing the mouse button to avoid unrequired fading
3673 (hildon_pannable_area_scroll_to): Do not calculate and set the
3674 velocity if the scroll is not required.
3676 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3678 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3679 Don't check whether the new selector is NULL: it cannot be.
3680 Hold a reference to the selector while doing the replacement.
3682 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3684 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3685 unnecessary size_request in a removed widget.
3687 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3690 an unnecessary reference tracking that was leaking.
3692 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3694 Added delayed motion notify event handling, this way we can
3695 discard redrawing if more than 25 events arrive per second.
3697 * src/hildon-pannable-area.c,
3698 (hildon_pannable_area_init): Initialized the new private atributes
3699 controlling this timeout
3700 (hildon_pannable_area_dispose): Remove the timeout that controls
3701 the motion notify events.
3702 (hildon_pannable_area_scroll): Added a condition to control the
3703 use of the acceleration.
3704 (hildon_pannable_area_motion_event_scroll_timeout),
3705 (hildon_pannable_area_motion_event_scroll): Added this two
3706 functions, they handle the motion notify events inside the
3708 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3709 to the scroll method with the new function.
3710 (hildon_pannable_area_button_release_cb): We have to remove the
3711 timeout handler and move to the last position if the last motion
3712 events were not handled.
3714 Fixes: NB#97028 (Pannable area updates on every motion event)
3716 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3718 * src/hildon-pannable-area.c,
3719 (hildon_pannable_area_get_topmost): Added a new parameter to
3720 filter the the windows that do not include those events. Added
3721 also a condition when finding the window to filter windows that do
3722 not ask for those events.
3723 (hildon_pannable_area_button_press_cb),
3724 (hildon_pannable_area_button_release_cb),
3725 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3726 topmost function, we have added the new parameter.
3728 Fixes: NB#97458 (Pannable area prevents propagation of button
3731 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3733 * src/hildon-pannable-area.c,
3734 (hildon_pannable_area_initial_effect): Added controls before
3735 launching the timeout and the idle functions.
3736 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3737 of the method, in some situations it can return with TRUE and 0 in
3739 (hildon_pannable_area_button_press_cb): We do not need to set
3740 DELAY for fading out here.
3742 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3744 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3746 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3747 post-cleaning if the selection is not NULL.
3749 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3751 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3752 all items before restoring the selection.
3754 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3756 * src/hildon-touch-selector.c:
3757 (+hildon_touch_selector_unselect_all):
3758 * src/hildon-touch-selector.h: New API to unselect all items in a
3759 column of the touch selector.
3761 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3763 * src/hildon-pannable-area.c,
3764 (hildon_pannable_area_redraw): Added a call to the refresh
3765 function inside the redraw because apparently in some cases the
3766 change in the adjustment does not imply a size allocate.
3768 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3769 despite the view not being scrollable)
3771 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3773 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3774 leak. Check for NULL before attempting to set the window title.
3776 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3778 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3779 whether to show or not the 'Done' button each time the dialog is
3780 shown, as it depends on the HildonTouchSelector selection mode.
3782 Fixes: NB#96226 (In multiple selection mode Done button is shown
3783 sometimes in listpicker)
3785 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3787 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3788 for the number of columns in the HildonTouchSelector more than once.
3790 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3792 * src/hildon-touch-selector.c: Minor documentation fixes.
3794 * src/hildon-picker-dialog.c (+_dialog_update_title)
3795 (_select_on_selector_changed_cb)
3796 (_update_title_on_selector_changed_cb)
3797 (on_selector_columns_changed): Update dialog title when there's no
3798 'Done' button and also when the number of columns in the selector
3802 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3803 (+_selection_changed, hildon_picker_button_on_dialog_response)
3804 (hildon_picker_button_selector_selection_changed)
3805 (+hildon_picker_button_selector_columns_changed)
3806 (hildon_picker_button_set_selector): Update button value and emit
3807 'value-changed' when the number of columns in the selector
3811 Fixes: NB#96225 (Dialog titles are not shown according to the
3812 values selected in the list picker)
3814 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3816 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3817 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3818 New "arrow-width" and "arrow-height" style properties to set the
3819 size of the arrow button.
3820 Set name of arrow button ("hildon-edit-toolbar-arrow").
3822 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3823 graphics from theme)
3825 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3827 * src/hildon-picker-button.c:
3828 (hildon_picker_button_selector_selection_changed): Use
3829 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3830 the dialog is present.
3832 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3833 the selection is accepted in the dialog)
3835 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3837 * src/hildon-color-chooser.h
3838 * src/hildon-color-chooser-dialog.h:
3839 Added G_BEGIN_DECLS and G_END_DECLS
3841 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3843 (_clean_current_selection): plug a leak in the list.
3845 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3847 * src/hildon-picker-dialog.c:
3848 (+free_path_list): Method to free a GList of GtkTreePaths.
3849 (_clean_current_selection), (_save_current_selection),
3850 (_restore_current_selection): Save the current selection in
3851 as a list of lists, to support multiple selection properly.
3853 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3855 patch by Claudio Saavedra (csaavedra@igalia.com)
3857 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3858 Store the press position.
3859 (+hildon_text_view_button_release_event): If the release position is
3860 close enough to the press position, move the cursor here. Otherwise,
3862 (hildon_text_view_class_init): Override GtkTextView press, release, and
3863 motion event handlers, disabling this way text selection through
3864 pointer interaction, and allowing the container widget to handle the
3867 Fixes: NB#95828 (HildonTextView functionality)
3869 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3871 Based on a patch by Iván Gómez (igomez@igalia.com)
3873 * src/hildon-button.[ch]
3874 * src/hildon-calendar.c
3875 * src/hildon-check-button.c
3876 * src/hildon-date-editor.c
3877 * src/hildon-date-selector.c
3878 * src/hildon-picker-button.c
3879 * src/hildon-time-editor.c
3880 * src/hildon-time-selector.c
3881 * src/hildon-touch-selector.[ch]:
3882 Documentation updates
3884 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3886 * src/hildon-pannable-area.c,
3887 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3888 threshold, it was required due to X events handling.
3890 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3892 * src/hildon-pannable-area.c,
3893 (hildon_pannable_area_grab_notify),
3894 (hildon_pannable_area_initial_effect),
3895 (hildon_pannable_area_button_press_cb),
3896 (hildon_pannable_area_button_release_cb),
3897 (hildon_pannable_area_scroll_cb),
3898 (hildon_pannable_area_scroll_to): Review the timeout management of
3899 the scrollbar, the frecuency was incorrectly set.
3901 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3903 * src/hildon-picker-button.c:
3904 (+hildon_picker_button_on_dialog_response),
3905 (hildon_picker_button_clicked): Present the dialog instead of
3906 running it with gtk_dialog_run().
3908 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3911 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3913 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3914 (hildon_app_menu_finalize): When a window is hidden it doesn't
3915 emit notify::is-topmost, so make sure than the menu also
3916 disappears in that case.
3917 (parent_window_topmost_notify): Renamed from parent_window_hidden
3919 Fixes: NB#94460 (stackable window's menu is not closed when its
3922 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3924 * src/hildon-touch-selector-entry.c:
3925 (+hildon_touch_selector_entry_set_input_mode),
3926 (+hildon_touch_selector_entry_get_input_mode):
3927 * src/hildon-touch-selector-entry.h: New methods to access the input
3928 mode in the selector's entry.
3930 Fixes: NB#93410 (API required for setting IM mode in
3931 HildonTouchSelectorEntry)
3933 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3935 * configure.ac: post release version bump.
3936 * debian/changelog: version bump
3938 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3943 * configure.ac: Bump version.
3944 * debian/changelog: Updates.
3946 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3948 * src/hildon-touch-selector.c:
3949 (_hildon_touch_selector_has_multiple_selection): No need
3950 to initialize the variables here.
3952 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3954 * src/hildon-note-private.h
3955 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3956 (hildon_note_finalize, hildon_note_rebuild): Close information
3957 notes when they receive a button press.
3959 Fixes: NB#89890 (Information notes does not get disappeared after
3962 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3964 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3965 mark from the wizard title, as it's not really necessary. Also,
3966 do not display the page title if not set.
3968 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3970 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3971 (parent_window_hidden): Use the window's "is-topmost" property to
3972 detect when to hide the menu.
3974 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3976 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3977 (hildon_app_menu_finalize): If the parent window of the menu is
3978 hidden, hide the menu too.
3980 Fixes: NB#94460 (stackable window's menu is not closed when its
3983 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3986 * debian/libhildon1-examples.install
3988 * examples/Makefile.am:
3989 Use dh_install to install all examples.
3990 Use DEB_SRCDIR instead of defining SOURCE_DIR
3992 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3994 * configure.ac: post release version bump.
3995 * debian/changelog: version bump
3997 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4002 * configure.ac: bump version
4003 * debian/changelog: updates
4004 * debian/control: bump gtk+ dependency
4006 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4008 patch by Christian Dywan (christian@imendio.com)
4010 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4011 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4013 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4015 * src/hildon-check-button.c (hildon_check_button_init)
4016 (hildon_check_button_class_init, hildon_check_button_style_set)
4017 (hildon_check_button_apply_style):
4018 New "checkbox-size" style property.
4020 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4021 larger / configurable size)
4023 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4025 * configure.ac: post release version bump.
4026 * debian/changelog: version bump
4028 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4033 * configure.ac: bump version
4034 * debian/changelog: updates
4036 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4038 * doc/hildon-sections.txt
4039 * src/hildon-pannable-area.c
4040 * src/hildon-program.c
4041 * src/hildon-time-editor.c
4042 * src/hildon-touch-selector-entry.c:
4044 More documentation updates.
4046 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4048 * doc/hildon-sections.txt
4049 * src/hildon-caption.c
4050 * src/hildon-code-dialog.c
4051 * src/hildon-color-button.c
4052 * src/hildon-controlbar.c
4053 * src/hildon-date-editor.c
4054 * src/hildon-date-selector.c
4055 * src/hildon-edit-toolbar.c
4056 * src/hildon-find-toolbar.c
4057 * src/hildon-font-selection-dialog.c
4059 * src/hildon-program.c
4060 * src/hildon-range-editor.c
4061 * src/hildon-seekbar.c
4062 * src/hildon-time-editor.c
4063 * src/hildon-time-selector.c
4064 * src/hildon-volumebar-range.c
4065 * src/hildon-volumebar.c
4066 * src/hildon-vvolumebar.c
4067 * src/hildon-weekday-picker.c
4068 * src/hildon-window.c
4069 * src/hildon-wizard-dialog.c:
4071 Lots of documentation fixes.
4073 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4075 Patch contributed by Iván Gómez (igomez@igalia.com)
4077 * src/hildon-check-button.c:
4078 * src/hildon-date-button.c:
4079 * src/hildon-date-selector.c:
4080 * src/hildon-dialog.c:
4081 * src/hildon-edit-toolbar.c:
4082 * src/hildon-entry.c:
4083 * src/hildon-picker-button.c:
4084 * src/hildon-program.c:
4085 * src/hildon-text-view.c:
4086 * src/hildon-time-button.c:
4087 * src/hildon-touch-selector-entry.c:
4088 * src/hildon-window-stack.c:
4090 Add more "since" tags to the new API.
4092 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4094 * doc/hildon-sections.txt: Add below method.
4095 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4096 version for the hildonized scale.
4097 * src/hildon-gtk.h: Add the definition.
4099 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4101 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4103 * doc/hildon-sections.txt: Add missing entries for new methods.
4105 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4107 Added API to pannable are in order to get its adjustments. We
4108 added two properties to manage the values we had in the private
4111 * src/hildon-pannable-area.c:
4112 (hildon_pannable_area_class_init): Added hadjustment and
4113 vadjustment properties in order to expose horizontal and vertical
4115 (hildon_pannable_area_get_property),
4116 (hildon_pannable_area_set_property): Added code to handle the new
4118 (hildon_pannable_area_get_hadjustment),
4119 (hildon_pannable_area_get_vadjustment): API functions to get the
4121 * src/hildon-pannable-area.h:
4122 (hildon_pannable_area_get_hadjustment),
4123 (hildon_pannable_area_get_vadjustment): API functions to get the
4126 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4128 Fixed some leaks, after valgrinding.
4130 * src/hildon-touch-selector.c:
4131 (_default_print_func): Fixed a leak.
4132 (hildon_touch_selector_append_column): Fixed a leak.
4133 * src/hildon-date-button.c:
4134 (hildon_date_button_init): Fixed a leak.
4135 * src/hildon-date-selector.c
4136 (hildon_date_selector_finalize): Fixed a leak.
4138 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4140 Based on a patch by Christian Dywan (christian@imendio.com)
4142 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4144 * src/hildon-gtk.h: Add definition.
4146 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4148 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4150 * src/hildon-picker-button.c: (hildon_picker_button_init),
4151 (hildon_picker_button_new): Set the HildonButton::style property
4152 in the init method, to propagate the value to the derived classes.
4154 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4156 * src/hildon-button.c: (hildon_button_class_init): Do not make
4157 the "style" property a construct property.
4159 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4161 * src/hildon-wizard-dialog.h
4162 * src/hildon-wizard-dialog.c
4163 (hildon_wizard_dialog_set_forward_page_func)
4164 * src/hildon-pannable-area.h
4165 * src/hildon-pannable-area.c
4166 (hildon_pannable_area_set_size_request_policy):
4167 Documentation fixes.
4169 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4171 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4173 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4175 * doc/hildon-sections.txt: Added sections file.
4177 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4180 * src/*.[ch]: Updates.
4182 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4184 * examples/hildon-progress-indicator-example.c: new file
4185 * examples/Makefile.am: include the new example program
4187 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4189 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4191 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4193 * configure.ac: post release version bump
4194 * debian/changelog: version bump
4196 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4201 * configure.ac: bump version
4202 * debian/changelog: updates
4203 * debian/control: bump gtk+ dependency
4205 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4207 * src/hildon-dialog.c: Mark as deprecated.
4208 * src/hildon-dialog.h: Mark as deprecated.
4209 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4210 from HildonDialog and still work, even if
4211 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4212 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4214 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4215 maemo changes) instead)
4217 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4219 * src/hildon-pannable_area.h:
4220 * src/hildon-pannable_area.c:
4221 (hildon_pannable_area_class_init),
4222 (hildon_pannable_area_set_property),
4223 (hildon_pannable_area_get_property),
4224 (hildon_pannable_area_size_request),
4225 (hildon_pannable_area_get_size_request_policy),
4226 (hildon_pannable_area_set_size_request_policy): Added new API
4227 allowing applications to control the request policy. Now they can
4228 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4229 children allocation (HILDON_MOVEMENT_CHILDREN).
4231 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4235 (hildon_gtk_tree_view_set_ui_mode)
4236 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4237 mode of treeviews and iconviews.
4239 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-touch-selector-entry.c:
4242 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4243 of a GtkEntry to get proper theming.
4245 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4246 widget, not GtkEntry)
4248 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4250 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4251 no HildonWizardDialogPageFunc.
4253 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4255 Patch contributed by Iván Gómez (igomez@igalia.com)
4257 * src/hildon-app-menu.c:
4258 * src/hildon-button.c:
4259 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4260 * src/hildon-stackable-window.c:
4261 * src/hildon-time-selector.c:
4262 * src/hildon-touch-selector.c:
4263 * src/hildon-window.c:
4265 Add more "since" tags to the new API in hildon 2.2.
4267 2008-12-05 Tim Janik <timj@imendio.com>
4269 Patch contributed by Christian Dywan (christian@imendio.com)
4271 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4272 HildonSizeType, which are supplied by Gtk+ now.
4274 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4276 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4277 (with maemo changes) instead)
4279 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4281 Patch contributed by Iván Gómez (igomez@igalia.com)
4283 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4286 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4288 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4289 (some_page_func), (main): Update the example to use a
4290 HildonWizardDialogPageFunc function.
4292 * src/hildon-wizard-dialog-private.h: Add private data for
4293 the HildonWizardDialogPageFunc function usage.
4295 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4296 (destroy), (hildon_wizard_dialog_init), (response),
4297 (hildon_wizard_dialog_set_forward_page_func):
4298 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4299 that applications can use to stop a HildonWizardDialog to jump to
4302 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4305 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4307 * src/hildon-program.h
4308 * src/hildon-program-private.h
4309 * src/hildon-program.c (hildon_program_init)
4310 (hildon_program_set_common_app_menu)
4311 (hildon_program_get_common_app_menu):
4312 New API for setting a common HildonAppMenu for all
4313 HildonStackableWindows registered with the HildonProgram.
4315 * src/hildon-stackable-window.c
4316 (hildon_stackable_window_toggle_menu):
4317 Use the common HildonAppMenu if a window doesn't have a specific
4320 * src/hildon-app-menu-private.h
4321 * src/hildon-app-menu.c
4322 (hildon_app_menu_get_parent_window):
4323 Function to obtain the window a HildonAppMenu is attached to.
4324 (hildon_app_menu_set_parent_window):
4325 Hide the menu if the parent window is set to NULL.
4327 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4329 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4330 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4331 search widget to popup.
4333 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4335 * configure.ac: post release version bump
4336 * debian/changelog: version bump
4338 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4343 * configure.ac: bump version
4344 * debian/changelog: updates
4346 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4348 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4350 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4351 (hildon_window_stack_window_realized)
4352 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4353 Set the leader GdkWindow when a window is stacked and realized,
4354 unset it when it's unstacked.
4355 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4357 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4359 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4361 * src/hildon-stackable-window.h
4362 * src/hildon-window-stack.h:
4363 Protect definition of HildonWindowStack using the preprocessor.
4365 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4367 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4368 Fix warning if all menu items are hidden.
4370 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4372 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4374 * src/hildon-controlbar.c:
4375 * src/hildon-hvolumebar.c:
4376 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4377 Multiple scale size defines updates.
4379 Fixes: NB#94322 (Scale Updates)
4381 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4383 * examples/hildon-app-menu-example.c (create_menu)
4384 Show items after adding them to the menu, as in the future the
4385 menu will no longer call gtk_widget_show() on the added items.
4387 * src/hildon-app-menu.c:
4388 Update example as explained above.
4390 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4392 * src/hildon-app-menu.c
4393 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4394 Make sure that all menu items have finger height.
4396 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4398 * src/hildon-picker-dialog.c:
4399 (_on_dialog_response), (_save_current_selection),
4400 (_restore_current_selection), (_clean_current_selection),
4401 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4402 Defined new functions in order to save the current internal selector
4403 selection previous open the dialog, in case that the use cancel the
4404 interaction, so the widget restores the previous selection.
4406 Fixes: NB#92032 (In calendar application, date values in 'new event'
4409 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4411 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4413 * src/hildon-button.c: Add a reference to the button examples in
4414 hildon-button-example.c
4416 * examples/hildon-button-example.c: Added examples of the most
4417 common button layouts.
4419 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4421 * src/hildon-app-menu.c (hildon_app_menu_show)
4422 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4424 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4426 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4428 * src/hildon-picker-dialog.c:
4429 (hildon_picker_dialog_init): Initialize the signal id for
4430 HildonTouchSelector::columns-changed.
4431 (+on_selector_columns_changed): Set up the interaction mode everytime a
4432 column is added or removed from the HildonTouchSelector.
4433 (_hildon_picker_dialog_set_selector): Connect to
4434 HildonTouchSelector::columns-changed and keep track of it.
4436 Make sure to update the interaction mode of the dialog everytime a
4437 column is added or removed in the HildonTouchSelector.
4439 Fixes: NB#93228 (Done button is not shown always in listpicker)
4441 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4443 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4444 a new ::columns-changed signal.
4445 (hildon_touch_selector_append_column): Emit ::columns-changed.
4446 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4448 Add a ::columns-changed signal, emitted when the number of columns in a
4449 HildonTouchSelector changes.
4451 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4453 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4454 (_hildon_picker_dialog_set_selector): Factor out the code
4455 to set up the dialog interaction mode.
4457 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4459 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4460 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4461 to signal_changed_id.
4463 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4465 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4468 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4470 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4471 Updated the logical ids related to ampm format, as now it is required to
4472 show it correctly localized even on languages with no default
4473 abbreviations for am or pm
4474 (_check_am_pm_format): check correctly the 24h format gconf property
4476 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4478 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4480 * src/hildon-button.c: Documentation updates.
4482 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4484 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4485 * src/hildon-caption.c: (hildon_caption_class_init):
4486 * src/hildon-color-button.c: (hildon_color_button_class_init):
4487 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4488 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4489 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4490 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4492 Remove deprecated GTK+ marshalers and replace them with the ones
4493 provided by GLib, for those available, add a marshaler for
4494 BOOLEAN:VOID, which is not available in GLib, and use it.
4496 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4498 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4499 the text from the previous column if there is no
4500 HildonTouchSelectorColumn::text-property set.
4502 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4504 * src/hildon-button.h
4505 * src/hildon-button.c (hildon_button_set_property)
4506 (hildon_button_get_property, hildon_button_class_init)
4507 (hildon_button_set_style, hildon_button_get_style):
4508 New "style" property to change the visual appearance of the
4511 * src/hildon-picker-button.c (hildon_picker_button_new):
4512 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4514 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4515 HildonButton look like PickerButton)
4517 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4519 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4520 column while building the default string.
4522 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4524 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4525 scroll indicator by default.
4527 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4529 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4531 * src/hildon-main.c: Fix the documentation for hildon_init()
4533 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4535 * doc/hildon-docs.sgml
4539 * src/hildon-window-stack-private.h
4540 * src/hildon-window-stack.h
4541 * src/hildon-window-stack.c:
4542 New HildonWindowStack object, that adds support for multiple
4543 stacks of windows per process.
4545 * src/hildon-stackable-window-private.h
4546 * src/hildon-stackable-window.h
4547 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4548 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4549 (hildon_stackable_window_show, hildon_stackable_window_hide)
4550 (hildon_stackable_window_class_init)
4551 (hildon_stackable_window_init):
4552 Use HildonWindowStack for stack management.
4554 * src/hildon-program.c (hildon_program_pop_window_stack)
4555 (hildon_program_peek_window_stack)
4556 (hildon_program_go_to_root_window):
4557 Add a fallback implementation to the deprecated functions using
4560 * examples/hildon-stackable-window-example.c:
4561 Use the new HildonWindowStack API.
4563 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4565 * src/hildon-stackable-window-private.h
4566 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4567 (hildon_stackable_window_hide, hildon_stackable_window_init):
4568 Remove all window stack management.
4570 * src/hildon-program-private.h
4571 * src/hildon-program.h
4572 * src/hildon-program.c (hildon_program_init)
4573 (hildon_program_pop_window_stack)
4574 (hildon_program_peek_window_stack)
4575 (hildon_program_go_to_root_window):
4576 Remove all window stack management and mark functions as
4579 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4581 * src/hildon-app-menu.c (hildon_app_menu_realize):
4582 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4584 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4586 * configure.ac: post release version bump
4587 * debian/changelog: version bump
4589 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4594 * configure.ac: bump version
4595 * debian/changelog: updates
4597 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4599 Based on initial code by Christian Dywan (christian@imendio.com)
4601 * doc/hildon-docs.sgml: Add section for hildon-main.
4602 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4603 * src/Makefile.am: Add new hildon-main.[ch]
4604 * src/hildon-defines.h: Update the icon sizes.
4605 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4606 new library initialization files and register icon sizes.
4607 * src/hildon-main.h: New declarations.
4608 * src/hildon.h: Include hildon-main.h
4610 Add new initialization functions to the library. These methods
4611 will register the hildon specific icon sizes and can be used in the
4612 future for other hildon specific bits.
4614 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4616 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4618 * src/hildon-window.c: (hildon_window_realize),
4619 (hildon_window_notify), (-hildon_window_update_title): Do not set
4620 the application name in the window title.
4622 Fixes: NB#89754 (Applications shouldn't display their names in the
4625 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4627 * src/hildon-note-private.h:
4628 * src/hildon-note.c: (hildon_note_set_property),
4629 (hildon_note_get_property), (hildon_note_class_init),
4630 (hildon_note_init), (hildon_note_finalize),
4631 (hildon_note_new_confirmation_with_icon_name),
4632 (hildon_note_new_information_with_icon_name):
4634 No need to mark as deprecated the actual code. Revert
4635 to avoid missing symbols in widgets using deprecated API.
4637 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4639 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4641 * src/hildon-volumebar.h
4642 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4643 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4645 * src/hildon-helper.h
4646 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4647 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4649 * examples/Makefile.am:
4650 Deprecate hildon-insensitive-example
4652 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4654 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4656 * examples/hildon-pannable-area-buttons-scroll-example.c:
4657 Make all buttons finger height
4659 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4661 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4663 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4664 update the day model only if it is really required, and to avoid the
4665 full-reconstruction aproach. Now it only add or remove the required days.
4667 The purpose of this is avoid superfluous HildonTouchSelector::changed
4670 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4671 with strange parameters)
4673 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4675 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4677 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4678 the WINDOW_TYPE property.
4680 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4682 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4685 Fix dependency to allow parallel compilation with make -jX
4687 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4689 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4690 color frame and some minor tweaks to make it more consistent with
4693 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4694 highlighted but not visible)
4696 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4698 * examples/Makefile.am: Fixed typo in the Makefile.am.
4700 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4702 Reviewed the use of MAEMO_GTK define, now we add the define in the
4703 compilation line, and we also add it to the pc file.
4705 * configure.ac: Added MAEMO_GTK define to the compilation command
4706 and removed it from the config.h.
4708 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4709 do not have to take care about this define if the library was
4713 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4715 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4717 * examples/Makefile.am,
4718 * examples/hildon-pannable-area-buttons-scroll-example.c,
4719 * examples/hildon-pannable-area-gesture-signals-example.c,
4720 * examples/hildon-pannable-area-scroll-jump-example.c,
4721 * examples/hildon-pannable-area-tree-view-example.c:
4722 Renamed the pannable area examples, now they have more meaningful
4725 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4727 * src/hildon-touch-selector.c:
4728 (hildon_touch_selector_set_column_selection_mode): Used of
4729 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4730 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4731 to avoid re-seting the same selection mode.
4733 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4734 breaks HildonPickerDialog)
4736 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4738 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4739 conditional in the Makefile.am
4741 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4743 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4744 Remove unused methods.
4746 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4748 * src/hildon-button.c (hildon_button_init):
4749 Make button images center-aligned by default
4751 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4754 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4755 activated, we have to think about how to deal with both defines
4756 MAEMO_GTK and MAEMO_CHANGES.
4758 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4760 * examples/hildon-app-menu-example.c (create_menu): Make all
4761 buttons finger size.
4763 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4765 Fixed the compilation without maemo gtk adding ifdefs with
4766 MAEMO_GTK define to the code, we have to check this version more
4769 * examples/Makefile.am: Added control to avoid some examples that
4770 just make sense with maemo gtk.
4773 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4774 hildon modes with the define.
4776 * examples/hildon-edit-toolbar-example.c,
4777 (create_icon_view): Create the icon view without hildon-gtk
4778 helpers if we are not using maemo gtk.
4780 * src/hildon-touch-selector.c,
4781 (_create_new_column): Create the treeview without hildon-gtk
4782 helpers if we are not using maemo gtk.
4784 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4786 * src/hildon-pnnable-area.c,
4787 (hildon_pannable_area_dispose),
4788 (hildon_pannable_area_button_press_cb),
4789 (hildon_pannable_area_child_mapped),
4790 (hildon_pannable_area_add),
4791 (hildon_pannable_area_remove): Added code to control the position
4792 of the event_window when adding and removing children from the
4793 pannable. We have to raise the event window when the child is
4796 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4797 selection mode using custom widget inside pannable)
4799 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4801 * configure.ac: post release version bump
4802 * debian/changelog: version bump
4804 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4809 * configure.ac: bump version
4810 * debian/changelog: updates
4812 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4814 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4815 search mode, in order to avoid lose the focus on the treeview when
4816 a hw key (like enter) is pressed.
4818 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4819 in HildonDateSelector dialog)
4821 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4823 * debian/rules: Added --enable-maintainer-mode
4824 * Makefile.am: Added ACLOCAL_AMFLAGS
4826 This allows to properly regenerate the Makefiles if you modify the
4827 configure.ac or any Makefile.am.
4829 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4831 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4832 properties, not needed at all.
4834 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4836 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4838 * src/hildon-note.c: (hildon_note_set_property),
4839 (hildon_note_get_property), (hildon_note_class_init),
4840 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4841 (hildon_note_new_confirmation_add_buttons): Remove icons.
4842 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4843 (hildon_note_new_information_with_icon_name): Deprecate.
4844 (hildon_note_new_confirmation): Act directly, without calling
4845 the deprecated constructor.
4846 (hildon_note_new_information): Act directly, without calling
4847 the deprecated constructor.
4848 * src/hildon-note.h: Mark deprecate methods as such.
4849 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4850 not run tests on the deprecated methods if built with deprecation
4853 Fixes: NB#91688 (Never show icons in information notes/confirmation
4856 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4858 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4859 (hildon_app_menu_key_press): Remove leftover usage of the
4860 private structure in HildonAppMenu struct.
4861 * src/hildon-app-menu.h: Remove leftover private structure
4862 from the HildonAppMenu struct.
4864 Fixes a crasher when using the HildonAppMenu.
4866 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4868 * src/hildon-picker-dialog.c: Use appropriate logical id
4869 for the default "Done" text.
4871 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4873 * configure.ac: post release version bump
4874 * debian/changelog: version bump
4876 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4878 Modified the way to scroll to the current selection just when the touch
4879 selector is shown on the screen, avoiding a g_idle. Added too a property
4880 to configure this behaviour. See hildon_pannable_area_jump_to_child
4881 documentation for more information.
4883 * src/hildon-touch-selector.c
4884 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4885 Added 'initial-scroll' property
4886 (hildon_touch_selector_set_property): Added
4887 (hildon_touch_selector_map): Removed as not required anymore
4888 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4889 only a concrete column, instead of iterate along all the columns
4891 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4896 * configure.ac: bump version
4897 * debian/changelog: updates
4899 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4901 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4902 compilation time warnings.
4904 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4906 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4907 the default value for HildonPannableArea::mov-mode to
4908 HILDON_PANNABLE_AREA_MODE_VERT.
4910 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4912 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4914 Reverting following commit:
4916 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4918 * src/hildon-app-menu-private.h
4919 * src/hildon-app-menu.[ch]
4920 * src/hildon-button.[ch]
4921 * src/hildon-check-button.[ch]
4922 * src/hildon-entry.[ch]
4923 * src/hildon-pannable-area.[ch]
4924 * src/hildon-text-view.[ch]:
4925 Added private field to the object's structure.
4927 because it causes an ABI breakage. We will need to introduce these
4928 changes later at some point. See NB#91636 for an extensive
4929 explanation and status.
4931 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4933 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4935 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4936 remove special cases that are no longer necessary.
4938 Fixes: NB#91016 (Change toolbar sizes, simplification)
4940 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4942 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4943 is shown in the cancel note.
4945 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4947 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4948 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4949 (hildon_seekbar_init): Remove steppers, remove expose event.
4950 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4952 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4954 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4956 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4957 label font to "SmallSystemFont" for vertically arranged buttons.
4959 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4962 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4964 * src/hildon-check-button.c
4965 (hildon_check_button_set_active, hildon_check_button_clicked):
4966 Don't access private parts directly, use getters instead.
4968 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4970 * src/hildon-check-button.c (hildon_check_button_new):
4971 Align the contents of the check button to the left.
4973 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4975 * src/hildon-pannable-area.c,
4976 (hildon_pannable_area_scroll_to),
4977 (hildon_pannable_area_jump_to),
4978 (hildon_pannable_area_scroll_to_child),
4979 (hildon_pannable_area_jump_to_child): Replace the mapped
4980 precondition of these functions with the realized, it is the
4981 correct state of the widget in this case. Changed the
4982 documentation according to this modification.
4984 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4986 Added a new EXTRA_CFLAGS option to add the deprecated define to
4987 the compilation command. This way we can avoid using the define in
4988 the documentation compilation.
4990 * configure.ac: Defined EXTRA_CFLAGS.
4992 * examples/Makefile.am:
4994 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4996 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4998 * src/hildon-picker-dialog.c:
4999 Defined a utility macro with the desired touch selector height
5000 Removed currently unused separator, and title_label variables from
5002 (hildon_picker_dialog_init): Removed code related to the creation
5003 of unused private variables title_label and separator.
5004 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5005 to ensure correct visualization of the touch selector inside the dialog.
5006 * src/hildon-touch-selector.c
5007 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5008 ensure a concrete height of the widget.
5010 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5013 * tests/Makefile.am:
5015 Remove spurious whitespaces.
5017 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5019 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5020 compilation warning after the cancel button removal.
5022 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5024 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5026 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5027 Makefile.am, that way we can choose not to compile some examples
5028 and tests of the deprecated widgets.
5030 * examples/Makefile.am: Divided the sources in deprecated and
5033 * src/Makefile.am: Added undef statement of the deprecated
5034 symbol to the enums file generation process.
5036 * src/hildon-color-chooser-dialog.c
5037 * src/hildon-color-chooser-dialog.h
5038 * src/hildon-color-button.c
5039 * src/hildon-color-button.h
5040 * src/hildon-color-chooser.c
5041 * src/hildon-color-chooser.h
5042 * src/hildon-controlbar.c
5043 * src/hildon-controlbar.h
5044 * src/hildon-date-editor.c
5045 * src/hildon-date-editor.h
5046 * src/hildon-hvolumebar.c
5047 * src/hildon-hvolumebar.h
5048 * src/hildon-private.c
5049 * src/hildon-private.h
5050 * src/hildon-range-editor.c
5051 * src/hildon-range-editor.h
5052 * src/hildon-seekbar.c
5053 * src/hildon-seekbar.h
5054 * src/hildon-time-editor.c
5055 * src/hildon-time-editor.h
5056 * src/hildon-time-picker.c
5057 * src/hildon-time-picker.h
5058 * src/hildon-volumebar.c
5059 * src/hildon-volumebar.h
5060 * src/hildon-vvolumebar.c
5061 * src/hildon-vvolumebar.h
5062 * src/hildon-bread-crumb-trail.h
5063 * src/hildon-bread-crumb-trail.c
5064 * src/hildon-calendar-popup.c
5065 * src/hildon-calendar-popup.h
5066 * src/hildon-weekday-picker.c:
5067 * src/hildon-weekday-picker.h:
5068 * src/hildon-bread-crumb-widget.c:
5069 * src/hildon-bread-crumb-widget.h:
5070 * src/hildon-bread-crumb.c:
5071 * src/hildon-bread-crumb.h:
5072 * src/hildon-calendar.c:
5073 * src/hildon-calendar.h:
5074 * src/hildon-caption.c:
5075 * src/hildon-code-dialog.c:
5076 * src/hildon-code-dialog.h:
5077 * src/hildon-font-selection-dialog.c:
5078 * src/hildon-font-selection-dialog.h:
5079 * src/hildon-get-password-dialog.c:
5080 * src/hildon-get-password-dialog.h:
5081 * src/hildon-login-dialog.c:
5082 * src/hildon-login-dialog.h:
5083 * src/hildon-number-editor.c:
5084 * src/hildon-number-editor.h:
5085 * src/hildon-set-password-dialog.c:
5086 * src/hildon-set-password-dialog.h:
5087 * src/hildon-sort-dialog.c:
5088 * src/hildon-sort-dialog.h: This is the list of deprecated
5091 * src/hildon-touch-selector.c:
5092 * src/hildon-window.c: Added undef statement to avoid compilation
5095 * tests/Makefile.am: Divided the sources in deprecated and
5098 * tests/check_test.c,
5099 (configure_tests): Marked the deprecated code that was adding
5100 suites with deprecated tests.
5102 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5104 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5106 * src/hildon-touch-selector.c: (_default_print_func): Do not
5107 duplicate a string returned by gtk_tree_model_get(), it is already
5110 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5113 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5115 * src/hildon-pannable-area.c
5116 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5117 method, it had problems when adding a widget with viewport the
5118 second time. Now checks if it already has a viewport and uses it.
5120 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5123 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5125 * src/hildon-pannable-area.c,
5126 (hildon_pannable_area_scroll_to),
5127 (hildon_pannable_area_jump_to),
5128 (hildon_pannable_area_scroll_to_child),
5129 (hildon_pannable_area_jump_to_child): Added a precondition to the
5130 scroll and jump to functions: the widget must be mapped before we
5131 can safely call these functions. We have also added documentation
5132 to the functions to explain how to use them in this situation.
5135 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5137 Reviewed the threading handling of the pannable widget, we have
5138 used the gdk_threads_add_timeout function instead of the usual
5139 glib handlers. This avoids some problems with the threads.
5141 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5142 (hildon_pannable_area_initial_effect),
5143 (hildon_pannable_area_scroll_indicator_fade),
5144 (hildon_pannable_area_button_press_cb),
5145 (hildon_pannable_area_timeout),
5146 (hildon_pannable_area_motion_notify_cb),
5147 (hildon_pannable_area_button_release_cb),
5148 (hildon_pannable_area_scroll_cb),
5149 (hildon_pannable_area_scroll_to): Removed the
5150 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5151 gdk_threads_add_timeout.
5153 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5155 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5160 * configure.ac: bump version
5161 * debian/changelog: updates
5163 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5165 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5166 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5167 * src/hildon-color-chooser-dialog.c:
5168 (hildon_color_chooser_dialog_init):
5169 * src/hildon-font-selection-dialog.c:
5170 (hildon_font_selection_dialog_init):
5171 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5173 Remove all cancel/close-like dialogs, as these are not going to be
5176 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5178 * src/hildon-note.c: (hildon_note_rebuild),
5179 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5182 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5184 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5186 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5187 sure all buttons are shown, even the Cancel/Close-like ones.
5189 Fixes: NB#90861 (Custom Confirmation dialogs should be
5190 protected from cancel button removal)
5192 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5194 * debian/control: Change libhildon1-examples dependency from libhildon1
5196 * debian/libhildon1-examples.install
5198 * Makefile.am: Modified the final install directory for the examples on
5199 package libhildon1-examples
5200 * Makefile.static: Update clean target in order to remove all the binary
5203 Changes suggested by Claudio after review new libhildon1-examples package
5205 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5207 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5208 * src/hildon-touch-selector.c: Ditto.
5210 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5212 * debian/control: Added new package libhildon1-examples, in order to pack
5213 the current hildon examples as documentation
5214 * debian/rules: Not to compress .c files, modify some includes on the
5215 examples (as normally are compiled locally, but when installed it will
5216 require to include the installed libhildon1 library), and rename
5218 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5219 install all the example files on the new example package
5220 * examples/Makefile.static: Added static makefile that can be used to
5221 compile the examples, once installed the new example package
5222 * examples: Most of the examples were modified in order to grant that
5223 all use only '#include "hildon.h"', in order to be easy to prepare
5224 it on the example package
5226 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5229 * debian/libhildon1-dev.install
5230 * debian/libhildon1-doc.install:
5231 Move all gtk-doc files to a separate libhildon1-doc package.
5233 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5235 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5237 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5239 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5241 * debian/rules: Fixed a error in order to avoid unnecessary calls
5242 to autogen.sh on package building
5244 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5246 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5248 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5250 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5253 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5255 * src/hildon-picker-button.c
5256 (hildon_picker_button_finalize):
5257 Free priv->done_button_text
5259 * src/hildon-time-button.c
5260 (hildon_time_button_set_time)
5261 * src/hildon-picker-button.c
5262 (hildon_picker_button_clicked)
5263 (hildon_picker_button_selector_selection_changed)
5264 (hildon_picker_button_set_selector)
5265 * src/hildon-date-button.c
5266 (hildon_date_button_set_date):
5267 Free strings returned by hildon_touch_selector_get_current_text()
5269 * src/hildon-button.c (hildon_button_construct_child):
5270 Fix leaks in priv->image and priv->label_box
5272 Fixes: NB#90535 (Memory leak in picker button)
5274 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5276 * src/hildon-button.c: (hildon_button_get_property): Do not access
5277 private elements directly, use getters instead.
5279 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5281 * src/hildon-app-menu-private.h
5282 * src/hildon-app-menu.c
5283 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5284 Store the menu's parent window.
5286 * src/hildon-stackable-window.c
5287 (hildon_stackable_window_toggle_menu)
5288 (hildon_stackable_window_finalize):
5289 Set the menu's parent window when the menu is shown, unset it when
5292 * src/hildon-app-menu.c
5293 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5294 (hildon_app_menu_class_init):
5295 Send unhandled keyboard accelerators to the parent window.
5297 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5299 * src/hildon-stackable-window.c
5300 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5302 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5304 * configure.ac: post release version bump
5306 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5309 * configure.ac: Bump version
5310 * debian/changelog: Updates
5311 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5314 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5316 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5319 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5320 GtkMenu with Hildon style.
5322 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5324 * src/hildon-picker-button.c:
5325 (hildon_picker_button_set_done_button_text): Set the dialog's
5326 done button text here as well.
5328 Fixes: NB#90232 (Picker button does not set the label on done button
5329 for the second time)
5331 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5333 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5336 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5338 * src/hildon-app-menu.c (hildon_app_menu_insert)
5339 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5340 the HildonAppMenu to be activatable using keyboard accelerators
5341 when the menu is not being shown.
5343 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5345 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5347 * src/hildon-stackable-window.c
5348 (hildon_stackable_window_show):
5349 Don't hide old windows automatically when new windows are shown:
5350 this is now a task for the window manager.
5351 (hildon_stackable_window_class_init)
5352 (hildon_stackable_window_hide):
5353 Remove windows from the stack everytime they're hidden.
5354 (hildon_stackable_window_realize):
5355 Don't change the _NET_WM_WINDOW_TYPE property. Use
5356 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5357 it as a stackable window.
5359 * src/hildon-program.c
5360 (hildon_program_pop_window_stack):
5361 Just hide the window to remove it from the stack.
5362 (hildon_program_go_to_root_window):
5363 Don't call gtk_widget_show(), this is now a task for the window
5366 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5368 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5370 * src/hildon-button.c
5371 (hildon_button_construct_child):
5372 Don't pack anything in the button until text or image are
5373 set. This allows adding a custom child after creating the button
5374 with hildon_button_new().
5375 (hildon_button_finalize, hildon_button_class_init)
5376 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5377 alignment and the label box even when they're not packed in the
5380 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5382 * src/hildon-touch-selector.h:
5383 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5384 currently the type definition was using GTK_TYPE_VBOX
5385 * src/hildon-touch-selector.c:
5386 Added some implementation notes in order to clarify that any other widget
5387 added without the column related API will not be included on the
5388 selection logic, and how the widget is freed, as some people ask about
5390 (hildon_touch_selector_remove): Reimplemented in order to free properly
5391 the column related data when you remove the private hbox.
5392 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5393 to get a proper HildonTouchSelectorColumn documentation
5395 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5397 * src/hildon-touch-selector-entry.c:
5398 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5399 text in the GtkEntry and there is no item selected. Fixes a
5402 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5404 * src/hildon-app-menu-private.h
5405 * src/hildon-app-menu.[ch]
5406 * src/hildon-button.[ch]
5407 * src/hildon-check-button.[ch]
5408 * src/hildon-entry.[ch]
5409 * src/hildon-pannable-area.[ch]
5410 * src/hildon-text-view.[ch]:
5411 Added private field to the object's structure.
5413 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5415 * configure.ac: post-release version bump
5417 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5421 * configure.ac: pre-release version bump
5423 * debian/changelog: updates.
5425 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5427 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5428 Disconnect the handler for HildonTouchSelector::changed.
5430 (hildon_picker_button_selector_selection_changed): Update the button
5431 value if the selection change was not triggered by the
5434 (hildon_picker_button_set_selector): connect to
5435 HildonTouchSelector::changed.
5437 Fixes: NB#89650 (Picker button is not updated, when selection in
5438 selector has changed)
5440 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5442 * src/hildon-picker-dialog.c
5443 (hildon_picker_dialog_realize): Removed as not required
5444 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5445 * src/hildon-picker-button.c
5446 (_current_selector_empty): New function, checks if the selector is empty
5447 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5448 if the current selector is empty, in order to avoid to show the dialog
5449 close the dialog in this case (and shows a g_warning).
5451 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5453 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5455 * src/hildon-pannable-area.c,
5456 (hildon_pannable_area_scroll): Added clause to stop movement when
5457 the child of pannable is smaller than one page.
5458 (hildon_pannable_area_scroll_to): Added conditions to avoid
5459 starting the scrolling movement if the child is smaller than one
5460 page, the complete child is in the screen, we do not have to move.
5462 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5464 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5466 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5467 this is managed automatically by the widget when the size of the
5470 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-picker-button.c
5473 (hildon_picker_button_set_done_button_text): Make a copy of the
5474 text, and free the previous value.
5476 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5478 * src/hildon-touch-selector-entry.c:
5479 (hildon_touch_selector_entry_print_func): Return the selected row's
5480 text if the entry is empty.
5482 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5485 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5487 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5489 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5492 * src/hildon-check-button.h
5493 * src/hildon-check-button.c
5494 * examples/hildon-check-button-example.c:
5495 HildonCheckButton is now a new widget. 'toggled' signal added.
5497 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5499 * src/hildon-program-private.h
5500 * src/hildon-program.c (hildon_program_init)
5501 (hildon_program_finalize): Removed unused variables group_leader
5502 and name from HildonProgramPrivate.
5504 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5506 * src/hildon-check-button.c (hildon_check_button_set_active)
5507 (hildon_check_button_get_active, hildon_check_button_new): Use
5508 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5510 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5512 * src/hildon-touch-selector.h
5513 (hildon_touch_selector_set_column_attributes): added deprecation
5514 guard HILDON_DISABLE_DEPRECATED
5515 * src/hildon-time-selector.c
5516 (hildon_time_selector_set_time)
5517 (hildon_time_selector_get_time): Fixed a typo on documentation
5518 * src/hildon-touch-selector.c: update HildonTouchSelector and
5519 HildonTouchSelectorColumn documentation
5520 * src/hildon-touch-selector-entry.c: update "text-column" property
5522 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5523 to be added to the general documentation.
5525 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5527 * examples/hildon-pannable-area-example-4.c,
5529 * examples/hildon-pannable-area-example.c,
5530 (main): Modified the code in order to use the container add, with
5531 viewport treeviews could have problems if they are really big.
5533 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5535 * src/hildon-weekday-picker.c,
5536 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5537 the agreement regarding deprecation in the library.
5539 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5541 * examples/hildon-picker-button-multicolumn-example.c:
5542 (main): Use custom "done" button text.
5544 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5545 (hildon_picker_button_set_property),
5546 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5547 (hildon_picker_button_init),
5548 (+hildon_picker_button_get_done_button_text),
5549 (+hildon_picker_button_set_done_button_text): New methods to customize
5550 the "done" button label in the launched HildonPickerDialog. Also,
5553 * src/hildon-picker-button.h: add the public API.
5555 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5557 * src/hildon-date-selector.h:
5558 * src/hildon-picker-dialog.h:
5559 * src/hildon-time-selector.h:
5560 * src/hildon-touch-selector-column.h:
5561 * src/hildon-touch-selector.h:
5563 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5564 declarations. Fixes gtk-doc warnings.
5566 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5568 * src/hildon-picker-dialog.h
5569 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5570 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5572 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5573 long text is set as label for done button)
5575 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5577 * src/hildon-dialog.c (hildon_dialog_add_button):
5578 Set fixed width to all buttons in the HildonDialog.
5580 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5582 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5584 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5585 Set widget name using class name plus "-finger" or "-thumb".
5587 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5589 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5590 'clicked' when the state of the button is manually changed.
5592 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5594 * src/hildon-app-menu.c (hildon_app_menu_realize)
5595 (hildon_app_menu_unrealize, hildon_app_menu_init)
5596 (hildon_app_menu_class_init, item_visibility_changed):
5597 Change the menu layout when the size of the screen changes.
5598 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5599 Show warning only when changing the number of colums using the
5602 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5604 * debian/compat: Set to 5
5605 * debian/control: Update dependencies.
5606 * debian/libhildon1-dbg.install: Remove.
5607 * debian/libhildon1-dev.install: Update according to cdbs paths.
5608 * debian/libhildon1.install: Update according to cdbs paths.
5609 * debian/rules: Switch to cdbs.
5611 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5613 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5614 'item' variable renamed to 'filter'
5616 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5618 * src/hildon-app-menu.c (hildon_app_menu_insert)
5619 (hildon_app_menu_add_filter, remove_item_from_list)
5620 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5621 Don't leak hidden items when the menu is destroyed.
5623 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5625 * src/hildon-app-menu.c (hildon_app_menu_insert)
5626 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5627 (hildon_app_menu_set_columns, item_visibility_changed)
5628 (filter_visibility_changed, hildon_app_menu_repack_filters)
5629 (hildon_app_menu_repack_items):
5630 Repack items and filters separately.
5632 Don't repack all items, change only the ones that are needed to
5635 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5637 * src/Makefile.am: added hildon-touch-selector-column.h
5639 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5641 * src/hildon-touch-selector.c: added the property "text-column" to the
5642 class HildonTouchSelectorColumn, and related get/set functions
5643 (_default_printf_func): updated to use "text-column" property
5644 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5645 "text-column" in his documentation, as this is now included on
5646 HildonTouchSelectorColumn. The get/set_property can still be used,
5647 working as a wrapper to the concrete column "text-column" property
5648 (_text_column_modified): callback added in order to handle the signal
5649 "notify::text-column" of the concrete HildonTouchSelectorColumn
5650 (hildon_touch_selector_entry_get_text_column)
5651 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5652 modified in order to use the HildonTouchSelectorColumn "text-column"
5654 * src/hildon-time-selector.c:
5655 * src/hildon-date-selector.c:
5656 * examples/hildon-touch-selector-example.c
5657 * examples/hildon-touch-selector-multi-cells-example.c
5658 * examples/hildon-picker-button-multicolumn-example.c
5659 Set the right value to "text-column" property on the creation of a new
5660 column using hildon_touch_selector_append_column()
5662 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5664 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5666 * src/hildon-app-menu.c
5667 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5668 updating the layout of the menu, don't create all widgets again,
5669 just repack the items in their new places.
5671 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5673 * src/hildon-time-selector.c
5674 (hildon_time_selector_get_time)
5675 (hildon_time_selector_set_time)
5676 Added documentation of these public methods
5678 * src/hildon-date-button.h
5679 * src/hildon-touch-selector-column.h
5680 * src/hildon-time-button.h
5681 * src/hildon-picker-dialog.h
5682 * src/hildon-time-selector.h
5683 * src/hildon-picker-button.h
5684 * src/hildon-touch-selector.h
5685 * src/hildon-time-picker.h
5686 * src/hildon-date-selector.h
5687 * src/hildon-touch-selector-entry.h
5688 Modified in order to use hildon-widgets code style
5690 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5692 Added deprecated support to the compilation process using
5693 HILDON_DISABLE_DEPRECATED
5695 * configure.ac: Added the --disable-deprecated to the configure
5698 * src/hildon-weekday-picker.c:
5699 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5700 to use the deprecated support. We will update the other deprecated
5701 widgets status in a new patch.
5703 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5705 * configure.ac: Fixed typo with fatal warnings support, the
5706 variable name was not correct
5708 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5710 * src/hildon-app-menu.c
5711 * src/hildon-program.c: Update documentation.
5713 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5715 * configure.ac: Post-release version bump.
5717 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5722 * configure.ac: Pre-release version bump.
5723 * debian/changelog: Updates.
5725 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5727 * NEWS: Update news for previous releases.
5729 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5731 * examples/hildon-touch-selector-multi-cells-example.c:
5732 (create_selector): Update the example to use
5733 hildon_touch_selector_append_column() with a NULL renderer and set
5734 the renderers later.
5735 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5736 passed a NULL renderer. This is documented behavior now.
5738 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5739 This must be used if the developer wants full control on the layout of
5740 the renderers to be added to the column.
5742 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5744 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5746 * src/hildon-touch-selector.c: Documentation fixes.
5748 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5750 * src/hildon-wizard-dialog-private.h: Remove image and box.
5751 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5752 (hildon_wizard_dialog_set_property), (response): Completely remove
5753 image/icon support, and the containers required for the layout.
5755 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5757 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5759 * src/hildon-app-menu.c: Updated documentation.
5761 * src/hildon-stackable-window.c
5762 (hildon_stackable_window_set_main_menu): Unref the old menu after
5763 ref'ing the new one.
5765 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5767 * src/hildon-stackable-window.c
5768 (hildon_stackable_window_set_main_menu): Unref the previous menu
5769 instead of destroying it.
5771 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5772 floating reference and set has_user_ref_count to FALSE to make
5773 HildonAppMenu act like a normal ref-counted widget and not a
5776 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5779 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5781 * src/hildon-touch-selector-column.h: new file
5782 * src/hildon-touch-selector.h
5783 * src/hildon-touch-selector.c
5784 Implemented GtkCellLayout interface, in order to allow to configure
5785 the cell layout on each individual selector column
5786 (hildon_touch_selector_set_column_attributes): marked as deprecated
5787 * examples/hildon-touch-selector-multi-cells-example.c
5788 Example of how to use the GtkCellLayout interface on the selector
5790 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5792 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5794 * src/hildon-app-menu.h
5795 * src/hildon-app-menu.c
5796 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5797 (hildon_app_menu_append, hildon_app_menu_prepend):
5798 New methods to prepend, insert and move items in the menu.
5800 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5802 * src/hildon-wizard-dialog.c:
5804 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5806 (create_title): Update logical IDs and related code.
5807 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5809 * src/hildon-wizard-dialog.h: Note that
5810 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5811 point, as it is not used anymore.
5813 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5815 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5817 * src/hildon-note.c:
5818 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5819 shown. Do not display an icon in confirmation notes nor information
5821 (hildon_note_set_button_text): Update logical ID for cancel button.
5823 Fixes: NB#88850 (Update HildonNote button strings + signals)
5825 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5827 * src/hildon-stackable-window.c
5828 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5830 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5832 * src/hildon-app-menu-private.h
5833 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5834 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5835 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5836 temporary property 'columns' to change the number of columns.
5838 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5840 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5842 * examples/hildon-note-example.c: (on_information_clicked),
5843 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5844 debugging information.
5845 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5847 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5848 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5849 in order to close: this will be handled by the WM from now on.
5851 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5853 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-app-menu-private.h
5856 * src/hildon-app-menu.c
5857 (hildon_app_menu_append, hildon_app_menu_add_filter)
5858 (button_visibility_changed, hildon_app_menu_apply_style)
5859 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5860 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5861 layout everytime a button (item or filter) is shown or hidden.
5863 * src/hildon-stackable-window.c
5864 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5867 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5869 * src/hildon-touch-selector.c:
5870 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5871 that the treeview inside the touch selector is in fremantle hildon mode
5872 * examples/hildon-date-button-example.c
5873 * examples/hildon-picker-button-multicolumn-example.c
5874 * examples/hildon-touch-selector-entry-example.c
5875 * examples/hildon-touch-selector-example.c
5876 * examples/hildon-time-button-example.c
5877 * examples/hildon-picker-button-example.c:
5878 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5880 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5882 * examples/hildon-text-view-example.c: (main): Remove the
5883 gtkrc bits, now handled by the theme.
5885 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5887 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5890 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5892 * po/Makefile.am: Install properly the mo files.
5893 * po/en_GB.po: Update translation, to ease testing purposes.
5895 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5897 * examples/hildon-picker-button-example.c: (main): Select an item
5898 in the selector before setting it to the button.
5900 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5902 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5903 Update button's value if the selector has an item active.
5905 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5906 'value' with the selector)
5908 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5910 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5911 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5912 (hildon_picker_button_class_init): Plug the finalize method.
5913 (hildon_picker_button_set_selector): If there's a previously set
5914 selector, unref'it before setting a new one.
5916 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5917 HildonTouchSelector)
5919 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5921 * src/hildon-touch-selector-entry.c:
5922 (hildon_touch_selector_entry_changed): Check if there is no text
5923 selected before setting the entry text.
5926 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5928 * src/hildon-touch-selector.h
5929 * src/hildon-touch-selector.c
5930 (hildon_touch_selector_get_active)
5931 (hildon_touch_selector_set_active): New methods to set/get the
5932 index of the selected item.
5934 * src/hildon-picker-button.h
5935 * src/hildon-picker-button.c
5936 (hildon_picker_button_get_active)
5937 (hildon_picker_button_set_active): New methods to set/get the
5938 index of the selected item.
5940 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5942 * configure.ac: post-release version bump.
5944 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5948 * configure.ac: Pre-release version bump.
5949 * debian/changelog: Updates.
5950 * debian/control: Add myself as maintainer and depend on l10n
5953 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-window.c
5956 (hildon_window_set_main_menu)
5957 * src/hildon-stackable-window.c
5958 (hildon_stackable_window_set_main_menu):
5959 Updated documentation.
5961 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5963 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5964 Don't free selector->priv manually.
5967 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5970 (hildon_gtk_window_set_progress_indicator):
5971 * src/hildon-gtk.h: Added the new API
5972 hildon_gtk_window_set_progress_indicator, it changes the state of
5973 the window progress hint.
5975 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5977 * src/hildon-button.c
5978 * src/hildon-stackable-window.c: Minor documentation updates.
5980 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5982 * src/hildon-stackable-window.c: Updated documentation.
5984 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5986 * src/hildon-defines.h: Update margins definitions
5987 to the Fremantle sizes.
5990 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5992 * src/hildon-touch-selector.c,
5993 (_hildon_touch_selector_set_model): Cleaning the code after
5994 review, removed g_print and #if 0 from the code.
5996 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5998 * src/hildon-edit-toolbar.c: Update documentation.
6000 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6002 * src/hildon-check-button.h
6003 * src/hildon-check-button.c
6004 (hildon_check_button_set_label, hildon_check_button_get_label)
6005 * examples/hildon-check-button-example.c
6006 (button_clicked_cb):
6007 Removed deprecated methods.
6009 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6011 * src/hildon-text-view.c:
6012 Add sample code to the documentation.
6014 * src/hildon-entry.h
6015 * src/hildon-text-view.h:
6016 Minor cosmetic changes.
6018 * src/hildon-entry.c:
6019 Add sample code to the documentation.
6020 (hildon_entry_init, hildon_entry_refresh_contents):
6021 Don't allow NULL values in the placeholder.
6023 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6025 * doc/hildon-docs.sgml
6027 * examples/Makefile.am
6028 * examples/hildon-text-view-example.c
6030 * src/hildon-text-view.c
6031 * src/hildon-text-view.h
6033 New HildonTextView widget, with example.
6035 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6037 * po/POTFILES.in: Add missing files with translatable strings.
6038 Partially fixes NB#88287.
6040 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6042 * examples/hildon-pannable-area-example-2.c: (main): No need to
6043 set the cellrenderer height inside hildon touch lists, the theme does
6046 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6048 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6049 they are integrated in the theme.
6051 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6053 * examples/hildon-entry-example.c: Update the example adding
6054 widgets to modify the text and the placeholder of the HildonEntry.
6056 * src/hildon-entry.c: Show the placeholder everytime the widget
6057 is empty and loses the focus.
6059 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6061 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6063 * src/hildon-pannable-area.c,
6064 (hildon_pannable_area_size_request): Fixed bug in height
6065 requisition, avoid increasing size and add border twice.
6067 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6069 * configure.ac: postrelease version bump.
6071 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6075 * configure.ac: Prerelease version bump.
6076 * debian/changelog: update.
6077 * debian/rules: make -dbg package contain useful debugging symbols.
6079 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6081 * src/hildon-dialog.h
6082 * src/hildon-dialog.c
6083 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6084 New methods to add buttons with finger size.
6085 (hildon_dialog_new_with_buttons):
6086 Create buttons with finger size.
6088 * examples/hildon-dialog-example.c (main): Use HildonDialog
6089 methods to add buttons.
6091 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6093 * src/hildon-entry.c: Updated HildonButton documentation.
6095 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6097 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6098 button value label with (FALSE, FALSE) to prevent NB#88126 from
6101 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6103 * examples/hildon-pannable-area-example.c,
6104 (main): Removed examples panning a vbox inside a pannable
6105 area. Check bug NB#87965
6107 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6109 Patch contributed by Kris Rietveld (kris@imendio.com)
6111 * src/hildon-pannable-area.c,
6112 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6113 get_size and get_position, this saves an X server roundtrip.
6115 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6117 * doc/hildon-docs.sgml
6119 * examples/Makefile.am
6120 * examples/hildon-entry-example.c
6122 * src/hildon-entry.c
6123 * src/hildon-entry.h
6125 New HildonEntry widget, with example.
6127 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6129 * src/hildon-button.c (hildon_button_construct_child): Pack the
6130 image with expand == fill == FALSE. This is a workaround for a bug
6133 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6135 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6136 labels for the text column, to make it more look more dynamic.
6138 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6140 * src/hildon-time-selector.c
6141 Define gettext auxiliar macro N_
6142 (_create_minutes_model)
6143 (_create_hours_model)
6144 (_create_ampm_model): use of strftime in order to fill the model
6145 * src/hildon-date-selector.c
6146 (hildon_date_selector_finalize):
6147 (_locales_init): remove the logic related to get the name of the months
6148 using nl_langinfo, as it is not required anymore
6150 (_create_year_model)
6151 (_create_month_model)
6152 (_update_day_model): use of strftime in order to fill the model properly
6155 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6157 * src/hildon-button.h
6158 * src/hildon-button.c (hildon_button_get_image): New method to
6161 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6163 * src/hildon-touch-selector.c:
6164 (hildon_touch_selector_remove_column): Remove from the correct parent
6165 and also remove the list element and free it.
6168 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6170 * src/hildon-time-selector.c
6171 (_create_hours_model): change the range on 12h ampm format in order to use
6172 a 12-11 range instead of previous 01-12 range
6173 (hildon_time_selector_set_time): change the way to select the current time
6174 on 12h ampm format, due the change on the range
6175 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6178 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6180 * src/hildon-touch-selector.c
6181 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6182 in order to allow use this function on multiple row selection mode if
6183 the column is different that the first one
6186 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6188 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6189 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6191 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6193 * src/hildon-date-selector.h: clean some comments, now on the .c
6194 * src/hildon-date-selector.c
6195 (hildon_date_selector_select_month): first implementation
6196 (hildon_date_selector_select_day): added documentation, reimplemented
6197 using hildon_date_selector_select_current_date to avoid repeat code
6200 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6202 Reviewed interaction logic based on device experiences, refactored
6205 * src/hildon-pannable-area.c,
6206 (hildon_pannable_area_class_init): Updated default vmax speed.
6207 (hildon_pannable_area_calculate_velocity): Added this function, it
6208 avoids duplicate valocity calculation. Adjusted calculation to
6209 avoid problems with zero dist events.
6211 (hildon_pannable_area_motion_notify_cb): Now we use the
6212 calculate_velocity function.
6214 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6216 * src/hildon-date-selector.c
6217 (hildon_date_selector_select_current_date): fix the day range check
6218 as it failed using the last day of the current month
6221 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6223 * src/hildon-touch-selector.c
6224 (hildon_touch_selector_get_num_columns): added a parameter validation
6227 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6229 * examples/Makefile.am
6230 * examples/hildon-edit-toolbar-example.c: Example of the
6231 HildonEditToolbar widget.
6233 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6235 * configure.ac: postrelease version bump.
6237 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6241 * configure.ac: prerelease version bump.
6242 * debian/changelog: update.
6244 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6246 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6247 renderer to display stock icons in the touch list. Also, set the sizes
6248 to the recommended in the style guide.
6250 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6251 * src/hildon-touch-selector.h
6252 (hildon_touch_selector_set_active_iter): renamed, now is
6253 hildon_touch_selector_select_iter
6254 (hildon_touch_selector_get_active_iter): renamed, now is
6255 hildon_touch_selector_get_selected
6256 (hildon_touch_selector_unselect_iter): added
6257 * src/hildon-touch-selector.c
6258 Update after API modification (methods renamed)
6259 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6260 order to avoid problems selecting multiple elements on the column
6261 (hildon_touch_selector_unselect_iter): added the implementation
6262 * src/hildon-time-selector.c
6263 * src/hildon-date-selector.c
6264 * src/hildon-touch-selector-entry.c
6265 Update methods calls after hildon-touch-selector.h API modification (methods
6268 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6270 * src/hildon-stackable-window.c
6271 (hildon_stackable_window_finalize): Call the parent class's finalize.
6273 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6275 * examples/hildon-touch-selector-example.c: (create_selector): Use
6276 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6279 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6281 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6282 set a cell background color, to respect theming.
6284 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6286 * doc/hildon-docs.sgml
6289 * src/hildon-edit-toolbar.c
6290 * src/hildon-edit-toolbar.h
6291 * src/hildon.h: New HildonEditToolbar widget.
6293 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6295 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6298 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6299 * src/hildon-touch-selector.c
6300 (_create_new_column): use g_object_set instead of two g_object_set_property
6302 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6303 * src/hildon-touch-selector.c
6304 (_create_new_column): use of hildon_gtk_tree_view_new to create
6305 the treeview, instead of use directly g_object_new
6306 (_create_new_column): update the property name "vindicator-mode" for the
6307 new one "vscrollbar-policy"
6308 * examples/hildon-date-button-example.c
6309 * examples/hildon-picker-button-multicolumn-example.c
6310 * examples/hildon-touch-selector-entry-example.c
6311 * examples/hildon-touch-selector-example.c
6312 * examples/hildon-time-button-example.c
6313 * examples/hildon-picker-button-example.c
6314 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6315 to all the treeviews inside a pannable area.
6317 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6319 * src/hildon-button.h
6320 * src/hildon-button.c (hildon_button_init)
6321 (hildon_button_set_arrangement, hildon_button_set_alignment)
6322 (hildon_button_set_title_alignment)
6323 (hildon_button_set_value_alignment)
6324 (hildon_button_set_image_alignment)
6325 (hildon_button_construct_child): New methods to set the alignment
6326 of the individual components of the button (title, value,
6327 image). Also, new method to alter the xscale and yscale properties
6328 of the GtkAlignment inside the button, so more complex layouts can
6331 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6333 * src/hildon-button.c (hildon_button_style_set)
6334 (hildon_button_class_init, hildon_button_set_arrangement)
6335 (hildon_button_construct_child): Apply style properties
6336 correctly. Use the 'image-spacing' style property too.
6338 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6340 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6341 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6344 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6346 * src/hildon-pannable-area.c,
6347 (hildon_pannable_area_size_request): Fixed problem with
6348 pannable-area size_request.
6350 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6352 Added management for the grab-focus to a child widget, like a
6353 range, we need to fade out the scrollbar when releasing.
6355 * src/hildon-pannable-area.c,
6356 (hildon_pannable_area_init): Connected the grab-focus signal to
6358 (hildon_pannable_area_grab_notify): Added this function in order
6359 to manage the situation when the grab-focus ends. We have to
6360 fade-out the scrollbar.
6362 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6364 * src/hildon-app-menu.c: Minor documentation update.
6366 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6368 * src/hildon-app-menu.c
6369 * examples/hildon-app-menu-example.c (create_menu): Update
6370 examples and documentation to explain how to connect callbacks.
6372 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6374 * examples/hildon-button-example.c
6375 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6376 hildon_stackable_window_new instead of gtk_window_new
6378 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6380 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6381 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6382 (hildon_pannable_area_set_property),
6383 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6384 (hildon_pannable_area_unrealize),
6385 (hildon_pannable_area_size_request),
6386 (hildon_pannable_area_size_allocate),
6387 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6388 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6389 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6390 (hildon_pannable_area_initial_effect),
6391 (hildon_pannable_area_redraw),
6392 (hildon_pannable_area_scroll_indicator_fade),
6393 (hildon_pannable_area_expose_event),
6394 (hildon_pannable_area_get_topmost), (synth_crossing),
6395 (hildon_pannable_area_button_press_cb),
6396 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6397 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6398 (hildon_pannable_area_motion_notify_cb),
6399 (hildon_pannable_area_button_release_cb),
6400 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6401 (hildon_pannable_area_remove),
6402 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6403 chage the code layout to a more GtkWidget like. Review the use of
6406 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6408 * examples/hildon-pannable-area-example-4.c,
6409 (main): Modified the name of the hindicator_mode to
6412 * src/hildon-pannable-area.c,
6413 (hildon_pannable_area_class_init),
6414 (hildon_pannable_area_motion_notify_cb),
6415 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6416 we have reduced the amount of signals and managed reviewed its
6417 rationale. Changed the default decelerate value.
6419 (hildon_pannable_area_add),
6420 (hildon_pannable_area_redraw): Refactored functions.
6422 (hildon_pannable_area_init),
6423 (hildon_pannable_area_get_property),
6424 (hildon_pannable_area_set_property):
6425 (hildon_pannable_draw_vscroll),
6426 (hildon_pannable_draw_hscroll),
6427 (hildon_pannable_area_initial_effect),
6428 (hildon_pannable_area_expose_event),
6429 (hildon_pannable_area_scroll),
6430 (hildon_pannable_area_button_press_cb),
6431 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6432 and vindicator_mode with hscrollbar_policy and
6433 vscrollbar_policy. Replaced hscroll and vscroll with
6434 hscroll_visible and vscroll_visible.
6436 (hildon_pannable_area_refresh): Refactor the function, remove
6437 variables and check the calls to this function, added resize
6438 conditions in case the children change their layout.
6440 (hildon_pannable_area_size_request): Added more detailed
6441 size_request calculation.
6444 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6446 * src/hildon-color-chooser.c
6447 (init_borders): use the correct gtk_border_free instead of g_free, to
6448 avoid a crash when this widget is used (ie: the three color selection
6451 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6453 * src/hildon-check-button.c,
6454 (hildon_check_button_set_active): Fixed problem when setting the
6455 active value, the widget was not redrawn.
6457 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6459 * src/hildon-pannable-area.c,
6460 (hildon_pannable_area_refresh),
6461 (hildon_pannable_area_scroll),
6462 (hildon_pannable_area_motion_notify_cb): Small code style change.
6464 (hildon_pannable_area_class_init): Default initial_hint set to
6465 FALSE, it is not in the specs.
6467 (hildon_pannable_area_initial_effect),
6468 (hildon_pannable_area_expose_event),
6469 (hildon_pannable_area_map),
6470 (hildon_pannable_area_init): Moved the launching point of the
6471 initial effect, it was in map but the sizes where not correct in
6472 that method so we do not know if we have the reproduce it. Now it
6473 is placed in the expose_event method and uses a variable to
6474 reproduce it just once.
6476 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6478 * src/hildon-pannable-area.c,
6479 (hildon_pannable_draw_vscroll),
6480 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6481 position allowed for the scrollbars.
6483 (hildon_pannable_area_size_allocate): Small style change.
6485 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6487 * src/hildon-pannable-area.c,
6488 (hildon_pannable_area_scroll_indicator_fade),
6489 (hildon_pannable_area_button_press_cb),
6490 (hildon_pannable_area_button_release_cb),
6491 (hildon_pannable_area_scroll_cb),
6492 (hildon_pannable_area_expose_event),
6493 (hildon_pannable_area_init): Added the define parameter
6494 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6495 and refactor the fade variable.
6497 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6499 * src/hildon-pannable-area.c,
6500 (hildon_pannable_area_redraw),
6501 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6502 lines, we were reimplemeting the redraw code.
6504 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6506 * src/hildon-pannable-area.c,
6507 (hildon_pannable_area_scroll_cb),
6508 (hildon_pannable_area_realize),
6509 (hildon_pannable_area_class_init): Added scroll_event management
6510 for pannable area, now we can scroll the usual desktop method.
6512 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6513 initialization of the parameters should depend on idle_id.
6515 (hildon_pannable_area_init),
6516 (hildon_pannable_area_map): Small code style modifications
6518 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6520 * src/hildon-pannable-area.c
6521 (hildon_pannable_area_button_press_cb),
6522 (hildon_pannable_area_motion_notify_cb),
6523 (hildon_pannable_area_button_release_cb),
6524 (hildon_pannable_area_size_allocate),
6525 (hildon_pannable_area_scroll_to): Improved the timeouts
6526 management, we avoid creating them each time.
6528 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6530 * src/hildon-pannable-area.c:
6531 (hildon_pannable_area_refresh),
6532 (hildon_pannable_area_motion_notify_cb),
6533 (hildon_pannable_area_class_init):
6534 * src/hildon-pannable-area.h:
6535 * src/hildon-touch-selector.c
6536 (_create_new_column):
6537 * examples/hildon-pannable-area-example-4.c:
6538 (horizontal_movement),
6539 (vertical_movement),
6541 Replaced the names of enums in the HildonPannableArea:
6542 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6543 HILDON_MOVEMENT_MODE_*
6544 - HILDON_PANNABLE_AREA_MOV_* ->
6546 - Removed HildonPannableAreaIndicatorMode, now we
6549 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6551 * examples/hildon-pannable-area-touch-grid-example.c
6552 * examples/hildon-pannable-area-touch-list-example.c: Fix
6553 compilation warnings.
6555 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6557 * src/hildon-gtk.c (hildon_gtk_button_new)
6558 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6559 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6560 images overriding the value of the "gtk-button-images" setting.
6562 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6564 * src/hildon-check-button.c (hildon_check_button_new):
6565 Instead of using a custom container, display the label and the
6566 checkbox using the standard GtkButton API.
6568 * examples/hildon-check-button-example.c (main): Don't use
6569 hildon_check_button_set_label() anymore
6571 * src/hildon-check-button.h
6572 * src/hildon-check-button.c
6573 (hildon_check_button_set_label, hildon_check_button_get_label):
6574 Set as deprecated, now we're using gtk_button_{get,set}_label()
6576 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6578 * src/hildon-pannable-area.c,
6579 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6580 GtkTreeview first line we detected it after the inclusion of the
6581 GtkWindowImpl in gtk+. We now check if the window is visible, not
6582 just if the pointer is over the window.
6583 (hildon_pannable_axis_scroll),
6584 (hildon_pannable_area_expose_event): Small style changes.
6586 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6588 * src/hildon-button.c: Update documentation.
6590 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6592 * examples/hildon-button-example.c: Add a switch to show images in
6595 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6597 * doc/hildon-docs.sgml: Some docs reorganization.
6599 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6601 * examples/hildon-pannable-area-touch-list-example.c
6603 * examples/hildon-pannable-area-touch-grid-example.c
6604 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6605 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6606 Fix memory leak when setting the tree model.
6608 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6612 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6614 * doc/hildon.types: Remove duplicated hildon_window_get_type
6615 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6616 documentation comment.
6618 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6620 * doc/Makefile.am: Complete list of private headers.
6622 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6624 * doc/hildon-docs.sgml
6625 * src/hildon-app-menu.c
6626 * src/hildon-bread-crumb.c
6627 * src/hildon-button.c
6629 * src/hildon-program.c
6630 * src/hildon-stackable-window.c
6631 * src/hildon-window.c: Lots of documentation updates.
6633 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6635 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6637 * configure.ac: Require Gtk+ 2.12.9 at least
6639 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6641 * src/hildon-pannable-area.c
6642 (hildon_pannable_area_scroll_indicator_fade),
6643 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6644 to protect the return of this timeout callbacks, avoiding deadlocks.
6646 2008-08-12 Christian Dywan <christian@imendio.com>
6649 * src/hildon-*.h: Ensure a consistent include order,
6650 include <gtk/gtk.h> instead of particular files and
6651 only include the topmost header in the gtk stack. See NB #39857
6653 2008-08-12 Christian Dywan <christian@imendio.com>
6655 * src/hildon-picker-dialog.c
6656 * src/hildon-touch-selector.c: Fix warnings about unused and
6657 uninitialized variables.
6659 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6661 * examples/Makefile.am
6662 * examples/hildon-check-button-example.c: Example of the hildon
6665 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6667 * src/hildon-window.h
6668 * src/hildon-window.c (hildon_window_class_init)
6669 (hildon_window_unset_program): Don't make
6670 hildon_window_unset_program a virtual function anymore.
6672 * src/hildon-stackable-window.c: Update documentation
6674 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6677 * doc/hildon-docs.sgml
6678 * doc/visual_index.xml
6679 * src/hildon-defines.c
6681 * src/hildon-helper.c
6682 * src/hildon-range-editor.c: Lots of documentation fixes.
6684 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6686 * examples/hildon-picker-button-multicolumn-example.c
6687 (create_touch_selector): Fix compilation warning.
6689 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6691 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6692 (hildon_pannable_area_button_release_cb)
6693 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6695 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6697 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6700 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6702 * src/hildon-bread-crumb-trail.h
6703 * src/hildon-date-editor.c
6704 * src/hildon-date-selector.c
6705 * src/hildon-pannable-area.c
6706 * src/hildon-picker-dialog.c
6707 * src/hildon-time-selector.c
6708 * src/hildon-touch-selector-entry.c
6709 * src/hildon-touch-selector.c
6710 * src/hildon-touch-selector.h: Misc documentation fixes
6712 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6714 * examples/hildon-date-editor-example.c (main): Updated date
6717 * examples/hildon-note-example.c (on_confirmation_clicked):
6718 Updated confirmation note example.
6720 * src/hildon-date-editor.c
6721 * src/hildon-note.c: Updated sample programs in documentation.
6724 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6726 * src/hildon-date-button.h:
6727 * src/hildon-picker-button.h:
6728 * src/hildon-time-button.c:
6729 * src/hildon-time-button.h:
6731 Some declarations changes to allow gtk-doc to document the widgets
6734 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6736 * src/hildon-date-button.c: Document the widget.
6737 * src/hildon-time-button.c: Document the widget.
6739 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6741 * src/hildon-picker-button.c: Document the widget.
6742 * src/hildon-touch-selector-entry.c: Document the widget.
6744 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6746 * doc/hildon-docs.sgml
6749 * src/hildon-check-button.h
6750 * src/hildon-check-button.c: New functions to create the Hildon
6754 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6756 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6758 * src/hildon-button.h
6759 * src/hildon-button.c
6760 (hildon_button_add_title_size_group)
6761 (hildon_button_add_value_size_group)
6762 (hildon_button_add_image_size_group)
6763 (hildon_button_add_size_groups): New functions to set size groups
6764 for the button labels and image.
6765 (hildon_button_new_full): Removed
6767 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6769 * src/hildon-time-selector.c
6770 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6771 in order to avoid a crash if gconf is not available
6773 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6775 * src/hildon-button.c (hildon_button_set_arrangement)
6776 (hildon_button_construct_child): Don't construct the button child
6777 before setting the arrangement.
6779 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6781 * src/hildon-program-private.h
6782 * src/hildon-program.c
6783 * src/hildon-program.h
6784 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6785 (hildon_program_peek_window_stack)
6786 (hildon_program_pop_window_stack)
6787 (hildon_program_go_to_root_window): HildonProgram now has a
6788 separate list for stackable windows. Functions are provided to
6789 manage that list with a stack-like API.
6791 * src/hildon-stackable-window.c: Stackable window management is
6792 now much simpler with the new HildonProgram API. Windows no
6793 longer need to be manually added to the program, they're
6794 automatically pushed to the top of the stack when shown.
6796 * examples/hildon-stackable-window-example.c: Updated example to
6797 reflect the API changes.
6799 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6801 * src/hildon-touch-selector.c: Comment out unimplemented
6802 hildon_touch_selector_insert_column() to avoid a compile warning.
6804 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6806 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6807 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6808 (hildon_touch_selector_set_column_selection_mode),
6809 (_hildon_touch_selector_set_model),
6810 (hildon_touch_selector_set_model):
6812 Complete review of HildonTouchSelector documentation.
6814 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6816 * doc/hildon-docs.sgml
6820 * src/hildon-gtk.c: Convenience functions for standard Gtk
6821 widgets, used to easily perform frequent operations.
6823 * src/hildon-button-helpers.h
6824 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6826 * src/hildon-helper.h
6827 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6828 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6830 * src/hildon-button.h
6831 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6833 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6835 * src/hildon-button.c (hildon_button_init)
6836 (hildon_button_set_arrangement, hildon_button_construct_child):
6837 Pack the image and the labels inside the same GtkAlignment so
6838 gtk_button_set_alignment() can be used
6840 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6842 * src/hildon-button.h
6843 * src/hildon-button.c
6844 (hildon_button_init, hildon_button_set_image)
6845 (hildon_button_set_image_position)
6846 (hildon_button_construct_child): New functions to add an image to
6849 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6851 * src/hildon-date-button.c
6852 * src/hildon-picker-button.c
6853 * src/hildon-time-button.c
6854 * src/hildon-button.c:
6855 (hildon_button_class_init): "size-flags" renamed to "size"
6856 (hildon_button_set_title): Hide the title label if set to NULL.
6858 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6860 HildonButtonFlags split into HildonButtonArrangement (to set the
6861 button layout) and HildonSizeType (which can be used for any
6864 * src/hildon-button.h
6865 * src/hildon-button.c
6866 (hildon_button_class_init)
6867 (hildon_button_set_arrangement)
6868 (hildon_button_set_property): New "size-flags"
6869 property. "arrangement-flags" renamed to "arrangement".
6870 (hildon_button_new, hildon_button_new_with_text)
6871 (hildon_button_new_full): Constructors updated to reflect type changes.
6873 * src/hildon-helper.h
6874 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6875 to set the size of a widget.
6879 * src/hildon-button-helpers.c
6880 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6882 * src/hildon-date-button.c
6883 * src/hildon-date-button.h
6884 * src/hildon-picker-button.c
6885 * src/hildon-picker-button.h
6886 * src/hildon-time-button.c
6887 * src/hildon-time-button.h: Updated widgets to reflect
6888 HildonButton API changes.
6890 * examples/hildon-button-example.c
6891 * examples/hildon-date-button-example.c
6892 * examples/hildon-picker-button-example.c
6893 * examples/hildon-picker-button-multicolumn-example.c
6894 * examples/hildon-time-button-example.c
6895 * examples/hildon-touch-selector-entry-example.c
6896 * examples/hildon-touch-selector-example.c: Updated examples to
6897 reflect HildonButton API changes.
6899 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6901 * doc/hildon-docs.sgml:
6903 * examples/Makefile.am:
6904 * examples/hildon-touch-selector-entry-example.c:
6906 * src/hildon-touch-selector-entry.c:
6907 * src/hildon-touch-selector-entry.h:
6910 Moved HildonTouchSelectorEntry from sandbox. Added its
6911 documentation and examples.
6913 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6915 * src/hildon-touch-selector.h:
6916 * examples/hildon-picker-button-multicolumn-example.c:
6917 (hildon_touch_selector_append_text_column): Add a gboolean
6918 parameter to determine if text must be centered in the column.
6920 * src/hildon-date-selector.c: (hildon_date_selector_init):
6921 * src/hildon-time-selector.c: (hildon_time_selector_init):
6922 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6923 (create_touch_selector): Update widgets and example to reflect
6926 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6928 * src/hildon-touch-selector.c:
6929 (hildon_touch_selector_set_active_iter): Set also the cursor in
6932 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6934 * doc/hildon-docs.sgml
6937 * src/hildon-toggle-button.c
6938 * src/hildon-toggle-button.h
6939 * src/hildon.h: Removed HildonToggleButton widget, a derived
6940 class is not necessary for this.
6942 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6944 * src/hildon-pannable-area.c,
6945 (hildon_pannable_area_realize),
6946 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6949 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6951 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6952 "done" button the default widget for the dialog.
6954 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6956 * src/hildon-touch-selector.c:
6957 (hildon_touch_selector_class_init),
6958 (hildon_touch_selector_get_property),
6959 (_hildon_touch_selector_set_model),
6960 (_hildon_touch_selector_has_multiple_selection),
6961 (hildon_touch_selector_has_multiple_selection):
6962 Add a "has-multiple-selection" property with a virtual
6963 has_multiple_selection() method to allow derived classes to
6964 override the default value for it. See the method and property
6965 documentation for details.
6967 * src/hildon-touch-selector.h: Add the new API.
6969 * src/hildon-picker-dialog.c: (requires_done_button): Call
6970 hildon_touch_selector_has_multiple_selection() instead of
6971 determining the need for a button itself.
6973 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6975 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6976 (_hildon_touch_selector_set_model),
6977 (hildon_touch_selector_set_model): Move working code to
6978 _hildon_touch_selector_set_mode(). Call the class method instead.
6980 * src/hildon-touch-selector.h: Add (*set_model) to
6981 HildonTouchSelectorClass.
6983 Make hildon_touch_selector_set_model() a virtual method, so that
6984 derived classes can extend it and do fancy stuff with the model.
6986 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6988 * configure.ac: Set back the tarname in AC_INIT to hildon.
6990 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6994 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6995 instead of libesd (NB#86876). Volume handling is still an open issue.
6997 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7000 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7002 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7003 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7004 derived class to ease placement of an entry widget in
7005 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7006 end, where the selector columns are packed now.
7008 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7010 * src/hildon-picker-button.c: Removed the simple _text() API.
7011 * src/hildon-picker-button.h: Likewise.
7013 * src/hildon-touch-selector.h:
7014 * src/hildon-touch-selector.c:
7015 (hildon_touch_selector_new_text),
7016 (hildon_touch_selector_append_text),
7017 (hildon_touch_selector_prepend_text),
7018 (hildon_touch_selector_insert_text):
7020 Moved the simple _text() API from HildonPickerButton to
7021 HildonTouchPicker, to provide better escalability and not to tie
7022 that API to HildonPickerButton.
7024 * examples/hildon-picker-button-example.c: (main): Example updated.
7026 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7028 * src/hildon-button.c: Updated documentation.
7030 * examples/hildon-button-example.c: Add the posibility to create
7031 the buttons using horizontal layout for title and value.
7033 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7035 * src/hildon-app-menu-private.h
7036 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7037 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7038 GtkSizeGroup for the filters, use the 'homogeneous' property of
7041 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7043 * examples/hildon-button-example.c: Updated example.
7045 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7047 * doc/hildon-docs.sgml:
7050 Update documentation.
7052 * examples/Makefile.am: Update renamed examples.
7054 * examples/hildon-picker-button-multicolumn-example.c:
7055 (create_touch_selector), (main): Update after the rename.
7057 * examples/hildon-touch-picker-example.c: Removed.
7058 * examples/hildon-touch-selector-example.c: (value_changed),
7059 (create_selector), (get_visible_content), (main): Renamed from
7060 hildon-touch-picker-example.c
7062 * src/Makefile.am: Updated renamed files.
7064 * src/hildon-date-button.c: (hildon_date_button_init),
7065 (hildon_date_button_get_date), (hildon_date_button_set_date):
7066 * src/hildon-date-selector.c: (hildon_date_selector_init),
7067 (_custom_print_func), (_update_day_model),
7068 (_manage_selector_change_cb),
7069 (hildon_date_selector_select_current_date),
7070 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7071 * src/hildon-date-selector.h:
7072 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7073 (hildon_picker_button_set_property),
7074 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7075 (hildon_picker_button_init), (hildon_picker_button_new_text),
7076 (hildon_picker_button_append_text),
7077 (hildon_picker_button_prepend_text),
7078 (hildon_picker_button_insert_text),
7079 (hildon_picker_button_set_selector),
7080 (hildon_picker_button_get_selector):
7081 * src/hildon-picker-button.h:
7082 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7083 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7084 (_update_title_on_selector_changed_cb), (requires_done_button),
7085 (_hildon_picker_dialog_set_selector),
7086 (hildon_picker_dialog_set_selector),
7087 (hildon_picker_dialog_get_selector):
7088 * src/hildon-picker-dialog.h:
7089 * src/hildon-time-button.c: (hildon_time_button_init),
7090 (hildon_time_button_get_time), (hildon_time_button_set_time):
7091 * src/hildon-time-selector.c: (hildon_time_selector_init),
7092 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7093 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7094 * src/hildon-time-selector.h:
7097 Massive code updates after the rename.
7099 * src/hildon-touch-picker.c: Removed.
7100 * src/hildon-touch-picker.h: Removed.
7102 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7103 (hildon_touch_selector_init), (hildon_touch_selector_map),
7104 (hildon_touch_selector_remove), (_default_print_func),
7105 (_selection_changed_cb), (_create_new_column),
7106 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7107 (hildon_touch_selector_append_text_column),
7108 (hildon_touch_selector_remove_column),
7109 (hildon_touch_selector_set_column_attributes),
7110 (hildon_touch_selector_insert_column),
7111 (hildon_touch_selector_get_num_columns),
7112 (hildon_touch_selector_get_column_selection_mode),
7113 (hildon_touch_selector_set_column_selection_mode),
7114 (hildon_touch_selector_set_print_func),
7115 (hildon_touch_selector_get_print_func),
7116 (hildon_touch_selector_get_active_iter),
7117 (hildon_touch_selector_set_active_iter),
7118 (hildon_touch_selector_get_selected_rows),
7119 (hildon_touch_selector_get_model),
7120 (hildon_touch_selector_set_model),
7121 (hildon_touch_selector_get_current_text),
7122 (_hildon_touch_selector_center_on_selected_items):
7123 * src/hildon-touch-selector.h: Renamed from
7124 hildon-touch-picker.[ch]
7126 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7127 references, code examples, and related documentation.
7129 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7131 * doc/hildon-docs.sgml
7134 * src/hildon-toggle-button.c
7135 * src/hildon-toggle-button.h
7136 * src/hildon.h: New HildonToggleButton widget.
7138 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7140 * src/hildon-button.c: Add API documentation.
7141 (hildon_button_set_size_groups): Check input parameters
7143 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7145 * src/hildon-pannable-area.c
7146 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7147 effect after reaching the movement thredshold. This way we start
7148 using the distance after passing the thredshold.
7150 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7152 * src/hildon-button.c: (hildon_button_set_property): Use the
7153 appropriate g_value_get_flags() method.
7155 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7157 * doc/hildon-docs.sgml:
7160 Add the touch pickers, picker dialogs, and picker button widgets
7161 to the documentation.
7163 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7165 * src/hildon-button.c: (hildon_button_set_property),
7166 (hildon_button_class_init): Make "arrangement-flags" a proper
7167 G_TYPE_FLAGS derived property.
7169 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7171 * examples/Makefile.am: Add below examples.
7172 * examples/hildon-date-button-example.c:
7173 * examples/hildon-picker-button-example.c:
7174 * examples/hildon-picker-button-multicolumn-example.c:
7175 * examples/hildon-time-button-example.c:
7176 * examples/hildon-touch-picker-example.c:
7178 Add examples for the recently added touch pickers,
7179 picker dialogs, and picker button widgets.
7181 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7183 * src/hildon-button.c: Add some API documentation
7185 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7187 * src/hildon-button.h
7188 * src/hildon-button.c
7190 (hildon_button_new_with_text): New constructor to create a button
7191 with no text at all.
7192 (hildon_button_init, hildon_button_set_arrangement)
7193 (hildon_button_set_title, hildon_button_set_value)
7194 (hildon_button_set_text)
7195 (hildon_button_construct_child): Hide the value when it's not used
7196 so the rest of the text is properly aligned.
7197 Allow creating buttons with arbitrary widgets inside (not just
7198 title/value labels).
7200 * examples/hildon-button-example.c (vertical_buttons_window)
7201 (horizontal_buttons_window): Update example to use new API.
7203 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7205 * src/Makefile.am: Added HildonTimeButton.
7206 * src/hildon-time-button.c: Added missing LGPL header.
7207 * src/hildon-time-button.h: Added missing LGPL header.
7208 * src/hildon.h: Add hildon-time-button.h
7210 Copied HildonTimeButton from sandbox to trunk. Future work on this
7211 widget must take place in trunk.
7213 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7215 * src/Makefile.am: Added HildonDateButton.
7216 * src/hildon-date-button.c: Update includes.
7217 * src/hildon.h: Add hildon-date-button.h
7219 Copied HildonDateButton from sandbox to trunk. Future work on this
7220 widget must take place in trunk.
7222 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7224 * src/Makefile.am: Added HildonPickerButton.
7225 * src/hildon-picker-button.h: Update includes.
7226 * src/hildon.h: Add hildon-picker-button.h
7228 Copied HildonPickerButton from sandbox to trunk. Future work on
7229 this widget must take place in trunk.
7231 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7233 * src/Makefile.am: Added HildonPickerDialog.
7234 * src/hildon-picker-dialog.c: Update includes.
7235 * src/hildon.h: Add hildon-picker-dialog.h
7237 Copied HildonPickerDialog from sandbox to trunk. Future work
7238 on this widget must take place in trunk.
7240 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7242 * src/Makefile.am: Added HildonTimeSelector.
7243 * src/hildon.h: Add hildon-time-selector.h
7245 Copied HildonTimeSelector widget from sandbox to trunk. Future
7246 work on this widget must happen in trunk.
7248 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7250 * src/Makefile.am: Added HildonDateSelector.
7251 * src/hildon.h: Add hildon-date-selector.h
7253 Copied HildonDateSelector widget from sandbox to trunk. Future
7254 work on this widget must happen in trunk.
7256 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7258 * src/Makefile.am: Added HildonTouchPicker.
7259 * src/hildon-touch-picker.c: Update includes.
7260 * src/hildon.h: Add hildon-touch-picker.h
7262 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7263 on this widget must happen in trunk.
7265 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7267 * src/hildon-pannable-area.c:
7268 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7270 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7272 * examples/hildon-app-menu-example.c (main): Let the window
7275 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7277 * src/hildon-pannable-area.c
7278 (hildon_pannable_area_class_init): Set the min value of the
7279 overshoot properties to zero, which points out that not
7280 overshooting allowed.
7282 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7284 Modified the procedure to get the widget at a point inside the
7285 pannable area when using the movement type signals. Now the user
7286 has to call a function to get the child, that way we just
7287 calculate the child in case the user really want to use it and not
7290 * src/hildon-marshalers.list: Modified the marshallers, now we do
7291 not have the widget as a parameter.
7293 * src/hildon-pannable-area.c
7294 (hildon_pannable_area_motion_notify_cb),
7295 (hildon_pannable_area_class_init),
7296 (hildon_pannable_get_child_widget_at): Removed the widget
7297 parameter from the signal callback. We have also refactored the
7298 emission of the signals.
7300 * src/hildon-pannable-area.h: Added a new method to the API to
7301 calculate a widget at a point inside the pannable area,
7302 hildon_pannable_get_child_widget_at.
7304 * examples/hildon-pannable-area-example-4.c
7305 (horizontal_movement): Modified the example to use the new API,
7306 added condition to control which widget is under the event. This
7307 way we can avoid scrolling laterally over other widgets.
7309 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7311 * src/hildon-pannable-area.c
7312 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7313 modes, we stop getting the pointer events due to returning the
7314 callback without properly calling the get pointer again. Fixed
7315 also an error using the hscroll and vscroll.
7317 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7319 * src/hildon-app-menu-private.h
7320 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7321 (hildon_app_menu_button_release, hildon_app_menu_init)
7322 (hildon_app_menu_class_init): Don't hide the menu on button
7323 release if the user didn't press outside first.
7325 * src/hildon-window.h
7326 * src/hildon-window.c (hildon_window_toggle_menu)
7327 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7328 hildon_window_toggle_menu a virtual function for the stackable
7329 window to override it.
7331 * src/hildon-stackable-window.h
7332 * src/hildon-stackable-window-private.h
7333 * src/hildon-stackable-window.c
7334 (hildon_stackable_window_realize)
7335 (hildon_stackable_window_finalize)
7336 (hildon_stackable_window_class_init)
7337 (hildon_stackable_window_init)
7338 (hildon_stackable_window_set_main_menu): New function to set the
7339 app menu of a HildonStackableWindow.
7341 * examples/hildon-app-menu-example.c: Remove the button to show
7342 the app menu, now it'll be shown when clicking on the title bar
7345 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7347 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7348 set the widget name if the arrangement flags do not specify
7351 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7353 * src/hildon-button.c: (hildon_button_set_property),
7354 (hildon_button_class_init), (hildon_button_new_full),
7355 (hildon_button_set_arrangement): Added "arrangement-flags"
7358 Make the HildonButtonFlags a construction-only property, to allow
7359 subclasses to set them properly.
7361 2008-07-21 Tim Janik <timj@imendio.com>
7363 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7364 insertion position after backspace, so additional digits are appended,
7367 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7369 * src/hildon-pannable-area.c,
7370 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7371 TODO list, it was complete and removed the g_debug and g_print
7374 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7376 Added the movement modes to the hildon-pannable-area, with this
7377 modes the developers can control in which directions the widget
7378 can scroll. They can also connect to signals in order to do
7379 something when that happens, allowing applications scroll. There
7380 is an example uploaded showing how to use it.
7382 * examples/Makefile.am:
7383 * examples/hildon-pannable-area-example-4.c: Added this example of
7384 an application using the modes.
7386 * src/hildon-marshalers.list: Added a new marshaller for the new
7389 * src/hildon-pannable-area.h: Added new enumerations and flags in
7390 order to control the movement modes and the new signals to warn
7391 about the movements in the area.
7393 * src/hildon-pannable-area.c:
7394 (hildon_pannable_axis_scroll),
7395 (hildon_pannable_area_scroll),
7396 (hildon_pannable_area_motion_notify_cb),
7397 (hildon_pannable_area_get_property),
7398 (hildon_pannable_area_set_property),
7399 (hildon_pannable_area_map),
7400 (hildon_pannable_area_class_init),
7401 (hildon_pannable_area_init),
7402 (hildon_pannable_area_jump_to): Added the modes to control the
7403 movement in the widget. We have added properties to control it,
7404 signals to warn about the movements and refactored some code.
7406 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7408 Changes required in order to allow vfast_factor set to zero to
7411 * src/hildon-pannable-area.c:
7412 (hildon_pannable_area_button_press_cb): Changed the condition, it
7413 is required for not allowing click when vfast_factor is zero.
7414 (hildon_pannable_area_timeout): Initialized velocity variables
7415 when we stop moving, it was less than 1 but not zero and we need
7416 to check zero in some situations.
7417 (hildon_pannable_area_class_init): Changed the default value of
7418 the speed factor, now the button_press is just sent in case the
7419 speed is 2 per cent of the max speed.
7420 (hildon_pannable_area_init): Initialization with 0.
7422 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7424 * src/hildon-pannable-area.c,
7425 (hildon_pannable_area_get_topmost): replaced
7426 gdk_window_get_children with gdk_window_peek_children, this way we
7427 do not have to free the list because it is not a copy.
7429 (hildon_pannable_axis_scroll),
7430 (hildon_pannable_area_scroll),
7431 (hildon_pannable_area_timeout),
7432 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7433 two parameters that were only used inside the
7434 hildon_pannable_area_scroll function.
7436 * examples/hildon-pannable-area-example.c,
7437 (get_sawtooth_label): Fixed small memory leak.
7439 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7441 More checks for the case where the overshoot is bigger than the
7444 * src/hildon-pannable-area.c:
7445 (hildon_pannable_draw_vscroll),
7446 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7447 to draw the slider of the scrollbar under the other scrollbar.
7448 (hildon_pannable_area_expose_event): added new checks to control
7449 the drawing of the overshooting area rectangle, in case it is too
7450 big for the area of the widget.
7451 (hildon_pannable_area_size_allocate): add more checks to avoid
7452 setting a position to the child widget outside the area.
7454 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7456 * src/hildon-pannable-area.c
7457 (hildon_pannable_area_size_allocate): Added conditions to control
7458 when overshooting is bigger than the allocated space for the
7459 children, this avoids negative allocations.
7461 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7463 * doc/hildon-docs.sgml
7465 * examples/Makefile.am
7466 * examples/hildon-button-example.c
7468 * src/hildon-button.c
7469 * src/hildon-button.h
7470 * src/hildon.h: Initial version of the new HildonButton widget,
7473 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7475 * src/hildon-pannable-area.c:
7476 (hildon_pannable_area_button_press_cb),
7477 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7478 (hildon_pannable_area_motion_notify_cb),
7479 (hildon_pannable_area_button_release_cb),
7480 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7481 (hildon_pannable_area_jump_to_child):
7483 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7485 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7487 * examples/Makefile.am
7488 * examples/hildon-pannable-area-touch-grid-example.c
7489 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7490 the Hildon Touch List and Hildon Touch Grid using the
7491 HildonPannableArea widget.
7493 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7495 * src/hildon-pannable-area.c,
7496 (hildon_pannable_area_button_press_cb),
7497 (hildon_pannable_area_refresh),
7498 (hildon_pannable_area_scroll),
7499 (hildon_pannable_area_motion_notify_cb),
7500 (hildon_pannable_area_button_release_cb),
7501 (hildon_pannable_area_expose_event),
7502 (hildon_pannable_area_add),
7503 (hildon_pannable_area_remove),
7504 (hildon_pannable_area_realize),
7505 (hildon_pannable_area_size_allocate),
7506 (hildon_pannable_area_class_init),
7507 (hildon_pannable_area_init),
7508 (hildon_pannable_area_scroll_to_child),
7509 (hildon_pannable_area_jump_to_child): Fixed the problem of
7510 removing the child from the GtkBin, we have rearranged the widget
7511 hierarchy, now there is no GtkAlignment which was not doing
7512 anything interesting but breaking some of the assumptions of
7513 GtkContainer. Now developers if they want to add a GtkAlignment
7514 they could, but it is not inside the area.
7516 We had to review the whole allocation/expose process, now it is
7517 improved and we save at least three signals which would be saving
7518 some time when rendering the widget. The allocation of the
7519 scrollbars is now made in the allocate method as usual.
7521 We have also added some conditions in order to control when there
7522 is no child of the pannable area. Maybe we will need more work
7525 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7527 * src/hildon-pannable-area.c,
7528 (hildon_pannable_area_dispose): Released the fade-out timeout when
7529 disposing the widget.
7531 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7533 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7534 zero, we are going to use that property in order to deactivate the
7536 (hildon_pannable_axis_scroll),
7537 (hildon_pannable_area_size_allocate): Added conditions to control
7538 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7539 call, now it is called in all situations and we can remove calls
7540 in the allocate method.
7541 (hildon_pannable_area_map): Control the situation when
7542 overshoot_max is zero, we do not need the timeout.
7543 (hildon_pannable_area_class_init): Added documentation in order to
7544 point out that setting zero to overshoot_max means deactivate
7547 NOTE: removed trailing whitespaces from my previous comments of
7550 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7552 * src/hildon-pannable-area.c
7553 (hildon_pannable_area_get_property),
7554 (hildon_pannable_area_set_property),
7555 (hildon_pannable_area_map),
7556 (hildon_pannable_area_class_init),
7557 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7558 to cause the widget give a hint about its panning abilities upon
7561 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7563 * src/hildon-pannable-area.c: Several documentation improvements.
7565 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7567 * src/hildon-program.c
7568 * src/hildon-stackable-window.c: Update documentation.
7570 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7572 * src/hildon-stackable-window.c (get_previous_window_if_last):
7573 Renamed get_last_window()
7574 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7575 (hildon_stackable_window_unset_program):
7577 (get_previous_window_if_last):
7578 Detect if the window hasn't been added to a HildonProgram.
7580 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7582 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7584 * src/hildon-pannable-area.c
7585 (hildon_pannable_area_button_press_cb),
7586 (hildon_pannable_axis_scroll),
7587 (hildon_pannable_area_scroll),
7588 (hildon_pannable_area_timeout),
7589 (hildon_pannable_calculate_vel_factor),
7590 (hildon_pannable_area_get_property),
7591 (hildon_pannable_area_set_property),
7592 (hildon_pannable_area_class_init),
7593 (hildon_pannable_area_init),
7594 (hildon_pannable_area_scroll_to),
7595 (hildon_pannable_area_jump_to),
7596 (hildon_pannable_area_scroll_to_child),
7597 (hildon_pannable_area_jump_to_child):
7598 * src/hildon-pannable-area.h: Added the new API functions:
7599 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7600 hildon_pannable_area_scroll_to_child,
7601 hildon_pannable_area_jump_to_child
7604 * examples/Makefile.am
7605 * examples/hildon-pannable-area-example-2.c
7606 * examples/hildon-pannable-area-example-3.c: Added these two new
7607 examples in order to test and show how the new APIs work.
7609 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7611 * examples/hildon-stackable-window-example.c (new_window):
7612 * src/Makefile.am (noinst_HEADERS):
7613 * src/hildon-program.c (hildon_program_go_to_root_window):
7614 * src/hildon-program.h:
7615 * src/hildon-stackable-window-private.h:
7616 * src/hildon-stackable-window.c:
7617 * src/hildon-stackable-window.h:
7618 Create hildon-stackable-window-private.h
7619 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7621 * examples/hildon-app-menu-example.c (create_menu):
7622 * examples/hildon-hvolumebar-insensitive-example.c (main):
7623 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7624 * examples/hildon-toolbar-seekbar-example.c (main):
7625 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7626 * src/hildon-banner.c (hildon_banner_set_property):
7627 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7628 Fix compilation warnings
7630 * src/hildon-window.c:
7633 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7635 * src/hildon-stackable-window.c
7636 (hildon_stackable_window_unset_program):
7637 Calculate correctly whether to show the previous window if the
7638 last one is removed from the stack.
7639 (hildon_stackable_window_go_to_root_window):
7640 Send delete events starting from the topmost window.
7641 Stop if one of the windows is not destroyed.
7643 (hildon_stackable_window_delete_event)
7644 (hildon_stackable_window_class_init):
7645 Ignore the delete event if the window is not the topmost one.
7647 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7649 * src/hildon-pannable-area.c
7650 (hildon_pannable_area_expose_event): Fixed a problem when
7651 selecting the background color of the scrollbars.
7653 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7655 * examples/hildon-stackable-window-example.c
7656 * src/hildon-stackable-window.c
7657 * src/hildon-stackable-window.h
7658 hildon_stackable_window_go_home() renamed to
7659 hildon_stackable_window_go_to_root_window()
7660 Send delete events to windows rather than closing them with
7661 gtk_widget_destroy()
7663 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7665 * src/hildon-pannable-area.c
7666 (hildon_pannable_area_button_release_cb): Fix overshooting in
7669 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7671 * src/hildon-pannable-area.c
7672 (hildon_pannable_area_init): Initially show the scroll indicators.
7673 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7675 Add initial effect showing the widget is pannable.
7677 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7679 * src/hildon-pannable-area.c
7680 (hildon_pannable_area_class_init)
7681 (hildon_pannable_area_set_property)
7682 (hildon_pannable_area_get_property)
7683 (hildon_pannable_area_button_press_cb):
7684 New 'velocity_fast_factor' property to decide which velocity is
7687 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7689 * src/hildon-pannable-area.c
7690 (hildon_pannable_draw_hscroll)
7691 (hildon_pannable_draw_vscroll):
7692 Use float variables to calculate the size of the scrollbars to
7693 avoid error propagation and resizing during scrolling.
7695 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7697 * src/hildon-pannable-area.c
7698 (hildon_pannable_draw_vscroll)
7699 (hildon_pannable_draw_hscroll):
7700 Define a minimum size for the scroll bars
7702 * src/hildon-stackable-window.c
7703 (hildon_stackable_window_go_home): Fix compilation warning
7704 (get_last_window): Minor optimizations
7705 (hildon_stackable_window_class_init): Fix initialization of
7708 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7710 * src/hildon-stackable-window.c: Fixed typos in doc
7712 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7714 * src/hildon-pannable-area.c
7715 (hildon_pannable_area_scroll):
7716 Calculate here whether we need to scroll instead of using the booleans
7717 that tell us whether to /draw/ the scrolling bars.
7719 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7721 * src/hildon-app-menu.h
7723 * src/hildon-app-menu.c
7724 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7725 multiple filter groups related code and API. Now we support only
7727 * examples/hildon-app-menu-example.c:
7729 Update to reflect API changes.
7731 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7733 * src/hildon-stackable-window.c
7734 (hildon_stackable_window_class_init):
7735 Add hildon_stackable_window_realize.
7736 (hildon_stackable_window_realize):
7737 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7738 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7739 to apply theming and behavior specific to HildonStackableWindow
7742 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7744 * src/hildon-note.c (hildon_note_button_release):
7745 Close information notes also when tapping on them
7747 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7749 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7750 ELASTICITY, refactor and review, fix some issues with drawing
7753 * src/hildon-pannable-area.c:
7754 (hildon_pannable_area_button_press_cb): removed the conditions to
7755 avoid clicks when overshooting. It is not required
7757 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7758 define. Refatored and reviewed the code, now we do not need to
7759 manage velocity in motion_notify.
7761 (hildon_pannable_area_motion_notify_cb): We have moved the code
7762 that controls the area_scroll to the axis_scroll function and get
7763 rid of duplicated code.
7765 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7767 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7769 (hildon_pannable_draw_vscroll),
7770 (hildon_pannable_draw_hscroll): Fixed the problems with the
7771 scrollbar drawing, now we do not use two surfaces, it is easier
7772 and saves resources.
7774 (hildon_pannable_area_get_property): Style modification.
7776 (hildon_pannable_area_class_init): Changed some default values.
7778 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7780 * src/hildon-stackable-window.c: Fix some typos in the
7783 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7785 * src/hildon-dialog.c:
7786 Change indentation style
7789 (hildon_note_button_release):
7790 Use root coordinates to check if the release event happened
7793 * src/hildon-app-menu.c
7794 (hildon_app_menu_button_release):
7795 Remove unnecessary check
7797 * examples/hildon-app-menu-example.c
7799 Add cast to fix warning
7801 * src/hildon-app-menu.c
7802 (hildon_app_menu_class_init):
7803 New inner-border style property.
7804 Set all default spacings to 16
7805 (hildon_app_menu_init):
7806 Use vertical-spacing to set the space between filter buttons and
7807 regular menu buttons.
7808 Set the default container border using the inner-border value.
7810 * examples/hildon-app-menu-example.c
7812 Don't set the menu border explicitly, now we have the inner-border
7813 style property for that.
7815 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7817 * src/hildon-app-menu.c (hildon_app_menu_init):
7818 Make the window modal
7820 * src/hildon-note.c (hildon_note_map)
7821 * src/hildon-app-menu.c (hildon_app_menu_map):
7822 Destroy the grab window if we're unable to grab the pointer
7824 * src/hildon-app-menu-private.h
7825 * src/hildon-app-menu.c
7826 (hildon_app_menu_init, hildon_app_menu_finalize)
7827 (hildon_app_menu_map, hildon_app_menu_unmap)
7828 (hildon_app_menu_button_release)
7829 (grab_transfer_window_get):
7830 Bring back the grab window
7831 (hildon_app_menu_realize):
7832 Decorate the window, set WM hint for Matchbox
7834 * src/hildon-note.c (hildon_note_realize):
7835 * src/hildon-banner.c (hildon_banner_realize):
7836 Add WM hints for Matchbox
7838 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7840 * src/hildon-app-menu-private.h
7841 * src/hildon-app-menu.c
7842 (hildon_app_menu_init, hildon_app_menu_finalize)
7843 (hildon_app_menu_map, hildon_app_menu_unmap)
7844 (hildon_app_menu_button_release):
7845 Remove the grab window, it's not needed anymore
7847 * src/hildon-program.c
7848 Fixed typo in documentation
7850 * src/hildon-app-menu.h
7851 * src/hildon-app-menu.c
7852 * examples/hildon-app-menu-example.c
7853 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7855 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7858 Added new transfer_window and close_if_pressed_outside private
7860 (hildon_note_rebuild):
7861 Don't add a cancel button to the information note. It will be
7862 closed when tapping outside
7863 Remove the comment about the OK button in the documentation
7864 (hildon_note_realize):
7865 Set the notification type hint
7866 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7867 Grab/ungrab pointer and keyboard if the note has to be closed when
7869 (hildon_note_button_release):
7870 Close the note when tapping outside (if applicable)
7872 * src/hildon-app-menu.c
7873 Grab/ungrab pointer and keyboard on map/unmap
7874 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7875 Close the menu on button release, not button press
7877 * src/hildon-banner.c
7878 (hildon_banner_set_property)
7879 (hildon_banner_check_position):
7880 Make the banner use the full width of the screen
7881 (hildon_banner_show_information)
7882 (hildon_banner_show_information_with_markup):
7883 Don't display an icon by default
7885 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7887 Added fading scrollbars and adapted all the overshooting code to
7888 horizontal scrolling. We have also fixed bugs with overshooting
7889 and current fading implementation.
7891 * src/hildon-pannable-area.c
7892 (hildon_pannable_area_scroll_indicator_fade): Time out function
7893 used to change the transparency of the scrollbars.
7895 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7896 control and fixed a problem with fading, we now remove the fade
7897 timeout before adding a new one.
7899 (hildon_pannable_axis_scroll):
7900 (hildon_pannable_area_scroll):
7901 (hildon_pannable_area_timeout): Added this functions so we can use
7902 the scroll code both for vertical and horizontal.
7904 (hildon_pannable_area_motion_notify_cb):
7905 (hildon_pannable_area_button_release_cb): Added the horizontal
7906 scrolling control, fixed a problem with the overshooting timeout.
7908 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7909 painting of the scrolls.
7911 (hildon_pannable_draw_vscroll):
7912 (hildon_pannable_draw_hscroll):
7913 (hildon_pannable_area_expose_event):
7914 Draw both scrollbars and rectangles in the overshooting area.
7916 (hildon_pannable_area_get_property):
7917 (hildon_pannable_area_set_property):
7918 Modified the overshoot property to overshoot_max
7920 (hildon_pannable_area_map):
7921 Replaced the comments symbols.
7923 (hildon_pannable_area_size_allocate):
7924 (hildon_pannable_area_class_init):
7925 (hildon_pannable_area_init): Added horizontal scroll, fading
7926 effect properties, fixed a problem when overshooting in the bottom
7929 * examples/hildon-pannable-area-example.c:
7930 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7931 looks better in the example.
7933 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7935 * src/hildon-window.c
7936 * src/hildon-window.h
7937 (hildon_window_class_init)
7938 (hildon_window_unset_program)
7939 (hildon_window_unset_program_real):
7940 Make unset_program a virtual function
7942 * src/hildon-stackable-window.c
7943 * src/hildon-stackable-window.h
7944 Added hildon_stackable_window_go_home()
7946 * examples/Makefile.am
7947 * examples/hildon-stackable-window-example.c
7948 HildonStackableWindow example
7950 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7952 * hildon-pannable-area.c: Added the overshoot property and removed
7953 the OVERSHOOT define. Fixed an indent style error.
7954 (hildon_pannable_area_motion_notify_cb):
7955 (hildon_pannable_area_get_property):
7956 (hildon_pannable_area_set_property): Add overshoot property.
7958 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7961 (hildon_pannable_area_class_init): Installed the new property.
7963 * hildon-pannable-area-example.c: Added a sawtooth function, this
7964 way it is easier to check the movement in the pannable.
7965 (get_sawtooth_label): Added this function.
7966 (main): Now we get the labels from the new get_sawtooth_label
7969 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7971 * src/hildon-app-menu.h
7972 * src/hildon-app-menu.c
7973 Renamed API variables for consistency
7975 (hildon_app_menu_popup): Use also the default window size to
7976 decide where to place the menu
7978 (hildon_app_menu_init, hildon_app_menu_class_init): New
7979 external-border style property
7981 2008-05-26 Michael Natterer <mitch@imendio.com>
7983 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7984 widget_class->tap_and_hold_setup signal slot doesn't exist any
7985 longer, stop overriding it.
7987 (hildon_time_editor_init): g_signal_connect() to the
7988 tap-and-hold-setup signal instead.
7990 (hildon_time_editor_entry_keypress): add cast to fix warning.
7992 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7994 * doc/hildon-docs.sgml
7996 * examples/Makefile.am
7997 * examples/hildon-app-menu-example.c
7999 * src/hildon-app-menu-private.h
8000 * src/hildon-app-menu.c
8001 * src/hildon-app-menu.h
8003 New HildonAppMenu widget
8005 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8007 Rearranged the inheritance of the pannable area, now it inherits
8008 from GtkBin. This will allow us to control the event_window and
8009 the allocation process of the widget, required for some effects.
8011 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8012 GtkBin structures. * src/hildon-pannable-area.c: Added the
8013 event_window variable.
8014 (hildon_pannable_area_button_press_cb):
8015 (hildon_pannable_area_button_release_cb):
8016 (hildon_pannable_area_motion_notify_cb):
8017 Changed the signature of the method, now we override the event
8018 callback instead of connecting to the signal.
8020 (hildon_pannable_area_realize):
8021 (hildon_pannable_area_unrealize):
8022 (hildon_pannable_area_map):
8023 (hildon_pannable_area_unmap):
8024 (hildon_pannable_area_size_allocate):
8025 Added functions to control the widget construction. We add a
8026 INPUT_ONLY window and we put it over the widgets inside the
8027 container, this event_window handles the events.
8029 (hildon_pannable_area_class_init):
8030 Replaced the signal connections with overrides of the event
8033 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8035 Bouncing effect added when touching the borders, you can change
8036 the elasticity of the border changing the ELASTICITY define.
8038 * src/hildon-pannable-area.c: Added ELASTICITY define.
8039 (hildon_pannable_area_timeout): Added inverse velocity when
8040 touching the border of the child widget, that causes a bounce.
8042 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8044 Improved performance, we now do not go to the X server in order to
8045 get the list of window children. Apparently the effect is the
8046 same, we have to be careful and check if this breaks something in
8049 * src/hildon-pannable-area.c:
8050 (get_ordered_children): Removed this function.
8051 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8052 the children windows function with gdk_window_get_children.
8054 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8056 * src/hildon-pannable-area.c:
8057 (hildon_pannable_area_dispose): Fixed a crash when closing the
8058 window and kinetics is activated.
8060 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8062 * src/hildon-pannable-area.h
8063 * src/hildon-pannable-area.c
8064 Changed indentation style to meet the one used in Hildon
8066 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8068 Reviewed the interaction of the AUTO mode, now we use the time
8069 attribute of the events and calculate the velocity in the motion,
8070 doing a gimp like calculation. The velocity is calculated in each
8071 motion event using the last velocity and the current one, the
8072 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8074 * src/hildon-pannable-area.c: Replaced the time based algorithm
8076 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8077 timeout for the AUTO mode when we are still moving the cursor. We
8078 added also the velocity calculation in this function.
8079 (hildon_pannable_area_button_release_cb): launch the timeout in
8080 case we are in AUTO mode. There are still some constants here that
8081 come from the old implementation that should be reviewed and
8084 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8086 * doc/hildon-docs.sgml
8089 * src/hildon-stackable-window.c
8090 * src/hildon-stackable-window.h
8092 New HildonStackableWindow widget
8094 * examples/hildon-dialog-example.c
8095 * examples/hildon-pannable-area-example.c
8098 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8100 * src/hildon-dialog.c
8101 (hildon_dialog_new_with_buttons): New constructor.
8103 * examples/hildon-dialog-example.c
8104 (main): Update the example to use the new
8105 hildon_dialog_new_with_buttons().
8107 * examples/hildon-pannable-area-example.c
8108 (main): Update example.
8110 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8112 * doc/hildon-docs.sgml
8114 Added HildonPannableArea to the documentation.
8116 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8118 * doc/visual_index.xml
8119 Fix reference to HildonLoginDialog in documentation
8121 * doc/hildon-docs.sgml
8123 * examples/Makefile.am
8124 * examples/hildon-dialog-example.c
8126 * src/hildon-dialog.c
8127 * src/hildon-dialog.h
8129 New HildonDialog widget.
8131 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8133 * src/hildon-pannable-area.c
8134 Merge latest changes (r4318, r4342) from libmokoui trunk
8136 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8138 * examples/Makefile.am
8139 * examples/hildon-pannable-area-example.c
8141 * src/hildon-pannable-area.c
8142 * src/hildon-pannable-area.h
8144 New HildonPannableArea widget.
8146 2008-04-15 18:05:19 <timj@imendio.com>
8148 * src/hildon-banner.c: revert the recent change, that introduced
8149 gtk_window_present() calls. this reopens:
8150 Bug 78481 - [freetest] information banners are hidden under browser menu
8151 But resolves another variant of:
8152 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8154 2008-04-15 13:21:13 <timj@imendio.com>
8156 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8157 recreated its layout, spotted by Kris. this fixes all remaining
8158 artefacts and stability issues with the banner code. in particular:
8159 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8161 2008-04-14 16:52:59 <timj@imendio.com>
8163 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8164 operating on unrealized widgets, fixes:
8165 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8167 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8169 2008-04-09 Kristian Rietveld <kris@imendio.com>
8171 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8172 makes banner disappear.
8173 Fixes: NB#79182: info banner flickering with certain message lengts.
8175 * src/hildon-banner.c (hildon_banner_constructor),
8176 (hildon_banner_init), (hildon_banner_set_text),
8177 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8178 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8179 FALSE, reset size requests of label and banner,
8180 (force_to_wrap_truncated): when the text is too wide, always enforce
8181 the maximum possible width instead of recalculating it from the
8182 layout; enforce the maximum banner height of 3 lines,
8183 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8184 nicer wrapping and no truncated chars if space gets tight.
8186 * src/hildon-banner-private.h: add has_been_wrapped and
8187 has_been_truncated fields.
8189 2008-04-07 Sven Herzberg <sven@imendio.com>
8191 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8192 local values in hildon_date_editor_size_allocate
8194 * src/hildon-date-editor.c: moved the real allocation code into the
8197 2008-04-07 Sven Herzberg <sven@imendio.com>
8199 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8200 local values in hildon_date_editor_size_allocate
8202 * src/hildon-date-editor.c: merged the two if() branches together
8204 2008-04-07 Sven Herzberg <sven@imendio.com>
8206 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8207 local values in hildon_date_editor_size_allocate
8209 * src/hildon-date-editor.c: changed the arguments of the if()
8212 2008-04-07 Sven Herzberg <sven@imendio.com>
8214 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8215 local values in hildon_date_editor_size_allocate
8217 * src/hildon-date-editor.c: split the calculation of the allocation
8218 from the real allocation
8220 2008-03-27 Michael Natterer <mitch@imendio.com>
8222 Fixes: NB#81696: The passcode is not overwritten even after
8225 * src/hildon-code-dialog.c
8226 (hildon_code_dialog_button_clicked)
8227 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8228 because that doesn't overwrite selected text. Instead, emit the
8229 "commit" signal on the entry's im_context so the entry's normal
8230 insert logic is triggered. Set the cursor to the end of the entry
8231 after each insert operation so that we *only* insert in the middle
8232 of the text if something was selected.
8234 2008-03-27 Michael Natterer <mitch@imendio.com>
8236 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8237 selector cannot be opened
8239 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8240 when the popup color selector is created. Please connect to this
8241 signal in order to set the dialog's help ID.
8243 2008-03-25 Sven Herzberg <sven@imendio.com>
8245 Fixes: MB#1212: Hide info banners (infoprints) on click
8247 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8248 extracted the close event simulation into an extra function
8249 (hildon_banner_button_press_event): simulate a close event and destroy
8250 the widget if the event wasn't handled
8251 (hildon_banner_class_init): added the button_press_event handler
8252 (hildon_banner_init): added button-press events to the widget
8254 2008-03-25 Sven Herzberg <sven@imendio.com>
8256 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8257 Patch from: Mohammad Anwari <mdamt@maemo.org>
8259 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8260 instead of the right in RTL mode
8261 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8262 breadcrumb button list in RTL mode
8263 * src/hildon-caption.c: mirror the appearance of the caption widget in
8265 * src/hildon-date-editor.c: mirror appearance of the date editor in
8267 * src/hildon-time-editor.c: mirror appearance of the time editor in
8269 * src/hildon-window.c: fix the position of the popup in RTL mode
8271 2008-03-25 Sven Herzberg <sven@imendio.com>
8273 Amendment to the fix of NB#22072. Fix compilation.
8275 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8277 2008-03-19 Sven Herzberg <sven@imendio.com>
8279 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8282 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8283 timeout id properly when the timeout will disappear this leaves no
8284 artifacts around in the destroy(); there will only be the timeout
8285 created by hildon_banner_ensure_timeout() and adding a new timeout
8286 will also work if the timeout gets removed because the timeout_handler
8289 2008-03-19 Michael Natterer <mitch@imendio.com>
8291 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8293 * src/hildon-volumebar.c
8294 * src/hildon-vvolumebar.c
8295 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8296 the widget becomes focussable at all.
8298 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8299 set the focus to wither the mute button or the volumebar.
8301 Remove own "can-focus" property and instead listen to
8302 notify::can-focus in order to update the widget's state.
8304 Implement GtkWidget::focus() and make sure we can also *leave* the
8305 widget, not only enter it, depending on volumebar orientation and
8306 requested focus direction.
8308 Clean up set_mute() to cooperate nicely with all the above.
8310 2008-03-04 Michael Natterer <mitch@imendio.com>
8312 Fixes: NB#78481: information banners are hidden under browser menu
8314 * src/hildon-banner.c: call gtk_window_present() on the banners so
8315 they are risen if they are already visible.
8317 2008-03-03 Sven Herzberg <sven@imendio.com>
8319 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8321 * examples/hildon-window-menu-example.c: (main): extended the window
8322 menu example to serve as a testcase for automatically added
8323 accelerator groups, too
8324 * src/hildon-window.c: (hildon_window_add_accel_group),
8325 (hildon_window_set_menu): added patch by Tommi Komulainen
8327 2008-03-03 Sven Herzberg <sven@imendio.com>
8329 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8331 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8332 knowledge about the border allocators used within GTK+
8334 2008-02-26 Sven Herzberg <sven@imendio.com>
8336 Fixes: MB#2981: Build with asserts broken
8338 * src/hildon-date-editor.c,
8339 * src/hildon-number-editor.c,
8340 * src/hildon-time-editor.c,
8341 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8342 the proper GType instance check
8344 2008-02-25 Sven Herzberg <sven@imendio.com>
8346 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8348 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8349 * examples/hildon-window-menu-example.c: (main): explicitly show
8351 * src/hildon-window.c:
8352 (hildon_window_set_main_menu): moved most of the code from set_menu()
8353 to this place; skipped the call to gtk_widget_show_all(); also didn't
8354 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8355 (hildon_window_set_menu): removed most of the code, just keep the
8356 questionable gtk_widget_show_all()
8357 * src/hildon-window.h: added the new function and deprecate the old
8360 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8366 * debian/changelog: Updating.
8368 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8371 * pkgconfig/Makefile.am:
8372 * pkgconfig/hildon.pc.in:
8375 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8376 use newly created API_MAJOR_VERSION.
8378 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8384 * debian/changelog: Updating.
8386 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8388 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8390 Add outer_border style property, we use it but don't define it (!).
8394 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8396 * examples/hildon-bread-crumb-trail-example.c (main):
8400 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8402 Fix logic for the bread crumb trail node removal.
8406 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8412 * debian/changelog: Updating.
8414 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8416 Patch by Alejandro to get/set passwords dialogs accesibility.
8418 * hildon-1/src/hildon-get-password-dialog.c:
8419 * hildon-1/src/hildon-set-password-dialog.c:
8420 Set atk_set_name to the passwd entries in order to allow
8421 accessibility by name on this entries.
8423 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8428 * debian/control: Updating gtk dep.
8430 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8432 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8433 USE_MAEMO_GTK is enabled.
8435 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8437 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8438 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8440 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8446 * debian/changelog: Updating.
8448 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8450 * examples/Makefile.am:
8451 * examples/hildon-logical-color-example.c:
8452 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8453 applied + adding a test case. Fixes: NB#71660.
8455 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8457 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8458 to be visible, fixes warning on map for windows without toolbars.
8460 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8462 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8463 2.11.0, add a check for that besides the MAEMO_GTK check.
8465 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8471 * debian/changelog: Updating.
8473 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8476 visibility. Fixes: NB#70842 and MB#615.
8478 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8480 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8481 set the separator as no-show-all so it doesn't unintentionally appear when
8482 someone does a show_all.
8484 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8486 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8487 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8488 toplevel item. Fixes: NB#62031
8490 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8492 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8493 fix the name of the function in the docs.
8495 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8501 * debian/changelog: Updating.
8503 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8505 * examples/hildon-banner-long-example.c: Adding a test-case for long
8508 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8510 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8512 * src/hildon-color-chooser-dialog.c:
8513 * src/hildon-color-chooser.c:
8514 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8515 memory leaks in font selector and color selector. Fixes: NB#70499 and
8518 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8520 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8522 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8524 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8525 little bit bigger. Fixes: #NB63694.
8527 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8533 * debian/changelog: Updating.
8535 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8538 * doc/hildon-docs.sgml:
8539 * doc/images/bread-crumb-trail.png:
8540 * doc/images/calendar-popup.png:
8541 * doc/images/caption.png:
8542 * doc/images/code-dialog.png:
8543 * doc/images/color-button.png:
8544 * doc/images/color-chooser-dialog.png:
8545 * doc/images/color-chooser.png:
8546 * doc/images/controlbar.png:
8547 * doc/images/date-editor.png:
8548 * doc/images/font-selection-dialog.png:
8549 * doc/images/get-password-dialog.png:
8550 * doc/images/hvolumebar.png:
8551 * doc/images/login-dialog.png:
8552 * doc/images/note.png:
8553 * doc/images/number-editor.png:
8554 * doc/images/range-editor.png:
8555 * doc/images/seekbar.png:
8556 * doc/images/set-password-dialog.png:
8557 * doc/images/sort-dialog.png:
8558 * doc/images/time-editor.png:
8559 * doc/images/time-picker.png:
8560 * doc/images/vvolumebar.png:
8561 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8562 Adding the bread-crumb-trial and helpers to the documentation.
8564 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8566 * examples/hildon-find-toolbar-example.c:
8567 * src/hildon-find-toolbar.c:
8568 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8569 actually continue firing the other handlers if connected. Adding a new
8571 hildon_find_toolbar_get_last_index that gets the index of the most
8572 recently added (last) item. Fixes: NB#52301.
8574 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8576 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8577 behaviour. Fixes: NB#68610.
8579 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8581 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8584 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8586 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8587 when realizing the banner. Should make the infonbanner effect a bit more
8590 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8592 * src/hildon-volumebar.c:
8593 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8594 hildon_volumebar_set_range_insensitive_message and
8595 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8597 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8599 * src/hildon-window.c: Fixing the border freeing on destroy.
8601 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8603 * src/hildon-code-dialog-private.h:
8604 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8605 kw keyboard support in HildonCodeDialog.
8607 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8613 * debian/changelog: Updating.
8615 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8617 * src/hildon-date-editor.c:
8618 * src/hildon-number-editor.c:
8619 * src/hildon-private.c:
8620 * src/hildon-private.h:
8621 * src/hildon-time-editor.c:
8622 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8623 handling in subclassed composite widgets. Fixes: NB#66628.
8625 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8627 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8628 from destroy_ callback as it introduces problems in async dbus signal
8629 handlers. Fixes NB#66673.
8631 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8633 * examples/hildon-hvolumebar-example.c:
8634 * src/hildon-volumebar.c: Improving the focus handling in the
8635 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8636 set_property accessor so that "mute" property can be actually set. I'm
8637 scared that nobody noticed it's totally broken.
8639 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8641 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8644 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8646 * src/hildon-calendar.c:
8647 * src/hildon-number-editor.c:
8648 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8649 matches the spec of 6 chars per second. Fixes: NB#60489.
8651 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8653 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8654 gtk_style_lookup_color sometime returns FALSE even though color was
8655 found and values were filled properly. Weird. Removing the warning for the
8658 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8660 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8661 expand vertically. Adding some extra space to the find toolbar buttons to
8662 make them thumbable. Fixes NB#66060.
8664 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8666 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8667 popup with "Ok" and "Cancel". Fixes NB#59299.
8669 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * src/hildon-calendar.c: Process all window updates before executing next
8672 timeout. Fixes: NB#54146.
8674 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8680 * debian/changelog: Updating.
8682 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8684 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8685 the client event and ignore it, since we use the delete event to close
8688 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8690 * src/hildon-helper.c: Remove the bogus warning about color not being
8691 found. Fixes NB#58352.
8693 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8695 * examples/Makefile.am:
8696 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8697 HildonSeekbar widget inside a toolbar.
8699 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8701 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8702 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8703 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8704 don't want to be closed by non-temporary windows on map.
8706 Also use G_DEFINE_TYPE instead of manually typed code.
8708 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8715 * debian/rules: Updating.
8717 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8719 * examples/Makefile.am:
8720 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8721 bug NB#61128. Strangely it works.
8723 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8725 * src/hildon-date-editor.c: When the date editor entry has been changed
8726 but the numbers of characters < max, turn off the skip validation flag.
8727 Prevents a situation when we enter first a valid year and later re-write
8728 it with an invalid one. Fixes NB#60154.
8730 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8732 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8733 code dialog. Fixes NB#64355.
8735 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8737 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8738 switching the page. Fixes NB#49374.
8740 * examples/Makefile.am:
8741 * examples/hildon-wizard-dialog-example.c: Adding an example for
8742 HildonWizardDialog that shows how to handle manual sensitivity setting on
8745 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8749 * src/hildon-version.h.in:
8750 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8752 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8754 * src/hildon-volumebar.c: Updating the docs.
8756 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8762 * debian/changelog: Updating.
8764 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * src/hildon-find-toolbar.c:
8767 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8768 selected item: hildon_find_toolbar_set_active,
8769 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8770 hildon_find_toolbar_get_active_iter . They correspond to respective
8771 GtkComboBox functions.
8773 * examples/Makefile.am:
8774 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8777 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8779 * examples/Makefile.am:
8780 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8783 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8784 when font size > 32 and we pack a focusable widget inside. Actually using
8785 the default response would work too, but since we don't show default
8786 response state in any way (no theming) it would not be visible to the
8787 user. Fixes NB#63430.
8789 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8791 * src/hildon-date-editor.c: Adding the missing variable setter in the
8792 set_property handler. Fixes NB#54182.
8794 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8796 * src/hildon-window.h: Changing the long key press time from 1500ms to
8797 800ms as requested in NB#63700. I have a bad feeling about this, let's
8798 see... Fixes NB#63700.
8800 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8802 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8803 hildon_time_picker_map, hildon_time_picker_realize,
8804 hildon_time_picker_style_set): Split the contents of map to more
8805 appropriate functions; set window decorations on realize and update
8806 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8808 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8813 * debian/changelog: Updating.
8815 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8817 * src/Makefile.am: fixed installation of the header files
8819 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8825 * debian/changelog: Updating.
8827 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8829 * configure.ac: Removing some remaining of --enable-xan.
8831 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8833 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8834 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8836 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8837 2.10.12-osso6 because the move-focus signal needs to be available in
8840 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8842 * examples/Makefile.am:
8843 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8844 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8845 fine. Prolly NB#61128 is fixed now.
8847 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8849 * src/hildon-volumebar.c:
8850 * src/hildon-volumebar.h: Adding the
8851 hildon_volumebar_set_range_insensitive_message and
8852 hildon_volumebar_set_range_insensitive_messagef functions to set
8853 insensitive message on the slider of the volumebar. Fixes NB#61129.
8855 * examples/Makefile.am:
8856 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8857 test the new insensitive messsage functionality on HildonVolumebar.
8859 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8861 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8864 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8866 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8867 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8868 button on after clearing the trail.
8870 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8872 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8874 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8876 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8877 by splitting the installed headers in generated and non-generated groups. Use
8878 only the non-generated headers to create the hildon-enum-types.h file.
8880 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8882 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8884 * src/hildon-window.c: Hide the window before performing the destroy.
8885 Should make the app closing a little tiny bit more snappy.
8887 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8889 * src/hildon-seekbar.c: add gtkrange.h header
8890 * src/hildon-caption.c: remove unused variable
8892 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8894 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8897 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8903 * debian/changelog: Updating.
8905 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8907 * src/hildon-window.c (hildon_window_window_state_event,
8908 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8909 escape timeout on focus-out-event rather than notify::is-topmost; the
8910 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8912 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8914 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8915 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8917 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8919 * src/hildon-window: actually, you need to use the macro always, there's
8920 no private pointer in the instance structure. We should have cleaned this up
8921 when we had the chance...
8923 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8925 * src/hildon-window.c: do not get the private date from HildonWindow before
8926 it passes the g_return_if_fail check. Once it's passed the test, there's no
8927 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8928 if you are only going to access the data once. Whitespace cleanups.
8930 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8932 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8933 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8935 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8941 * debian/changelog: Updating.
8943 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8945 * src/hildon-window.c: When destroying the window, remove (if exists) the
8946 escape timeout handler. Fixes #NB59276.
8948 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8950 * src/hildon-banner.c: When realizing the widget, set the window
8951 transiency. Setting the transiency in the gobject constructor is not
8952 good, as the widget is not realized at that point. Fixes: #NB56624.
8954 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8956 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8957 Add padding for future expansions.
8959 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8961 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8962 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8963 will fake an activation on the previous to the last item of the trail, so
8964 the effect can be overrided by the developer as usual.
8965 Also change the callback for the back button to do the same thing, so its
8966 effect can be overrided too. Fixes: NB#58982
8968 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8971 HildonCaption. Fixes NB#52379.
8973 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8975 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8976 the internal state of the trail after the user has had the chance of executing
8977 his handler for the signal. Specifically, it may happen that the activated button
8978 is removed and the user still lets the default handler run. This would segfault
8981 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8983 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8984 scrollbar to the preview dialog. Fixes NB#54147.
8986 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8988 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8989 max/min year properties can be altered, so the client can modify it
8990 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8992 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8995 hildonlike by default. Fixing a problem with disappearing arrows when
8996 scrolling through months and years. Fixes NB#54127.
8998 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * examples/hildon-date-editor-example.c: Adding error callback to the date
9003 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 * configure.ac: Updating.
9011 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9013 * configure.ac: Adding a special '--enable-xan' configure option that
9014 turns off the -Werror compilation setting. Usefull for development.
9016 * src/hildon-calendar.c:
9017 * src/hildon-number-editor.c:
9018 * src/hildon-time-picker.c: Adding the 5* multiplier to
9021 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9023 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9024 instead of g_object_ref + gtk_object_sink.
9026 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * debian/changelog: Updating.
9034 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9036 * src/hildon-color-chooser-dialog.c:
9037 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9038 straight from Tommi labs.
9040 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9042 * examples/hildon-finger-example.c: Correcting the header file path.
9044 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9045 the changed signal. Fixes a small memory leak.
9047 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9051 * src/hildon-banner.c: Importing several usefull fixes from the
9052 ubuntu-mobile branch.
9054 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9056 * examples/Makefile.am:
9057 * examples/hildon-finger-example.c: Adding a finger-checking code
9060 * src/hildon-font-selection-dialog.c: Do not allocate the color
9061 structure using the g_new. Fixes NB#54061.
9063 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * src/hildon-helper.c: Correcting tabs in file.
9067 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9069 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9070 control the visibility of the children.
9072 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9074 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9080 * debian/changelog: Updating.
9082 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9084 * src/hildon-bread-crumb-trail.c:
9085 (hildon_bread_crumb_trail_size_allocate):
9087 Make the back button always a square.
9089 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9091 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9092 from the .c file as it's a private file.
9094 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9096 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9097 uses slightly bigger height.
9099 * src/hildon-font-selection-dialog.c: Adding some checks before
9100 freeing memory in the font selection dialog.
9102 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9104 * src/hildon-font-selection-dialog.c: Adding a small check when
9107 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9108 buttons sensitivity on page switching.
9110 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9112 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9113 internal details of adding a bread crumb to the trail.
9115 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9121 * debian/changelog: Updating.
9123 * src/hildon-bread-crumb-trail.h:
9124 * src/hildon-bread-crumb.h: Changing the API guard to
9125 HILDON_ENABLE_UNSTABLE_API.
9127 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9135 * src/hildon-helper.h: Updating.
9137 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9145 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9149 * src/hildon-helper.h: Small fix to make the package actually compile.
9151 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9153 * src/hildon-bread-crumb-trail.h:
9154 * src/hildon-bread-crumb.h:
9156 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9157 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9159 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9161 * examples/hildon-bread-crumb-trail-example.c:
9163 * src/hildon-bread-crumb-trail.c:
9164 * src/hildon-bread-crumb-trail.h:
9165 * src/hildon-bread-crumb.c:
9166 * src/hildon-bread-crumb.h:
9167 * src/hildon-marshalers.list:
9168 * src/hildon-bread-crumb-widget.c:
9169 * src/hildon-bread-crumb-widget.h:
9171 Slight change in the widget design. The bread crumb trail API is
9172 unchanged, but HildonBreadCrumb is now an interface. A *private*
9173 implementation, hildon-bread-crumb-widget, is provided and used
9174 internally by the trail for the push_text/push_icon functions.
9176 The generic push API is still available, so anyone can implement
9177 and use its own bread crumb widget.
9179 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9181 * debian/rules: Fixing the shlibs.
9183 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9185 * src/hildon-banner.c: Fixing a problem with timed banners having
9186 their parrent destroyed before they are.
9188 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9190 * src/hildon-bread-crumb.c:
9191 * src/hildon-bread-crumb.h:
9193 Make the get_natural_size function a vfunc.
9195 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9197 * src/hildon-bread-crumb.c:
9198 * src/hildon-bread-crumb-trail.c:
9202 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9209 * debian/changelog: Updating for release.
9211 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9213 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9214 don't leak the pango layout.
9216 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9219 * examples/hildon-bread-crumb-trail-example.c:
9223 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9225 * debian/changelog: Removing the bug-fixed entries that were actually
9226 resolved as WONTFIX.
9228 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9231 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9233 * src/hildon-bread-crumb-trail.c:
9234 * src/hildon-bread-crumb-trail.h:
9235 * src/hildon-bread-crumb.c:
9236 * src/hildon-bread-crumb.h:
9240 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9242 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9243 until it's passed the type check.
9245 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9247 * examples/hildon-bread-crumb-trail-example.c
9251 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9253 * examples/Makefile.am
9254 * examples/hildon-bread-crumb-trail-example.c
9256 * src/hildon-bread-crumb-trail.c
9257 * src/hildon-bread-crumb-trail.h
9258 * src/hildon-bread-crumb.c
9259 * src/hildon-bread-crumb.h
9261 New HildonBreadCrumbTrail widget.
9263 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9265 * src/hildon-range-editor.c (hildon_range_editor_init),
9266 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9267 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9268 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9269 hildon_time_editor_class_init, hildon_time_editor_init),
9270 src/hildon-get-password-dialog.c (invalid_input,
9271 hildon_get_password_set_property, hildon_get_password_get_property,
9272 create_contents, hildon_get_password_dialog_set_max_characters),
9273 src/hildon-set-password-dialog.c (create_contents),
9274 src/hildon-date-editor.c (hildon_date_editor_init),
9275 src/hildon-login-dialog.c (hildon_login_dialog_init),
9276 src/hildon-number-editor.c (hildon_number_editor_init),
9277 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9278 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9279 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9280 configure option and adding the respective checks in the code.
9281 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9282 hildon_calendar_drag_data_received): fixed some build warnings.
9284 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9286 * debian/changelog: A 1.0.0 release notes.