1 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-entry.c: (set_property): Do not allow to set
4 automatic height and use finger height instead, to prevent an to
5 have a smaller size than than its theme pixbuf.
7 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
9 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
11 * configure.ac: postrelease version bump.
12 * debian/changelog: post release version bump
14 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
19 * configure.ac: Bump version.
20 * debian/changelog: Updates.
22 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
24 * hildon/hildon-note.c: (label_size_request): Take the note
25 padding into account when setting the size request.
27 Fixes: NB#127896 (Information notes text truncated)
29 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
31 * configure.ac: postrelease version bump.
32 * debian/changelog: post release version bump
34 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
39 * configure.ac: Bump version.
40 * debian/changelog: Updates.
42 2009-07-16 Alejandro G. Castro <alex@igalia.com>
45 * hildon/hildon-text-view.c,
46 (hildon_text_view_button_press_event): Grabbed the focus in button
47 press, this way we are sure the widget has the focus in the
48 release event, required for HIM.
50 Fixes: NB#121445 (Virtual keyboard opening is not working in same
51 way for each text entry field)
53 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
55 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
56 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
57 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
58 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
59 (hildon_pannable_area_[gs]et_center_on_child_focus)
60 Redefined GtkContainer set-focus-child signal, in order to center
61 properly on a child when it receives the focus. Defined a new property
62 "center-on-child-focus" in order to activate this feature (deactivated
63 by default). Public get/set methods defined to manage the property.
65 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
67 2009-07-14 László Pere <lpere@blumsoft.eu>
69 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
70 the new size is applied.
72 Fixes: NB#124510 (The Application Menu is distorted when switched
73 between portrait and landscape mode)
74 Fixes: NB#115388 (Power key menu does not resize itself)
76 2009-07-01 Alberto Garcia <agarcia@igalia.com>
78 * hildon/hildon-banner.c (hildon_banner_map):
79 Set banner position after mapping.
81 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
83 * configure.ac: postrelease version bump.
84 * debian/changelog: post release version bump
86 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
91 * configure.ac: Bump version.
92 * debian/changelog: Updates.
94 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
96 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
99 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
101 * tests/check-hildon-banner.c
103 * tests/test_suites.h
104 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
105 were testing deprecated functions.
106 * examples/hildon-banner-example.c: typo on button3 type, that causes
107 a fail compiling with --with-examples but without --disable-deprecated
109 Missed commit in order to fix compilation using '--enable-fatal' and
110 '--disable-deprecated' (see previous commit)
112 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
114 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
115 functions with #ifndef HILDON_DISABLE_DEPRECATED
116 * examples/hildon-find-toolbar.c: Protect deprecated
117 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
118 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
119 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
120 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
122 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
123 to allow proper compilation of deprecated functions defined on the header
125 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
127 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
129 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
130 Cache the panning indicator color.,
131 (hildon_pannable_area_style_set): Query the color on style changes.
132 (hildon_pannable_draw_vscroll),
133 (hildon_pannable_draw_hscroll),
134 (hildon_pannable_area_expose_event): Use the cached panning indicator
135 color instead of looking it up on every expose and more.
137 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
139 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
140 (hildon_pannable_draw_hscroll),
141 (hildon_pannable_area_expose_event): Fix the panning indicator color,
142 so that it's "SecondaryTextColor", as desired.
144 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
146 * hildon/hildon-picker-dialog.c:
147 (selection_completed): take into account HILDON_UI_MODE_NORMAL
148 * hildon/hildon-touch-selector.c
149 (hildon_touch_selector_init): Initialize hildon-ui-mode
150 (hildon_touch_selector_row_activated): new callback for the
151 "row-activated" signal, in order to save the last activated
152 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
153 if the current hildon-ui-mode is coherent with the touch selector
154 (hildon_touch_selector_class_init)
155 (hildon_touch_selector_get_property)
156 (hildon_touch_selector_set_property)
157 Added "hildon-ui-mode" property
158 (disconnect_model_handlers): renamed to clean_column
159 (hildon_touch_selector_remove): use clean_column function
160 (_create_new_column): use the hildon-ui-mode to create the treeview, and
161 only select the first element on HILDON_UI_MODE_EDIT
162 (hildon_touch_selector_column_init): Initialize last_activate
163 (hildon_touch_selector_append_column): check that the touch selector
164 is coherent with the current hildon-ui-mode
165 (hildon_touch_selector_get_hildon_ui_mode)
166 (hildon_touch_selector_set_hildon_ui_mode)
167 Added a getter/setter for the hildon-ui-mode property
168 (hildon_touch_selector_get_last_activated_row): Added this method in
169 order to get the last activated row.
170 * examples/hildon-touch-selector-normal-mode-example.c
171 New example, that shows how to use the HildonTouchSelector in
172 HILDON_UI_MODE_NORMAL
174 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
175 Kristian Rietveld <kris@lanedo.com> advices
177 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
179 * hildon/hildon-time-selector.c: (update_format_policy): Do
180 not call update_format_dependant_columns() if not necessary.
181 (update_format_dependant_columns): Remove unnecessary check for
182 the number of columns.
184 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
186 * hildon/hildon-note.c (+hildon_note_constructor),
187 (hildon_note_class_init), (+hildon_note_set_padding),
188 (hildon_note_rebuild): Install a constructor where to set the
189 padding properties in the note, so that it actually works fine.
190 Use hildon_note_set_padding() for this, and also to set it during
193 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
195 * configure.ac: Bump GTK+ requirement to 2.14.3.
196 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
197 when using maemo-gtk to define proper margins for the notes.
199 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
200 with the dialog edge)
202 2009-06-24 Alberto Garcia <agarcia@igalia.com>
204 * hildon/hildon-banner.c
205 (hildon_banner_class_init):
207 (+hildon_banner_size_request):
208 Request always the full width of the screen.
209 (hildon_banner_realize)
210 (-hildon_banner_check_position, hildon_banner_map):
211 hildon_banner_check_position() is not needed in Hildon 2.2.
212 (-hildon_banner_reset_wrap_state)
213 (hildon_banner_constructor, hildon_banner_init):
214 Remove unnecessary calls to hildon_banner_reset_wrap_state()
215 (+banner_do_set_text)
216 (force_to_wrap_truncated):
217 Remove has_been_wrapped and has_been_truncated attributes.
218 (+reshow_banner, hildon_banner_real_show_information)
219 (hildon_banner_show_information_with_markup)
220 (hildon_banner_show_animation, hildon_banner_show_progress)
221 (hildon_banner_set_text, hildon_banner_set_markup):
222 Refactor code. Shrink banner vertically to use the minimum space
223 necessary everytime the text of the label is updated.
224 (screen_size_changed):
225 Call force_to_wrap_truncated() when the size of the screen
228 Fixes: NB#120500 (only device memory connect mmc in use info
229 banner is left aligned)
231 Fixes: NB#120613 (Size of HildonBanner varies depending on
232 previously opened banners)
234 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
236 * hildon/hildon-color-chooser.c
237 (hildon_color_chooser_pointer_motion): Take the widget allocation
240 Fixes: NB#124385 (Unable to select exact point in color mixing box
241 in color palette dialog)
243 2009-06-23 Alejandro G. Castro <alex@igalia.com>
245 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
246 (hildon_pannable_area_dispose)
247 (hildon_pannable_area_button_press_cb)
248 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
249 (hildon_pannable_area_button_release_cb)
250 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
251 New 'panning-started' and 'panning-finished' signals.
253 Fixes: NB#121732 (New feature request: Signal to pannable area
254 that informs when panning is stopped.)
256 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
258 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
259 instead of hardcoded colon.
261 Fixes: NB#124090 (New calendar wizard title is not using
262 ecdg_ti_caption_separator)
264 2009-06-22 David King <davidk@openismus.com>
266 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
267 constants and functions, as well as correct many typos throughout the
270 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
273 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
275 * configure.ac: postrelease version bump.
276 * debian/changelog: post release version bump
278 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
283 * configure.ac: Bump version.
284 * debian/changelog: Updates.
286 2009-06-18 Alberto Garcia <agarcia@igalia.com>
288 * hildon/hildon-window-stack.c
289 (hildon_window_stack_pop_and_push_list):
290 Prevent windows from having the same stack index
292 2009-06-18 Alberto Garcia <agarcia@igalia.com>
294 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
295 Use the index of the previous window rather than the stack length
296 to calculate the new index.
300 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
302 * hildon/hildon-date-selector.c
303 (hildon_date_selector_select_current_date)
304 (hildon_date_selector_get_date)
305 (hildon_date_selector_select_day):
306 Update the documentation: uses always the range (1-31), as it is obvious
307 that the final one will depend on the month and the year, but globally
308 the range is this, in a similar GtkCalendar approach
309 (hildon_date_selector_get_date):
310 Update the documentation: add NULL as a valid value for the day, month
313 Fix some details, after talk with David King on bug MB#4698
315 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
317 * hildon/hildon-touch-selector-entry.c
318 * hildon/hildon-touch-selector.c
319 Update the documentation of the "text-column" property
321 2009-06-18 David King <davidk@openismus.com>
323 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
324 several typos and errors throughout the documentation.
326 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
329 2009-06-18 Alberto Garcia <agarcia@igalia.com>
331 * hildon/hildon-note.c (hildon_note_realize):
332 Make HildonNote support portrait mode.
334 Fixes: NB#123448 (HildonNote is not portrait-friendly)
336 2009-06-17 Alberto Garcia <agarcia@igalia.com>
338 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
339 Document this function
341 2009-06-17 David King <davidk@openismus.com>
343 * hildon/hildon-date-selector.c
344 (hildon_date_selector_select_current_date)
345 (hildon_date_selector_get_date): Update documentation regarding days,
346 as the day of the month is dependent on both the month and the year.
347 (hildon_date_selector_get_date): Fix documentation of output arguments.
349 Fixes: MB#4698 (DateSelector documentation has bad output argument
350 description, and the day depends on both the month and the year)
352 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
354 * hildon/hildon-caption.c: Other documentation fixes to
357 2009-06-17 David King <davidk@openismus.com>
359 * hildon/hildon-caption.c: Minor documentation updates for
360 HildonCaption. Fixes MB#4697.
362 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
364 * doc/hildon-docs.sgml: Add hildon-version section.
365 * doc/hildon-sections.txt:
366 * hildon/hildon-version.h.in: Document versioning macros and
369 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
371 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
372 from HildonPickerDialog section.
374 2009-06-16 Alberto Garcia <agarcia@igalia.com>
376 * hildon/hildon-banner.c (hildon_banner_bind_style)
377 (screen_size_changed, hildon_banner_init)
378 (hildon_banner_real_show_information)
379 (hildon_banner_show_information_with_markup)
380 (hildon_banner_show_animation, hildon_banner_show_progress):
381 Set a different widget name to banners in portrait mode, for them
382 to be themed correctly.
384 2009-06-16 Alberto Garcia <agarcia@igalia.com>
386 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
387 Set a different widget name to notes in portrait mode, for them to
390 Partially fixes: NB#118401 (HildonNote causes unnecessary
393 2009-06-16 Alberto Garcia <agarcia@igalia.com>
395 * hildon/hildon-note.c (hildon_note_class_init)
396 (+hildon_note_size_request, screen_size_changed):
397 Always request the full width of the screen.
399 Fixes: NB#118375 (unnecessary rescaling of images)
401 2009-06-16 Alejandro G. Castro <alex@igalia.com>
403 * hildon/hildon-pannable-area.c,
404 (hildon_pannable_area_init),
405 (hildon_pannable_area_realize): Replaced old code adding flags in
406 the object init, now we add it with the other flags in the realize
409 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
411 * hildon/hildon-note.c: (hildon_note_class_init): Several
412 documentation improvements to the HildonNote widget.
414 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
416 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
418 Fixes: MB#4556 (HildonNoteType is undocumented)
420 2009-06-15 Alberto Garcia <agarcia@igalia.com>
422 * hildon/hildon-picker-button.c:
423 Explain how HildonPickerButton sets the title of its dialog
425 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
426 the title of its dialog)
428 2009-06-15 Alberto Garcia <agarcia@igalia.com>
430 * hildon/hildon-check-button.c:
431 Documentation updates
433 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
436 2009-06-15 Alberto Garcia <agarcia@igalia.com>
439 * hildon/hildon-edit-toolbar-private.h
440 * hildon/hildon-edit-toolbar.c
441 (+hildon_edit_toolbar_set_progress_indicator)
442 (hildon_edit_toolbar_init): Add progress indicator to the
445 * hildon/hildon-gtk.c
446 (hildon_gtk_window_set_progress_indicator):
447 If the window contains a HildonEditToolbar, enable the progress
450 * hildon/hildon-private.h
451 * hildon/hildon-private.c
452 (+hildon_private_create_animation)
453 * hildon/hildon-banner.c
454 (-hildon_banner_create_animation):
455 Moved to hildon-private.c
457 Fixes: NB#102373 (Progress indicator also for the Edit mode
460 2009-06-15 Alberto Garcia <agarcia@igalia.com>
462 * hildon/hildon-app-menu-private.h
463 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
464 (hildon_app_menu_add_filter, +menu_item_button_event)
465 (hildon_app_menu_button_release, hildon_app_menu_init):
466 Make sure that buttons receive 'button-release-event' in spite of
467 the grab held by HildonAppMenu
469 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
471 2009-06-15 Alberto Garcia <agarcia@igalia.com>
473 * hildon/hildon-app-menu.c
474 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
475 New style property to set the size of the group of filter buttons.
477 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
479 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
484 * configure.ac: Bump version.
485 * debian/changelog: Updates.
487 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
489 * hildon/hildon-main.c: Minor documentation fixes.
491 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
493 * doc/hildon-sections.txt:
494 * hildon/hildon-defines.h: Document the defines, organize them,
495 and mark deprecations as such.
497 Fixes: MB#4463 (Hildon size #defines are undocumented)
499 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
501 * hildon/hildon-animation-actor.c:
502 * hildon/hildon-app-menu.c:
503 * hildon/hildon-button.c:
504 * hildon/hildon-date-editor.c:
505 * hildon/hildon-dialog.c:
506 * hildon/hildon-edit-toolbar.c:
507 * hildon/hildon-entry.c:
508 * hildon/hildon-program.c:
509 * hildon/hildon-remote-texture.c:
510 * hildon/hildon-stackable-window.c:
511 * hildon/hildon-text-view.c:
512 * hildon/hildon-touch-selector.c:
513 * hildon/hildon-window-stack.c:
514 * hildon/hildon-window.c:
516 Remove redundant "represents" wording from most of the documentation.
518 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
520 2009-06-12 Alberto Garcia <agarcia@igalia.com>
525 * hildon/hildon-banner-private.h
526 * hildon/hildon-banner.c:
527 Move HildonBannerPrivate to hildon-banner.c and remove
528 hildon-banner-private.h
529 Use a bit field to store private booleans.
531 2009-06-12 Alberto Garcia <agarcia@igalia.com>
533 * hildon/hildon-app-menu.c (hildon_app_menu_map):
534 Don't install a new idle function if there's already one
539 2009-06-11 Alberto Garcia <agarcia@igalia.com>
541 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
542 (+legacy_menu_realized, +legacy_menu_unmapped)
543 (+set_legacy_menu_type):
544 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
545 they can be identified by the window manager.
547 Fixes: NB#101437 (Invoking CSM on the left side of page area is
548 displayed in wrong location)
550 Fixes: MB#4563 (Popup menu won't locate at the left side of the
553 2009-06-11 Alberto Garcia <agarcia@igalia.com>
555 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
557 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
560 2009-06-11 Alberto Garcia <agarcia@igalia.com>
562 * hildon/hildon-code-dialog.c
563 * hildon/hildon-date-editor.c
564 * hildon/hildon-number-editor.c
565 * hildon/hildon-seekbar.c
566 * hildon/hildon-stackable-window.c
567 * hildon/hildon-window.c:
568 Misc documentation updates
570 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
572 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
573 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
575 Fixes: NB#117931 (Theming issues in accounts dialogs)
577 2009-06-09 Alejandro G. Castro <alex@igalia.com>
579 * hildon/hildon-pannable-area.c,
580 (hildon_pannable_area_button_release_cb): Changed the coordinates
581 of the original release in case we want to discard the release,
582 some widgets in Fremantle do not handle the leave-notify.
584 2009-06-09 Alejandro G. Castro <alex@igalia.com>
586 * hildon/hildon-pannable-area.c,
587 (hildon_pannable_area_button_release_cb): Reviewed the logic of
588 the release using the last refactored functions and avoiding the
589 movement if an element was selected.
591 2009-06-09 Alejandro G. Castro <alex@igalia.com>
593 * hildon/hildon-pannable-area.c,
594 (hildon_pannable_area_check_move),
595 (hildon_pannable_area_handle_move),
596 (hildon_pannable_area_motion_notify_cb): Refactored the
597 motion_notify method using a couple of new functions.
599 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
601 * hildon/hildon-date-selector.c:
602 (hildon_date_selector_construct_ui):
603 * hildon/hildon-time-selector.c:
604 (hildon_time_selector_constructor):
605 * hildon/hildon-touch-selector-entry.c:
606 (hildon_touch_selector_entry_set_text_column),
607 (hildon_touch_selector_entry_get_text_column):
608 * hildon/hildon-touch-selector.c: (_default_print_func),
609 (hildon_touch_selector_new_text): Use
610 hildon_touch_selector_set/get_text_column() instead of
611 setting/getting the "text-column" property.
613 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
615 * doc/hildon-sections.txt: Add the new public methods below.
617 * examples/hildon-picker-button-multicolumn-example.c:
618 (create_touch_selector):
619 * examples/hildon-touch-selector-example.c: (create_selector):
620 * examples/hildon-touch-selector-multi-cells-example.c:
622 Use hildon_touch_selector_column_set_text_column()
624 * hildon/hildon-touch-selector-column.h:
625 * hildon/hildon-touch-selector.c:
626 (hildon_touch_selector_column_set_text_column),
627 (hildon_touch_selector_column_get_text_column):
628 Make hildon_touch_selector_column_set/get_column() public, use
629 them in the inline example, document them, and reference to them
632 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
634 * hildon/hildon-time-selector.c: Fix the docs for
635 hildon_time_selector_new_step().
637 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
639 * hildon/hildon-touch-selector.c: Improve the documentation for
640 hildon_touch_selector_append_column().
642 Fixes MB#4641 (Documentation:
643 hildon_touch_selector_append_column() ref-counting)
645 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
647 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
648 Comment out test 5, since the hildon_controlbar_set_range() range
649 check is broken and fixing it would have side effects. Also,
650 this finally fixes make distcheck.
652 Fixes: NB#101420 (Update unit tests and fix make distcheck)
654 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
656 * tests/TEST-CASES.txt: Remove other bogus test.
657 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
658 Remove bogus test that was setting/retrieving a valid value.
660 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
662 * tests/TEST-CASES.txt: Remove bogus tests.
663 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
664 Remove three bogus tests that were actually setting valid colors.
666 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
668 * configure.ac: post release version bump
669 * debian/changelog: post release version bump
671 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
676 * configure.ac: Bump version.
677 * debian/changelog: Updates.
679 2009-06-08 Christian Dywan <christian@lanedo.com>
683 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
684 Correct errors in hildon_format_file-size_for_display and use
685 translations from the hildon-fm package instead of osso-filemanager.
687 2009-06-08 Alejandro G. Castro <alex@igalia.com>
689 * hildon/hildon-pannable-area.c,
690 (hildon_pannable_area_init): Initialized new values to handle the
692 (hildon_pannable_area_adjust_value_changed): Check if the values
693 changed before even call the redraw function.
694 (hildon_pannable_area_size_allocate),
695 (hildon_pannable_axis_scroll),
696 (hildon_pannable_area_scroll),
697 (hildon_pannable_area_jump_to): Improved the diagonal movement
700 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
703 2009-06-08 Alberto Garcia <agarcia@igalia.com>
705 * examples/hildon-banner-example.c:
706 Several style updates
707 (on_animation_clicked, on_animation_idle)
708 (on_progress_clicked, on_progress_idle):
709 Add additional reference for the cases when the parent window is
712 2009-06-08 Alberto Garcia <agarcia@igalia.com>
714 * doc/hildon-sections.txt
715 * hildon/hildon-pannable-area.c
716 * hildon/hildon-banner.h
717 * hildon/hildon-banner.c: Documentation updates.
719 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
722 2009-06-05 Alejandro G. Castro <alex@igalia.com>
724 * hildon/hildon-calendar-popup.h:
725 * hildon/hildon-caption.h:
726 * hildon/hildon-code-dialog.h:
727 * hildon/hildon-controlbar.h:
728 * hildon/hildon-date-editor.h:
729 * hildon/hildon-dialog.h:
730 * hildon/hildon-get-password-dialog.h:
731 * hildon/hildon-hvolumebar.h:
732 * hildon/hildon-login-dialog.h:
733 * hildon/hildon-note.h:
734 * hildon/hildon-number-editor.h:
735 * hildon/hildon-range-editor.h:
736 * hildon/hildon-seekbar.h:
737 * hildon/hildon-set-password-dialog.h:
738 * hildon/hildon-sort-dialog.h:
739 * hildon/hildon-time-editor.h:
740 * hildon/hildon-time-picker.h:
741 * hildon/hildon-volumebar-range.h:
742 * hildon/hildon-volumebar.h:
743 * hildon/hildon-vvolumebar.h:
744 * hildon/hildon-weekday-picker.h:
745 * hildon/hildon-window.h:
746 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
747 macros with the current replacements
749 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
751 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
753 * hildon/hildon-color-button.c (hildon_color_button_init): Use
754 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
755 itself, to make it fit better with Fremantle style.
757 Fixes: NB#109878 (height and width of focus on color icon is not
758 consistent with other item in the application tool bar)
760 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
762 * hildon/hildon-touch-selector.c:
763 (hildon_touch_selector_optimal_size_request): use the current requisition
764 as the base, in order to include any possible extra widget, like the
765 hildon entry on HildonTouchSelectorEntry
767 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
769 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
771 * configure.ac: post release version bump
772 * debian/changelog: post release version bump
774 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
779 * configure.ac: Bump version.
780 * debian/changelog: Updates.
782 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
784 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
786 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
787 to ensure the banner contents are centered, instead of relying on
788 the expand and fill properties in GtkHBox.
789 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
791 Fixes: NB#108265 (Animation banner not properly centered)
793 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
795 * hildon/hildon-pannable-area.c
796 (hildon_pannable_area_initial_effect): Remove the initial_effect
797 management, check initial_hint
798 (hildon_pannable_are_expose_event): Remove the initial_hint management,
799 set initial_effect to FALSE
800 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
801 by launching the fade_timeout if the scrollbars state has changed and are
803 * examples/hildon-pannable-area-initial-hint-example.c
804 Modified to allow to remove rows too. Add and remove rows one by one.
806 2009-05-28 Alberto Garcia <agarcia@igalia.com>
808 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
809 Don't close the menu if there's an animation actor below it.
811 Fixes: NB#117927 (Application menu not usable with animation
814 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
816 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
817 "focus-on-click" from the dialog button, to avoid stealing the
818 focus from the entry.
820 Fixes: NB#118903 (Account setup wizard: Text in Search field
821 should be focused when "Region" touch list picker is reopened
824 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
826 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
827 (prepare_action_area): Completely hide the dialog separator.
829 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
831 * hildon/hildon-touch-selector-entry.c
832 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
833 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
834 now that the entry is exposed.
836 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
838 * hildon/hildon-touch-selector-entry.c
839 (hildon_touch_selector_entry_init): Change the entry's size
840 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
842 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
844 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
845 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
846 avoid unnecessary scaling.
848 2009-05-27 Alberto Garcia <agarcia@igalia.com>
850 * hildon/hildon-app-menu.c (hildon_app_menu_map):
851 Create grab transfer window before calling parent's map function.
853 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
854 "crushed" button(s) in the top left corner)
856 2009-05-26 Alberto Garcia <agarcia@igalia.com>
858 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
859 Check if the window is already realized when pushing it.
861 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
863 * configure.ac: post release version bump
864 * debian/changelog: post release version bump
866 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
871 * configure.ac: Bump version.
872 * debian/changelog: Updates.
874 2009-05-25 Alberto Garcia <agarcia@igalia.com>
876 * hildon/hildon-app-menu.c: Doc updates.
878 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
880 * hildon/hildon-banner.c: Remove leftover macro.
882 2009-05-25 Alejandro G. Castro <alex@igalia.com>
884 * hildon/hildon-pannable-area.c,
885 (hildon_pannable_area_scroll_indicator_fade),
886 (hildon_pannable_area_button_release_cb): Reviewed vmin
887 conditions, it could cause problems in the fadeout procedure.
889 2009-05-25 Alejandro G. Castro <alex@igalia.com>
891 * hildon/hildon-pannable-area.c
892 (hildon_pannable_area_button_release_cb): Added a threshold to
893 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
895 2009-05-25 Alejandro G. Castro <alex@igalia.com>
897 * hildon/hildon-pannable-area.c,
898 (hildon_pannable_area_set_property): Added code to sync the gtk
899 dnd threshold with the panning threshold.
901 2009-05-25 Alejandro G. Castro <alex@igalia.com>
903 * hildon/hildon-pannable-area.c,
904 (hildon_pannable_area_class_init): Changed some of the default
905 values, now it should be less responsive and more accurate.
907 2009-05-25 Alejandro G. Castro <alex@igalia.com>
909 * hildon/hildon-pannable-area.c,
910 (hildon_pannable_area_init),
911 (hildon_pannable_area_scroll_indicator_fade),
912 (hildon_pannable_area_button_press_cb),
913 (hildon_pannable_axis_scroll),
914 (hildon_pannable_area_timeout),
915 (hildon_pannable_area_motion_notify_cb),
916 (hildon_pannable_area_button_release_cb): Changed the name of the
917 clicked attribute to button_pressed, it is more clear about its use.
919 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
921 * src/hildon-pannable-area.c
922 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
924 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
925 vertical scrollbar visibility, and use the data on private section instead,
926 remove the initial_hint check
927 (hildon_pannable_area_expose_event): add the initial_hint check here
929 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
931 * src/hildon-pannable-area.c
932 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
933 if the fadeout effect was used
934 (hildon_pannable_area_expose_event): check if it is required to
935 manage the initial effect on the begining of the function. Previously
936 it was made at the end, but this doesn't ensure that the scrollbars
937 will be painted on the first show. Do not set to FALSE initial_effect,
938 to ensure that the initial hint is showed the first time the pannable
940 * examples/Makefile.am
941 * examples/hildon-pannable-area-initial-hint-example.c:
942 New example, to show that the initial-hint is showed when the widget
945 Fixes: NB#116607 (Pannable area should always have scrollbar visible
946 initially if the application can be scrolled)
948 2009-05-25 Alberto Garcia <agarcia@igalia.com>
950 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
951 Resize table before adding new items to make sure that
952 gtk_table_resize() is called just once.
954 2009-05-25 Alberto Garcia <agarcia@igalia.com>
956 * hildon/hildon-app-menu-private.h
957 * hildon/hildon-app-menu.c (item_visibility_changed)
958 (filter_visibility_changed, hildon_app_menu_show_all)
959 (hildon_app_menu_hide_all, hildon_app_menu_init):
960 Rearrange items just once when gtk_widget_show_all()/hide_all()
963 2009-05-25 Alberto Garcia <agarcia@igalia.com>
965 * hildon/hildon-app-menu.c
966 (hildon_app_menu_insert, hildon_app_menu_add_filter):
967 Don't call gtk_widget_show() on added items.
969 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
970 automatically when they're added)
972 2009-05-20 Alberto Garcia <agarcia@igalia.com>
974 * hildon/hildon-banner.c
975 (hildon_banner_realize, +hildon_banner_unrealize)
976 (+screen_size_changed, hildon_banner_class_init):
977 Redisplay the banner if the screen is rotated.
979 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
980 on transition from landscape to portrait)
982 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
984 * hildon/hildon-banner.[ch]:
985 (hildon_banner_show_information_override_dnd): remove icon_name from the
986 method definition as it is ignored.
987 * examples/hildon-banner-dnd-example.c: updated with the change on
990 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
992 * hildon/hildon-banner-private.h: new require_override_dnd and
993 overrides_dnd variables
994 * hildon/hildon-banner.h:
995 (hildon_banner_show_information_override_dnd): new method, that shows
996 the information but sets the override flag, in order to show important
998 * hildon/hildon-banner.c
999 (hildon_banner_show_information_override_dnd): new method
1000 (hildon_banner_set_override_flag): new utility function
1001 (hildon_banner_real_show_information): new utility function, in order to
1002 generalize the current hildon_banner_show_information_override_dnd and
1003 hildon_banner_show_information_override_dnd
1004 * examples/Makefile.am
1005 * examples/hildon-banner-dnd-example.c: New example that show how to
1006 use the new hildon_banner_show_information_override_dnd
1008 Fixes: NB#114874 (There is no possibility to show hildon banners with
1011 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1013 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1014 behind hildon_pannable_calculate_vel_factor().
1016 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1018 * hildon/hildon-pannable-area.c
1019 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1020 deceleration factors.
1022 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1024 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1025 Reduce the default value for 'scroll_time' to 1 second, since the
1026 current initial scrolling takes too much time.
1028 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1030 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1031 calculate velocity factor during initialization, since the properties
1034 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1036 * hildon/hildon-pannable-area.c
1037 (hildon_pannable_area_set_property): Calculate the velocity factor
1038 after setting the deceleration property and not after.
1040 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1042 * hildon/hildon-entry.c
1043 (hildon_entry_class_init, +set_property, hildon_entry_new)
1044 * hildon/hildon-check-button.c
1045 (hildon_check_button_class_init)
1046 (+set_property, hildon_check_button_new):
1047 Make the theme size a property.
1049 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1050 others) do too much in the _new function)
1052 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1054 * configure.ac: post release version bump
1055 * debian/changelog: post release version bump
1057 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1062 * configure.ac: Bump version.
1063 * debian/changelog: Updates.
1065 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1067 * hildon/hildon-gtk.h
1068 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1069 New API function to take a screenshot of a window
1071 Fixes: NB#106374 (Need API to take a loading screenshot)
1073 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1075 * hildon/hildon-time-selector.c
1076 (update_format_policy): prevent to use hours and minutes unitialized
1078 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1080 * hildon/hildon-window.c (hildon_window_size_request):
1081 Always request the full size of the screen (minus the title bar if
1082 not in fullscreen mode).
1084 Fixes: NB#107486 (HildonWindow should size itself properly)
1086 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1088 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1089 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1090 (on_show_cb), (sound_handling): Disconnect the idle handler for
1091 the sound when the note is finalized to avoid possible crashes.
1093 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1096 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1098 * src/hildon-animation-actor.c,
1099 * src/hildon-remote-texture.c:
1100 Added proper object cleanup to remove signal handler and object
1101 references as HildonAnimationActor and HildonRemoteTexture
1102 objects get destroyed.
1104 Fixes: NB#116682 (Destroying parented animation actors when
1105 parent in unmapped leads to crash)
1107 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1109 Based on a patch by Christian Dywan (christian@imendio.com)
1111 * doc/hildon-sections.txt:
1112 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1113 * hildon/hildon-helper.h: New file size formatting method.
1115 * debian/control: Depend on osso-filemanager l10n package for
1116 proper localization strings.
1118 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1120 * tests/Makefile.am: Include top_srcdir to make possible to build
1121 tests in a different builddir.
1122 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1123 on a different builddir.
1125 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1127 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1128 (hildon_touch_selector_remove): Disconnect model's signal handler
1131 Fixes: NB#116289 (Hildon home crashes while adding task
1134 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1136 * hildon/hildon-button.c
1137 (hildon_button_set_title, hildon_button_set_value):
1138 Hide labels containing an empty string.
1140 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1142 * configure.ac: post release version bump
1143 * debian/changelog: post release version bump
1145 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1150 * configure.ac: Bump version.
1151 * debian/changelog: Updates.
1153 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1155 * hildon/hildon-note-private.h: Removed sound_signal_handler
1156 * hildon/hildon-note.c
1157 (on_show_cb): new callback on note "show" event, this simply adds
1158 a idle, with the function sound_handling
1159 (sound_handling): removed the sound_signal_handler management
1160 (hildon_note_init): connect note "show" event to on_show_cb
1161 (hildon_note_realize): remove the connection to "expose-event"
1163 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1164 device?' confirmation note)
1166 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1168 * hildon/hildon-note.c
1169 (hildon_note_new_information_with_icon_name)
1170 (hildon_note_new_confirmation_with_icon_name):
1171 Terminate the list of parameters in g_object_set() calls
1173 Fixes: NB#115166 (Formatting memory card is not taking place)
1175 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1177 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1178 "dialog-information" role for the sound being played.
1180 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1182 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1183 Don't make the menu a modal window, it causes strange interactions
1184 with the pointer grab and it's not really needed.
1186 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1188 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1190 * hildon/hildon-touch-selector.[ch]
1191 (hildon_touch_selector_optimal_size_request): function added to get a
1192 optimal size request from the touch selector, when you want a dialog to
1193 show as much of the selector
1194 * hildon/hildon-picker-dialog.c:
1195 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1196 (hildon_app_menu_class_init):
1197 New "max-height-landscape" and "max-height-portrait" style properties
1198 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1199 (hildon_picker_dialog_get_max_height): returns the maximum height using
1200 the style properties defined and checking the current portrait/landscape
1202 (_hildon_picker_dialog_set_selector): removed the set_size_request
1204 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1206 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1208 * hildon/hildon-bread-crumb-trail.c:
1209 * hildon/hildon-bread-crumb.c:
1210 * hildon/hildon-seekbar.c:
1211 Add reference to replacements for these deprecated widgets.
1213 Fixes: MB#4461 (Documentation: All deprecations should mention
1216 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1218 * examples/hildon-remote-texture-example.c
1220 Change the include to the hildon-remote-texture in order to compile
1221 properly the examples on the installed libhildon1-examples package
1223 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1225 * tests/Makefile.am: Add check for HildonPickerButton.
1226 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1227 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1228 checks for the HildonPickerButton.
1229 * tests/check_test.c (configure_tests): Add the test suite.
1230 * tests/test_suites.h: likewise.
1232 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1234 * hildon/hildon-touch-selector.c
1235 (+on_row_changed): Emit HildonTouchSelector:changed when the
1236 contents of a selected row change.
1237 (_create_new_column), (_hildon_touch_selector_set_model): connect
1238 to GtkTreeModel:row-changed on a newly set model.
1240 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1242 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1244 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1246 * hildon/hildon-banner.c (hildon_banner_destroy)
1247 (hildon_banner_show_progress, hildon_banner_set_fraction):
1248 Remove the progress bar from HildonBanner and use a progress
1251 Fixes: NB#113761 (Update progress banner to use progress
1254 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1256 * hildon/hildon-banner.c:
1257 Calculate size of the banner label using the actual screen width
1258 rather than using a fixed value.
1260 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1263 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1265 * hildon/hildon-pannable-area.c,
1266 (hildon_pannable_area_class_init): Fixed signals documentation
1269 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1271 * configure.ac: post release version bump
1272 * debian/changelog: post release version bump
1274 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1279 * configure.ac: Bump version.
1280 * debian/changelog: Updates.
1282 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1284 * hildon/hildon-edit-toolbar.c
1285 (hildon_edit_toolbar_init):
1286 Don't let buttons in HildonEditToolbar receive focus.
1288 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1289 typing on an HW arrows key)
1291 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1293 * doc/Makefile.am: Fix build.
1295 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1297 * doc/Makefile.am: Do not redefine content_files.
1299 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1307 Renamed src/ to hildon/
1312 Include <hildon/hildon.h> directly in all examples.
1314 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1316 * src/hildon-sort-dialog.c
1317 (hildon_sort_dialog_add_sort_key_with_sorting)
1321 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1323 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1324 make distcheck passes.
1326 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1328 * Makefile.am: Enable gtk-doc during distcheck.
1330 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1332 * Makefile.am: Do not distribute the debian/ directory.
1334 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1336 * doc/Makefile.am: Add the extra SGML files to content_files,
1337 so that they are distributed properly.
1339 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1341 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1344 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1346 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1347 (hildon_note_new_information_with_icon_name): Set the "icon" property
1348 to preserve soundness.
1350 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1352 * src/hildon-font-selection-dialog.c
1353 (hildon_font_selection_dialog_set_property): Fail when the "family"
1354 property is set to NULL.
1356 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1358 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1361 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1363 * src/hildon-time-selector.h:
1364 Added HildonTimeSelectorFormatPolicy
1365 * src/hildon-time-selector.c:
1366 Added PROP_TIME_FORMAT_POLICY
1367 (_check_ampm_format): renamed to check_automatic_ampm_format
1368 (update_format_policy), (update_format_dependant_columns): new functions
1369 (hildon_time_selector_class_init)
1370 (hildon_time_selector_contructor)
1371 (hildon_time_selector_init)
1372 (hildon_time_selector_get_property)
1373 (hildon_time_selector_set_property)
1374 (hildon_time_selector_get_time)
1375 (hildon_time_selector_set_time)
1376 * src/hildon-touch-selector.h: new file
1377 * src/hildon-touch-selector.c
1378 (hildon_touch_selector_emit_changed)
1379 (hildon_touch_selector_block_changed)
1380 (hildon_touch_selector_unblock_changed)
1381 Added functions to allow to block the emission of the "changed" signal
1382 * src/hildon-picker-dialog.c
1383 (hildon_picker_dialog_show): call the parent show before the custom code
1384 * examples/hildon-time-button-example.c
1385 Modified, so now you can configure the time format using the new property
1387 Added a new property "time-format-policy" that allow to choose the time
1388 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1389 case it uses gconf in order to check if the time selector must use
1392 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1395 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1397 * src/hildon-note.c (hildon_note_init):
1398 Label in HildonNote must be left aligned, not centered. This
1399 reverts the last commit in HildonNote.
1401 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1402 is connectivity dialog)
1404 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1409 * doc/hildon-sections.txt:
1410 Added hildon_gtk_window_set_do_not_disturb()
1412 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1414 * src/hildon-note.c (hildon_note_init): Center label.
1416 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1419 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1424 * configure.ac: Bump version.
1425 * debian/changelog: Updates.
1427 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1429 * src/hildon-note-private.h: Add button-width to the private data.
1430 * src/hildon-note.c (+resize_button),
1431 (+hildon_note_orientation_update): methods to repack widgets on orientation
1433 (screen_size_changed): Call above method for confirmation notes.
1434 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1435 (hildon_note_rebuild): Store the original width request from buttons.
1437 Fixes: NB#109635 (Confirmation notes do not support portrait)
1439 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1441 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1442 when it is a progress note.
1444 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1446 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1447 in the note, since there are no horizontally arranged contents.
1449 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1451 * src/hildon-gtk.c (+set_flag): new generic method to
1452 set/delay a flag setting in a window.
1453 (hildon_gtk_window_set_progress_indicator):
1454 (hildon_gtk_window_set_do_not_disturb),
1455 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1456 avoid code redundance.
1458 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1460 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1462 * src/hildon-gtk.c (set_clear_window_flag),
1463 (do_set_progress_indicator), (do_set_do_not_disturb),
1464 (do_set_portrait_flags),
1465 (hildon_gtk_window_set_progress_indicator),
1466 (hildon_gtk_window_set_do_not_disturb),
1467 (hildon_gtk_window_set_portrait_flags):
1468 Allow setting dnd-flag, progress indicator, and portrait flags
1469 when the window is not realized.
1471 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1473 * src/hildon-pannable-area.c,
1474 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1475 the size request policy function and defines.
1477 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1479 * doc/hildon-sections.txt: Add the new API.
1480 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1481 method to set the portrait flags.
1482 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1484 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1486 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1488 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1489 to allow using this method with other flags.
1490 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1491 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1493 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1495 * src/hildon-touch-selector.c
1496 (hildon_touch_selector_append_text_column):
1497 Make the cell renderer use the smallest width possible.
1499 Fixes: NB#108470 (Selected items in multiple selection are either
1500 having a tick that is cut or not visible at all.)
1502 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1504 * src/hildon-touch-selector.c
1505 (hildon_touch_selector_append_text_column):
1508 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1510 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1511 Use g_strdup_printf() instead of a fixed size buffer.
1513 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1515 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1516 Close banners when a HildonAppMenu is popped up.
1518 Fixes: NB#111027 (Title menu closed immediately if activated when
1519 "Invalid e-mail address" banner is shown)
1521 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1526 * configure.ac: Bump version.
1527 * debian/changelog: Updates.
1529 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1531 * src/hildon-banner.c (hildon_banner_realize):
1532 Mark HildonBanner as supporting portrait mode.
1533 Use GDK to set window properties insetad of direct Xlib calls.
1535 Fixes: NB#111830 (HildonBanner should be marked as supporting
1538 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1540 * src/hildon-note.c (hildon_note_rebuild):
1541 Hide action area in information notes. Prevents text from being
1542 slightly aligned to the left.
1544 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1547 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1549 Patch by Mox Soini (ext-mox.soini@nokia.com)
1551 * src/hildon-banner.c (hildon_banner_create_animation):
1552 Use stylus-sized icons in animation banner.
1554 Fixes: NB#111206 (stylus sized icon for animation banner)
1556 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1560 (+hildon_gtk_window_set_do_not_disturb):
1561 New API to set the do-not-disturb flag.
1563 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1565 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1567 * examples/hildon-progress-indicator-example.c: Fix example
1569 * src/hildon-gtk.c (set_clear_window_flag)
1570 (hildon_gtk_window_set_progress_indicator):
1571 Create a generic function for setting flags to a window.
1572 Use GDK instead of direct Xlib calls.
1574 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1576 * src/hildon-button.c (hildon_button_set_arrangement):
1577 Due to NB#88126, if one of the labels is too long it will be
1578 painted outside the button. The 'value' label is more likely to be
1579 the longest one, so we change its packing options in order to
1580 truncate it if necessary. As a side effect, the 'title' label will
1581 no longer be truncated.
1583 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1585 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1590 * configure.ac: Bump version.
1591 * debian/changelog: Updates.
1593 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1595 Deprecation of the hildon_pannable_area_set_size_request_policy
1596 API, the only policy properly supported in gtk+ nowadays is the
1599 * src/hildon-pannable-area.c,
1600 (hildon_pannable_area_size_request): Added a workaround for the
1601 size_request to avoid the problems of huge pixmaps in case someone
1602 is still using the function.
1603 * src/hildon-pannable-area.h: Deprecated the enum with the
1606 Fixes: NB#110244 (Problems with the
1607 hildon_pannable_area_set_size_request_policy API)
1609 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1611 * src/hildon-pannable-area.c,
1612 (hildon_pannable_area_init),
1613 (hildon_pannable_area_size_request),
1614 (hildon_pannable_area_style_set),
1615 (hildon_pannable_draw_vscroll),
1616 (hildon_pannable_draw_hscroll),
1617 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1618 indicator_width to clarify the use of the attribute.
1620 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1625 * configure.ac: Bump version.
1626 * debian/changelog: Updates.
1628 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1630 * src/hildon-picker-dialog.c
1631 * src/hildon-touch-selector.c
1632 Reverting the change that tried to avoid the hardcoded height on
1633 the picker dialog, as causes problems on the hildon-touch-selector
1636 Fixes: NB#110029 (selectors not scrolling to selected value)
1638 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1640 * src/hildon-touch-selector.c: Fix typos
1642 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1644 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1645 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1646 request more motions after using it.
1648 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1650 * src/hildon-calendar.c (hildon_calendar_expose),
1651 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1652 Remove unused variables.
1654 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1656 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1657 variable assignment.
1659 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1661 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1662 Check the return value of gtk_tree_selection_get_selected()
1665 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1667 * src/hildon-animation-actor.c
1668 * src/hildon-button.c
1670 * src/hildon-pannable-area.c
1671 * src/hildon-picker-button.c
1672 * src/hildon-program.c
1673 * src/hildon-remote-texture.c
1674 * src/hildon-text-view.c
1675 * src/hildon-touch-selector.c
1676 * src/hildon-window-stack.c
1677 * src/hildon-window.c:
1678 Add missing 'Since: 2.2' tags.
1680 * doc/hildon-sections.txt:
1681 Add some missing symbols.
1683 * doc/hildon-docs.sgml:
1684 New 'Other' section for HildonAnimationActor and
1687 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1689 Patch by Iván Gómez (igomez@igalia.com)
1692 * doc/compiling.sgml
1693 * doc/hildon-docs.sgml
1694 * doc/hildon-sections.txt
1695 * doc/migration.sgml
1696 * doc/resources.sgml
1698 New chapters on using the Hildon library.
1699 Updated the general structure of the reference manual.
1700 Other minor documentation fixes.
1702 * src/hildon-calendar-popup.c
1703 * src/hildon-calendar.c
1704 * src/hildon-controlbar.c
1705 * src/hildon-date-editor.c
1706 * src/hildon-dialog.c
1707 * src/hildon-hvolumebar.c
1708 * src/hildon-number-editor.c
1709 * src/hildon-range-editor.c
1710 * src/hildon-sort-dialog.c
1711 * src/hildon-time-editor.c
1712 * src/hildon-time-picker.c
1713 * src/hildon-volumebar-range.c
1714 * src/hildon-volumebar.c
1715 * src/hildon-vvolumebar.c
1716 * src/hildon-weekday-picker.c:
1717 Add deprecation notes
1719 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1720 Document 'horizontal-movement' and 'vertical-movement' signals.
1722 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1727 * configure.ac: Bump version.
1728 * debian/changelog: Updates.
1730 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1732 * src/hildon-pannable-area.c,
1733 (hildon_pannable_area_class_init): increased the minimum velocity.
1734 (hildon_pannable_area_button_release_cb): Updated the
1735 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1736 setup. Review the code to control that last event.
1738 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1741 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1743 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1745 * src/hildon-get-password-dialog.c
1746 (hildon_get_password_set_property),
1747 (hildon_get_password_get_property), (create_contents):
1748 * src/hildon-login-dialog-private.h:
1749 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1750 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1751 (hildon_login_dialog_get_password):
1752 * src/hildon-set-password-dialog-private.h:
1753 * src/hildon-set-password-dialog.c
1754 (hildon_set_password_set_property),
1755 (hildon_set_password_get_property), (create_contents),
1756 (hildon_set_password_response_change),
1757 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1759 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1760 instead and look more Fremantle style.
1762 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1764 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1766 * doc/hildon-sections.txt
1767 * src/hildon-window-stack.h
1768 * src/hildon-window-stack.c
1769 (+hildon_window_stack_get_windows):
1770 New API to obtain the list of windows on a stack.
1772 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1774 * src/hildon-app-menu.c (hildon_app_menu_popup)
1775 (hildon_app_menu_class_init, -hildon_app_menu_show):
1776 Remove hildon_app_menu_show() and move all its checks to
1777 hildon_app_menu_popup()
1779 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1781 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1782 (_hildon_picker_dialog_set_selector): removed call to
1783 gtk_widget_set_size_request
1784 * src/hildon-touch-selector.c
1785 (_create_new_column): change the pannable size request policy
1787 Avoid to use a hardcoded height for the hildon picker dialog. In order
1788 to get that, we needed to change the hildon pannable size request
1790 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1792 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1794 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1795 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1798 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1800 * debian/control: Depend on osso-system-lock localization package.
1801 * src/hildon-code-dialog.c: Obtain the secu_application_title
1802 translation from osso-system-lock.
1803 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1804 for translation the atk related strings, that's not necessary.
1805 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1806 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1807 cancel button, it is not required.
1809 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1811 * src/hildon-pannable-area.c,
1812 (hildon_pannable_area_class_init): Modified the default value of
1813 the overshooting max speed, we have reduced it.
1815 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1817 * doc/hildon-sections.txt
1818 * src/hildon-window-private.h
1819 * src/hildon-window.h
1820 * src/hildon-window.c (hildon_window_class_init)
1821 (hildon_window_init, hildon_window_finalize)
1822 (hildon_window_realize, hildon_window_get_property)
1823 (hildon_window_set_property, hildon_window_update_markup)
1824 (hildon_window_get_markup, hildon_window_set_markup):
1825 New "markup" property and hildon_window_{get,set}_markup() methods.
1827 * examples/hildon-stackable-window-example.c (new_window):
1828 Update example to use hildon_window_set_markup()
1830 Fixes: NB#106375 (Need API to retitle a window with a title
1833 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1835 * src/hildon-pannable-area.c,
1836 (hildon_pannable_area_class_init): Changed the default value of
1837 the initial_hint to TRUE.
1838 (hildon_pannable_area_initial_effect): Changed the initial effect,
1839 not the effect is just the fade-out of the scrollbars.
1841 Fixes: NB#107775 (No scrollbars can be seen when several items are
1842 available in a dialog)
1844 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1846 * src/hildon-program.c (hildon_program_update_top_most):
1849 Fixes: NB#109179 (Memory leak in Hildon program)
1851 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1853 * src/hildon-banner.c (-get_current_app_window):
1854 Remove unused function.
1856 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1858 * src/hildon-pannable-area.c: Modified the documentation of the
1859 get adjustments functions to explain the problem of using the
1860 adjustment directly.
1861 (hildon_pannable_area_class_init): Improved the explanation about
1864 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-app-menu-private.h
1867 * src/hildon-app-menu.c
1868 (hildon_app_menu_class_init):
1869 Bring back the 'external-border' style property
1870 (hildon_app_menu_class_init, hildon_app_menu_init)
1871 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1872 Set a fixed width-request for the menu, independent of the number
1875 Fixes: NB#94957 (Smoothly opened application menu)
1877 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1879 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1881 * src/hildon-banner.c
1882 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1884 Make sure that the banner is correctly placed the first time it's
1886 (hildon_banner_check_position, -check_fullscreen_state):
1887 Show the banner in the same place no matter if the window is in
1888 fullscreen mode or not.
1890 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1892 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1894 * src/hildon-touch-selector.c (_default_print_func): reorder
1895 concatenation for clarity.
1897 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1899 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1900 for multicolumn selectors.
1902 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1904 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1909 * configure.ac: Bump version.
1910 * debian/changelog: Updates.
1912 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1914 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1917 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1919 * configure.ac: removed libcangerra-gtk dependency
1920 * debian/control: removed libcanberra-gtk dependency
1921 * src/Makefile.am: removed libcanberra gtk related flags
1922 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1923 context, and manage a global canberra context instead
1925 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1927 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1929 Patch by Daniel Borgmann (danielb@openismus.com)
1931 * src/hildon-edit-toolbar.c:
1932 Adjust the left padding.
1933 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1934 Paint background of the edit toolbar.
1936 Fixes: NB#107897 (Patch to make editmodetoolbar background
1937 themeable and adjust margin)
1939 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1941 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1943 * src/hildon-program.c (hildon_program_update_top_most):
1944 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1946 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1947 change when the user tasks in/out of an application)
1949 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1951 * configure.ac: added libcangerra-gtk dependency
1952 * debian/control: added libcanberra-gtk dependency
1953 * src/Makefile.am: added libcanberra gtk related flags
1954 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1957 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1959 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1961 * src/hildon-program.c (hildon_program_remove_window)
1962 (hildon_program_add_window): Add checks for the window
1963 parameter. Don't decrease the window counter if the window is not
1966 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1968 * src/hildon-pannable-area.c,
1969 (hildon_pannable_area_realize): Fixed position of the event_window
1970 in the realize method.
1972 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-app-menu-private.h
1975 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1976 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1977 (hildon_app_menu_key_press, hildon_app_menu_init)
1978 (hildon_app_menu_finalize):
1979 Make sure that all idle functions are removed when the widget is
1982 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1984 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1989 * configure.ac: Bump version.
1990 * debian/changelog: Updates.
1992 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1994 * src/hildon-entry.c
1995 (+hildon_entry_show_placeholder),
1996 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1997 that replace hildon_entry_update_contents().
1998 (hildon_entry_set_text),
1999 (hildon_entry_set_placeholder),
2000 (hildon_entry_focus_in_event),
2001 (hildon_entry_focus_out_event): Determine when it is needed
2002 either to show or hide the placeholder and call the above methods.
2004 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2005 when the placeholder text is already set)
2007 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2009 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2010 simple GdkPixbufAnim using the new icons for the banner.
2011 (hildon_banner_show_animation): Use the above mentioned method to
2012 create the animation widget.
2014 Fixes: NB#103564 (Make hildon animation banner use individual
2015 image files as the animation)
2017 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2019 * src/hildon-pannable-area.c,
2020 (hildon_pannable_leave_notify_event): Check if the child is NULL
2021 to avoid sending the leave.
2023 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2025 * src/hildon-pannable-area.c,
2026 (hildon_pannable_area_class_init),
2027 (hildon_pannable_leave_notify_event): Added a handler of the
2028 leave-notify-signal to consider when no motion notify before
2031 Fixes: NB#107494 (Items stay selected when clicking and moving
2032 away when inside pannable area)
2034 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2039 * configure.ac: Bump version.
2040 * debian/changelog: Updates.
2042 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2044 Patch by Alberto Garcia (agarcia@igalia.com)
2046 * src/hildon-date-button.c,
2047 (hildon_date_button_class_init),
2048 (hildon_date_button_init): Removed the construct property handling
2049 and created a default selector in the init method.
2050 * src/hildon-picker-button.c,
2051 (hildon_picker_button_class_init): Removed the construct flag of the
2054 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2056 * src/hildon-main.c (hildon_init):
2057 Don't allow hildon_init() to be called more than once.
2059 Fixes: NB#106607 (hildon_init should issue error message upon
2062 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2064 * examples/hildon-pannable-area-touch-list-example.c
2065 * examples/hildon-pannagle-area-touch-grid-example.c
2066 * examples/hildon-edit-toolbar-example.c
2067 * examples/hildon-touch-selector-multi-cells-example.c
2068 Removed the call to gtk_rc_parse_string, as it is not required since
2071 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2073 * src/hildon-pannable-area.c,
2074 (hildon_pannable_area_class_init): Modified the default panning
2075 threshold of the widget to 6px.
2077 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2078 than the threshold value ) within the button is not sending the
2081 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2083 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2084 for the treeview in the new column. This way, the touch list will never
2087 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2088 be selected manually for the HW keys to work)
2090 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2092 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2093 comparison instead of using strcmp(). Fixes a compiler warning as well.
2095 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2097 * doc/hildon-docs.sgml: Do not set the library version in the
2098 document title, use the releaseinfo tag for that purpose instead.
2100 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2103 Do not jump to the first item if the text in the entry is removed.
2105 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2110 * configure.ac: Bump version.
2111 * debian/changelog: Updates.
2113 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2115 * src/hildon-entry.c (hildon_entry_refresh_contents):
2116 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2117 Use "ReversedSecondaryTextColor" for the placeholder text.
2119 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2121 * src/hildon-text-view.c: Fix compilation warning.
2123 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2125 * src/hildon-button.c (hildon_button_class_init): Don't make
2126 "title" and "value" construction properties, to prevent them from
2127 overwriting labels set from derived classes.
2129 * src/hildon-picker-button.c
2130 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2131 (hildon_picker_button_class_init): Make touch-selector a
2132 construction property.
2134 * src/hildon-date-button.c (hildon_date_button_class_init)
2135 (+hildon_date_button_constructed): Add a default date selector if
2138 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2140 * src/hildon-touch-selector.c: Small documentation fixes.
2142 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2144 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2146 * src/hildon-entry.c (hildon_entry_refresh_contents),
2147 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2148 widget name, set the logical color directly instead and a boolean
2149 showing_placeholder instead.
2150 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2151 use the widget name here either.
2153 Fixes: NB#105678 (HildonTextView should use logical colours
2154 instead of setting widget name)
2156 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2158 Patch by Daniel Elster (danielk@openismus.com)
2160 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2161 Add user_data parameter.
2162 (hildon_touch_selector_set_print_func_full): New function akin
2163 hildon_touch_selector_set_print_func() but with support for user
2164 data and a destroy callback.
2165 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2166 to clean up the print function user data.
2167 (hildon_touch_selector_class_init): Install dispose function.
2168 (HildonTouchSelectorPrivate::print_user_data),
2169 (HildonTouchSelectorPrivate::print_destroy_func): New private
2171 (hildon_touch_selector_init): Initialize new private members.
2172 (hildon_touch_selector_get_current_text): Pass along user data
2173 to the print function.
2174 (_default_print_func): Add dummy user_data to parameter list.
2175 * hildon-date-selector.c (_custom_print_func): ditto,
2176 * hildon-time-selector.c (_custom_print_func): ditto,
2177 * hildon-touch-selector-entry.c
2178 (hildon_touch_selector_entry_print_func): ditto.
2180 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2182 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2184 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2186 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2188 * src/hildon-pannable-area.c,
2189 (hildon_pannable_area_init),
2190 (hildon_pannable_area_button_press_cb),
2191 (hildon_pannable_area_motion_notify_cb): We have added code to
2192 handle the leave and enter events when using the motion events.
2194 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2196 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2198 * src/hildon-date-button.c (hildon_date_button_get_date)
2199 (hildon_date_button_set_date): Make sure that the button has a
2202 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2204 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2206 * src/hildon-pannable-area.c,
2207 (hildon_pannable_area_class_init),
2208 (hildon_pannable_area_calculate_velocity): Modify the use of the
2209 force and adapt the value.
2211 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2213 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2214 (hildon_app_menu_class_init): Hide the menu if it receives a
2215 delete-event, but don't destroy it
2217 Fixes: NB#104485 (Not able to address the call when application
2218 menu is opened at background)
2220 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2222 * src/hildon-app-menu.c
2223 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2224 Remove the "external-border" style property, let the menu take its
2225 natural size (or the one set by the window manager)
2226 (hildon_app_menu_repack_items):
2227 Don't reshow the menu, avoid flickers.
2229 Partially fixes NB#94957 (Smoothly opened application menu)
2231 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2236 * configure.ac: Bump version.
2237 * debian/changelog: Updates.
2239 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2241 * src/hildon-pannable-area.c,
2242 (hildon_pannable_area_motion_notify_cb): We control that the
2243 direction error margin is used just in case the movement is
2244 allowed in the other direction.
2246 Fixes: NB#105012 (buttons inside a pannable area not getting
2247 release event when dragging/releasing)
2249 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2251 * src/hildon-pannable-area.c,
2252 (hildon_pannable_area_class_init),
2253 (hildon_pannable_area_get_property),
2254 (hildon_pannable_area_set_property),
2255 (hildon_pannable_area_initial_effect),
2256 (hildon_pannable_axis_scroll),
2257 (hildon_pannable_area_button_release_cb): Reviewed the
2258 overshooting effect, now it has its own max
2259 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2260 speed when bouncing.
2262 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2267 * configure.ac: Bump version.
2268 * debian/changelog: Updates.
2270 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2272 * src/hildon-pannable-area.c,
2273 (hildon_pannable_area_class_init): Changed the max speed, now
2274 users can launch the widget very fast. Reduced the default force,
2275 that way it is easier to control the launch speed.
2277 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2279 * src/hildon-pannable-area.c,
2280 (hildon_pannable_area_button_release_cb): Removed this check
2281 because it causes problems when the device is overloaded.
2283 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2286 add a current_text field to store the text entered in the
2287 touch selector entry.
2288 (_clean_current_selection): clean up the current text as well.
2289 (_save_current_selection), (_restore_current_selection):
2290 Save/restore the text in the entry if the selector is a
2291 HildonTouchSelectorEntry.
2293 Fixes: NB#102541 (value entered in the touch selector entry is not
2294 shown when opened for second time)
2296 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2298 * doc/hildon-sections.txt:
2299 * src/hildon-touch-selector-entry.c
2300 (+hildon_touch_selector_entry_get_entry):
2301 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2303 Fixes: NB#104815 (I need accessor to the entry inside
2304 HildonTouchSelectorEntry)
2306 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2308 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2309 (hildon_app_menu_class_init):
2310 New "filter-vertical-spacing" style property.
2312 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-find-toolbar.c
2315 (hildon_find_toolbar_emit_close)
2316 (hildon_find_toolbar_emit_invalid_input)
2317 (hildon_find_toolbar_entry_activate):
2318 Use g_signal_emit() instead of g_signal_emit_by_name()
2320 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2322 Patch by Mox Soini (ext-mox.soini@nokia.com)
2324 * tests/TEST-CASES.txt
2325 * tests/check-hildon-banner.c
2326 * tests/check-hildon-note.c
2327 * src/hildon-banner.c
2328 * src/hildon-code-dialog.c
2329 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2330 * src/hildon-time-editor.c
2331 * examples/hildon-lookup-example.c (main):
2332 Replace obsolete icon names with new ones.
2334 * src/hildon-find-toolbar-private.h:
2335 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2336 (-hildon_find_toolbar_emit_search):
2337 Remove find button and change icon of close button.
2339 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2341 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2343 * src/hildon-time-button.c (hildon_time_button_new_step):
2344 Use the "touch-selector" property to set the selector directly
2345 when creating the object.
2347 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2349 Added a new example application that allows tuning the pannable
2350 area and replaced defines with properties in order to simplify the
2351 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2352 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2353 PROP_DIRECTION_ERROR_MARGIN.
2355 * examples/hildon-pannable-area-tuning-example.c: New example
2357 * src/hildon-pannable-area.c,
2358 (hildon_pannable_area_class_init),
2359 (hildon_pannable_area_init),
2360 (hildon_pannable_area_get_property),
2361 (hildon_pannable_area_set_property),
2362 (hildon_pannable_area_launch_fade_timeout),
2363 (hildon_pannable_area_adjust_value_changed),
2364 (hildon_pannable_axis_scroll),
2365 (hildon_pannable_area_motion_notify_cb),
2366 (hildon_pannable_area_scroll_cb),
2367 (hildon_pannable_area_button_release_cb): We have converted some
2368 of the defines that control the widget to properties to simplify
2371 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2373 * src/hildon-app-menu.c (hildon_app_menu_map)
2374 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2375 so it's closed if a new window appears.
2377 Fixes: NB#104485 (Not able to address the call when application
2378 menu is opened at background)
2380 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2382 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2383 missing 'break' statement in in 'case' construct to avoid
2386 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2388 * src/hildon-touch-selector-entry.c
2389 (hildon_touch_selector_entry_get_property),
2390 (hildon_touch_selector_entry_set_property): Add missing 'break'
2391 statements in in 'case' constructs to avoid incorrect warnings.
2393 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-time-editor.c
2396 (hildon_time_editor_get_time_separators): Do not crash if
2397 the first label is NULL.
2399 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2401 * src/hildon-date-selector.c (_month_days): Check for month to be
2402 strictly less than 12, since otherwise we may overrun the array.
2404 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-date-button.c (+hildon_date_button_new_full)
2407 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2408 (hildon_date_button_init): Set the date selector using a
2409 construction property, to make it happen after HildonButton's
2410 "value" property is set.
2412 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2413 current date by default)
2415 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2417 * doc/hildon-sections.txt
2418 * src/hildon-program.c
2419 * src/hildon-stackable-window.c
2420 * src/hildon-window.c:
2421 Documentation updates
2423 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2425 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2426 (hildon_window_stack_new, +hildon_window_stack_set_property)
2427 (+hildon_window_stack_get_property)
2428 (hildon_window_stack_class_init)
2429 (+hildon_window_stack_set_window_group)
2430 (+hildon_window_stack_get_window_group):
2431 Make the window group a construction property.
2433 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2435 * doc/hildon-sections.txt
2436 * src/hildon-stackable-window-private.h
2437 * src/hildon-stackable-window.h
2438 * src/hildon-stackable-window.c
2439 (-hildon_stackable_window_set_app_menu)
2440 (-hildon_stackable_window_get_app_menu)
2441 (-hildon_stackable_window_toggle_menu)
2442 (-hildon_stackable_window_finalize)
2443 (hildon_stackable_window_class_init)
2444 (hildon_stackable_window_init)
2445 * src/hildon-window-private.h
2446 * src/hildon-window.h
2447 * src/hildon-window.c (hildon_window_init)
2448 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2449 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2450 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2451 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2452 Moved all HildonAppMenu code to HildonWindow. The menu does not
2453 require a HildonStackableWindow anymore.
2455 * src/hildon-app-menu.c
2456 * src/hildon-program.c
2457 * examples/hildon-app-menu-example.c (main):
2458 Update examples and documentation to reflect HildonAppMenu
2461 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-remote-texture.c
2464 * src/hildon-animation-actor.c:
2465 Don't include unused private headers.
2467 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2469 * src/hildon-program-private.h
2470 * src/hildon-program.c
2471 (hildon_program_set_common_menu)
2472 (hildon_program_get_common_menu)
2473 (hildon_program_set_common_app_menu)
2474 (hildon_program_get_common_app_menu):
2475 Change common menu pointers from GtkWidget* to GtkMenu* and
2476 HildonAppMenu* to avoid unnecessary casts.
2478 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2480 * src/hildon-window.c (hildon_window_set_main_menu):
2481 Removed incorrect 'Since:' tag
2483 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2485 * src/hildon-pannable-area.c,
2486 (hildon_pannable_area_calculate_velocity): We use now the
2487 RATIO_TOLERANCE here to check the distance, fixed typo in the
2489 (hildon_pannable_area_motion_notify_cb): We have to set the type
2490 and time even if we are not sending the motion.
2492 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2494 * doc/hildon-sections.txt
2495 * src/hildon-app-menu.h
2496 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2497 (+hildon_app_menu_get_filters): New methods to get the contents of
2500 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2503 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2505 * src/hildon-app-menu.c (hildon_app_menu_popup):
2508 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2510 * src/hildon-window.h
2511 * src/hildon-window.c (+hildon_window_get_main_menu)
2512 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2513 and deprecated hildon_window_get_menu().
2515 * src/hildon-stackable-window.h
2516 * src/hildon-stackable-window.c
2517 (+hildon_stackable_window_set_app_menu)
2518 (+hildon_stackable_window_get_app_menu)
2519 (hildon_stackable_window_set_main_menu): Created
2520 hildon_stackable_window_{get,set}_app_menu() and deprecated
2521 hildon_stackable_window_set_main_menu().
2523 * doc/hildon-sections.txt
2524 * examples/hildon-app-menu-example.c (main)
2525 * src/hildon-app-menu.c
2526 * src/hildon-program.c:
2527 Updated examples and documentation.
2529 Fixes: NB#103758 (No way to obtain a menu from a
2530 HildonStackableWindow)
2532 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2537 * configure.ac: Bump version.
2538 * debian/changelog: Updates.
2540 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2542 * examples/hildon-remote-texture-example.c: Include
2543 hildon-remote-texture.h explicitely.
2544 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2545 applications not defining _XOPEN_SOURCE which don't require this header.
2547 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2549 * doc/hildon-sections.txt
2550 * src/hildon-app-menu.h
2551 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2552 New function to pop up a HildonAppMenu
2554 * src/hildon-stackable-window.c
2555 (hildon_stackable_window_toggle_menu):
2556 Use hildon_app_menu_popup() to show the menu.
2558 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2560 * src/hildon-app-menu.c (hildon_app_menu_show)
2561 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2562 menu if there's another window between it and its parent window.
2564 Fixes: NB#100468 (Application menu window is launched even when a
2565 new secondary-window/dialog is pending to be shown/realized)
2567 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2569 * src/hildon-window-stack.c (hildon_window_stack_push)
2570 (hildon_window_stack_pop_and_push):
2571 Don't forget to push/pop the first window.
2572 Reverse the window list before calling _push_list()
2574 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-picker-button.h
2577 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2578 Remove "value_changed" slot to avoid ABI breakage
2580 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2582 * src/hildon-pannable-area.c,
2583 (hildon_pannable_area_realize),
2584 (hildon_pannable_area_unrealize),
2585 (hildon_pannable_draw_vscroll),
2586 (hildon_pannable_draw_hscroll): Changed the method to handle the
2587 GC used to draw the transparent scrollbar, this way we avoid
2588 creating the GC all the time when drawing the scrollbars.
2590 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2592 * src/hildon-pannable-area.c,
2593 (hildon_pannable_area_init),
2594 (hildon_pannable_area_remove): Removed some unnecessary casts.
2595 (hildon_pannable_area_dispose): Disconnected some signals before
2596 releasing the adjustments.
2598 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2601 Make sure that all widgets contained in the toolbar are shown.
2603 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2605 * doc/hildon-sections.txt
2606 * src/hildon-picker-button.h
2607 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2608 (_selection_changed, hildon_picker_button_on_dialog_response)
2609 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2610 New hildon_picker_button_value_changed() method.
2613 * src/hildon-picker-button-private.h
2614 * src/hildon-picker-button.c (hildon_picker_button_init)
2615 (+hildon_picker_button_disable_value_changed): Add protected
2616 function for disabling the "value-changed" signal.
2618 * src/hildon-date-button.c (hildon_date_button_set_date):
2619 Don't emit "value-changed" for each one of the three columns.
2621 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2622 before actual change of values)
2624 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2626 * src/hildon-pannable-area.c,
2627 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2628 for the treeview overshooting.
2630 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2632 * src/hildon-banner.c (+hildon_banner_bind_style):
2633 Renamed from hildon_banner_bind_label_style(), now naming the
2634 banner itself as well.
2635 (hildon_banner_show_information),
2636 (hildon_banner_show_information_with_markup),
2637 (hildon_banner_show_animation), (hildon_banner_show_progress):
2638 Name the widgets and labels, based on their type.
2640 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2643 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2645 * src/hildon-note.c (hildon_note_set_property): call
2646 hildon_note_rename() on HildonNote:note-type set.
2647 (hildon_note_rename): Name the note and its label, based on the
2648 HildonNote:note-type property.
2650 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2653 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2655 * src/hildon-pannable-area.c,
2656 (hildon_pannable_area_class_init),
2657 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2658 panning parameters, increased SPS and deceleration factor. Added
2659 also a margin to control fake directions.
2661 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2663 Patch by Sven Herzberg (sven@imendio.com)
2665 * configure.ac: Add missing AM_PROG_CC_C_0
2666 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2668 See NB#101420 (Update unit tests and fix make check)
2670 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2672 This patch was applied before but reverted because it caused
2673 problems, we have changed the main condition and tested the
2674 regressions we detected before and they work ok. We have done a
2675 complete review of the topmost algorithm in order to get a more
2678 * src/hildon-pannable-area.c,
2679 (hildon_pannable_area_get_topmost): Added a new parameter to
2680 filter the the windows that do not include those events.
2681 (hildon_pannable_area_button_press_cb),
2682 (hildon_pannable_area_button_release_cb),
2683 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2684 topmost function, we have added the new parameter.
2686 Fixes: NB#97458 (Pannable area prevents propagation of button
2689 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2692 if all columns in the selector have an item selected.
2693 (_on_dialog_response): Stop "response" signal emission if there is
2694 any selector column without selected items.
2696 Fixes: NB#101889 (Picker dialog should not close when nothing is
2697 selected in multiple selection list)
2699 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2701 * src/hildon-font-selection-dialog.c
2702 (hildon_font_selection_dialog_class_init),
2703 (hildon_font_selection_dialog_init): Remove the preview
2704 button and dialog, since previewing with default theming is likely
2705 to be overcomplicated. The :preview property has now no effect.
2706 Update documentation blurbs to inform about this.
2708 Fixes: NB#92297 (Preview content is not clearly visible for
2709 default colour text)
2711 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2713 Reviewed the geometry that handles the children size and
2714 scrollbar, now it tries a size and reviews the results depending
2715 on the scrollbars visibility.
2717 * src/hildon-pannable-area.c,
2718 (hildon_pannable_area_realize): Fixed a typo.
2719 (hildon_pannable_area_child_allocate_calculate): Added this
2720 function to calculate the child allocation.
2721 (hildon_pannable_area_size_allocate): Reviewed the allocation
2723 (hildon_pannable_area_check_scrollbars),
2724 (hildon_pannable_area_refresh): Refactored refresh function, this
2725 way we can call the code handling the scrollbars without causing a
2726 size_request, it is interesting in the allocate.
2727 (hildon_pannable_area_init): Replace the callbacks of the
2728 value_changed and changed signals to propertly deal with the
2730 (hildon_pannable_area_grab_notify),
2731 (hildon_pannable_area_initial_effect),
2732 (hildon_pannable_area_launch_fade_timeout),
2733 (hildon_pannable_area_adjust_changed),
2734 (hildon_pannable_area_adjust_value_changed),
2735 (hildon_pannable_area_redraw),
2736 (hildon_pannable_area_button_press_cb),
2737 (hildon_pannable_area_button_release_cb),
2738 (hildon_pannable_area_scroll_cb),
2739 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2740 code and use the new functions adjust_changed and
2741 adjust_value_changed.
2743 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2744 Contact editor dialog)
2746 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2751 * configure.ac: Bump version.
2752 * debian/changelog: Updates.
2754 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2756 * src/hildon-pannable-area.c,
2757 (hildon_pannable_area_get_topmost),
2758 (hildon_pannable_area_button_press_cb),
2759 (hildon_pannable_area_button_release_cb),
2760 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2761 topmost function adding the event mask. We have to try a
2762 differente approach because it is still causing problems (NB#9745,
2765 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2767 * src/hildon-banner.c:
2768 Update the maximum width of timed banners.
2769 (force_to_wrap_truncated): Enforce the maximum text width if the
2772 Fixes: NB#102413 (The text margins (wrapping) in information
2773 banner should be HILDON_MARGIN_TRIPLE)
2775 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2777 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2779 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2780 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2781 bound when calculating the scroll indicator position.
2783 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2784 treat ->lower correctly)
2786 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2788 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2789 expose event handling, since it is not necessary to draw the focus
2792 Fixes: NB#102467 (Do not show highlight on the text in
2795 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2798 full height of the toolbar for the button and the label.
2800 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2802 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2803 padding before the label and after the button.
2805 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2809 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2810 Add a GtkVSeparator between the button and the back arrow.
2811 Let the button have automatic size.
2812 Set a name to the widget for theming handling.
2814 Fixes: NB#101793 (Make edit toolbar the same height as window
2815 title bar (use title area theming))
2817 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2819 * src/hildon-helper.c (attach_new_color_element): Fix memory
2822 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2824 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2826 * examples/hildon-button-example.c (common_buttons_window): Don't
2829 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2831 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2832 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2834 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2836 * src/hildon-gtk.c: Check that the window is realized.
2838 Fixes: NB#102225 (Crash setting the progress indicator to a non
2841 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2843 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2844 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2845 instead of modifying the one in the widget style.
2847 Fixes: NB#101043 (Second row of all the command button are
2848 displayed in transparent mode.)
2850 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-date-button.c
2853 * src/hildon-time-button.c: Add gettext macros
2855 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2857 * src/hildon-date-button.c (hildon_date_button_new):
2858 * src/hildon-time-button.c (hildon_time_button_new_step):
2859 Use new logical strings to set the button default title.
2861 Fixes: NB#99915 (Date and Time options are not localised in Date
2864 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2866 * src/hildon-pannable-area.c
2867 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2868 the PANNING_THRESHOLD.
2870 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2872 * src/hildon-pannable-area.c,
2873 (hildon_pannable_area_class_init): Increased the maximum speed.
2874 (hildon_pannable_area_get_property),
2875 (hildon_pannable_area_set_property),
2876 (hildon_pannable_area_timeout): Added a new low friction mode, it
2877 allows the user avoid friction when launching the widget fast
2878 enough. It is interesting to traverse long lists.
2880 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2882 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2883 (+hildon_stackable_window_delete_event): Ignore delete events if
2884 the window is not the topmost one.
2886 Fixes: NB#101698 (Back button long press and delete-event handling)
2888 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2890 * src/hildon-pannable-area.c,
2891 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2892 gtk-dnd-drag-threshold, it was too big. We have defined our own
2893 dnd define and set a smaller value: PANNIG_THRESHOLD.
2895 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2897 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2898 user-defined icons, use always the default one.
2900 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2902 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2904 This patch was applied before but reverted because it caused
2905 problems, we have changed the main condition and tested the
2906 regressions we detected before and they work ok.
2908 * src/hildon-pannable-area.c,
2909 (hildon_pannable_area_get_topmost): Added a new parameter to
2910 filter the the windows that do not include those events. Added
2911 also a condition when finding the window to filter windows that do
2912 not ask for those events.
2913 (hildon_pannable_area_button_press_cb),
2914 (hildon_pannable_area_button_release_cb),
2915 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2916 topmost function, we have added the new parameter.
2918 Fixes: NB#97458 (Pannable area prevents propagation of button
2921 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2923 * tests/check-hildon-color-button.c (START_TEST): do not leak
2926 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-font-selection-dialog.c
2929 (hildon_font_selection_dialog_get_preview_text): Return NULL
2930 instead of FALSE on the g_return_val_if_fail().
2932 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2934 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2935 * src/hildon-date-selector.c
2936 (hildon_date_selector_select_current_date):
2937 Do not compare unsigned integers to be greater than or equal 0,
2938 because it's always TRUE.
2940 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2942 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2943 (hildon_date_selector_constructor): Do not select the current
2944 date until we are handle the "changed" signal, to avoid having bogus
2945 elements in the days model.
2947 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2950 for num_days, since _month_days() can return a negative value.
2952 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2954 * src/hildon-caption.c (hildon_caption_size_allocate):
2955 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2956 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2958 Initialize allocation variables to 0, to avoid eventually using
2959 unitialized variables.
2961 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2963 * src/hildon-bread-crumb-trail.c
2964 (hildon_bread_crumb_trail_size_allocate):
2965 * src/hildon-calendar.c (hildon_calendar_set_background):
2966 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2967 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2968 * src/hildon-seekbar.c (hildon_seekbar_init):
2969 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2970 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2971 * src/hildon-touch-selector-entry.c
2972 (hildon_touch_selector_get_text_from_model):
2973 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2974 * src/hildon-window.c (hildon_window_finalize):
2976 Remove many unused variables.
2978 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2980 * src/hildon-seekbar.c: (hildon_seekbar_init),
2981 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2983 Remove unnecessary g_assert() calls.
2985 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-caption.c: (hildon_caption_expose),
2988 (hildon_caption_set_property), (hildon_caption_init),
2989 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2990 (hildon_caption_size_request), (hildon_caption_size_allocate),
2991 (hildon_caption_forall), (hildon_caption_set_separator),
2992 (hildon_caption_activate), (hildon_caption_set_child_expand),
2993 (hildon_caption_set_label_text),
2994 (hildon_caption_get_label_alignment):
2996 Remove unnecessary g_assert() calls.
2998 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3000 * src/hildon-banner.c
3001 (hildon_banner_map, hildon_banner_init): Make banner temporary
3002 before mapping it to avoid closing other temporary windows, but
3003 make it non-temporary afterwards to avoid being closed by other
3004 non-temporary windows.
3005 (-hildon_banner_client_event, hildon_banner_init):
3006 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3008 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3011 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3013 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3016 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3018 * src/hildon-remote-texture.c
3019 * src/hildon-remote-texture.h
3020 * src/hildon-remote-texture-private.h
3021 * examples/hildon-remote-texture-example.c:
3022 Updates/fixes to remote-texture and its example.
3024 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3026 Patch by Mox Soini (ext-mox.soini@nokia.com)
3028 * src/hildon-code-dialog.c: Update logical id.
3029 * src/hildon-set-password-dialog.c: Update logical id.
3031 Fixes: NB#100646 (Logical strings is shown for ok in set
3032 password,Password needed dialogs)
3034 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3037 * src/hildon-remote-texture.c
3038 * src/hildon-remote-texture.h
3039 * src/hildon-remote-texture-private.h
3041 Added remote texture widget (for Clutter shared memory textures)
3043 * examples/hildon-remote-texture-example.c
3044 * examples/Makefile.am
3045 Added example file for remote texture usage
3047 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3049 * configure.ac: post release version bump.
3050 * debian/changelog: version bump.
3052 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3057 * configure.ac: Bump version.
3058 * debian/changelog: Updates.
3060 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3062 * src/hildon-date-selector.c (hildon_date_selector_init)
3063 (hildon_date_selector_constructor): Don't connect to the "changed"
3064 signal until the selector is completely constructed.
3066 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3068 * src/hildon-touch-selector.c: (_create_new_column),
3069 (hildon_touch_selector_append_column),
3070 (hildon_touch_selector_set_column_selection_mode),
3071 (hildon_touch_selector_set_active),
3072 (hildon_touch_selector_select_iter):
3073 Emit the HildonTouchSelector::changed signal every time selection
3074 is changed in any of the methods above. This behavior was already
3075 documented but not fully functional.
3077 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3078 selection is programmatically changed)
3080 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3082 * doc/hildon-sections.txt: Remove obsolete icon
3083 sizes from here as well.
3085 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3087 * examples/hildon-stackable-window-example.c (add_window): Remove
3090 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3092 * src/hildon-app-menu.c
3093 (hildon_app_menu_show): Check whether the parent window of a menu
3094 is topmost before popping it up.
3096 Fixes: NB#100468 (Application menu window is launched even when a
3097 new secondary-window/dialog is pending to be shown/realized.)
3099 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3101 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3104 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3106 Patch by Mox Soini (ext-mox.soini@nokia.com)
3108 * src/hildon-banner.c: (hildon_banner_show_animation):
3109 use stylus size instead of obsolete note size.
3110 * src/hildon-defines.h: Update icon sizes.
3112 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3114 * src/hildon-touch-selector-entry.c:
3115 (hildon_touch_selector_entry_init): Disable unsupported
3117 (hildon_touch_selector_entry_get_text_column): Emit a warning
3118 if an unsupported input modes is used and explicitile state
3119 these modes in the documentation.
3121 Fixes: NB#99802 (Hildon touch selector entry not working properly
3122 for some of the input modes)
3124 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3126 * src/hildon-pannable-area.c,
3127 (hildon_pannable_area_init): Added the changed signal handlers of
3130 Fixes: NB#100320 (HildonPannableArea does not listen to
3131 GtkAdjustment "change" signals)
3133 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3135 * doc/hildon-sections.txt
3136 * src/hildon-window-private.h
3137 * src/hildon-window.h
3138 * src/hildon-window.c (hildon_window_init)
3139 (hildon_window_realize, hildon_window_unrealize)
3140 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3141 (hildon_window_size_request, hildon_window_size_allocate)
3142 (hildon_window_forall, hildon_window_show_all)
3143 (hildon_window_destroy, +paint_edit_toolbar)
3144 (+hildon_window_set_edit_toolbar):
3145 New hildon_window_set_edit_toolbar() method, to add a
3146 HildonEditToolbar to a window without having to pack it manually.
3148 Reorganize hildon_window_size_allocate()
3150 * src/hildon-edit-toolbar.c: Update documentation.
3152 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3153 example to use the new API.
3155 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3157 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3159 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3160 Remove from stack before calling parent's hide.
3162 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3164 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3165 window is removed from the middle of the stack, update the
3166 transiency of the previous one.
3168 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3171 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3173 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3174 block/unblock the signal handler if it's not actually being used.
3175 Fixes some critical warnings.
3177 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3179 Based on a patch by Iván Gómez (igomez@igalia.com)
3181 * src/hildon-banner.c
3185 * src/hildon-pannable-area.c
3186 * src/hildon-picker-dialog.c
3187 * src/hildon-wizard-dialog.h
3188 * src/hildon-wizard-dialog.c: Documentation updates.
3190 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3191 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3193 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3195 * configure.ac: post release version bump.
3196 * debian/changelog: version bump.
3198 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3203 * configure.ac: Bump version.
3204 * debian/changelog: Updates.
3206 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3209 a stock icon nor change the relief of the back arrow.
3211 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3212 graphics from theme)
3214 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3216 * src/hildon-button.c (hildon_button_set_alignment): Use
3217 priv->alignment if the button has no child yet.
3219 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3221 * src/hildon-button.c: (hildon_button_init): Set the
3222 button style during initialization to give it the proper
3225 Fixes: NB#99713 (HildonButton value label color is wrong)
3227 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3229 * src/hildon-touch-selector.c: Document
3230 hildon_touch_selector_center_on_selected()
3232 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3234 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3235 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3236 all menu items, but not the menu itself.
3237 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3238 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3239 items after adding them to the menu so keyboard accelerators work.
3240 (hildon_app_menu_show): Don't show the menu if it contains items
3241 but none of them are visible.
3243 * examples/hildon-app-menu-example.c (create_menu): Use
3244 gtk_widget_show_all() to show all menu items.
3246 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3248 * src/hildon-picker-dialog.c:
3249 (-_update_title_on_selector_changed_cb),
3250 (-_dialog_update_title): Removed.
3251 (_select_on_selector_changed_cb), (_on_dialog_response),
3252 (on_selector_columns_changed): Do not update the dialog title.
3253 (setup_interaction_mode): Do not connect to
3254 HildonTouchSelector::changed signal if there's a "done" button, as
3255 the dialog title doesn't need to be updated.
3257 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3260 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3262 Patch by Kristian Rietveld (kris@imendio.com)
3264 * src/hildon-touch-selector.c: (_create_new_column): Use new
3265 GtkTreeView::hildon-row-tapped signal to react to user interactions
3266 instead of ::changed.
3268 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3269 with some dynamic tree model)
3271 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3273 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3274 (+screen_size_changed, +label_size_request)
3275 (hildon_note_class_init): Make the Hildon information note have a
3276 minimum height, and make its text hvae a maximum width.
3278 Fixes: NB#98614 (Hildon information note (background) should have
3279 minimum height and maximum text width)
3281 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3283 * src/hildon-banner.h
3284 * src/hildon-banner.c (hildon_banner_show_information)
3285 (hildon_banner_show_informationf)
3286 (hildon_banner_show_information_with_markup): Update documentation
3287 to reflect that the icon_name parameter is not used anymore.
3288 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3289 Remove all code from these functions and mark them as deprecated.
3290 (hildon_banner_show_progress): Mark as deprecated.
3292 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3294 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3296 * src/hildon-pannable-area.c,
3297 (hildon_pannable_area_class_init),
3298 (tranparency_color),
3299 (hildon_pannable_draw_vscroll),
3300 (hildon_pannable_draw_hscroll),
3301 (hildon_pannable_area_expose_event): Added a new way to render the
3302 scrollbars of the pannable area avoiding using cairo at all. This
3303 way we improve the performance of the pannable area rendering. The
3304 cairo rendering procedure is still in the code, we can control
3305 which one to use changing the value of the define
3306 USE_CAIRO_SCROLLBARS.
3308 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3310 * configure.ac: post release version bump.
3311 * debian/changelog: version bump.
3313 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3318 * configure.ac: Bump version.
3319 * debian/changelog: Updates.
3321 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3323 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3324 banners instead of destroying them when they receive a button
3327 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3329 Reverted commit 34028, it was causing regressions, probably the
3330 topmost condition is not correct, we have to check it in more
3331 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3332 propagation of button press events)
3334 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3336 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3337 that the selection is not empty before attempting to retrieve the
3338 current ampm selection.
3340 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3342 * src/hildon-picker-button.c:
3343 (hildon_picker_button_on_dialog_response): Directly update the
3344 button contents when required instead of calling _selection_changed.
3346 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3348 * src/hildon-program.c (hildon_program_update_top_most): Update
3349 'is-topmost' property also when wm_hints is not set.
3351 Fixes: NB#98383 (is-topmost signal is not emitted when task
3352 switcher is clicked.)
3354 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3356 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3360 * src/hildon-animation-actor.c,
3361 * src/hildon-animation-actor.h: Added the animation actor class,
3362 this widget represents an animation actor for WM-assisted
3363 animation effects in the Hildon framework.
3365 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3367 * src/hildon-window-stack-private.h
3368 * src/hildon-window-stack.c
3369 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3370 Avoid calling gtk_widget_show() again indirectly from
3371 hildon_stackable_window_show()
3373 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3375 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3378 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3380 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3381 (hildon_time_selector_init): Move the construction of the hours and
3382 ampm columns to the constructor to preserve the order the columns
3385 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3387 * src/hildon-picker-dialog.c:
3388 (hildon_picker_dialog_class_init): Connect a realize method.
3389 (+hildon_picker_dialog_realize): Setup the interaction mode here
3391 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3392 yet, do it during the realize instead.
3393 (_on_dialog_response):
3394 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3395 if the widget is not realized, to avoid the dialog response before it
3398 Avoid premature responses in the HildonPickerDialog that can cause it
3399 to be hidden before it's even shown.
3401 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3403 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3404 (on_selector_columns_changed), (requires_done_button),
3405 (+prepare_action_area), (setup_interaction_mode),
3406 (_hildon_picker_dialog_set_selector):
3408 Split the interaction mode setup into preparation of the
3409 action area (prepare_action_area()) and the connection of
3410 the signals in setup_interaction_mode() and update the code to
3413 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3415 * src/hildon-pannable-area.c,
3416 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3417 per second to 15, we will check if this is ok regarding
3420 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3422 * src/hildon-pannable-area.c,
3423 (hildon_pannable_axis_scroll): Avoid resize if we already have
3424 reached overshoot_max.
3426 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3428 * src/hildon-pannable-area.c,
3429 (hildon_pannable_area_init),
3430 (hildon_pannable_area_realize),
3431 (hildon_pannable_area_size_allocate),
3432 (hildon_pannable_area_map),
3433 (hildon_pannable_area_unmap),
3434 (hildon_pannable_draw_vscroll),
3435 (hildon_pannable_draw_hscroll),
3436 (hildon_pannable_area_expose_event),
3437 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3438 pannable are to avoid the expose events go to the window and
3439 redraw the window. We save this way that part of the stack and the
3440 paint_boxes. We had to change the positions of the elements when
3443 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3445 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3446 * src/hildon-color-chooser-dialog.c:
3447 (hildon_color_chooser_dialog_init):
3448 * src/hildon-font-selection-dialog.c:
3449 (hildon_font_selection_dialog_init),
3450 (hildon_font_selection_dialog_show_preview):
3451 * src/hildon-get-password-dialog.c:
3452 * src/hildon-login-dialog.c:
3453 * src/hildon-set-password-dialog.c:
3454 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3455 * src/hildon-time-picker.c: (hildon_time_picker_init):
3457 Remove obsolete logical string IDs and update to the appropriate ones.
3459 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3461 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3463 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3464 that happens if the window hasn't been realized yet.
3466 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3467 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3469 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3472 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3475 Fixes: NB#98537 (Device hangs in account settings dialog)
3477 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3479 * configure.ac: post release version bump.
3480 * debian/changelog: version bump
3482 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3487 * configure.ac: Bump version.
3488 * debian/changelog: Updates.
3490 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3492 Added a new function to the HildonTimeButton widget that allows to
3493 change the step of the minutes in the selector associated with the
3494 button: hildon_time_button_new_step
3496 * src/hildon-time-button.c,
3497 (hildon_time_button_init),
3498 (hildon_time_button_new),
3499 (hildon_time_button_new_step):
3500 * src/hildon-time-button.h: Added the new function and refactored
3502 * examples/hildon-time-button-example.c,
3503 (main): We have replaced the function without parameters with the
3504 function with the steps set to 5
3506 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3508 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3510 * src/hildon-time-selector.c,
3511 (hildon_time_selector_class_init),
3512 (hildon_time_selector_constructor),
3513 (hildon_time_selector_get_property),
3514 (hildon_time_selector_set_property),
3515 (_create_minutes_model),
3516 (hildon_time_selector_new_step),
3517 (hildon_time_selector_set_time),
3518 * src/hildon-time-selector.h: Added a new property to the
3519 HildonTimeSelector (minutes-step), we use that property to control
3520 the steps between the minutes in the list of the selector. We have
3521 added a new function to the API to create a widget changing the
3522 step: hildon_time_selector_new_step.
3524 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3526 * src/hildon-time-selector.c,
3527 (hildon_time_selector_class_init),
3528 (hildon_time_selector_constructor),
3529 (hildon_time_selector_init): Overrided the construct function when
3530 creating the time selector object. We have moved the minutes model
3531 handling code from the init to the new construction function:
3532 hildon_time_selector_constructor.
3534 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3536 * examples/hildon-date-button-example.c: (main): Use the new
3537 hildon_date_button_new_with_year_range() method in the example.
3538 * src/hildon-date-button.c:
3539 (+hildon_date_button_new_with_year_range): New public method
3540 to conveniently create a HildonDateButton with a custom year range
3541 in its HildonDateSelector.
3542 * src/hildon-date-button.h: Add the new public method definition.
3544 Fixes: NB#97908 (Not possible to change the year range in
3545 HildonDateSelector/HildonDateButton)
3547 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-date-selector.c:
3550 (+hildon_date_selector_set_property),
3551 (+hildon_date_selector_get_property),
3552 (hildon_date_selector_class_init): Install new properties "min-year"
3553 and "max-year" to define boundaries for the year column.
3554 (_create_year_model): Use the boundary properties to populate the model.
3555 (+hildon_date_selector_new_with_year_range): New public method to
3556 create a HildonDateSelector with a user defined year range.
3557 (hildon_date_selector_select_current_date): Use the new boundaries to
3558 calculate the iterator of current year.
3559 * src/hildon-date-selector.h: Add the new public method definition.
3561 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3564 Install a constructor method.
3565 (+hildon_date_selector_construct_ui): construct the widget.
3566 (+hildon_date_selector_constructor): new constructor.
3567 (+hildon_date_selector_init): move out widget construction code to
3568 the new constructor.
3570 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3572 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3573 that there's actually a month or year selected before obtaining them.
3574 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3575 of the HildonTouchSelector::changed signal, as it was emitted on every
3576 single item selection.
3578 Fix some warnings and possible crashers due to the selection restoring.
3580 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3582 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3583 the signal handlers only after creating the dialog instead of on every
3586 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-button.c (hildon_button_init)
3589 * src/hildon-check-button.c (hildon_check_button_init)
3590 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3591 focus when clicked by default.
3593 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3595 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3598 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3600 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3601 Alejandro G. Castro (alex@igalia.com)
3603 * src/hildon-picker-dialog.c:
3604 (hildon_picker_dialog_class_init): install new "center-on-show"
3606 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3607 (hildon_picker_dialog_set_property): add setter code for the new
3609 (hildon_picker_dialog_get_property): add getter code for the new
3611 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3612 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3615 Fixes: NB#92849 (Selected item is not always visible when
3616 HildonTouchSelector is shown)
3618 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3620 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3621 Alejandro G. Castro (alex@igalia.com)
3623 * src/hildon-touch-selector.c:
3624 (_create_new_column): Do not connect to the "realize" signal of the
3626 (hildon_touch_selector_append_column): center on the selected items
3627 when a new column is appended.
3628 (hildon_touch_selector_select_iter): Factor out the code to select a
3629 column to hildon_touch_selector_scroll_to().
3630 (+search_nearest_element): Method to retrieve the nearest selected
3631 element to the visible area of the pannable area in a column.
3632 (+on_realize_cb): scroll to the initially selected item.
3633 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3634 the pannable area is realized, otherwise delay this until it is.
3635 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3636 selected items of a given column.
3637 (+hildon_touch_selector_center_on_selected): Public method to center
3638 all columns on the nearest selected item.
3639 * src/hildon-touch-selector.h: Add definition for
3640 hildon_touch_selector_center_on_selected().
3642 Implement public API to ensure visibility of all selected items in
3643 a HildonTouchSelector.
3645 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3647 Fixed a problem in the fading when calling the scroll_to API, and
3648 improve scrollbar fading handling.
3650 * src/hildon-pannable-area.c,
3651 (hildon_pannable_area_grab_notify): avoid the timeout when the
3653 (hildon_pannable_area_button_press_cb),
3654 (hildon_pannable_area_motion_notify_cb): Code style changes.
3655 (hildon_pannable_area_button_release_cb): Review the conditions
3656 when releasing the mouse button to avoid unrequired fading
3658 (hildon_pannable_area_scroll_to): Do not calculate and set the
3659 velocity if the scroll is not required.
3661 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3663 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3664 Don't check whether the new selector is NULL: it cannot be.
3665 Hold a reference to the selector while doing the replacement.
3667 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3669 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3670 unnecessary size_request in a removed widget.
3672 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3674 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3675 an unnecessary reference tracking that was leaking.
3677 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3679 Added delayed motion notify event handling, this way we can
3680 discard redrawing if more than 25 events arrive per second.
3682 * src/hildon-pannable-area.c,
3683 (hildon_pannable_area_init): Initialized the new private atributes
3684 controlling this timeout
3685 (hildon_pannable_area_dispose): Remove the timeout that controls
3686 the motion notify events.
3687 (hildon_pannable_area_scroll): Added a condition to control the
3688 use of the acceleration.
3689 (hildon_pannable_area_motion_event_scroll_timeout),
3690 (hildon_pannable_area_motion_event_scroll): Added this two
3691 functions, they handle the motion notify events inside the
3693 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3694 to the scroll method with the new function.
3695 (hildon_pannable_area_button_release_cb): We have to remove the
3696 timeout handler and move to the last position if the last motion
3697 events were not handled.
3699 Fixes: NB#97028 (Pannable area updates on every motion event)
3701 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3703 * src/hildon-pannable-area.c,
3704 (hildon_pannable_area_get_topmost): Added a new parameter to
3705 filter the the windows that do not include those events. Added
3706 also a condition when finding the window to filter windows that do
3707 not ask for those events.
3708 (hildon_pannable_area_button_press_cb),
3709 (hildon_pannable_area_button_release_cb),
3710 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3711 topmost function, we have added the new parameter.
3713 Fixes: NB#97458 (Pannable area prevents propagation of button
3716 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3718 * src/hildon-pannable-area.c,
3719 (hildon_pannable_area_initial_effect): Added controls before
3720 launching the timeout and the idle functions.
3721 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3722 of the method, in some situations it can return with TRUE and 0 in
3724 (hildon_pannable_area_button_press_cb): We do not need to set
3725 DELAY for fading out here.
3727 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3729 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3731 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3732 post-cleaning if the selection is not NULL.
3734 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3736 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3737 all items before restoring the selection.
3739 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3741 * src/hildon-touch-selector.c:
3742 (+hildon_touch_selector_unselect_all):
3743 * src/hildon-touch-selector.h: New API to unselect all items in a
3744 column of the touch selector.
3746 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3748 * src/hildon-pannable-area.c,
3749 (hildon_pannable_area_redraw): Added a call to the refresh
3750 function inside the redraw because apparently in some cases the
3751 change in the adjustment does not imply a size allocate.
3753 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3754 despite the view not being scrollable)
3756 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3758 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3759 leak. Check for NULL before attempting to set the window title.
3761 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3763 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3764 whether to show or not the 'Done' button each time the dialog is
3765 shown, as it depends on the HildonTouchSelector selection mode.
3767 Fixes: NB#96226 (In multiple selection mode Done button is shown
3768 sometimes in listpicker)
3770 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3772 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3773 for the number of columns in the HildonTouchSelector more than once.
3775 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3777 * src/hildon-touch-selector.c: Minor documentation fixes.
3779 * src/hildon-picker-dialog.c (+_dialog_update_title)
3780 (_select_on_selector_changed_cb)
3781 (_update_title_on_selector_changed_cb)
3782 (on_selector_columns_changed): Update dialog title when there's no
3783 'Done' button and also when the number of columns in the selector
3787 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3788 (+_selection_changed, hildon_picker_button_on_dialog_response)
3789 (hildon_picker_button_selector_selection_changed)
3790 (+hildon_picker_button_selector_columns_changed)
3791 (hildon_picker_button_set_selector): Update button value and emit
3792 'value-changed' when the number of columns in the selector
3796 Fixes: NB#96225 (Dialog titles are not shown according to the
3797 values selected in the list picker)
3799 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3801 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3802 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3803 New "arrow-width" and "arrow-height" style properties to set the
3804 size of the arrow button.
3805 Set name of arrow button ("hildon-edit-toolbar-arrow").
3807 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3808 graphics from theme)
3810 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3812 * src/hildon-picker-button.c:
3813 (hildon_picker_button_selector_selection_changed): Use
3814 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3815 the dialog is present.
3817 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3818 the selection is accepted in the dialog)
3820 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3822 * src/hildon-color-chooser.h
3823 * src/hildon-color-chooser-dialog.h:
3824 Added G_BEGIN_DECLS and G_END_DECLS
3826 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3828 (_clean_current_selection): plug a leak in the list.
3830 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3832 * src/hildon-picker-dialog.c:
3833 (+free_path_list): Method to free a GList of GtkTreePaths.
3834 (_clean_current_selection), (_save_current_selection),
3835 (_restore_current_selection): Save the current selection in
3836 as a list of lists, to support multiple selection properly.
3838 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3840 patch by Claudio Saavedra (csaavedra@igalia.com)
3842 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3843 Store the press position.
3844 (+hildon_text_view_button_release_event): If the release position is
3845 close enough to the press position, move the cursor here. Otherwise,
3847 (hildon_text_view_class_init): Override GtkTextView press, release, and
3848 motion event handlers, disabling this way text selection through
3849 pointer interaction, and allowing the container widget to handle the
3852 Fixes: NB#95828 (HildonTextView functionality)
3854 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3856 Based on a patch by Iván Gómez (igomez@igalia.com)
3858 * src/hildon-button.[ch]
3859 * src/hildon-calendar.c
3860 * src/hildon-check-button.c
3861 * src/hildon-date-editor.c
3862 * src/hildon-date-selector.c
3863 * src/hildon-picker-button.c
3864 * src/hildon-time-editor.c
3865 * src/hildon-time-selector.c
3866 * src/hildon-touch-selector.[ch]:
3867 Documentation updates
3869 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3871 * src/hildon-pannable-area.c,
3872 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3873 threshold, it was required due to X events handling.
3875 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3877 * src/hildon-pannable-area.c,
3878 (hildon_pannable_area_grab_notify),
3879 (hildon_pannable_area_initial_effect),
3880 (hildon_pannable_area_button_press_cb),
3881 (hildon_pannable_area_button_release_cb),
3882 (hildon_pannable_area_scroll_cb),
3883 (hildon_pannable_area_scroll_to): Review the timeout management of
3884 the scrollbar, the frecuency was incorrectly set.
3886 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3888 * src/hildon-picker-button.c:
3889 (+hildon_picker_button_on_dialog_response),
3890 (hildon_picker_button_clicked): Present the dialog instead of
3891 running it with gtk_dialog_run().
3893 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3896 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3898 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3899 (hildon_app_menu_finalize): When a window is hidden it doesn't
3900 emit notify::is-topmost, so make sure than the menu also
3901 disappears in that case.
3902 (parent_window_topmost_notify): Renamed from parent_window_hidden
3904 Fixes: NB#94460 (stackable window's menu is not closed when its
3907 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3909 * src/hildon-touch-selector-entry.c:
3910 (+hildon_touch_selector_entry_set_input_mode),
3911 (+hildon_touch_selector_entry_get_input_mode):
3912 * src/hildon-touch-selector-entry.h: New methods to access the input
3913 mode in the selector's entry.
3915 Fixes: NB#93410 (API required for setting IM mode in
3916 HildonTouchSelectorEntry)
3918 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3920 * configure.ac: post release version bump.
3921 * debian/changelog: version bump
3923 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3928 * configure.ac: Bump version.
3929 * debian/changelog: Updates.
3931 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3933 * src/hildon-touch-selector.c:
3934 (_hildon_touch_selector_has_multiple_selection): No need
3935 to initialize the variables here.
3937 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3939 * src/hildon-note-private.h
3940 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3941 (hildon_note_finalize, hildon_note_rebuild): Close information
3942 notes when they receive a button press.
3944 Fixes: NB#89890 (Information notes does not get disappeared after
3947 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3949 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3950 mark from the wizard title, as it's not really necessary. Also,
3951 do not display the page title if not set.
3953 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3955 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3956 (parent_window_hidden): Use the window's "is-topmost" property to
3957 detect when to hide the menu.
3959 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3961 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3962 (hildon_app_menu_finalize): If the parent window of the menu is
3963 hidden, hide the menu too.
3965 Fixes: NB#94460 (stackable window's menu is not closed when its
3968 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3971 * debian/libhildon1-examples.install
3973 * examples/Makefile.am:
3974 Use dh_install to install all examples.
3975 Use DEB_SRCDIR instead of defining SOURCE_DIR
3977 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3979 * configure.ac: post release version bump.
3980 * debian/changelog: version bump
3982 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3987 * configure.ac: bump version
3988 * debian/changelog: updates
3989 * debian/control: bump gtk+ dependency
3991 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3993 patch by Christian Dywan (christian@imendio.com)
3995 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3996 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3998 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4000 * src/hildon-check-button.c (hildon_check_button_init)
4001 (hildon_check_button_class_init, hildon_check_button_style_set)
4002 (hildon_check_button_apply_style):
4003 New "checkbox-size" style property.
4005 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4006 larger / configurable size)
4008 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4010 * configure.ac: post release version bump.
4011 * debian/changelog: version bump
4013 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4018 * configure.ac: bump version
4019 * debian/changelog: updates
4021 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4023 * doc/hildon-sections.txt
4024 * src/hildon-pannable-area.c
4025 * src/hildon-program.c
4026 * src/hildon-time-editor.c
4027 * src/hildon-touch-selector-entry.c:
4029 More documentation updates.
4031 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4033 * doc/hildon-sections.txt
4034 * src/hildon-caption.c
4035 * src/hildon-code-dialog.c
4036 * src/hildon-color-button.c
4037 * src/hildon-controlbar.c
4038 * src/hildon-date-editor.c
4039 * src/hildon-date-selector.c
4040 * src/hildon-edit-toolbar.c
4041 * src/hildon-find-toolbar.c
4042 * src/hildon-font-selection-dialog.c
4044 * src/hildon-program.c
4045 * src/hildon-range-editor.c
4046 * src/hildon-seekbar.c
4047 * src/hildon-time-editor.c
4048 * src/hildon-time-selector.c
4049 * src/hildon-volumebar-range.c
4050 * src/hildon-volumebar.c
4051 * src/hildon-vvolumebar.c
4052 * src/hildon-weekday-picker.c
4053 * src/hildon-window.c
4054 * src/hildon-wizard-dialog.c:
4056 Lots of documentation fixes.
4058 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4060 Patch contributed by Iván Gómez (igomez@igalia.com)
4062 * src/hildon-check-button.c:
4063 * src/hildon-date-button.c:
4064 * src/hildon-date-selector.c:
4065 * src/hildon-dialog.c:
4066 * src/hildon-edit-toolbar.c:
4067 * src/hildon-entry.c:
4068 * src/hildon-picker-button.c:
4069 * src/hildon-program.c:
4070 * src/hildon-text-view.c:
4071 * src/hildon-time-button.c:
4072 * src/hildon-touch-selector-entry.c:
4073 * src/hildon-window-stack.c:
4075 Add more "since" tags to the new API.
4077 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4079 * doc/hildon-sections.txt: Add below method.
4080 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4081 version for the hildonized scale.
4082 * src/hildon-gtk.h: Add the definition.
4084 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4086 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4088 * doc/hildon-sections.txt: Add missing entries for new methods.
4090 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4092 Added API to pannable are in order to get its adjustments. We
4093 added two properties to manage the values we had in the private
4096 * src/hildon-pannable-area.c:
4097 (hildon_pannable_area_class_init): Added hadjustment and
4098 vadjustment properties in order to expose horizontal and vertical
4100 (hildon_pannable_area_get_property),
4101 (hildon_pannable_area_set_property): Added code to handle the new
4103 (hildon_pannable_area_get_hadjustment),
4104 (hildon_pannable_area_get_vadjustment): API functions to get the
4106 * src/hildon-pannable-area.h:
4107 (hildon_pannable_area_get_hadjustment),
4108 (hildon_pannable_area_get_vadjustment): API functions to get the
4111 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4113 Fixed some leaks, after valgrinding.
4115 * src/hildon-touch-selector.c:
4116 (_default_print_func): Fixed a leak.
4117 (hildon_touch_selector_append_column): Fixed a leak.
4118 * src/hildon-date-button.c:
4119 (hildon_date_button_init): Fixed a leak.
4120 * src/hildon-date-selector.c
4121 (hildon_date_selector_finalize): Fixed a leak.
4123 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4125 Based on a patch by Christian Dywan (christian@imendio.com)
4127 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4129 * src/hildon-gtk.h: Add definition.
4131 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4133 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4135 * src/hildon-picker-button.c: (hildon_picker_button_init),
4136 (hildon_picker_button_new): Set the HildonButton::style property
4137 in the init method, to propagate the value to the derived classes.
4139 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4141 * src/hildon-button.c: (hildon_button_class_init): Do not make
4142 the "style" property a construct property.
4144 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4146 * src/hildon-wizard-dialog.h
4147 * src/hildon-wizard-dialog.c
4148 (hildon_wizard_dialog_set_forward_page_func)
4149 * src/hildon-pannable-area.h
4150 * src/hildon-pannable-area.c
4151 (hildon_pannable_area_set_size_request_policy):
4152 Documentation fixes.
4154 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4156 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4158 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4160 * doc/hildon-sections.txt: Added sections file.
4162 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/*.[ch]: Updates.
4167 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4169 * examples/hildon-progress-indicator-example.c: new file
4170 * examples/Makefile.am: include the new example program
4172 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4174 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4176 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4178 * configure.ac: post release version bump
4179 * debian/changelog: version bump
4181 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4186 * configure.ac: bump version
4187 * debian/changelog: updates
4188 * debian/control: bump gtk+ dependency
4190 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4192 * src/hildon-dialog.c: Mark as deprecated.
4193 * src/hildon-dialog.h: Mark as deprecated.
4194 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4195 from HildonDialog and still work, even if
4196 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4197 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4199 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4200 maemo changes) instead)
4202 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4204 * src/hildon-pannable_area.h:
4205 * src/hildon-pannable_area.c:
4206 (hildon_pannable_area_class_init),
4207 (hildon_pannable_area_set_property),
4208 (hildon_pannable_area_get_property),
4209 (hildon_pannable_area_size_request),
4210 (hildon_pannable_area_get_size_request_policy),
4211 (hildon_pannable_area_set_size_request_policy): Added new API
4212 allowing applications to control the request policy. Now they can
4213 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4214 children allocation (HILDON_MOVEMENT_CHILDREN).
4216 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4220 (hildon_gtk_tree_view_set_ui_mode)
4221 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4222 mode of treeviews and iconviews.
4224 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4226 * src/hildon-touch-selector-entry.c:
4227 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4228 of a GtkEntry to get proper theming.
4230 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4231 widget, not GtkEntry)
4233 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4235 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4236 no HildonWizardDialogPageFunc.
4238 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4240 Patch contributed by Iván Gómez (igomez@igalia.com)
4242 * src/hildon-app-menu.c:
4243 * src/hildon-button.c:
4244 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4245 * src/hildon-stackable-window.c:
4246 * src/hildon-time-selector.c:
4247 * src/hildon-touch-selector.c:
4248 * src/hildon-window.c:
4250 Add more "since" tags to the new API in hildon 2.2.
4252 2008-12-05 Tim Janik <timj@imendio.com>
4254 Patch contributed by Christian Dywan (christian@imendio.com)
4256 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4257 HildonSizeType, which are supplied by Gtk+ now.
4259 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4261 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4262 (with maemo changes) instead)
4264 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4266 Patch contributed by Iván Gómez (igomez@igalia.com)
4268 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4271 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4273 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4274 (some_page_func), (main): Update the example to use a
4275 HildonWizardDialogPageFunc function.
4277 * src/hildon-wizard-dialog-private.h: Add private data for
4278 the HildonWizardDialogPageFunc function usage.
4280 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4281 (destroy), (hildon_wizard_dialog_init), (response),
4282 (hildon_wizard_dialog_set_forward_page_func):
4283 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4284 that applications can use to stop a HildonWizardDialog to jump to
4287 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4290 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4292 * src/hildon-program.h
4293 * src/hildon-program-private.h
4294 * src/hildon-program.c (hildon_program_init)
4295 (hildon_program_set_common_app_menu)
4296 (hildon_program_get_common_app_menu):
4297 New API for setting a common HildonAppMenu for all
4298 HildonStackableWindows registered with the HildonProgram.
4300 * src/hildon-stackable-window.c
4301 (hildon_stackable_window_toggle_menu):
4302 Use the common HildonAppMenu if a window doesn't have a specific
4305 * src/hildon-app-menu-private.h
4306 * src/hildon-app-menu.c
4307 (hildon_app_menu_get_parent_window):
4308 Function to obtain the window a HildonAppMenu is attached to.
4309 (hildon_app_menu_set_parent_window):
4310 Hide the menu if the parent window is set to NULL.
4312 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4314 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4315 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4316 search widget to popup.
4318 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4320 * configure.ac: post release version bump
4321 * debian/changelog: version bump
4323 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4328 * configure.ac: bump version
4329 * debian/changelog: updates
4331 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4333 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4335 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4336 (hildon_window_stack_window_realized)
4337 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4338 Set the leader GdkWindow when a window is stacked and realized,
4339 unset it when it's unstacked.
4340 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4342 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4344 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4346 * src/hildon-stackable-window.h
4347 * src/hildon-window-stack.h:
4348 Protect definition of HildonWindowStack using the preprocessor.
4350 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4352 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4353 Fix warning if all menu items are hidden.
4355 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4357 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4359 * src/hildon-controlbar.c:
4360 * src/hildon-hvolumebar.c:
4361 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4362 Multiple scale size defines updates.
4364 Fixes: NB#94322 (Scale Updates)
4366 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4368 * examples/hildon-app-menu-example.c (create_menu)
4369 Show items after adding them to the menu, as in the future the
4370 menu will no longer call gtk_widget_show() on the added items.
4372 * src/hildon-app-menu.c:
4373 Update example as explained above.
4375 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4377 * src/hildon-app-menu.c
4378 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4379 Make sure that all menu items have finger height.
4381 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4383 * src/hildon-picker-dialog.c:
4384 (_on_dialog_response), (_save_current_selection),
4385 (_restore_current_selection), (_clean_current_selection),
4386 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4387 Defined new functions in order to save the current internal selector
4388 selection previous open the dialog, in case that the use cancel the
4389 interaction, so the widget restores the previous selection.
4391 Fixes: NB#92032 (In calendar application, date values in 'new event'
4394 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4396 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4398 * src/hildon-button.c: Add a reference to the button examples in
4399 hildon-button-example.c
4401 * examples/hildon-button-example.c: Added examples of the most
4402 common button layouts.
4404 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4406 * src/hildon-app-menu.c (hildon_app_menu_show)
4407 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4409 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4411 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4413 * src/hildon-picker-dialog.c:
4414 (hildon_picker_dialog_init): Initialize the signal id for
4415 HildonTouchSelector::columns-changed.
4416 (+on_selector_columns_changed): Set up the interaction mode everytime a
4417 column is added or removed from the HildonTouchSelector.
4418 (_hildon_picker_dialog_set_selector): Connect to
4419 HildonTouchSelector::columns-changed and keep track of it.
4421 Make sure to update the interaction mode of the dialog everytime a
4422 column is added or removed in the HildonTouchSelector.
4424 Fixes: NB#93228 (Done button is not shown always in listpicker)
4426 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4428 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4429 a new ::columns-changed signal.
4430 (hildon_touch_selector_append_column): Emit ::columns-changed.
4431 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4433 Add a ::columns-changed signal, emitted when the number of columns in a
4434 HildonTouchSelector changes.
4436 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4438 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4439 (_hildon_picker_dialog_set_selector): Factor out the code
4440 to set up the dialog interaction mode.
4442 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4444 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4445 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4446 to signal_changed_id.
4448 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4450 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4453 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4455 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4456 Updated the logical ids related to ampm format, as now it is required to
4457 show it correctly localized even on languages with no default
4458 abbreviations for am or pm
4459 (_check_am_pm_format): check correctly the 24h format gconf property
4461 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4463 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4465 * src/hildon-button.c: Documentation updates.
4467 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4469 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4470 * src/hildon-caption.c: (hildon_caption_class_init):
4471 * src/hildon-color-button.c: (hildon_color_button_class_init):
4472 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4473 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4474 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4475 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4477 Remove deprecated GTK+ marshalers and replace them with the ones
4478 provided by GLib, for those available, add a marshaler for
4479 BOOLEAN:VOID, which is not available in GLib, and use it.
4481 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4483 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4484 the text from the previous column if there is no
4485 HildonTouchSelectorColumn::text-property set.
4487 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4489 * src/hildon-button.h
4490 * src/hildon-button.c (hildon_button_set_property)
4491 (hildon_button_get_property, hildon_button_class_init)
4492 (hildon_button_set_style, hildon_button_get_style):
4493 New "style" property to change the visual appearance of the
4496 * src/hildon-picker-button.c (hildon_picker_button_new):
4497 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4499 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4500 HildonButton look like PickerButton)
4502 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4504 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4505 column while building the default string.
4507 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4509 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4510 scroll indicator by default.
4512 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4514 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4516 * src/hildon-main.c: Fix the documentation for hildon_init()
4518 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4520 * doc/hildon-docs.sgml
4524 * src/hildon-window-stack-private.h
4525 * src/hildon-window-stack.h
4526 * src/hildon-window-stack.c:
4527 New HildonWindowStack object, that adds support for multiple
4528 stacks of windows per process.
4530 * src/hildon-stackable-window-private.h
4531 * src/hildon-stackable-window.h
4532 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4533 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4534 (hildon_stackable_window_show, hildon_stackable_window_hide)
4535 (hildon_stackable_window_class_init)
4536 (hildon_stackable_window_init):
4537 Use HildonWindowStack for stack management.
4539 * src/hildon-program.c (hildon_program_pop_window_stack)
4540 (hildon_program_peek_window_stack)
4541 (hildon_program_go_to_root_window):
4542 Add a fallback implementation to the deprecated functions using
4545 * examples/hildon-stackable-window-example.c:
4546 Use the new HildonWindowStack API.
4548 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4550 * src/hildon-stackable-window-private.h
4551 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4552 (hildon_stackable_window_hide, hildon_stackable_window_init):
4553 Remove all window stack management.
4555 * src/hildon-program-private.h
4556 * src/hildon-program.h
4557 * src/hildon-program.c (hildon_program_init)
4558 (hildon_program_pop_window_stack)
4559 (hildon_program_peek_window_stack)
4560 (hildon_program_go_to_root_window):
4561 Remove all window stack management and mark functions as
4564 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4566 * src/hildon-app-menu.c (hildon_app_menu_realize):
4567 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4569 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4571 * configure.ac: post release version bump
4572 * debian/changelog: version bump
4574 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4579 * configure.ac: bump version
4580 * debian/changelog: updates
4582 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4584 Based on initial code by Christian Dywan (christian@imendio.com)
4586 * doc/hildon-docs.sgml: Add section for hildon-main.
4587 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4588 * src/Makefile.am: Add new hildon-main.[ch]
4589 * src/hildon-defines.h: Update the icon sizes.
4590 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4591 new library initialization files and register icon sizes.
4592 * src/hildon-main.h: New declarations.
4593 * src/hildon.h: Include hildon-main.h
4595 Add new initialization functions to the library. These methods
4596 will register the hildon specific icon sizes and can be used in the
4597 future for other hildon specific bits.
4599 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4601 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4603 * src/hildon-window.c: (hildon_window_realize),
4604 (hildon_window_notify), (-hildon_window_update_title): Do not set
4605 the application name in the window title.
4607 Fixes: NB#89754 (Applications shouldn't display their names in the
4610 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4612 * src/hildon-note-private.h:
4613 * src/hildon-note.c: (hildon_note_set_property),
4614 (hildon_note_get_property), (hildon_note_class_init),
4615 (hildon_note_init), (hildon_note_finalize),
4616 (hildon_note_new_confirmation_with_icon_name),
4617 (hildon_note_new_information_with_icon_name):
4619 No need to mark as deprecated the actual code. Revert
4620 to avoid missing symbols in widgets using deprecated API.
4622 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4624 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4626 * src/hildon-volumebar.h
4627 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4628 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4630 * src/hildon-helper.h
4631 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4632 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4634 * examples/Makefile.am:
4635 Deprecate hildon-insensitive-example
4637 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4639 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4641 * examples/hildon-pannable-area-buttons-scroll-example.c:
4642 Make all buttons finger height
4644 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4646 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4648 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4649 update the day model only if it is really required, and to avoid the
4650 full-reconstruction aproach. Now it only add or remove the required days.
4652 The purpose of this is avoid superfluous HildonTouchSelector::changed
4655 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4656 with strange parameters)
4658 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4660 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4662 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4663 the WINDOW_TYPE property.
4665 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4667 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4670 Fix dependency to allow parallel compilation with make -jX
4672 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4674 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4675 color frame and some minor tweaks to make it more consistent with
4678 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4679 highlighted but not visible)
4681 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4683 * examples/Makefile.am: Fixed typo in the Makefile.am.
4685 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4687 Reviewed the use of MAEMO_GTK define, now we add the define in the
4688 compilation line, and we also add it to the pc file.
4690 * configure.ac: Added MAEMO_GTK define to the compilation command
4691 and removed it from the config.h.
4693 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4694 do not have to take care about this define if the library was
4698 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4700 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4702 * examples/Makefile.am,
4703 * examples/hildon-pannable-area-buttons-scroll-example.c,
4704 * examples/hildon-pannable-area-gesture-signals-example.c,
4705 * examples/hildon-pannable-area-scroll-jump-example.c,
4706 * examples/hildon-pannable-area-tree-view-example.c:
4707 Renamed the pannable area examples, now they have more meaningful
4710 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4712 * src/hildon-touch-selector.c:
4713 (hildon_touch_selector_set_column_selection_mode): Used of
4714 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4715 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4716 to avoid re-seting the same selection mode.
4718 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4719 breaks HildonPickerDialog)
4721 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4723 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4724 conditional in the Makefile.am
4726 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4728 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4729 Remove unused methods.
4731 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4733 * src/hildon-button.c (hildon_button_init):
4734 Make button images center-aligned by default
4736 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4739 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4740 activated, we have to think about how to deal with both defines
4741 MAEMO_GTK and MAEMO_CHANGES.
4743 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4745 * examples/hildon-app-menu-example.c (create_menu): Make all
4746 buttons finger size.
4748 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4750 Fixed the compilation without maemo gtk adding ifdefs with
4751 MAEMO_GTK define to the code, we have to check this version more
4754 * examples/Makefile.am: Added control to avoid some examples that
4755 just make sense with maemo gtk.
4758 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4759 hildon modes with the define.
4761 * examples/hildon-edit-toolbar-example.c,
4762 (create_icon_view): Create the icon view without hildon-gtk
4763 helpers if we are not using maemo gtk.
4765 * src/hildon-touch-selector.c,
4766 (_create_new_column): Create the treeview without hildon-gtk
4767 helpers if we are not using maemo gtk.
4769 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4771 * src/hildon-pnnable-area.c,
4772 (hildon_pannable_area_dispose),
4773 (hildon_pannable_area_button_press_cb),
4774 (hildon_pannable_area_child_mapped),
4775 (hildon_pannable_area_add),
4776 (hildon_pannable_area_remove): Added code to control the position
4777 of the event_window when adding and removing children from the
4778 pannable. We have to raise the event window when the child is
4781 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4782 selection mode using custom widget inside pannable)
4784 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4786 * configure.ac: post release version bump
4787 * debian/changelog: version bump
4789 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4794 * configure.ac: bump version
4795 * debian/changelog: updates
4797 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4799 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4800 search mode, in order to avoid lose the focus on the treeview when
4801 a hw key (like enter) is pressed.
4803 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4804 in HildonDateSelector dialog)
4806 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4808 * debian/rules: Added --enable-maintainer-mode
4809 * Makefile.am: Added ACLOCAL_AMFLAGS
4811 This allows to properly regenerate the Makefiles if you modify the
4812 configure.ac or any Makefile.am.
4814 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4816 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4817 properties, not needed at all.
4819 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4821 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4823 * src/hildon-note.c: (hildon_note_set_property),
4824 (hildon_note_get_property), (hildon_note_class_init),
4825 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4826 (hildon_note_new_confirmation_add_buttons): Remove icons.
4827 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4828 (hildon_note_new_information_with_icon_name): Deprecate.
4829 (hildon_note_new_confirmation): Act directly, without calling
4830 the deprecated constructor.
4831 (hildon_note_new_information): Act directly, without calling
4832 the deprecated constructor.
4833 * src/hildon-note.h: Mark deprecate methods as such.
4834 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4835 not run tests on the deprecated methods if built with deprecation
4838 Fixes: NB#91688 (Never show icons in information notes/confirmation
4841 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4843 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4844 (hildon_app_menu_key_press): Remove leftover usage of the
4845 private structure in HildonAppMenu struct.
4846 * src/hildon-app-menu.h: Remove leftover private structure
4847 from the HildonAppMenu struct.
4849 Fixes a crasher when using the HildonAppMenu.
4851 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4853 * src/hildon-picker-dialog.c: Use appropriate logical id
4854 for the default "Done" text.
4856 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4858 * configure.ac: post release version bump
4859 * debian/changelog: version bump
4861 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4863 Modified the way to scroll to the current selection just when the touch
4864 selector is shown on the screen, avoiding a g_idle. Added too a property
4865 to configure this behaviour. See hildon_pannable_area_jump_to_child
4866 documentation for more information.
4868 * src/hildon-touch-selector.c
4869 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4870 Added 'initial-scroll' property
4871 (hildon_touch_selector_set_property): Added
4872 (hildon_touch_selector_map): Removed as not required anymore
4873 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4874 only a concrete column, instead of iterate along all the columns
4876 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4881 * configure.ac: bump version
4882 * debian/changelog: updates
4884 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4886 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4887 compilation time warnings.
4889 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4891 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4892 the default value for HildonPannableArea::mov-mode to
4893 HILDON_PANNABLE_AREA_MODE_VERT.
4895 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4897 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4899 Reverting following commit:
4901 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4903 * src/hildon-app-menu-private.h
4904 * src/hildon-app-menu.[ch]
4905 * src/hildon-button.[ch]
4906 * src/hildon-check-button.[ch]
4907 * src/hildon-entry.[ch]
4908 * src/hildon-pannable-area.[ch]
4909 * src/hildon-text-view.[ch]:
4910 Added private field to the object's structure.
4912 because it causes an ABI breakage. We will need to introduce these
4913 changes later at some point. See NB#91636 for an extensive
4914 explanation and status.
4916 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4918 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4920 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4921 remove special cases that are no longer necessary.
4923 Fixes: NB#91016 (Change toolbar sizes, simplification)
4925 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4927 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4928 is shown in the cancel note.
4930 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4932 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4933 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4934 (hildon_seekbar_init): Remove steppers, remove expose event.
4935 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4937 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4939 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4941 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4942 label font to "SmallSystemFont" for vertically arranged buttons.
4944 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4947 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4949 * src/hildon-check-button.c
4950 (hildon_check_button_set_active, hildon_check_button_clicked):
4951 Don't access private parts directly, use getters instead.
4953 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4955 * src/hildon-check-button.c (hildon_check_button_new):
4956 Align the contents of the check button to the left.
4958 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4960 * src/hildon-pannable-area.c,
4961 (hildon_pannable_area_scroll_to),
4962 (hildon_pannable_area_jump_to),
4963 (hildon_pannable_area_scroll_to_child),
4964 (hildon_pannable_area_jump_to_child): Replace the mapped
4965 precondition of these functions with the realized, it is the
4966 correct state of the widget in this case. Changed the
4967 documentation according to this modification.
4969 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4971 Added a new EXTRA_CFLAGS option to add the deprecated define to
4972 the compilation command. This way we can avoid using the define in
4973 the documentation compilation.
4975 * configure.ac: Defined EXTRA_CFLAGS.
4977 * examples/Makefile.am:
4979 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4981 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4983 * src/hildon-picker-dialog.c:
4984 Defined a utility macro with the desired touch selector height
4985 Removed currently unused separator, and title_label variables from
4987 (hildon_picker_dialog_init): Removed code related to the creation
4988 of unused private variables title_label and separator.
4989 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4990 to ensure correct visualization of the touch selector inside the dialog.
4991 * src/hildon-touch-selector.c
4992 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4993 ensure a concrete height of the widget.
4995 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4998 * tests/Makefile.am:
5000 Remove spurious whitespaces.
5002 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5004 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5005 compilation warning after the cancel button removal.
5007 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5009 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5011 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5012 Makefile.am, that way we can choose not to compile some examples
5013 and tests of the deprecated widgets.
5015 * examples/Makefile.am: Divided the sources in deprecated and
5018 * src/Makefile.am: Added undef statement of the deprecated
5019 symbol to the enums file generation process.
5021 * src/hildon-color-chooser-dialog.c
5022 * src/hildon-color-chooser-dialog.h
5023 * src/hildon-color-button.c
5024 * src/hildon-color-button.h
5025 * src/hildon-color-chooser.c
5026 * src/hildon-color-chooser.h
5027 * src/hildon-controlbar.c
5028 * src/hildon-controlbar.h
5029 * src/hildon-date-editor.c
5030 * src/hildon-date-editor.h
5031 * src/hildon-hvolumebar.c
5032 * src/hildon-hvolumebar.h
5033 * src/hildon-private.c
5034 * src/hildon-private.h
5035 * src/hildon-range-editor.c
5036 * src/hildon-range-editor.h
5037 * src/hildon-seekbar.c
5038 * src/hildon-seekbar.h
5039 * src/hildon-time-editor.c
5040 * src/hildon-time-editor.h
5041 * src/hildon-time-picker.c
5042 * src/hildon-time-picker.h
5043 * src/hildon-volumebar.c
5044 * src/hildon-volumebar.h
5045 * src/hildon-vvolumebar.c
5046 * src/hildon-vvolumebar.h
5047 * src/hildon-bread-crumb-trail.h
5048 * src/hildon-bread-crumb-trail.c
5049 * src/hildon-calendar-popup.c
5050 * src/hildon-calendar-popup.h
5051 * src/hildon-weekday-picker.c:
5052 * src/hildon-weekday-picker.h:
5053 * src/hildon-bread-crumb-widget.c:
5054 * src/hildon-bread-crumb-widget.h:
5055 * src/hildon-bread-crumb.c:
5056 * src/hildon-bread-crumb.h:
5057 * src/hildon-calendar.c:
5058 * src/hildon-calendar.h:
5059 * src/hildon-caption.c:
5060 * src/hildon-code-dialog.c:
5061 * src/hildon-code-dialog.h:
5062 * src/hildon-font-selection-dialog.c:
5063 * src/hildon-font-selection-dialog.h:
5064 * src/hildon-get-password-dialog.c:
5065 * src/hildon-get-password-dialog.h:
5066 * src/hildon-login-dialog.c:
5067 * src/hildon-login-dialog.h:
5068 * src/hildon-number-editor.c:
5069 * src/hildon-number-editor.h:
5070 * src/hildon-set-password-dialog.c:
5071 * src/hildon-set-password-dialog.h:
5072 * src/hildon-sort-dialog.c:
5073 * src/hildon-sort-dialog.h: This is the list of deprecated
5076 * src/hildon-touch-selector.c:
5077 * src/hildon-window.c: Added undef statement to avoid compilation
5080 * tests/Makefile.am: Divided the sources in deprecated and
5083 * tests/check_test.c,
5084 (configure_tests): Marked the deprecated code that was adding
5085 suites with deprecated tests.
5087 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5089 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5091 * src/hildon-touch-selector.c: (_default_print_func): Do not
5092 duplicate a string returned by gtk_tree_model_get(), it is already
5095 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5098 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5100 * src/hildon-pannable-area.c
5101 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5102 method, it had problems when adding a widget with viewport the
5103 second time. Now checks if it already has a viewport and uses it.
5105 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5108 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5110 * src/hildon-pannable-area.c,
5111 (hildon_pannable_area_scroll_to),
5112 (hildon_pannable_area_jump_to),
5113 (hildon_pannable_area_scroll_to_child),
5114 (hildon_pannable_area_jump_to_child): Added a precondition to the
5115 scroll and jump to functions: the widget must be mapped before we
5116 can safely call these functions. We have also added documentation
5117 to the functions to explain how to use them in this situation.
5120 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5122 Reviewed the threading handling of the pannable widget, we have
5123 used the gdk_threads_add_timeout function instead of the usual
5124 glib handlers. This avoids some problems with the threads.
5126 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5127 (hildon_pannable_area_initial_effect),
5128 (hildon_pannable_area_scroll_indicator_fade),
5129 (hildon_pannable_area_button_press_cb),
5130 (hildon_pannable_area_timeout),
5131 (hildon_pannable_area_motion_notify_cb),
5132 (hildon_pannable_area_button_release_cb),
5133 (hildon_pannable_area_scroll_cb),
5134 (hildon_pannable_area_scroll_to): Removed the
5135 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5136 gdk_threads_add_timeout.
5138 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5140 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5145 * configure.ac: bump version
5146 * debian/changelog: updates
5148 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5150 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5151 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5152 * src/hildon-color-chooser-dialog.c:
5153 (hildon_color_chooser_dialog_init):
5154 * src/hildon-font-selection-dialog.c:
5155 (hildon_font_selection_dialog_init):
5156 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5158 Remove all cancel/close-like dialogs, as these are not going to be
5161 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5163 * src/hildon-note.c: (hildon_note_rebuild),
5164 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5167 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5169 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5171 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5172 sure all buttons are shown, even the Cancel/Close-like ones.
5174 Fixes: NB#90861 (Custom Confirmation dialogs should be
5175 protected from cancel button removal)
5177 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5179 * debian/control: Change libhildon1-examples dependency from libhildon1
5181 * debian/libhildon1-examples.install
5183 * Makefile.am: Modified the final install directory for the examples on
5184 package libhildon1-examples
5185 * Makefile.static: Update clean target in order to remove all the binary
5188 Changes suggested by Claudio after review new libhildon1-examples package
5190 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5192 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5193 * src/hildon-touch-selector.c: Ditto.
5195 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5197 * debian/control: Added new package libhildon1-examples, in order to pack
5198 the current hildon examples as documentation
5199 * debian/rules: Not to compress .c files, modify some includes on the
5200 examples (as normally are compiled locally, but when installed it will
5201 require to include the installed libhildon1 library), and rename
5203 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5204 install all the example files on the new example package
5205 * examples/Makefile.static: Added static makefile that can be used to
5206 compile the examples, once installed the new example package
5207 * examples: Most of the examples were modified in order to grant that
5208 all use only '#include "hildon.h"', in order to be easy to prepare
5209 it on the example package
5211 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5214 * debian/libhildon1-dev.install
5215 * debian/libhildon1-doc.install:
5216 Move all gtk-doc files to a separate libhildon1-doc package.
5218 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5220 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5222 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5224 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5226 * debian/rules: Fixed a error in order to avoid unnecessary calls
5227 to autogen.sh on package building
5229 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5231 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5233 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5235 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5238 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5240 * src/hildon-picker-button.c
5241 (hildon_picker_button_finalize):
5242 Free priv->done_button_text
5244 * src/hildon-time-button.c
5245 (hildon_time_button_set_time)
5246 * src/hildon-picker-button.c
5247 (hildon_picker_button_clicked)
5248 (hildon_picker_button_selector_selection_changed)
5249 (hildon_picker_button_set_selector)
5250 * src/hildon-date-button.c
5251 (hildon_date_button_set_date):
5252 Free strings returned by hildon_touch_selector_get_current_text()
5254 * src/hildon-button.c (hildon_button_construct_child):
5255 Fix leaks in priv->image and priv->label_box
5257 Fixes: NB#90535 (Memory leak in picker button)
5259 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5261 * src/hildon-button.c: (hildon_button_get_property): Do not access
5262 private elements directly, use getters instead.
5264 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5266 * src/hildon-app-menu-private.h
5267 * src/hildon-app-menu.c
5268 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5269 Store the menu's parent window.
5271 * src/hildon-stackable-window.c
5272 (hildon_stackable_window_toggle_menu)
5273 (hildon_stackable_window_finalize):
5274 Set the menu's parent window when the menu is shown, unset it when
5277 * src/hildon-app-menu.c
5278 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5279 (hildon_app_menu_class_init):
5280 Send unhandled keyboard accelerators to the parent window.
5282 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5284 * src/hildon-stackable-window.c
5285 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5287 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5289 * configure.ac: post release version bump
5291 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5294 * configure.ac: Bump version
5295 * debian/changelog: Updates
5296 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5299 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5301 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5304 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5305 GtkMenu with Hildon style.
5307 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5309 * src/hildon-picker-button.c:
5310 (hildon_picker_button_set_done_button_text): Set the dialog's
5311 done button text here as well.
5313 Fixes: NB#90232 (Picker button does not set the label on done button
5314 for the second time)
5316 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5318 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5321 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5323 * src/hildon-app-menu.c (hildon_app_menu_insert)
5324 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5325 the HildonAppMenu to be activatable using keyboard accelerators
5326 when the menu is not being shown.
5328 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5330 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5332 * src/hildon-stackable-window.c
5333 (hildon_stackable_window_show):
5334 Don't hide old windows automatically when new windows are shown:
5335 this is now a task for the window manager.
5336 (hildon_stackable_window_class_init)
5337 (hildon_stackable_window_hide):
5338 Remove windows from the stack everytime they're hidden.
5339 (hildon_stackable_window_realize):
5340 Don't change the _NET_WM_WINDOW_TYPE property. Use
5341 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5342 it as a stackable window.
5344 * src/hildon-program.c
5345 (hildon_program_pop_window_stack):
5346 Just hide the window to remove it from the stack.
5347 (hildon_program_go_to_root_window):
5348 Don't call gtk_widget_show(), this is now a task for the window
5351 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5353 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-button.c
5356 (hildon_button_construct_child):
5357 Don't pack anything in the button until text or image are
5358 set. This allows adding a custom child after creating the button
5359 with hildon_button_new().
5360 (hildon_button_finalize, hildon_button_class_init)
5361 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5362 alignment and the label box even when they're not packed in the
5365 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5367 * src/hildon-touch-selector.h:
5368 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5369 currently the type definition was using GTK_TYPE_VBOX
5370 * src/hildon-touch-selector.c:
5371 Added some implementation notes in order to clarify that any other widget
5372 added without the column related API will not be included on the
5373 selection logic, and how the widget is freed, as some people ask about
5375 (hildon_touch_selector_remove): Reimplemented in order to free properly
5376 the column related data when you remove the private hbox.
5377 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5378 to get a proper HildonTouchSelectorColumn documentation
5380 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5382 * src/hildon-touch-selector-entry.c:
5383 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5384 text in the GtkEntry and there is no item selected. Fixes a
5387 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5389 * src/hildon-app-menu-private.h
5390 * src/hildon-app-menu.[ch]
5391 * src/hildon-button.[ch]
5392 * src/hildon-check-button.[ch]
5393 * src/hildon-entry.[ch]
5394 * src/hildon-pannable-area.[ch]
5395 * src/hildon-text-view.[ch]:
5396 Added private field to the object's structure.
5398 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5400 * configure.ac: post-release version bump
5402 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5406 * configure.ac: pre-release version bump
5408 * debian/changelog: updates.
5410 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5412 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5413 Disconnect the handler for HildonTouchSelector::changed.
5415 (hildon_picker_button_selector_selection_changed): Update the button
5416 value if the selection change was not triggered by the
5419 (hildon_picker_button_set_selector): connect to
5420 HildonTouchSelector::changed.
5422 Fixes: NB#89650 (Picker button is not updated, when selection in
5423 selector has changed)
5425 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5427 * src/hildon-picker-dialog.c
5428 (hildon_picker_dialog_realize): Removed as not required
5429 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5430 * src/hildon-picker-button.c
5431 (_current_selector_empty): New function, checks if the selector is empty
5432 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5433 if the current selector is empty, in order to avoid to show the dialog
5434 close the dialog in this case (and shows a g_warning).
5436 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5438 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5440 * src/hildon-pannable-area.c,
5441 (hildon_pannable_area_scroll): Added clause to stop movement when
5442 the child of pannable is smaller than one page.
5443 (hildon_pannable_area_scroll_to): Added conditions to avoid
5444 starting the scrolling movement if the child is smaller than one
5445 page, the complete child is in the screen, we do not have to move.
5447 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5449 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5451 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5452 this is managed automatically by the widget when the size of the
5455 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5457 * src/hildon-picker-button.c
5458 (hildon_picker_button_set_done_button_text): Make a copy of the
5459 text, and free the previous value.
5461 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5463 * src/hildon-touch-selector-entry.c:
5464 (hildon_touch_selector_entry_print_func): Return the selected row's
5465 text if the entry is empty.
5467 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5470 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5472 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5474 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5477 * src/hildon-check-button.h
5478 * src/hildon-check-button.c
5479 * examples/hildon-check-button-example.c:
5480 HildonCheckButton is now a new widget. 'toggled' signal added.
5482 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5484 * src/hildon-program-private.h
5485 * src/hildon-program.c (hildon_program_init)
5486 (hildon_program_finalize): Removed unused variables group_leader
5487 and name from HildonProgramPrivate.
5489 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5491 * src/hildon-check-button.c (hildon_check_button_set_active)
5492 (hildon_check_button_get_active, hildon_check_button_new): Use
5493 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5495 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5497 * src/hildon-touch-selector.h
5498 (hildon_touch_selector_set_column_attributes): added deprecation
5499 guard HILDON_DISABLE_DEPRECATED
5500 * src/hildon-time-selector.c
5501 (hildon_time_selector_set_time)
5502 (hildon_time_selector_get_time): Fixed a typo on documentation
5503 * src/hildon-touch-selector.c: update HildonTouchSelector and
5504 HildonTouchSelectorColumn documentation
5505 * src/hildon-touch-selector-entry.c: update "text-column" property
5507 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5508 to be added to the general documentation.
5510 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5512 * examples/hildon-pannable-area-example-4.c,
5514 * examples/hildon-pannable-area-example.c,
5515 (main): Modified the code in order to use the container add, with
5516 viewport treeviews could have problems if they are really big.
5518 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5520 * src/hildon-weekday-picker.c,
5521 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5522 the agreement regarding deprecation in the library.
5524 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5526 * examples/hildon-picker-button-multicolumn-example.c:
5527 (main): Use custom "done" button text.
5529 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5530 (hildon_picker_button_set_property),
5531 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5532 (hildon_picker_button_init),
5533 (+hildon_picker_button_get_done_button_text),
5534 (+hildon_picker_button_set_done_button_text): New methods to customize
5535 the "done" button label in the launched HildonPickerDialog. Also,
5538 * src/hildon-picker-button.h: add the public API.
5540 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5542 * src/hildon-date-selector.h:
5543 * src/hildon-picker-dialog.h:
5544 * src/hildon-time-selector.h:
5545 * src/hildon-touch-selector-column.h:
5546 * src/hildon-touch-selector.h:
5548 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5549 declarations. Fixes gtk-doc warnings.
5551 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5553 * src/hildon-picker-dialog.h
5554 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5555 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5557 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5558 long text is set as label for done button)
5560 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5562 * src/hildon-dialog.c (hildon_dialog_add_button):
5563 Set fixed width to all buttons in the HildonDialog.
5565 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5567 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5569 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5570 Set widget name using class name plus "-finger" or "-thumb".
5572 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5574 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5575 'clicked' when the state of the button is manually changed.
5577 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5579 * src/hildon-app-menu.c (hildon_app_menu_realize)
5580 (hildon_app_menu_unrealize, hildon_app_menu_init)
5581 (hildon_app_menu_class_init, item_visibility_changed):
5582 Change the menu layout when the size of the screen changes.
5583 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5584 Show warning only when changing the number of colums using the
5587 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5589 * debian/compat: Set to 5
5590 * debian/control: Update dependencies.
5591 * debian/libhildon1-dbg.install: Remove.
5592 * debian/libhildon1-dev.install: Update according to cdbs paths.
5593 * debian/libhildon1.install: Update according to cdbs paths.
5594 * debian/rules: Switch to cdbs.
5596 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5598 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5599 'item' variable renamed to 'filter'
5601 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5603 * src/hildon-app-menu.c (hildon_app_menu_insert)
5604 (hildon_app_menu_add_filter, remove_item_from_list)
5605 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5606 Don't leak hidden items when the menu is destroyed.
5608 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5610 * src/hildon-app-menu.c (hildon_app_menu_insert)
5611 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5612 (hildon_app_menu_set_columns, item_visibility_changed)
5613 (filter_visibility_changed, hildon_app_menu_repack_filters)
5614 (hildon_app_menu_repack_items):
5615 Repack items and filters separately.
5617 Don't repack all items, change only the ones that are needed to
5620 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5622 * src/Makefile.am: added hildon-touch-selector-column.h
5624 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5626 * src/hildon-touch-selector.c: added the property "text-column" to the
5627 class HildonTouchSelectorColumn, and related get/set functions
5628 (_default_printf_func): updated to use "text-column" property
5629 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5630 "text-column" in his documentation, as this is now included on
5631 HildonTouchSelectorColumn. The get/set_property can still be used,
5632 working as a wrapper to the concrete column "text-column" property
5633 (_text_column_modified): callback added in order to handle the signal
5634 "notify::text-column" of the concrete HildonTouchSelectorColumn
5635 (hildon_touch_selector_entry_get_text_column)
5636 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5637 modified in order to use the HildonTouchSelectorColumn "text-column"
5639 * src/hildon-time-selector.c:
5640 * src/hildon-date-selector.c:
5641 * examples/hildon-touch-selector-example.c
5642 * examples/hildon-touch-selector-multi-cells-example.c
5643 * examples/hildon-picker-button-multicolumn-example.c
5644 Set the right value to "text-column" property on the creation of a new
5645 column using hildon_touch_selector_append_column()
5647 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5649 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5651 * src/hildon-app-menu.c
5652 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5653 updating the layout of the menu, don't create all widgets again,
5654 just repack the items in their new places.
5656 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5658 * src/hildon-time-selector.c
5659 (hildon_time_selector_get_time)
5660 (hildon_time_selector_set_time)
5661 Added documentation of these public methods
5663 * src/hildon-date-button.h
5664 * src/hildon-touch-selector-column.h
5665 * src/hildon-time-button.h
5666 * src/hildon-picker-dialog.h
5667 * src/hildon-time-selector.h
5668 * src/hildon-picker-button.h
5669 * src/hildon-touch-selector.h
5670 * src/hildon-time-picker.h
5671 * src/hildon-date-selector.h
5672 * src/hildon-touch-selector-entry.h
5673 Modified in order to use hildon-widgets code style
5675 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5677 Added deprecated support to the compilation process using
5678 HILDON_DISABLE_DEPRECATED
5680 * configure.ac: Added the --disable-deprecated to the configure
5683 * src/hildon-weekday-picker.c:
5684 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5685 to use the deprecated support. We will update the other deprecated
5686 widgets status in a new patch.
5688 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5690 * configure.ac: Fixed typo with fatal warnings support, the
5691 variable name was not correct
5693 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5695 * src/hildon-app-menu.c
5696 * src/hildon-program.c: Update documentation.
5698 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5700 * configure.ac: Post-release version bump.
5702 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5707 * configure.ac: Pre-release version bump.
5708 * debian/changelog: Updates.
5710 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5712 * NEWS: Update news for previous releases.
5714 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5716 * examples/hildon-touch-selector-multi-cells-example.c:
5717 (create_selector): Update the example to use
5718 hildon_touch_selector_append_column() with a NULL renderer and set
5719 the renderers later.
5720 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5721 passed a NULL renderer. This is documented behavior now.
5723 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5724 This must be used if the developer wants full control on the layout of
5725 the renderers to be added to the column.
5727 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5729 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5731 * src/hildon-touch-selector.c: Documentation fixes.
5733 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5735 * src/hildon-wizard-dialog-private.h: Remove image and box.
5736 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5737 (hildon_wizard_dialog_set_property), (response): Completely remove
5738 image/icon support, and the containers required for the layout.
5740 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5742 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5744 * src/hildon-app-menu.c: Updated documentation.
5746 * src/hildon-stackable-window.c
5747 (hildon_stackable_window_set_main_menu): Unref the old menu after
5748 ref'ing the new one.
5750 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5752 * src/hildon-stackable-window.c
5753 (hildon_stackable_window_set_main_menu): Unref the previous menu
5754 instead of destroying it.
5756 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5757 floating reference and set has_user_ref_count to FALSE to make
5758 HildonAppMenu act like a normal ref-counted widget and not a
5761 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5764 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5766 * src/hildon-touch-selector-column.h: new file
5767 * src/hildon-touch-selector.h
5768 * src/hildon-touch-selector.c
5769 Implemented GtkCellLayout interface, in order to allow to configure
5770 the cell layout on each individual selector column
5771 (hildon_touch_selector_set_column_attributes): marked as deprecated
5772 * examples/hildon-touch-selector-multi-cells-example.c
5773 Example of how to use the GtkCellLayout interface on the selector
5775 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5777 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5779 * src/hildon-app-menu.h
5780 * src/hildon-app-menu.c
5781 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5782 (hildon_app_menu_append, hildon_app_menu_prepend):
5783 New methods to prepend, insert and move items in the menu.
5785 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5787 * src/hildon-wizard-dialog.c:
5789 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5791 (create_title): Update logical IDs and related code.
5792 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5794 * src/hildon-wizard-dialog.h: Note that
5795 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5796 point, as it is not used anymore.
5798 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5800 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5802 * src/hildon-note.c:
5803 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5804 shown. Do not display an icon in confirmation notes nor information
5806 (hildon_note_set_button_text): Update logical ID for cancel button.
5808 Fixes: NB#88850 (Update HildonNote button strings + signals)
5810 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5812 * src/hildon-stackable-window.c
5813 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5815 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5817 * src/hildon-app-menu-private.h
5818 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5819 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5820 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5821 temporary property 'columns' to change the number of columns.
5823 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5825 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5827 * examples/hildon-note-example.c: (on_information_clicked),
5828 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5829 debugging information.
5830 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5832 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5833 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5834 in order to close: this will be handled by the WM from now on.
5836 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5838 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5840 * src/hildon-app-menu-private.h
5841 * src/hildon-app-menu.c
5842 (hildon_app_menu_append, hildon_app_menu_add_filter)
5843 (button_visibility_changed, hildon_app_menu_apply_style)
5844 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5845 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5846 layout everytime a button (item or filter) is shown or hidden.
5848 * src/hildon-stackable-window.c
5849 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5852 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5854 * src/hildon-touch-selector.c:
5855 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5856 that the treeview inside the touch selector is in fremantle hildon mode
5857 * examples/hildon-date-button-example.c
5858 * examples/hildon-picker-button-multicolumn-example.c
5859 * examples/hildon-touch-selector-entry-example.c
5860 * examples/hildon-touch-selector-example.c
5861 * examples/hildon-time-button-example.c
5862 * examples/hildon-picker-button-example.c:
5863 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5865 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5867 * examples/hildon-text-view-example.c: (main): Remove the
5868 gtkrc bits, now handled by the theme.
5870 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5872 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5875 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5877 * po/Makefile.am: Install properly the mo files.
5878 * po/en_GB.po: Update translation, to ease testing purposes.
5880 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5882 * examples/hildon-picker-button-example.c: (main): Select an item
5883 in the selector before setting it to the button.
5885 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5887 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5888 Update button's value if the selector has an item active.
5890 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5891 'value' with the selector)
5893 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5895 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5896 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5897 (hildon_picker_button_class_init): Plug the finalize method.
5898 (hildon_picker_button_set_selector): If there's a previously set
5899 selector, unref'it before setting a new one.
5901 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5902 HildonTouchSelector)
5904 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5906 * src/hildon-touch-selector-entry.c:
5907 (hildon_touch_selector_entry_changed): Check if there is no text
5908 selected before setting the entry text.
5911 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5913 * src/hildon-touch-selector.h
5914 * src/hildon-touch-selector.c
5915 (hildon_touch_selector_get_active)
5916 (hildon_touch_selector_set_active): New methods to set/get the
5917 index of the selected item.
5919 * src/hildon-picker-button.h
5920 * src/hildon-picker-button.c
5921 (hildon_picker_button_get_active)
5922 (hildon_picker_button_set_active): New methods to set/get the
5923 index of the selected item.
5925 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5927 * configure.ac: post-release version bump.
5929 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5933 * configure.ac: Pre-release version bump.
5934 * debian/changelog: Updates.
5935 * debian/control: Add myself as maintainer and depend on l10n
5938 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5940 * src/hildon-window.c
5941 (hildon_window_set_main_menu)
5942 * src/hildon-stackable-window.c
5943 (hildon_stackable_window_set_main_menu):
5944 Updated documentation.
5946 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5948 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5949 Don't free selector->priv manually.
5952 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5955 (hildon_gtk_window_set_progress_indicator):
5956 * src/hildon-gtk.h: Added the new API
5957 hildon_gtk_window_set_progress_indicator, it changes the state of
5958 the window progress hint.
5960 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5962 * src/hildon-button.c
5963 * src/hildon-stackable-window.c: Minor documentation updates.
5965 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5967 * src/hildon-stackable-window.c: Updated documentation.
5969 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5971 * src/hildon-defines.h: Update margins definitions
5972 to the Fremantle sizes.
5975 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5977 * src/hildon-touch-selector.c,
5978 (_hildon_touch_selector_set_model): Cleaning the code after
5979 review, removed g_print and #if 0 from the code.
5981 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5983 * src/hildon-edit-toolbar.c: Update documentation.
5985 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5987 * src/hildon-check-button.h
5988 * src/hildon-check-button.c
5989 (hildon_check_button_set_label, hildon_check_button_get_label)
5990 * examples/hildon-check-button-example.c
5991 (button_clicked_cb):
5992 Removed deprecated methods.
5994 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5996 * src/hildon-text-view.c:
5997 Add sample code to the documentation.
5999 * src/hildon-entry.h
6000 * src/hildon-text-view.h:
6001 Minor cosmetic changes.
6003 * src/hildon-entry.c:
6004 Add sample code to the documentation.
6005 (hildon_entry_init, hildon_entry_refresh_contents):
6006 Don't allow NULL values in the placeholder.
6008 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6010 * doc/hildon-docs.sgml
6012 * examples/Makefile.am
6013 * examples/hildon-text-view-example.c
6015 * src/hildon-text-view.c
6016 * src/hildon-text-view.h
6018 New HildonTextView widget, with example.
6020 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6022 * po/POTFILES.in: Add missing files with translatable strings.
6023 Partially fixes NB#88287.
6025 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6027 * examples/hildon-pannable-area-example-2.c: (main): No need to
6028 set the cellrenderer height inside hildon touch lists, the theme does
6031 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6033 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6034 they are integrated in the theme.
6036 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6038 * examples/hildon-entry-example.c: Update the example adding
6039 widgets to modify the text and the placeholder of the HildonEntry.
6041 * src/hildon-entry.c: Show the placeholder everytime the widget
6042 is empty and loses the focus.
6044 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6046 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6048 * src/hildon-pannable-area.c,
6049 (hildon_pannable_area_size_request): Fixed bug in height
6050 requisition, avoid increasing size and add border twice.
6052 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6054 * configure.ac: postrelease version bump.
6056 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6060 * configure.ac: Prerelease version bump.
6061 * debian/changelog: update.
6062 * debian/rules: make -dbg package contain useful debugging symbols.
6064 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6066 * src/hildon-dialog.h
6067 * src/hildon-dialog.c
6068 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6069 New methods to add buttons with finger size.
6070 (hildon_dialog_new_with_buttons):
6071 Create buttons with finger size.
6073 * examples/hildon-dialog-example.c (main): Use HildonDialog
6074 methods to add buttons.
6076 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6078 * src/hildon-entry.c: Updated HildonButton documentation.
6080 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6082 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6083 button value label with (FALSE, FALSE) to prevent NB#88126 from
6086 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6088 * examples/hildon-pannable-area-example.c,
6089 (main): Removed examples panning a vbox inside a pannable
6090 area. Check bug NB#87965
6092 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6094 Patch contributed by Kris Rietveld (kris@imendio.com)
6096 * src/hildon-pannable-area.c,
6097 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6098 get_size and get_position, this saves an X server roundtrip.
6100 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6102 * doc/hildon-docs.sgml
6104 * examples/Makefile.am
6105 * examples/hildon-entry-example.c
6107 * src/hildon-entry.c
6108 * src/hildon-entry.h
6110 New HildonEntry widget, with example.
6112 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6114 * src/hildon-button.c (hildon_button_construct_child): Pack the
6115 image with expand == fill == FALSE. This is a workaround for a bug
6118 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6120 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6121 labels for the text column, to make it more look more dynamic.
6123 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6125 * src/hildon-time-selector.c
6126 Define gettext auxiliar macro N_
6127 (_create_minutes_model)
6128 (_create_hours_model)
6129 (_create_ampm_model): use of strftime in order to fill the model
6130 * src/hildon-date-selector.c
6131 (hildon_date_selector_finalize):
6132 (_locales_init): remove the logic related to get the name of the months
6133 using nl_langinfo, as it is not required anymore
6135 (_create_year_model)
6136 (_create_month_model)
6137 (_update_day_model): use of strftime in order to fill the model properly
6140 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6142 * src/hildon-button.h
6143 * src/hildon-button.c (hildon_button_get_image): New method to
6146 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6148 * src/hildon-touch-selector.c:
6149 (hildon_touch_selector_remove_column): Remove from the correct parent
6150 and also remove the list element and free it.
6153 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6155 * src/hildon-time-selector.c
6156 (_create_hours_model): change the range on 12h ampm format in order to use
6157 a 12-11 range instead of previous 01-12 range
6158 (hildon_time_selector_set_time): change the way to select the current time
6159 on 12h ampm format, due the change on the range
6160 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6163 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6165 * src/hildon-touch-selector.c
6166 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6167 in order to allow use this function on multiple row selection mode if
6168 the column is different that the first one
6171 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6173 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6174 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6176 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6178 * src/hildon-date-selector.h: clean some comments, now on the .c
6179 * src/hildon-date-selector.c
6180 (hildon_date_selector_select_month): first implementation
6181 (hildon_date_selector_select_day): added documentation, reimplemented
6182 using hildon_date_selector_select_current_date to avoid repeat code
6185 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6187 Reviewed interaction logic based on device experiences, refactored
6190 * src/hildon-pannable-area.c,
6191 (hildon_pannable_area_class_init): Updated default vmax speed.
6192 (hildon_pannable_area_calculate_velocity): Added this function, it
6193 avoids duplicate valocity calculation. Adjusted calculation to
6194 avoid problems with zero dist events.
6196 (hildon_pannable_area_motion_notify_cb): Now we use the
6197 calculate_velocity function.
6199 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6201 * src/hildon-date-selector.c
6202 (hildon_date_selector_select_current_date): fix the day range check
6203 as it failed using the last day of the current month
6206 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6208 * src/hildon-touch-selector.c
6209 (hildon_touch_selector_get_num_columns): added a parameter validation
6212 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6214 * examples/Makefile.am
6215 * examples/hildon-edit-toolbar-example.c: Example of the
6216 HildonEditToolbar widget.
6218 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6220 * configure.ac: postrelease version bump.
6222 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6226 * configure.ac: prerelease version bump.
6227 * debian/changelog: update.
6229 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6231 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6232 renderer to display stock icons in the touch list. Also, set the sizes
6233 to the recommended in the style guide.
6235 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6236 * src/hildon-touch-selector.h
6237 (hildon_touch_selector_set_active_iter): renamed, now is
6238 hildon_touch_selector_select_iter
6239 (hildon_touch_selector_get_active_iter): renamed, now is
6240 hildon_touch_selector_get_selected
6241 (hildon_touch_selector_unselect_iter): added
6242 * src/hildon-touch-selector.c
6243 Update after API modification (methods renamed)
6244 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6245 order to avoid problems selecting multiple elements on the column
6246 (hildon_touch_selector_unselect_iter): added the implementation
6247 * src/hildon-time-selector.c
6248 * src/hildon-date-selector.c
6249 * src/hildon-touch-selector-entry.c
6250 Update methods calls after hildon-touch-selector.h API modification (methods
6253 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6255 * src/hildon-stackable-window.c
6256 (hildon_stackable_window_finalize): Call the parent class's finalize.
6258 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6260 * examples/hildon-touch-selector-example.c: (create_selector): Use
6261 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6264 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6266 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6267 set a cell background color, to respect theming.
6269 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6271 * doc/hildon-docs.sgml
6274 * src/hildon-edit-toolbar.c
6275 * src/hildon-edit-toolbar.h
6276 * src/hildon.h: New HildonEditToolbar widget.
6278 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6280 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6283 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6284 * src/hildon-touch-selector.c
6285 (_create_new_column): use g_object_set instead of two g_object_set_property
6287 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6288 * src/hildon-touch-selector.c
6289 (_create_new_column): use of hildon_gtk_tree_view_new to create
6290 the treeview, instead of use directly g_object_new
6291 (_create_new_column): update the property name "vindicator-mode" for the
6292 new one "vscrollbar-policy"
6293 * examples/hildon-date-button-example.c
6294 * examples/hildon-picker-button-multicolumn-example.c
6295 * examples/hildon-touch-selector-entry-example.c
6296 * examples/hildon-touch-selector-example.c
6297 * examples/hildon-time-button-example.c
6298 * examples/hildon-picker-button-example.c
6299 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6300 to all the treeviews inside a pannable area.
6302 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6304 * src/hildon-button.h
6305 * src/hildon-button.c (hildon_button_init)
6306 (hildon_button_set_arrangement, hildon_button_set_alignment)
6307 (hildon_button_set_title_alignment)
6308 (hildon_button_set_value_alignment)
6309 (hildon_button_set_image_alignment)
6310 (hildon_button_construct_child): New methods to set the alignment
6311 of the individual components of the button (title, value,
6312 image). Also, new method to alter the xscale and yscale properties
6313 of the GtkAlignment inside the button, so more complex layouts can
6316 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6318 * src/hildon-button.c (hildon_button_style_set)
6319 (hildon_button_class_init, hildon_button_set_arrangement)
6320 (hildon_button_construct_child): Apply style properties
6321 correctly. Use the 'image-spacing' style property too.
6323 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6325 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6326 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6329 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6331 * src/hildon-pannable-area.c,
6332 (hildon_pannable_area_size_request): Fixed problem with
6333 pannable-area size_request.
6335 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6337 Added management for the grab-focus to a child widget, like a
6338 range, we need to fade out the scrollbar when releasing.
6340 * src/hildon-pannable-area.c,
6341 (hildon_pannable_area_init): Connected the grab-focus signal to
6343 (hildon_pannable_area_grab_notify): Added this function in order
6344 to manage the situation when the grab-focus ends. We have to
6345 fade-out the scrollbar.
6347 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6349 * src/hildon-app-menu.c: Minor documentation update.
6351 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6353 * src/hildon-app-menu.c
6354 * examples/hildon-app-menu-example.c (create_menu): Update
6355 examples and documentation to explain how to connect callbacks.
6357 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6359 * examples/hildon-button-example.c
6360 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6361 hildon_stackable_window_new instead of gtk_window_new
6363 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6365 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6366 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6367 (hildon_pannable_area_set_property),
6368 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6369 (hildon_pannable_area_unrealize),
6370 (hildon_pannable_area_size_request),
6371 (hildon_pannable_area_size_allocate),
6372 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6373 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6374 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6375 (hildon_pannable_area_initial_effect),
6376 (hildon_pannable_area_redraw),
6377 (hildon_pannable_area_scroll_indicator_fade),
6378 (hildon_pannable_area_expose_event),
6379 (hildon_pannable_area_get_topmost), (synth_crossing),
6380 (hildon_pannable_area_button_press_cb),
6381 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6382 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6383 (hildon_pannable_area_motion_notify_cb),
6384 (hildon_pannable_area_button_release_cb),
6385 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6386 (hildon_pannable_area_remove),
6387 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6388 chage the code layout to a more GtkWidget like. Review the use of
6391 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6393 * examples/hildon-pannable-area-example-4.c,
6394 (main): Modified the name of the hindicator_mode to
6397 * src/hildon-pannable-area.c,
6398 (hildon_pannable_area_class_init),
6399 (hildon_pannable_area_motion_notify_cb),
6400 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6401 we have reduced the amount of signals and managed reviewed its
6402 rationale. Changed the default decelerate value.
6404 (hildon_pannable_area_add),
6405 (hildon_pannable_area_redraw): Refactored functions.
6407 (hildon_pannable_area_init),
6408 (hildon_pannable_area_get_property),
6409 (hildon_pannable_area_set_property):
6410 (hildon_pannable_draw_vscroll),
6411 (hildon_pannable_draw_hscroll),
6412 (hildon_pannable_area_initial_effect),
6413 (hildon_pannable_area_expose_event),
6414 (hildon_pannable_area_scroll),
6415 (hildon_pannable_area_button_press_cb),
6416 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6417 and vindicator_mode with hscrollbar_policy and
6418 vscrollbar_policy. Replaced hscroll and vscroll with
6419 hscroll_visible and vscroll_visible.
6421 (hildon_pannable_area_refresh): Refactor the function, remove
6422 variables and check the calls to this function, added resize
6423 conditions in case the children change their layout.
6425 (hildon_pannable_area_size_request): Added more detailed
6426 size_request calculation.
6429 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6431 * src/hildon-color-chooser.c
6432 (init_borders): use the correct gtk_border_free instead of g_free, to
6433 avoid a crash when this widget is used (ie: the three color selection
6436 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6438 * src/hildon-check-button.c,
6439 (hildon_check_button_set_active): Fixed problem when setting the
6440 active value, the widget was not redrawn.
6442 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6444 * src/hildon-pannable-area.c,
6445 (hildon_pannable_area_refresh),
6446 (hildon_pannable_area_scroll),
6447 (hildon_pannable_area_motion_notify_cb): Small code style change.
6449 (hildon_pannable_area_class_init): Default initial_hint set to
6450 FALSE, it is not in the specs.
6452 (hildon_pannable_area_initial_effect),
6453 (hildon_pannable_area_expose_event),
6454 (hildon_pannable_area_map),
6455 (hildon_pannable_area_init): Moved the launching point of the
6456 initial effect, it was in map but the sizes where not correct in
6457 that method so we do not know if we have the reproduce it. Now it
6458 is placed in the expose_event method and uses a variable to
6459 reproduce it just once.
6461 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6463 * src/hildon-pannable-area.c,
6464 (hildon_pannable_draw_vscroll),
6465 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6466 position allowed for the scrollbars.
6468 (hildon_pannable_area_size_allocate): Small style change.
6470 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6472 * src/hildon-pannable-area.c,
6473 (hildon_pannable_area_scroll_indicator_fade),
6474 (hildon_pannable_area_button_press_cb),
6475 (hildon_pannable_area_button_release_cb),
6476 (hildon_pannable_area_scroll_cb),
6477 (hildon_pannable_area_expose_event),
6478 (hildon_pannable_area_init): Added the define parameter
6479 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6480 and refactor the fade variable.
6482 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6484 * src/hildon-pannable-area.c,
6485 (hildon_pannable_area_redraw),
6486 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6487 lines, we were reimplemeting the redraw code.
6489 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6491 * src/hildon-pannable-area.c,
6492 (hildon_pannable_area_scroll_cb),
6493 (hildon_pannable_area_realize),
6494 (hildon_pannable_area_class_init): Added scroll_event management
6495 for pannable area, now we can scroll the usual desktop method.
6497 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6498 initialization of the parameters should depend on idle_id.
6500 (hildon_pannable_area_init),
6501 (hildon_pannable_area_map): Small code style modifications
6503 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6505 * src/hildon-pannable-area.c
6506 (hildon_pannable_area_button_press_cb),
6507 (hildon_pannable_area_motion_notify_cb),
6508 (hildon_pannable_area_button_release_cb),
6509 (hildon_pannable_area_size_allocate),
6510 (hildon_pannable_area_scroll_to): Improved the timeouts
6511 management, we avoid creating them each time.
6513 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6515 * src/hildon-pannable-area.c:
6516 (hildon_pannable_area_refresh),
6517 (hildon_pannable_area_motion_notify_cb),
6518 (hildon_pannable_area_class_init):
6519 * src/hildon-pannable-area.h:
6520 * src/hildon-touch-selector.c
6521 (_create_new_column):
6522 * examples/hildon-pannable-area-example-4.c:
6523 (horizontal_movement),
6524 (vertical_movement),
6526 Replaced the names of enums in the HildonPannableArea:
6527 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6528 HILDON_MOVEMENT_MODE_*
6529 - HILDON_PANNABLE_AREA_MOV_* ->
6531 - Removed HildonPannableAreaIndicatorMode, now we
6534 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6536 * examples/hildon-pannable-area-touch-grid-example.c
6537 * examples/hildon-pannable-area-touch-list-example.c: Fix
6538 compilation warnings.
6540 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6542 * src/hildon-gtk.c (hildon_gtk_button_new)
6543 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6544 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6545 images overriding the value of the "gtk-button-images" setting.
6547 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6549 * src/hildon-check-button.c (hildon_check_button_new):
6550 Instead of using a custom container, display the label and the
6551 checkbox using the standard GtkButton API.
6553 * examples/hildon-check-button-example.c (main): Don't use
6554 hildon_check_button_set_label() anymore
6556 * src/hildon-check-button.h
6557 * src/hildon-check-button.c
6558 (hildon_check_button_set_label, hildon_check_button_get_label):
6559 Set as deprecated, now we're using gtk_button_{get,set}_label()
6561 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6563 * src/hildon-pannable-area.c,
6564 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6565 GtkTreeview first line we detected it after the inclusion of the
6566 GtkWindowImpl in gtk+. We now check if the window is visible, not
6567 just if the pointer is over the window.
6568 (hildon_pannable_axis_scroll),
6569 (hildon_pannable_area_expose_event): Small style changes.
6571 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6573 * src/hildon-button.c: Update documentation.
6575 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6577 * examples/hildon-button-example.c: Add a switch to show images in
6580 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6582 * doc/hildon-docs.sgml: Some docs reorganization.
6584 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6586 * examples/hildon-pannable-area-touch-list-example.c
6588 * examples/hildon-pannable-area-touch-grid-example.c
6589 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6590 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6591 Fix memory leak when setting the tree model.
6593 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6597 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6599 * doc/hildon.types: Remove duplicated hildon_window_get_type
6600 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6601 documentation comment.
6603 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6605 * doc/Makefile.am: Complete list of private headers.
6607 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6609 * doc/hildon-docs.sgml
6610 * src/hildon-app-menu.c
6611 * src/hildon-bread-crumb.c
6612 * src/hildon-button.c
6614 * src/hildon-program.c
6615 * src/hildon-stackable-window.c
6616 * src/hildon-window.c: Lots of documentation updates.
6618 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6620 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6622 * configure.ac: Require Gtk+ 2.12.9 at least
6624 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6626 * src/hildon-pannable-area.c
6627 (hildon_pannable_area_scroll_indicator_fade),
6628 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6629 to protect the return of this timeout callbacks, avoiding deadlocks.
6631 2008-08-12 Christian Dywan <christian@imendio.com>
6634 * src/hildon-*.h: Ensure a consistent include order,
6635 include <gtk/gtk.h> instead of particular files and
6636 only include the topmost header in the gtk stack. See NB #39857
6638 2008-08-12 Christian Dywan <christian@imendio.com>
6640 * src/hildon-picker-dialog.c
6641 * src/hildon-touch-selector.c: Fix warnings about unused and
6642 uninitialized variables.
6644 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6646 * examples/Makefile.am
6647 * examples/hildon-check-button-example.c: Example of the hildon
6650 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6652 * src/hildon-window.h
6653 * src/hildon-window.c (hildon_window_class_init)
6654 (hildon_window_unset_program): Don't make
6655 hildon_window_unset_program a virtual function anymore.
6657 * src/hildon-stackable-window.c: Update documentation
6659 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6662 * doc/hildon-docs.sgml
6663 * doc/visual_index.xml
6664 * src/hildon-defines.c
6666 * src/hildon-helper.c
6667 * src/hildon-range-editor.c: Lots of documentation fixes.
6669 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6671 * examples/hildon-picker-button-multicolumn-example.c
6672 (create_touch_selector): Fix compilation warning.
6674 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6676 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6677 (hildon_pannable_area_button_release_cb)
6678 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6680 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6682 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6685 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6687 * src/hildon-bread-crumb-trail.h
6688 * src/hildon-date-editor.c
6689 * src/hildon-date-selector.c
6690 * src/hildon-pannable-area.c
6691 * src/hildon-picker-dialog.c
6692 * src/hildon-time-selector.c
6693 * src/hildon-touch-selector-entry.c
6694 * src/hildon-touch-selector.c
6695 * src/hildon-touch-selector.h: Misc documentation fixes
6697 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6699 * examples/hildon-date-editor-example.c (main): Updated date
6702 * examples/hildon-note-example.c (on_confirmation_clicked):
6703 Updated confirmation note example.
6705 * src/hildon-date-editor.c
6706 * src/hildon-note.c: Updated sample programs in documentation.
6709 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6711 * src/hildon-date-button.h:
6712 * src/hildon-picker-button.h:
6713 * src/hildon-time-button.c:
6714 * src/hildon-time-button.h:
6716 Some declarations changes to allow gtk-doc to document the widgets
6719 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6721 * src/hildon-date-button.c: Document the widget.
6722 * src/hildon-time-button.c: Document the widget.
6724 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6726 * src/hildon-picker-button.c: Document the widget.
6727 * src/hildon-touch-selector-entry.c: Document the widget.
6729 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6731 * doc/hildon-docs.sgml
6734 * src/hildon-check-button.h
6735 * src/hildon-check-button.c: New functions to create the Hildon
6739 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6741 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6743 * src/hildon-button.h
6744 * src/hildon-button.c
6745 (hildon_button_add_title_size_group)
6746 (hildon_button_add_value_size_group)
6747 (hildon_button_add_image_size_group)
6748 (hildon_button_add_size_groups): New functions to set size groups
6749 for the button labels and image.
6750 (hildon_button_new_full): Removed
6752 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6754 * src/hildon-time-selector.c
6755 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6756 in order to avoid a crash if gconf is not available
6758 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6760 * src/hildon-button.c (hildon_button_set_arrangement)
6761 (hildon_button_construct_child): Don't construct the button child
6762 before setting the arrangement.
6764 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6766 * src/hildon-program-private.h
6767 * src/hildon-program.c
6768 * src/hildon-program.h
6769 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6770 (hildon_program_peek_window_stack)
6771 (hildon_program_pop_window_stack)
6772 (hildon_program_go_to_root_window): HildonProgram now has a
6773 separate list for stackable windows. Functions are provided to
6774 manage that list with a stack-like API.
6776 * src/hildon-stackable-window.c: Stackable window management is
6777 now much simpler with the new HildonProgram API. Windows no
6778 longer need to be manually added to the program, they're
6779 automatically pushed to the top of the stack when shown.
6781 * examples/hildon-stackable-window-example.c: Updated example to
6782 reflect the API changes.
6784 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6786 * src/hildon-touch-selector.c: Comment out unimplemented
6787 hildon_touch_selector_insert_column() to avoid a compile warning.
6789 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6791 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6792 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6793 (hildon_touch_selector_set_column_selection_mode),
6794 (_hildon_touch_selector_set_model),
6795 (hildon_touch_selector_set_model):
6797 Complete review of HildonTouchSelector documentation.
6799 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6801 * doc/hildon-docs.sgml
6805 * src/hildon-gtk.c: Convenience functions for standard Gtk
6806 widgets, used to easily perform frequent operations.
6808 * src/hildon-button-helpers.h
6809 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6811 * src/hildon-helper.h
6812 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6813 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6815 * src/hildon-button.h
6816 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6818 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6820 * src/hildon-button.c (hildon_button_init)
6821 (hildon_button_set_arrangement, hildon_button_construct_child):
6822 Pack the image and the labels inside the same GtkAlignment so
6823 gtk_button_set_alignment() can be used
6825 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6827 * src/hildon-button.h
6828 * src/hildon-button.c
6829 (hildon_button_init, hildon_button_set_image)
6830 (hildon_button_set_image_position)
6831 (hildon_button_construct_child): New functions to add an image to
6834 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6836 * src/hildon-date-button.c
6837 * src/hildon-picker-button.c
6838 * src/hildon-time-button.c
6839 * src/hildon-button.c:
6840 (hildon_button_class_init): "size-flags" renamed to "size"
6841 (hildon_button_set_title): Hide the title label if set to NULL.
6843 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6845 HildonButtonFlags split into HildonButtonArrangement (to set the
6846 button layout) and HildonSizeType (which can be used for any
6849 * src/hildon-button.h
6850 * src/hildon-button.c
6851 (hildon_button_class_init)
6852 (hildon_button_set_arrangement)
6853 (hildon_button_set_property): New "size-flags"
6854 property. "arrangement-flags" renamed to "arrangement".
6855 (hildon_button_new, hildon_button_new_with_text)
6856 (hildon_button_new_full): Constructors updated to reflect type changes.
6858 * src/hildon-helper.h
6859 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6860 to set the size of a widget.
6864 * src/hildon-button-helpers.c
6865 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6867 * src/hildon-date-button.c
6868 * src/hildon-date-button.h
6869 * src/hildon-picker-button.c
6870 * src/hildon-picker-button.h
6871 * src/hildon-time-button.c
6872 * src/hildon-time-button.h: Updated widgets to reflect
6873 HildonButton API changes.
6875 * examples/hildon-button-example.c
6876 * examples/hildon-date-button-example.c
6877 * examples/hildon-picker-button-example.c
6878 * examples/hildon-picker-button-multicolumn-example.c
6879 * examples/hildon-time-button-example.c
6880 * examples/hildon-touch-selector-entry-example.c
6881 * examples/hildon-touch-selector-example.c: Updated examples to
6882 reflect HildonButton API changes.
6884 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6886 * doc/hildon-docs.sgml:
6888 * examples/Makefile.am:
6889 * examples/hildon-touch-selector-entry-example.c:
6891 * src/hildon-touch-selector-entry.c:
6892 * src/hildon-touch-selector-entry.h:
6895 Moved HildonTouchSelectorEntry from sandbox. Added its
6896 documentation and examples.
6898 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6900 * src/hildon-touch-selector.h:
6901 * examples/hildon-picker-button-multicolumn-example.c:
6902 (hildon_touch_selector_append_text_column): Add a gboolean
6903 parameter to determine if text must be centered in the column.
6905 * src/hildon-date-selector.c: (hildon_date_selector_init):
6906 * src/hildon-time-selector.c: (hildon_time_selector_init):
6907 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6908 (create_touch_selector): Update widgets and example to reflect
6911 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6913 * src/hildon-touch-selector.c:
6914 (hildon_touch_selector_set_active_iter): Set also the cursor in
6917 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6919 * doc/hildon-docs.sgml
6922 * src/hildon-toggle-button.c
6923 * src/hildon-toggle-button.h
6924 * src/hildon.h: Removed HildonToggleButton widget, a derived
6925 class is not necessary for this.
6927 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6929 * src/hildon-pannable-area.c,
6930 (hildon_pannable_area_realize),
6931 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6934 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6936 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6937 "done" button the default widget for the dialog.
6939 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6941 * src/hildon-touch-selector.c:
6942 (hildon_touch_selector_class_init),
6943 (hildon_touch_selector_get_property),
6944 (_hildon_touch_selector_set_model),
6945 (_hildon_touch_selector_has_multiple_selection),
6946 (hildon_touch_selector_has_multiple_selection):
6947 Add a "has-multiple-selection" property with a virtual
6948 has_multiple_selection() method to allow derived classes to
6949 override the default value for it. See the method and property
6950 documentation for details.
6952 * src/hildon-touch-selector.h: Add the new API.
6954 * src/hildon-picker-dialog.c: (requires_done_button): Call
6955 hildon_touch_selector_has_multiple_selection() instead of
6956 determining the need for a button itself.
6958 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6960 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6961 (_hildon_touch_selector_set_model),
6962 (hildon_touch_selector_set_model): Move working code to
6963 _hildon_touch_selector_set_mode(). Call the class method instead.
6965 * src/hildon-touch-selector.h: Add (*set_model) to
6966 HildonTouchSelectorClass.
6968 Make hildon_touch_selector_set_model() a virtual method, so that
6969 derived classes can extend it and do fancy stuff with the model.
6971 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6973 * configure.ac: Set back the tarname in AC_INIT to hildon.
6975 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6979 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6980 instead of libesd (NB#86876). Volume handling is still an open issue.
6982 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6985 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6987 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6988 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6989 derived class to ease placement of an entry widget in
6990 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6991 end, where the selector columns are packed now.
6993 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6995 * src/hildon-picker-button.c: Removed the simple _text() API.
6996 * src/hildon-picker-button.h: Likewise.
6998 * src/hildon-touch-selector.h:
6999 * src/hildon-touch-selector.c:
7000 (hildon_touch_selector_new_text),
7001 (hildon_touch_selector_append_text),
7002 (hildon_touch_selector_prepend_text),
7003 (hildon_touch_selector_insert_text):
7005 Moved the simple _text() API from HildonPickerButton to
7006 HildonTouchPicker, to provide better escalability and not to tie
7007 that API to HildonPickerButton.
7009 * examples/hildon-picker-button-example.c: (main): Example updated.
7011 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7013 * src/hildon-button.c: Updated documentation.
7015 * examples/hildon-button-example.c: Add the posibility to create
7016 the buttons using horizontal layout for title and value.
7018 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7020 * src/hildon-app-menu-private.h
7021 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7022 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7023 GtkSizeGroup for the filters, use the 'homogeneous' property of
7026 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7028 * examples/hildon-button-example.c: Updated example.
7030 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7032 * doc/hildon-docs.sgml:
7035 Update documentation.
7037 * examples/Makefile.am: Update renamed examples.
7039 * examples/hildon-picker-button-multicolumn-example.c:
7040 (create_touch_selector), (main): Update after the rename.
7042 * examples/hildon-touch-picker-example.c: Removed.
7043 * examples/hildon-touch-selector-example.c: (value_changed),
7044 (create_selector), (get_visible_content), (main): Renamed from
7045 hildon-touch-picker-example.c
7047 * src/Makefile.am: Updated renamed files.
7049 * src/hildon-date-button.c: (hildon_date_button_init),
7050 (hildon_date_button_get_date), (hildon_date_button_set_date):
7051 * src/hildon-date-selector.c: (hildon_date_selector_init),
7052 (_custom_print_func), (_update_day_model),
7053 (_manage_selector_change_cb),
7054 (hildon_date_selector_select_current_date),
7055 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7056 * src/hildon-date-selector.h:
7057 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7058 (hildon_picker_button_set_property),
7059 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7060 (hildon_picker_button_init), (hildon_picker_button_new_text),
7061 (hildon_picker_button_append_text),
7062 (hildon_picker_button_prepend_text),
7063 (hildon_picker_button_insert_text),
7064 (hildon_picker_button_set_selector),
7065 (hildon_picker_button_get_selector):
7066 * src/hildon-picker-button.h:
7067 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7068 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7069 (_update_title_on_selector_changed_cb), (requires_done_button),
7070 (_hildon_picker_dialog_set_selector),
7071 (hildon_picker_dialog_set_selector),
7072 (hildon_picker_dialog_get_selector):
7073 * src/hildon-picker-dialog.h:
7074 * src/hildon-time-button.c: (hildon_time_button_init),
7075 (hildon_time_button_get_time), (hildon_time_button_set_time):
7076 * src/hildon-time-selector.c: (hildon_time_selector_init),
7077 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7078 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7079 * src/hildon-time-selector.h:
7082 Massive code updates after the rename.
7084 * src/hildon-touch-picker.c: Removed.
7085 * src/hildon-touch-picker.h: Removed.
7087 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7088 (hildon_touch_selector_init), (hildon_touch_selector_map),
7089 (hildon_touch_selector_remove), (_default_print_func),
7090 (_selection_changed_cb), (_create_new_column),
7091 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7092 (hildon_touch_selector_append_text_column),
7093 (hildon_touch_selector_remove_column),
7094 (hildon_touch_selector_set_column_attributes),
7095 (hildon_touch_selector_insert_column),
7096 (hildon_touch_selector_get_num_columns),
7097 (hildon_touch_selector_get_column_selection_mode),
7098 (hildon_touch_selector_set_column_selection_mode),
7099 (hildon_touch_selector_set_print_func),
7100 (hildon_touch_selector_get_print_func),
7101 (hildon_touch_selector_get_active_iter),
7102 (hildon_touch_selector_set_active_iter),
7103 (hildon_touch_selector_get_selected_rows),
7104 (hildon_touch_selector_get_model),
7105 (hildon_touch_selector_set_model),
7106 (hildon_touch_selector_get_current_text),
7107 (_hildon_touch_selector_center_on_selected_items):
7108 * src/hildon-touch-selector.h: Renamed from
7109 hildon-touch-picker.[ch]
7111 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7112 references, code examples, and related documentation.
7114 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7116 * doc/hildon-docs.sgml
7119 * src/hildon-toggle-button.c
7120 * src/hildon-toggle-button.h
7121 * src/hildon.h: New HildonToggleButton widget.
7123 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7125 * src/hildon-button.c: Add API documentation.
7126 (hildon_button_set_size_groups): Check input parameters
7128 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7130 * src/hildon-pannable-area.c
7131 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7132 effect after reaching the movement thredshold. This way we start
7133 using the distance after passing the thredshold.
7135 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7137 * src/hildon-button.c: (hildon_button_set_property): Use the
7138 appropriate g_value_get_flags() method.
7140 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7142 * doc/hildon-docs.sgml:
7145 Add the touch pickers, picker dialogs, and picker button widgets
7146 to the documentation.
7148 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7150 * src/hildon-button.c: (hildon_button_set_property),
7151 (hildon_button_class_init): Make "arrangement-flags" a proper
7152 G_TYPE_FLAGS derived property.
7154 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7156 * examples/Makefile.am: Add below examples.
7157 * examples/hildon-date-button-example.c:
7158 * examples/hildon-picker-button-example.c:
7159 * examples/hildon-picker-button-multicolumn-example.c:
7160 * examples/hildon-time-button-example.c:
7161 * examples/hildon-touch-picker-example.c:
7163 Add examples for the recently added touch pickers,
7164 picker dialogs, and picker button widgets.
7166 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7168 * src/hildon-button.c: Add some API documentation
7170 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7172 * src/hildon-button.h
7173 * src/hildon-button.c
7175 (hildon_button_new_with_text): New constructor to create a button
7176 with no text at all.
7177 (hildon_button_init, hildon_button_set_arrangement)
7178 (hildon_button_set_title, hildon_button_set_value)
7179 (hildon_button_set_text)
7180 (hildon_button_construct_child): Hide the value when it's not used
7181 so the rest of the text is properly aligned.
7182 Allow creating buttons with arbitrary widgets inside (not just
7183 title/value labels).
7185 * examples/hildon-button-example.c (vertical_buttons_window)
7186 (horizontal_buttons_window): Update example to use new API.
7188 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7190 * src/Makefile.am: Added HildonTimeButton.
7191 * src/hildon-time-button.c: Added missing LGPL header.
7192 * src/hildon-time-button.h: Added missing LGPL header.
7193 * src/hildon.h: Add hildon-time-button.h
7195 Copied HildonTimeButton from sandbox to trunk. Future work on this
7196 widget must take place in trunk.
7198 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7200 * src/Makefile.am: Added HildonDateButton.
7201 * src/hildon-date-button.c: Update includes.
7202 * src/hildon.h: Add hildon-date-button.h
7204 Copied HildonDateButton from sandbox to trunk. Future work on this
7205 widget must take place in trunk.
7207 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7209 * src/Makefile.am: Added HildonPickerButton.
7210 * src/hildon-picker-button.h: Update includes.
7211 * src/hildon.h: Add hildon-picker-button.h
7213 Copied HildonPickerButton from sandbox to trunk. Future work on
7214 this widget must take place in trunk.
7216 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7218 * src/Makefile.am: Added HildonPickerDialog.
7219 * src/hildon-picker-dialog.c: Update includes.
7220 * src/hildon.h: Add hildon-picker-dialog.h
7222 Copied HildonPickerDialog from sandbox to trunk. Future work
7223 on this widget must take place in trunk.
7225 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7227 * src/Makefile.am: Added HildonTimeSelector.
7228 * src/hildon.h: Add hildon-time-selector.h
7230 Copied HildonTimeSelector widget from sandbox to trunk. Future
7231 work on this widget must happen in trunk.
7233 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7235 * src/Makefile.am: Added HildonDateSelector.
7236 * src/hildon.h: Add hildon-date-selector.h
7238 Copied HildonDateSelector widget from sandbox to trunk. Future
7239 work on this widget must happen in trunk.
7241 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7243 * src/Makefile.am: Added HildonTouchPicker.
7244 * src/hildon-touch-picker.c: Update includes.
7245 * src/hildon.h: Add hildon-touch-picker.h
7247 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7248 on this widget must happen in trunk.
7250 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7252 * src/hildon-pannable-area.c:
7253 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7255 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7257 * examples/hildon-app-menu-example.c (main): Let the window
7260 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7262 * src/hildon-pannable-area.c
7263 (hildon_pannable_area_class_init): Set the min value of the
7264 overshoot properties to zero, which points out that not
7265 overshooting allowed.
7267 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7269 Modified the procedure to get the widget at a point inside the
7270 pannable area when using the movement type signals. Now the user
7271 has to call a function to get the child, that way we just
7272 calculate the child in case the user really want to use it and not
7275 * src/hildon-marshalers.list: Modified the marshallers, now we do
7276 not have the widget as a parameter.
7278 * src/hildon-pannable-area.c
7279 (hildon_pannable_area_motion_notify_cb),
7280 (hildon_pannable_area_class_init),
7281 (hildon_pannable_get_child_widget_at): Removed the widget
7282 parameter from the signal callback. We have also refactored the
7283 emission of the signals.
7285 * src/hildon-pannable-area.h: Added a new method to the API to
7286 calculate a widget at a point inside the pannable area,
7287 hildon_pannable_get_child_widget_at.
7289 * examples/hildon-pannable-area-example-4.c
7290 (horizontal_movement): Modified the example to use the new API,
7291 added condition to control which widget is under the event. This
7292 way we can avoid scrolling laterally over other widgets.
7294 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7296 * src/hildon-pannable-area.c
7297 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7298 modes, we stop getting the pointer events due to returning the
7299 callback without properly calling the get pointer again. Fixed
7300 also an error using the hscroll and vscroll.
7302 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7304 * src/hildon-app-menu-private.h
7305 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7306 (hildon_app_menu_button_release, hildon_app_menu_init)
7307 (hildon_app_menu_class_init): Don't hide the menu on button
7308 release if the user didn't press outside first.
7310 * src/hildon-window.h
7311 * src/hildon-window.c (hildon_window_toggle_menu)
7312 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7313 hildon_window_toggle_menu a virtual function for the stackable
7314 window to override it.
7316 * src/hildon-stackable-window.h
7317 * src/hildon-stackable-window-private.h
7318 * src/hildon-stackable-window.c
7319 (hildon_stackable_window_realize)
7320 (hildon_stackable_window_finalize)
7321 (hildon_stackable_window_class_init)
7322 (hildon_stackable_window_init)
7323 (hildon_stackable_window_set_main_menu): New function to set the
7324 app menu of a HildonStackableWindow.
7326 * examples/hildon-app-menu-example.c: Remove the button to show
7327 the app menu, now it'll be shown when clicking on the title bar
7330 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7332 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7333 set the widget name if the arrangement flags do not specify
7336 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7338 * src/hildon-button.c: (hildon_button_set_property),
7339 (hildon_button_class_init), (hildon_button_new_full),
7340 (hildon_button_set_arrangement): Added "arrangement-flags"
7343 Make the HildonButtonFlags a construction-only property, to allow
7344 subclasses to set them properly.
7346 2008-07-21 Tim Janik <timj@imendio.com>
7348 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7349 insertion position after backspace, so additional digits are appended,
7352 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7354 * src/hildon-pannable-area.c,
7355 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7356 TODO list, it was complete and removed the g_debug and g_print
7359 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7361 Added the movement modes to the hildon-pannable-area, with this
7362 modes the developers can control in which directions the widget
7363 can scroll. They can also connect to signals in order to do
7364 something when that happens, allowing applications scroll. There
7365 is an example uploaded showing how to use it.
7367 * examples/Makefile.am:
7368 * examples/hildon-pannable-area-example-4.c: Added this example of
7369 an application using the modes.
7371 * src/hildon-marshalers.list: Added a new marshaller for the new
7374 * src/hildon-pannable-area.h: Added new enumerations and flags in
7375 order to control the movement modes and the new signals to warn
7376 about the movements in the area.
7378 * src/hildon-pannable-area.c:
7379 (hildon_pannable_axis_scroll),
7380 (hildon_pannable_area_scroll),
7381 (hildon_pannable_area_motion_notify_cb),
7382 (hildon_pannable_area_get_property),
7383 (hildon_pannable_area_set_property),
7384 (hildon_pannable_area_map),
7385 (hildon_pannable_area_class_init),
7386 (hildon_pannable_area_init),
7387 (hildon_pannable_area_jump_to): Added the modes to control the
7388 movement in the widget. We have added properties to control it,
7389 signals to warn about the movements and refactored some code.
7391 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7393 Changes required in order to allow vfast_factor set to zero to
7396 * src/hildon-pannable-area.c:
7397 (hildon_pannable_area_button_press_cb): Changed the condition, it
7398 is required for not allowing click when vfast_factor is zero.
7399 (hildon_pannable_area_timeout): Initialized velocity variables
7400 when we stop moving, it was less than 1 but not zero and we need
7401 to check zero in some situations.
7402 (hildon_pannable_area_class_init): Changed the default value of
7403 the speed factor, now the button_press is just sent in case the
7404 speed is 2 per cent of the max speed.
7405 (hildon_pannable_area_init): Initialization with 0.
7407 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7409 * src/hildon-pannable-area.c,
7410 (hildon_pannable_area_get_topmost): replaced
7411 gdk_window_get_children with gdk_window_peek_children, this way we
7412 do not have to free the list because it is not a copy.
7414 (hildon_pannable_axis_scroll),
7415 (hildon_pannable_area_scroll),
7416 (hildon_pannable_area_timeout),
7417 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7418 two parameters that were only used inside the
7419 hildon_pannable_area_scroll function.
7421 * examples/hildon-pannable-area-example.c,
7422 (get_sawtooth_label): Fixed small memory leak.
7424 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7426 More checks for the case where the overshoot is bigger than the
7429 * src/hildon-pannable-area.c:
7430 (hildon_pannable_draw_vscroll),
7431 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7432 to draw the slider of the scrollbar under the other scrollbar.
7433 (hildon_pannable_area_expose_event): added new checks to control
7434 the drawing of the overshooting area rectangle, in case it is too
7435 big for the area of the widget.
7436 (hildon_pannable_area_size_allocate): add more checks to avoid
7437 setting a position to the child widget outside the area.
7439 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7441 * src/hildon-pannable-area.c
7442 (hildon_pannable_area_size_allocate): Added conditions to control
7443 when overshooting is bigger than the allocated space for the
7444 children, this avoids negative allocations.
7446 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7448 * doc/hildon-docs.sgml
7450 * examples/Makefile.am
7451 * examples/hildon-button-example.c
7453 * src/hildon-button.c
7454 * src/hildon-button.h
7455 * src/hildon.h: Initial version of the new HildonButton widget,
7458 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7460 * src/hildon-pannable-area.c:
7461 (hildon_pannable_area_button_press_cb),
7462 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7463 (hildon_pannable_area_motion_notify_cb),
7464 (hildon_pannable_area_button_release_cb),
7465 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7466 (hildon_pannable_area_jump_to_child):
7468 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7470 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7472 * examples/Makefile.am
7473 * examples/hildon-pannable-area-touch-grid-example.c
7474 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7475 the Hildon Touch List and Hildon Touch Grid using the
7476 HildonPannableArea widget.
7478 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7480 * src/hildon-pannable-area.c,
7481 (hildon_pannable_area_button_press_cb),
7482 (hildon_pannable_area_refresh),
7483 (hildon_pannable_area_scroll),
7484 (hildon_pannable_area_motion_notify_cb),
7485 (hildon_pannable_area_button_release_cb),
7486 (hildon_pannable_area_expose_event),
7487 (hildon_pannable_area_add),
7488 (hildon_pannable_area_remove),
7489 (hildon_pannable_area_realize),
7490 (hildon_pannable_area_size_allocate),
7491 (hildon_pannable_area_class_init),
7492 (hildon_pannable_area_init),
7493 (hildon_pannable_area_scroll_to_child),
7494 (hildon_pannable_area_jump_to_child): Fixed the problem of
7495 removing the child from the GtkBin, we have rearranged the widget
7496 hierarchy, now there is no GtkAlignment which was not doing
7497 anything interesting but breaking some of the assumptions of
7498 GtkContainer. Now developers if they want to add a GtkAlignment
7499 they could, but it is not inside the area.
7501 We had to review the whole allocation/expose process, now it is
7502 improved and we save at least three signals which would be saving
7503 some time when rendering the widget. The allocation of the
7504 scrollbars is now made in the allocate method as usual.
7506 We have also added some conditions in order to control when there
7507 is no child of the pannable area. Maybe we will need more work
7510 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7512 * src/hildon-pannable-area.c,
7513 (hildon_pannable_area_dispose): Released the fade-out timeout when
7514 disposing the widget.
7516 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7518 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7519 zero, we are going to use that property in order to deactivate the
7521 (hildon_pannable_axis_scroll),
7522 (hildon_pannable_area_size_allocate): Added conditions to control
7523 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7524 call, now it is called in all situations and we can remove calls
7525 in the allocate method.
7526 (hildon_pannable_area_map): Control the situation when
7527 overshoot_max is zero, we do not need the timeout.
7528 (hildon_pannable_area_class_init): Added documentation in order to
7529 point out that setting zero to overshoot_max means deactivate
7532 NOTE: removed trailing whitespaces from my previous comments of
7535 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7537 * src/hildon-pannable-area.c
7538 (hildon_pannable_area_get_property),
7539 (hildon_pannable_area_set_property),
7540 (hildon_pannable_area_map),
7541 (hildon_pannable_area_class_init),
7542 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7543 to cause the widget give a hint about its panning abilities upon
7546 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7548 * src/hildon-pannable-area.c: Several documentation improvements.
7550 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7552 * src/hildon-program.c
7553 * src/hildon-stackable-window.c: Update documentation.
7555 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7557 * src/hildon-stackable-window.c (get_previous_window_if_last):
7558 Renamed get_last_window()
7559 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7560 (hildon_stackable_window_unset_program):
7562 (get_previous_window_if_last):
7563 Detect if the window hasn't been added to a HildonProgram.
7565 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7567 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7569 * src/hildon-pannable-area.c
7570 (hildon_pannable_area_button_press_cb),
7571 (hildon_pannable_axis_scroll),
7572 (hildon_pannable_area_scroll),
7573 (hildon_pannable_area_timeout),
7574 (hildon_pannable_calculate_vel_factor),
7575 (hildon_pannable_area_get_property),
7576 (hildon_pannable_area_set_property),
7577 (hildon_pannable_area_class_init),
7578 (hildon_pannable_area_init),
7579 (hildon_pannable_area_scroll_to),
7580 (hildon_pannable_area_jump_to),
7581 (hildon_pannable_area_scroll_to_child),
7582 (hildon_pannable_area_jump_to_child):
7583 * src/hildon-pannable-area.h: Added the new API functions:
7584 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7585 hildon_pannable_area_scroll_to_child,
7586 hildon_pannable_area_jump_to_child
7589 * examples/Makefile.am
7590 * examples/hildon-pannable-area-example-2.c
7591 * examples/hildon-pannable-area-example-3.c: Added these two new
7592 examples in order to test and show how the new APIs work.
7594 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7596 * examples/hildon-stackable-window-example.c (new_window):
7597 * src/Makefile.am (noinst_HEADERS):
7598 * src/hildon-program.c (hildon_program_go_to_root_window):
7599 * src/hildon-program.h:
7600 * src/hildon-stackable-window-private.h:
7601 * src/hildon-stackable-window.c:
7602 * src/hildon-stackable-window.h:
7603 Create hildon-stackable-window-private.h
7604 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7606 * examples/hildon-app-menu-example.c (create_menu):
7607 * examples/hildon-hvolumebar-insensitive-example.c (main):
7608 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7609 * examples/hildon-toolbar-seekbar-example.c (main):
7610 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7611 * src/hildon-banner.c (hildon_banner_set_property):
7612 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7613 Fix compilation warnings
7615 * src/hildon-window.c:
7618 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7620 * src/hildon-stackable-window.c
7621 (hildon_stackable_window_unset_program):
7622 Calculate correctly whether to show the previous window if the
7623 last one is removed from the stack.
7624 (hildon_stackable_window_go_to_root_window):
7625 Send delete events starting from the topmost window.
7626 Stop if one of the windows is not destroyed.
7628 (hildon_stackable_window_delete_event)
7629 (hildon_stackable_window_class_init):
7630 Ignore the delete event if the window is not the topmost one.
7632 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7634 * src/hildon-pannable-area.c
7635 (hildon_pannable_area_expose_event): Fixed a problem when
7636 selecting the background color of the scrollbars.
7638 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7640 * examples/hildon-stackable-window-example.c
7641 * src/hildon-stackable-window.c
7642 * src/hildon-stackable-window.h
7643 hildon_stackable_window_go_home() renamed to
7644 hildon_stackable_window_go_to_root_window()
7645 Send delete events to windows rather than closing them with
7646 gtk_widget_destroy()
7648 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7650 * src/hildon-pannable-area.c
7651 (hildon_pannable_area_button_release_cb): Fix overshooting in
7654 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7656 * src/hildon-pannable-area.c
7657 (hildon_pannable_area_init): Initially show the scroll indicators.
7658 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7660 Add initial effect showing the widget is pannable.
7662 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7664 * src/hildon-pannable-area.c
7665 (hildon_pannable_area_class_init)
7666 (hildon_pannable_area_set_property)
7667 (hildon_pannable_area_get_property)
7668 (hildon_pannable_area_button_press_cb):
7669 New 'velocity_fast_factor' property to decide which velocity is
7672 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7674 * src/hildon-pannable-area.c
7675 (hildon_pannable_draw_hscroll)
7676 (hildon_pannable_draw_vscroll):
7677 Use float variables to calculate the size of the scrollbars to
7678 avoid error propagation and resizing during scrolling.
7680 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7682 * src/hildon-pannable-area.c
7683 (hildon_pannable_draw_vscroll)
7684 (hildon_pannable_draw_hscroll):
7685 Define a minimum size for the scroll bars
7687 * src/hildon-stackable-window.c
7688 (hildon_stackable_window_go_home): Fix compilation warning
7689 (get_last_window): Minor optimizations
7690 (hildon_stackable_window_class_init): Fix initialization of
7693 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7695 * src/hildon-stackable-window.c: Fixed typos in doc
7697 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7699 * src/hildon-pannable-area.c
7700 (hildon_pannable_area_scroll):
7701 Calculate here whether we need to scroll instead of using the booleans
7702 that tell us whether to /draw/ the scrolling bars.
7704 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7706 * src/hildon-app-menu.h
7708 * src/hildon-app-menu.c
7709 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7710 multiple filter groups related code and API. Now we support only
7712 * examples/hildon-app-menu-example.c:
7714 Update to reflect API changes.
7716 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7718 * src/hildon-stackable-window.c
7719 (hildon_stackable_window_class_init):
7720 Add hildon_stackable_window_realize.
7721 (hildon_stackable_window_realize):
7722 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7723 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7724 to apply theming and behavior specific to HildonStackableWindow
7727 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7729 * src/hildon-note.c (hildon_note_button_release):
7730 Close information notes also when tapping on them
7732 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7734 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7735 ELASTICITY, refactor and review, fix some issues with drawing
7738 * src/hildon-pannable-area.c:
7739 (hildon_pannable_area_button_press_cb): removed the conditions to
7740 avoid clicks when overshooting. It is not required
7742 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7743 define. Refatored and reviewed the code, now we do not need to
7744 manage velocity in motion_notify.
7746 (hildon_pannable_area_motion_notify_cb): We have moved the code
7747 that controls the area_scroll to the axis_scroll function and get
7748 rid of duplicated code.
7750 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7752 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7754 (hildon_pannable_draw_vscroll),
7755 (hildon_pannable_draw_hscroll): Fixed the problems with the
7756 scrollbar drawing, now we do not use two surfaces, it is easier
7757 and saves resources.
7759 (hildon_pannable_area_get_property): Style modification.
7761 (hildon_pannable_area_class_init): Changed some default values.
7763 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7765 * src/hildon-stackable-window.c: Fix some typos in the
7768 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7770 * src/hildon-dialog.c:
7771 Change indentation style
7774 (hildon_note_button_release):
7775 Use root coordinates to check if the release event happened
7778 * src/hildon-app-menu.c
7779 (hildon_app_menu_button_release):
7780 Remove unnecessary check
7782 * examples/hildon-app-menu-example.c
7784 Add cast to fix warning
7786 * src/hildon-app-menu.c
7787 (hildon_app_menu_class_init):
7788 New inner-border style property.
7789 Set all default spacings to 16
7790 (hildon_app_menu_init):
7791 Use vertical-spacing to set the space between filter buttons and
7792 regular menu buttons.
7793 Set the default container border using the inner-border value.
7795 * examples/hildon-app-menu-example.c
7797 Don't set the menu border explicitly, now we have the inner-border
7798 style property for that.
7800 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7802 * src/hildon-app-menu.c (hildon_app_menu_init):
7803 Make the window modal
7805 * src/hildon-note.c (hildon_note_map)
7806 * src/hildon-app-menu.c (hildon_app_menu_map):
7807 Destroy the grab window if we're unable to grab the pointer
7809 * src/hildon-app-menu-private.h
7810 * src/hildon-app-menu.c
7811 (hildon_app_menu_init, hildon_app_menu_finalize)
7812 (hildon_app_menu_map, hildon_app_menu_unmap)
7813 (hildon_app_menu_button_release)
7814 (grab_transfer_window_get):
7815 Bring back the grab window
7816 (hildon_app_menu_realize):
7817 Decorate the window, set WM hint for Matchbox
7819 * src/hildon-note.c (hildon_note_realize):
7820 * src/hildon-banner.c (hildon_banner_realize):
7821 Add WM hints for Matchbox
7823 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7825 * src/hildon-app-menu-private.h
7826 * src/hildon-app-menu.c
7827 (hildon_app_menu_init, hildon_app_menu_finalize)
7828 (hildon_app_menu_map, hildon_app_menu_unmap)
7829 (hildon_app_menu_button_release):
7830 Remove the grab window, it's not needed anymore
7832 * src/hildon-program.c
7833 Fixed typo in documentation
7835 * src/hildon-app-menu.h
7836 * src/hildon-app-menu.c
7837 * examples/hildon-app-menu-example.c
7838 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7840 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7843 Added new transfer_window and close_if_pressed_outside private
7845 (hildon_note_rebuild):
7846 Don't add a cancel button to the information note. It will be
7847 closed when tapping outside
7848 Remove the comment about the OK button in the documentation
7849 (hildon_note_realize):
7850 Set the notification type hint
7851 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7852 Grab/ungrab pointer and keyboard if the note has to be closed when
7854 (hildon_note_button_release):
7855 Close the note when tapping outside (if applicable)
7857 * src/hildon-app-menu.c
7858 Grab/ungrab pointer and keyboard on map/unmap
7859 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7860 Close the menu on button release, not button press
7862 * src/hildon-banner.c
7863 (hildon_banner_set_property)
7864 (hildon_banner_check_position):
7865 Make the banner use the full width of the screen
7866 (hildon_banner_show_information)
7867 (hildon_banner_show_information_with_markup):
7868 Don't display an icon by default
7870 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7872 Added fading scrollbars and adapted all the overshooting code to
7873 horizontal scrolling. We have also fixed bugs with overshooting
7874 and current fading implementation.
7876 * src/hildon-pannable-area.c
7877 (hildon_pannable_area_scroll_indicator_fade): Time out function
7878 used to change the transparency of the scrollbars.
7880 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7881 control and fixed a problem with fading, we now remove the fade
7882 timeout before adding a new one.
7884 (hildon_pannable_axis_scroll):
7885 (hildon_pannable_area_scroll):
7886 (hildon_pannable_area_timeout): Added this functions so we can use
7887 the scroll code both for vertical and horizontal.
7889 (hildon_pannable_area_motion_notify_cb):
7890 (hildon_pannable_area_button_release_cb): Added the horizontal
7891 scrolling control, fixed a problem with the overshooting timeout.
7893 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7894 painting of the scrolls.
7896 (hildon_pannable_draw_vscroll):
7897 (hildon_pannable_draw_hscroll):
7898 (hildon_pannable_area_expose_event):
7899 Draw both scrollbars and rectangles in the overshooting area.
7901 (hildon_pannable_area_get_property):
7902 (hildon_pannable_area_set_property):
7903 Modified the overshoot property to overshoot_max
7905 (hildon_pannable_area_map):
7906 Replaced the comments symbols.
7908 (hildon_pannable_area_size_allocate):
7909 (hildon_pannable_area_class_init):
7910 (hildon_pannable_area_init): Added horizontal scroll, fading
7911 effect properties, fixed a problem when overshooting in the bottom
7914 * examples/hildon-pannable-area-example.c:
7915 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7916 looks better in the example.
7918 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7920 * src/hildon-window.c
7921 * src/hildon-window.h
7922 (hildon_window_class_init)
7923 (hildon_window_unset_program)
7924 (hildon_window_unset_program_real):
7925 Make unset_program a virtual function
7927 * src/hildon-stackable-window.c
7928 * src/hildon-stackable-window.h
7929 Added hildon_stackable_window_go_home()
7931 * examples/Makefile.am
7932 * examples/hildon-stackable-window-example.c
7933 HildonStackableWindow example
7935 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7937 * hildon-pannable-area.c: Added the overshoot property and removed
7938 the OVERSHOOT define. Fixed an indent style error.
7939 (hildon_pannable_area_motion_notify_cb):
7940 (hildon_pannable_area_get_property):
7941 (hildon_pannable_area_set_property): Add overshoot property.
7943 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7946 (hildon_pannable_area_class_init): Installed the new property.
7948 * hildon-pannable-area-example.c: Added a sawtooth function, this
7949 way it is easier to check the movement in the pannable.
7950 (get_sawtooth_label): Added this function.
7951 (main): Now we get the labels from the new get_sawtooth_label
7954 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7956 * src/hildon-app-menu.h
7957 * src/hildon-app-menu.c
7958 Renamed API variables for consistency
7960 (hildon_app_menu_popup): Use also the default window size to
7961 decide where to place the menu
7963 (hildon_app_menu_init, hildon_app_menu_class_init): New
7964 external-border style property
7966 2008-05-26 Michael Natterer <mitch@imendio.com>
7968 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7969 widget_class->tap_and_hold_setup signal slot doesn't exist any
7970 longer, stop overriding it.
7972 (hildon_time_editor_init): g_signal_connect() to the
7973 tap-and-hold-setup signal instead.
7975 (hildon_time_editor_entry_keypress): add cast to fix warning.
7977 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7979 * doc/hildon-docs.sgml
7981 * examples/Makefile.am
7982 * examples/hildon-app-menu-example.c
7984 * src/hildon-app-menu-private.h
7985 * src/hildon-app-menu.c
7986 * src/hildon-app-menu.h
7988 New HildonAppMenu widget
7990 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7992 Rearranged the inheritance of the pannable area, now it inherits
7993 from GtkBin. This will allow us to control the event_window and
7994 the allocation process of the widget, required for some effects.
7996 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7997 GtkBin structures. * src/hildon-pannable-area.c: Added the
7998 event_window variable.
7999 (hildon_pannable_area_button_press_cb):
8000 (hildon_pannable_area_button_release_cb):
8001 (hildon_pannable_area_motion_notify_cb):
8002 Changed the signature of the method, now we override the event
8003 callback instead of connecting to the signal.
8005 (hildon_pannable_area_realize):
8006 (hildon_pannable_area_unrealize):
8007 (hildon_pannable_area_map):
8008 (hildon_pannable_area_unmap):
8009 (hildon_pannable_area_size_allocate):
8010 Added functions to control the widget construction. We add a
8011 INPUT_ONLY window and we put it over the widgets inside the
8012 container, this event_window handles the events.
8014 (hildon_pannable_area_class_init):
8015 Replaced the signal connections with overrides of the event
8018 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8020 Bouncing effect added when touching the borders, you can change
8021 the elasticity of the border changing the ELASTICITY define.
8023 * src/hildon-pannable-area.c: Added ELASTICITY define.
8024 (hildon_pannable_area_timeout): Added inverse velocity when
8025 touching the border of the child widget, that causes a bounce.
8027 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8029 Improved performance, we now do not go to the X server in order to
8030 get the list of window children. Apparently the effect is the
8031 same, we have to be careful and check if this breaks something in
8034 * src/hildon-pannable-area.c:
8035 (get_ordered_children): Removed this function.
8036 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8037 the children windows function with gdk_window_get_children.
8039 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8041 * src/hildon-pannable-area.c:
8042 (hildon_pannable_area_dispose): Fixed a crash when closing the
8043 window and kinetics is activated.
8045 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8047 * src/hildon-pannable-area.h
8048 * src/hildon-pannable-area.c
8049 Changed indentation style to meet the one used in Hildon
8051 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8053 Reviewed the interaction of the AUTO mode, now we use the time
8054 attribute of the events and calculate the velocity in the motion,
8055 doing a gimp like calculation. The velocity is calculated in each
8056 motion event using the last velocity and the current one, the
8057 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8059 * src/hildon-pannable-area.c: Replaced the time based algorithm
8061 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8062 timeout for the AUTO mode when we are still moving the cursor. We
8063 added also the velocity calculation in this function.
8064 (hildon_pannable_area_button_release_cb): launch the timeout in
8065 case we are in AUTO mode. There are still some constants here that
8066 come from the old implementation that should be reviewed and
8069 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8071 * doc/hildon-docs.sgml
8074 * src/hildon-stackable-window.c
8075 * src/hildon-stackable-window.h
8077 New HildonStackableWindow widget
8079 * examples/hildon-dialog-example.c
8080 * examples/hildon-pannable-area-example.c
8083 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8085 * src/hildon-dialog.c
8086 (hildon_dialog_new_with_buttons): New constructor.
8088 * examples/hildon-dialog-example.c
8089 (main): Update the example to use the new
8090 hildon_dialog_new_with_buttons().
8092 * examples/hildon-pannable-area-example.c
8093 (main): Update example.
8095 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8097 * doc/hildon-docs.sgml
8099 Added HildonPannableArea to the documentation.
8101 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8103 * doc/visual_index.xml
8104 Fix reference to HildonLoginDialog in documentation
8106 * doc/hildon-docs.sgml
8108 * examples/Makefile.am
8109 * examples/hildon-dialog-example.c
8111 * src/hildon-dialog.c
8112 * src/hildon-dialog.h
8114 New HildonDialog widget.
8116 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8118 * src/hildon-pannable-area.c
8119 Merge latest changes (r4318, r4342) from libmokoui trunk
8121 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8123 * examples/Makefile.am
8124 * examples/hildon-pannable-area-example.c
8126 * src/hildon-pannable-area.c
8127 * src/hildon-pannable-area.h
8129 New HildonPannableArea widget.
8131 2008-04-15 18:05:19 <timj@imendio.com>
8133 * src/hildon-banner.c: revert the recent change, that introduced
8134 gtk_window_present() calls. this reopens:
8135 Bug 78481 - [freetest] information banners are hidden under browser menu
8136 But resolves another variant of:
8137 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8139 2008-04-15 13:21:13 <timj@imendio.com>
8141 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8142 recreated its layout, spotted by Kris. this fixes all remaining
8143 artefacts and stability issues with the banner code. in particular:
8144 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8146 2008-04-14 16:52:59 <timj@imendio.com>
8148 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8149 operating on unrealized widgets, fixes:
8150 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8152 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8154 2008-04-09 Kristian Rietveld <kris@imendio.com>
8156 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8157 makes banner disappear.
8158 Fixes: NB#79182: info banner flickering with certain message lengts.
8160 * src/hildon-banner.c (hildon_banner_constructor),
8161 (hildon_banner_init), (hildon_banner_set_text),
8162 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8163 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8164 FALSE, reset size requests of label and banner,
8165 (force_to_wrap_truncated): when the text is too wide, always enforce
8166 the maximum possible width instead of recalculating it from the
8167 layout; enforce the maximum banner height of 3 lines,
8168 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8169 nicer wrapping and no truncated chars if space gets tight.
8171 * src/hildon-banner-private.h: add has_been_wrapped and
8172 has_been_truncated fields.
8174 2008-04-07 Sven Herzberg <sven@imendio.com>
8176 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8177 local values in hildon_date_editor_size_allocate
8179 * src/hildon-date-editor.c: moved the real allocation code into the
8182 2008-04-07 Sven Herzberg <sven@imendio.com>
8184 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8185 local values in hildon_date_editor_size_allocate
8187 * src/hildon-date-editor.c: merged the two if() branches together
8189 2008-04-07 Sven Herzberg <sven@imendio.com>
8191 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8192 local values in hildon_date_editor_size_allocate
8194 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
8203 from the real allocation
8205 2008-03-27 Michael Natterer <mitch@imendio.com>
8207 Fixes: NB#81696: The passcode is not overwritten even after
8210 * src/hildon-code-dialog.c
8211 (hildon_code_dialog_button_clicked)
8212 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8213 because that doesn't overwrite selected text. Instead, emit the
8214 "commit" signal on the entry's im_context so the entry's normal
8215 insert logic is triggered. Set the cursor to the end of the entry
8216 after each insert operation so that we *only* insert in the middle
8217 of the text if something was selected.
8219 2008-03-27 Michael Natterer <mitch@imendio.com>
8221 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8222 selector cannot be opened
8224 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8225 when the popup color selector is created. Please connect to this
8226 signal in order to set the dialog's help ID.
8228 2008-03-25 Sven Herzberg <sven@imendio.com>
8230 Fixes: MB#1212: Hide info banners (infoprints) on click
8232 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8233 extracted the close event simulation into an extra function
8234 (hildon_banner_button_press_event): simulate a close event and destroy
8235 the widget if the event wasn't handled
8236 (hildon_banner_class_init): added the button_press_event handler
8237 (hildon_banner_init): added button-press events to the widget
8239 2008-03-25 Sven Herzberg <sven@imendio.com>
8241 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8242 Patch from: Mohammad Anwari <mdamt@maemo.org>
8244 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8245 instead of the right in RTL mode
8246 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8247 breadcrumb button list in RTL mode
8248 * src/hildon-caption.c: mirror the appearance of the caption widget in
8250 * src/hildon-date-editor.c: mirror appearance of the date editor in
8252 * src/hildon-time-editor.c: mirror appearance of the time editor in
8254 * src/hildon-window.c: fix the position of the popup in RTL mode
8256 2008-03-25 Sven Herzberg <sven@imendio.com>
8258 Amendment to the fix of NB#22072. Fix compilation.
8260 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8262 2008-03-19 Sven Herzberg <sven@imendio.com>
8264 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8267 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8268 timeout id properly when the timeout will disappear this leaves no
8269 artifacts around in the destroy(); there will only be the timeout
8270 created by hildon_banner_ensure_timeout() and adding a new timeout
8271 will also work if the timeout gets removed because the timeout_handler
8274 2008-03-19 Michael Natterer <mitch@imendio.com>
8276 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8278 * src/hildon-volumebar.c
8279 * src/hildon-vvolumebar.c
8280 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8281 the widget becomes focussable at all.
8283 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8284 set the focus to wither the mute button or the volumebar.
8286 Remove own "can-focus" property and instead listen to
8287 notify::can-focus in order to update the widget's state.
8289 Implement GtkWidget::focus() and make sure we can also *leave* the
8290 widget, not only enter it, depending on volumebar orientation and
8291 requested focus direction.
8293 Clean up set_mute() to cooperate nicely with all the above.
8295 2008-03-04 Michael Natterer <mitch@imendio.com>
8297 Fixes: NB#78481: information banners are hidden under browser menu
8299 * src/hildon-banner.c: call gtk_window_present() on the banners so
8300 they are risen if they are already visible.
8302 2008-03-03 Sven Herzberg <sven@imendio.com>
8304 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8306 * examples/hildon-window-menu-example.c: (main): extended the window
8307 menu example to serve as a testcase for automatically added
8308 accelerator groups, too
8309 * src/hildon-window.c: (hildon_window_add_accel_group),
8310 (hildon_window_set_menu): added patch by Tommi Komulainen
8312 2008-03-03 Sven Herzberg <sven@imendio.com>
8314 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8316 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8317 knowledge about the border allocators used within GTK+
8319 2008-02-26 Sven Herzberg <sven@imendio.com>
8321 Fixes: MB#2981: Build with asserts broken
8323 * src/hildon-date-editor.c,
8324 * src/hildon-number-editor.c,
8325 * src/hildon-time-editor.c,
8326 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8327 the proper GType instance check
8329 2008-02-25 Sven Herzberg <sven@imendio.com>
8331 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8333 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8334 * examples/hildon-window-menu-example.c: (main): explicitly show
8336 * src/hildon-window.c:
8337 (hildon_window_set_main_menu): moved most of the code from set_menu()
8338 to this place; skipped the call to gtk_widget_show_all(); also didn't
8339 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8340 (hildon_window_set_menu): removed most of the code, just keep the
8341 questionable gtk_widget_show_all()
8342 * src/hildon-window.h: added the new function and deprecate the old
8345 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8351 * debian/changelog: Updating.
8353 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8356 * pkgconfig/Makefile.am:
8357 * pkgconfig/hildon.pc.in:
8360 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8361 use newly created API_MAJOR_VERSION.
8363 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8369 * debian/changelog: Updating.
8371 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8373 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8375 Add outer_border style property, we use it but don't define it (!).
8379 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8381 * examples/hildon-bread-crumb-trail-example.c (main):
8385 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8387 Fix logic for the bread crumb trail node removal.
8391 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8397 * debian/changelog: Updating.
8399 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8401 Patch by Alejandro to get/set passwords dialogs accesibility.
8403 * hildon-1/src/hildon-get-password-dialog.c:
8404 * hildon-1/src/hildon-set-password-dialog.c:
8405 Set atk_set_name to the passwd entries in order to allow
8406 accessibility by name on this entries.
8408 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8413 * debian/control: Updating gtk dep.
8415 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8417 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8418 USE_MAEMO_GTK is enabled.
8420 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8422 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8423 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8425 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8431 * debian/changelog: Updating.
8433 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8435 * examples/Makefile.am:
8436 * examples/hildon-logical-color-example.c:
8437 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8438 applied + adding a test case. Fixes: NB#71660.
8440 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8442 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8443 to be visible, fixes warning on map for windows without toolbars.
8445 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8447 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8448 2.11.0, add a check for that besides the MAEMO_GTK check.
8450 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8456 * debian/changelog: Updating.
8458 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8460 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8461 visibility. Fixes: NB#70842 and MB#615.
8463 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8465 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8466 set the separator as no-show-all so it doesn't unintentionally appear when
8467 someone does a show_all.
8469 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8471 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8472 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8473 toplevel item. Fixes: NB#62031
8475 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8477 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8478 fix the name of the function in the docs.
8480 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8486 * debian/changelog: Updating.
8488 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8490 * examples/hildon-banner-long-example.c: Adding a test-case for long
8493 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8495 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8497 * src/hildon-color-chooser-dialog.c:
8498 * src/hildon-color-chooser.c:
8499 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8500 memory leaks in font selector and color selector. Fixes: NB#70499 and
8503 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8505 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8507 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8510 little bit bigger. Fixes: #NB63694.
8512 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8518 * debian/changelog: Updating.
8520 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8523 * doc/hildon-docs.sgml:
8524 * doc/images/bread-crumb-trail.png:
8525 * doc/images/calendar-popup.png:
8526 * doc/images/caption.png:
8527 * doc/images/code-dialog.png:
8528 * doc/images/color-button.png:
8529 * doc/images/color-chooser-dialog.png:
8530 * doc/images/color-chooser.png:
8531 * doc/images/controlbar.png:
8532 * doc/images/date-editor.png:
8533 * doc/images/font-selection-dialog.png:
8534 * doc/images/get-password-dialog.png:
8535 * doc/images/hvolumebar.png:
8536 * doc/images/login-dialog.png:
8537 * doc/images/note.png:
8538 * doc/images/number-editor.png:
8539 * doc/images/range-editor.png:
8540 * doc/images/seekbar.png:
8541 * doc/images/set-password-dialog.png:
8542 * doc/images/sort-dialog.png:
8543 * doc/images/time-editor.png:
8544 * doc/images/time-picker.png:
8545 * doc/images/vvolumebar.png:
8546 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8547 Adding the bread-crumb-trial and helpers to the documentation.
8549 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8551 * examples/hildon-find-toolbar-example.c:
8552 * src/hildon-find-toolbar.c:
8553 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8554 actually continue firing the other handlers if connected. Adding a new
8556 hildon_find_toolbar_get_last_index that gets the index of the most
8557 recently added (last) item. Fixes: NB#52301.
8559 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8561 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8562 behaviour. Fixes: NB#68610.
8564 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8566 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8569 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8571 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8572 when realizing the banner. Should make the infonbanner effect a bit more
8575 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8577 * src/hildon-volumebar.c:
8578 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8579 hildon_volumebar_set_range_insensitive_message and
8580 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8582 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8584 * src/hildon-window.c: Fixing the border freeing on destroy.
8586 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8588 * src/hildon-code-dialog-private.h:
8589 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8590 kw keyboard support in HildonCodeDialog.
8592 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8598 * debian/changelog: Updating.
8600 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8602 * src/hildon-date-editor.c:
8603 * src/hildon-number-editor.c:
8604 * src/hildon-private.c:
8605 * src/hildon-private.h:
8606 * src/hildon-time-editor.c:
8607 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8608 handling in subclassed composite widgets. Fixes: NB#66628.
8610 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8612 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8613 from destroy_ callback as it introduces problems in async dbus signal
8614 handlers. Fixes NB#66673.
8616 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8618 * examples/hildon-hvolumebar-example.c:
8619 * src/hildon-volumebar.c: Improving the focus handling in the
8620 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8621 set_property accessor so that "mute" property can be actually set. I'm
8622 scared that nobody noticed it's totally broken.
8624 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8626 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8629 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8631 * src/hildon-calendar.c:
8632 * src/hildon-number-editor.c:
8633 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8634 matches the spec of 6 chars per second. Fixes: NB#60489.
8636 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8638 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8639 gtk_style_lookup_color sometime returns FALSE even though color was
8640 found and values were filled properly. Weird. Removing the warning for the
8643 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8645 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8646 expand vertically. Adding some extra space to the find toolbar buttons to
8647 make them thumbable. Fixes NB#66060.
8649 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8651 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8652 popup with "Ok" and "Cancel". Fixes NB#59299.
8654 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8656 * src/hildon-calendar.c: Process all window updates before executing next
8657 timeout. Fixes: NB#54146.
8659 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8665 * debian/changelog: Updating.
8667 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8669 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8670 the client event and ignore it, since we use the delete event to close
8673 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8675 * src/hildon-helper.c: Remove the bogus warning about color not being
8676 found. Fixes NB#58352.
8678 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8680 * examples/Makefile.am:
8681 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8682 HildonSeekbar widget inside a toolbar.
8684 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8686 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8687 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8688 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8689 don't want to be closed by non-temporary windows on map.
8691 Also use G_DEFINE_TYPE instead of manually typed code.
8693 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8700 * debian/rules: Updating.
8702 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8704 * examples/Makefile.am:
8705 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8706 bug NB#61128. Strangely it works.
8708 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8710 * src/hildon-date-editor.c: When the date editor entry has been changed
8711 but the numbers of characters < max, turn off the skip validation flag.
8712 Prevents a situation when we enter first a valid year and later re-write
8713 it with an invalid one. Fixes NB#60154.
8715 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8717 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8718 code dialog. Fixes NB#64355.
8720 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8723 switching the page. Fixes NB#49374.
8725 * examples/Makefile.am:
8726 * examples/hildon-wizard-dialog-example.c: Adding an example for
8727 HildonWizardDialog that shows how to handle manual sensitivity setting on
8730 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8734 * src/hildon-version.h.in:
8735 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8737 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8739 * src/hildon-volumebar.c: Updating the docs.
8741 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 * debian/changelog: Updating.
8749 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8751 * src/hildon-find-toolbar.c:
8752 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8753 selected item: hildon_find_toolbar_set_active,
8754 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8755 hildon_find_toolbar_get_active_iter . They correspond to respective
8756 GtkComboBox functions.
8758 * examples/Makefile.am:
8759 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8762 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8764 * examples/Makefile.am:
8765 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8768 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8769 when font size > 32 and we pack a focusable widget inside. Actually using
8770 the default response would work too, but since we don't show default
8771 response state in any way (no theming) it would not be visible to the
8772 user. Fixes NB#63430.
8774 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8776 * src/hildon-date-editor.c: Adding the missing variable setter in the
8777 set_property handler. Fixes NB#54182.
8779 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * src/hildon-window.h: Changing the long key press time from 1500ms to
8782 800ms as requested in NB#63700. I have a bad feeling about this, let's
8783 see... Fixes NB#63700.
8785 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8787 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8788 hildon_time_picker_map, hildon_time_picker_realize,
8789 hildon_time_picker_style_set): Split the contents of map to more
8790 appropriate functions; set window decorations on realize and update
8791 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8793 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8798 * debian/changelog: Updating.
8800 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8802 * src/Makefile.am: fixed installation of the header files
8804 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8810 * debian/changelog: Updating.
8812 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8814 * configure.ac: Removing some remaining of --enable-xan.
8816 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8818 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8819 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8821 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8822 2.10.12-osso6 because the move-focus signal needs to be available in
8825 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8827 * examples/Makefile.am:
8828 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8829 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8830 fine. Prolly NB#61128 is fixed now.
8832 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8834 * src/hildon-volumebar.c:
8835 * src/hildon-volumebar.h: Adding the
8836 hildon_volumebar_set_range_insensitive_message and
8837 hildon_volumebar_set_range_insensitive_messagef functions to set
8838 insensitive message on the slider of the volumebar. Fixes NB#61129.
8840 * examples/Makefile.am:
8841 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8842 test the new insensitive messsage functionality on HildonVolumebar.
8844 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8846 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8849 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8851 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8852 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8853 button on after clearing the trail.
8855 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8857 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8859 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8861 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8862 by splitting the installed headers in generated and non-generated groups. Use
8863 only the non-generated headers to create the hildon-enum-types.h file.
8865 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8867 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8869 * src/hildon-window.c: Hide the window before performing the destroy.
8870 Should make the app closing a little tiny bit more snappy.
8872 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8874 * src/hildon-seekbar.c: add gtkrange.h header
8875 * src/hildon-caption.c: remove unused variable
8877 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8879 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8882 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * debian/changelog: Updating.
8890 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8892 * src/hildon-window.c (hildon_window_window_state_event,
8893 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8894 escape timeout on focus-out-event rather than notify::is-topmost; the
8895 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8897 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8899 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8900 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8902 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8904 * src/hildon-window: actually, you need to use the macro always, there's
8905 no private pointer in the instance structure. We should have cleaned this up
8906 when we had the chance...
8908 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8910 * src/hildon-window.c: do not get the private date from HildonWindow before
8911 it passes the g_return_if_fail check. Once it's passed the test, there's no
8912 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8913 if you are only going to access the data once. Whitespace cleanups.
8915 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8917 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8918 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8920 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8926 * debian/changelog: Updating.
8928 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8930 * src/hildon-window.c: When destroying the window, remove (if exists) the
8931 escape timeout handler. Fixes #NB59276.
8933 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8935 * src/hildon-banner.c: When realizing the widget, set the window
8936 transiency. Setting the transiency in the gobject constructor is not
8937 good, as the widget is not realized at that point. Fixes: #NB56624.
8939 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8941 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8942 Add padding for future expansions.
8944 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8946 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8947 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8948 will fake an activation on the previous to the last item of the trail, so
8949 the effect can be overrided by the developer as usual.
8950 Also change the callback for the back button to do the same thing, so its
8951 effect can be overrided too. Fixes: NB#58982
8953 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8955 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8956 HildonCaption. Fixes NB#52379.
8958 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8960 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8961 the internal state of the trail after the user has had the chance of executing
8962 his handler for the signal. Specifically, it may happen that the activated button
8963 is removed and the user still lets the default handler run. This would segfault
8966 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8968 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8969 scrollbar to the preview dialog. Fixes NB#54147.
8971 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8973 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8974 max/min year properties can be altered, so the client can modify it
8975 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8977 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8979 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8980 hildonlike by default. Fixing a problem with disappearing arrows when
8981 scrolling through months and years. Fixes NB#54127.
8983 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * examples/hildon-date-editor-example.c: Adding error callback to the date
8988 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * configure.ac: Updating.
8996 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8998 * configure.ac: Adding a special '--enable-xan' configure option that
8999 turns off the -Werror compilation setting. Usefull for development.
9001 * src/hildon-calendar.c:
9002 * src/hildon-number-editor.c:
9003 * src/hildon-time-picker.c: Adding the 5* multiplier to
9006 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9008 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9009 instead of g_object_ref + gtk_object_sink.
9011 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9017 * debian/changelog: Updating.
9019 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * src/hildon-color-chooser-dialog.c:
9022 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9023 straight from Tommi labs.
9025 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * examples/hildon-finger-example.c: Correcting the header file path.
9029 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9030 the changed signal. Fixes a small memory leak.
9032 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9036 * src/hildon-banner.c: Importing several usefull fixes from the
9037 ubuntu-mobile branch.
9039 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9041 * examples/Makefile.am:
9042 * examples/hildon-finger-example.c: Adding a finger-checking code
9045 * src/hildon-font-selection-dialog.c: Do not allocate the color
9046 structure using the g_new. Fixes NB#54061.
9048 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9050 * src/hildon-helper.c: Correcting tabs in file.
9052 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9054 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9055 control the visibility of the children.
9057 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9059 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * debian/changelog: Updating.
9067 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9069 * src/hildon-bread-crumb-trail.c:
9070 (hildon_bread_crumb_trail_size_allocate):
9072 Make the back button always a square.
9074 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9076 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9077 from the .c file as it's a private file.
9079 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9081 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9082 uses slightly bigger height.
9084 * src/hildon-font-selection-dialog.c: Adding some checks before
9085 freeing memory in the font selection dialog.
9087 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9089 * src/hildon-font-selection-dialog.c: Adding a small check when
9092 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9093 buttons sensitivity on page switching.
9095 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9097 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9098 internal details of adding a bread crumb to the trail.
9100 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9106 * debian/changelog: Updating.
9108 * src/hildon-bread-crumb-trail.h:
9109 * src/hildon-bread-crumb.h: Changing the API guard to
9110 HILDON_ENABLE_UNSTABLE_API.
9112 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9120 * src/hildon-helper.h: Updating.
9122 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9130 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9134 * src/hildon-helper.h: Small fix to make the package actually compile.
9136 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9138 * src/hildon-bread-crumb-trail.h:
9139 * src/hildon-bread-crumb.h:
9141 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9142 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9144 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9146 * examples/hildon-bread-crumb-trail-example.c:
9148 * src/hildon-bread-crumb-trail.c:
9149 * src/hildon-bread-crumb-trail.h:
9150 * src/hildon-bread-crumb.c:
9151 * src/hildon-bread-crumb.h:
9152 * src/hildon-marshalers.list:
9153 * src/hildon-bread-crumb-widget.c:
9154 * src/hildon-bread-crumb-widget.h:
9156 Slight change in the widget design. The bread crumb trail API is
9157 unchanged, but HildonBreadCrumb is now an interface. A *private*
9158 implementation, hildon-bread-crumb-widget, is provided and used
9159 internally by the trail for the push_text/push_icon functions.
9161 The generic push API is still available, so anyone can implement
9162 and use its own bread crumb widget.
9164 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9166 * debian/rules: Fixing the shlibs.
9168 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9170 * src/hildon-banner.c: Fixing a problem with timed banners having
9171 their parrent destroyed before they are.
9173 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9175 * src/hildon-bread-crumb.c:
9176 * src/hildon-bread-crumb.h:
9178 Make the get_natural_size function a vfunc.
9180 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9182 * src/hildon-bread-crumb.c:
9183 * src/hildon-bread-crumb-trail.c:
9187 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9194 * debian/changelog: Updating for release.
9196 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9198 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9199 don't leak the pango layout.
9201 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9204 * examples/hildon-bread-crumb-trail-example.c:
9208 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9210 * debian/changelog: Removing the bug-fixed entries that were actually
9211 resolved as WONTFIX.
9213 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9216 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9218 * src/hildon-bread-crumb-trail.c:
9219 * src/hildon-bread-crumb-trail.h:
9220 * src/hildon-bread-crumb.c:
9221 * src/hildon-bread-crumb.h:
9225 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9227 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9228 until it's passed the type check.
9230 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9232 * examples/hildon-bread-crumb-trail-example.c
9236 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9238 * examples/Makefile.am
9239 * examples/hildon-bread-crumb-trail-example.c
9241 * src/hildon-bread-crumb-trail.c
9242 * src/hildon-bread-crumb-trail.h
9243 * src/hildon-bread-crumb.c
9244 * src/hildon-bread-crumb.h
9246 New HildonBreadCrumbTrail widget.
9248 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9250 * src/hildon-range-editor.c (hildon_range_editor_init),
9251 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9252 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9253 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9254 hildon_time_editor_class_init, hildon_time_editor_init),
9255 src/hildon-get-password-dialog.c (invalid_input,
9256 hildon_get_password_set_property, hildon_get_password_get_property,
9257 create_contents, hildon_get_password_dialog_set_max_characters),
9258 src/hildon-set-password-dialog.c (create_contents),
9259 src/hildon-date-editor.c (hildon_date_editor_init),
9260 src/hildon-login-dialog.c (hildon_login_dialog_init),
9261 src/hildon-number-editor.c (hildon_number_editor_init),
9262 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9263 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9264 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9265 configure option and adding the respective checks in the code.
9266 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9267 hildon_calendar_drag_data_received): fixed some build warnings.
9269 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9271 * debian/changelog: A 1.0.0 release notes.