1 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-07-16 Alejandro G. Castro <alex@igalia.com>
11 * hildon/hildon-text-view.c,
12 (hildon_text_view_button_press_event): Grabbed the focus in button
13 press, this way we are sure the widget has the focus in the
14 release event, required for HIM.
16 Fixes: NB#121445 (Virtual keyboard opening is not working in same
17 way for each text entry field)
19 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
21 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
22 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
23 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
24 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
25 (hildon_pannable_area_[gs]et_center_on_child_focus)
26 Redefined GtkContainer set-focus-child signal, in order to center
27 properly on a child when it receives the focus. Defined a new property
28 "center-on-child-focus" in order to activate this feature (deactivated
29 by default). Public get/set methods defined to manage the property.
31 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
33 2009-07-14 László Pere <lpere@blumsoft.eu>
35 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
36 the new size is applied.
38 Fixes: NB#124510 (The Application Menu is distorted when switched
39 between portrait and landscape mode)
40 Fixes: NB#115388 (Power key menu does not resize itself)
42 2009-07-01 Alberto Garcia <agarcia@igalia.com>
44 * hildon/hildon-banner.c (hildon_banner_map):
45 Set banner position after mapping.
47 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
49 * configure.ac: postrelease version bump.
50 * debian/changelog: post release version bump
52 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
57 * configure.ac: Bump version.
58 * debian/changelog: Updates.
60 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
62 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
65 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
67 * tests/check-hildon-banner.c
70 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
71 were testing deprecated functions.
72 * examples/hildon-banner-example.c: typo on button3 type, that causes
73 a fail compiling with --with-examples but without --disable-deprecated
75 Missed commit in order to fix compilation using '--enable-fatal' and
76 '--disable-deprecated' (see previous commit)
78 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
80 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
81 functions with #ifndef HILDON_DISABLE_DEPRECATED
82 * examples/hildon-find-toolbar.c: Protect deprecated
83 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
84 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
85 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
86 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
88 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
89 to allow proper compilation of deprecated functions defined on the header
91 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
93 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
95 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
96 Cache the panning indicator color.,
97 (hildon_pannable_area_style_set): Query the color on style changes.
98 (hildon_pannable_draw_vscroll),
99 (hildon_pannable_draw_hscroll),
100 (hildon_pannable_area_expose_event): Use the cached panning indicator
101 color instead of looking it up on every expose and more.
103 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
105 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
106 (hildon_pannable_draw_hscroll),
107 (hildon_pannable_area_expose_event): Fix the panning indicator color,
108 so that it's "SecondaryTextColor", as desired.
110 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
112 * hildon/hildon-picker-dialog.c:
113 (selection_completed): take into account HILDON_UI_MODE_NORMAL
114 * hildon/hildon-touch-selector.c
115 (hildon_touch_selector_init): Initialize hildon-ui-mode
116 (hildon_touch_selector_row_activated): new callback for the
117 "row-activated" signal, in order to save the last activated
118 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
119 if the current hildon-ui-mode is coherent with the touch selector
120 (hildon_touch_selector_class_init)
121 (hildon_touch_selector_get_property)
122 (hildon_touch_selector_set_property)
123 Added "hildon-ui-mode" property
124 (disconnect_model_handlers): renamed to clean_column
125 (hildon_touch_selector_remove): use clean_column function
126 (_create_new_column): use the hildon-ui-mode to create the treeview, and
127 only select the first element on HILDON_UI_MODE_EDIT
128 (hildon_touch_selector_column_init): Initialize last_activate
129 (hildon_touch_selector_append_column): check that the touch selector
130 is coherent with the current hildon-ui-mode
131 (hildon_touch_selector_get_hildon_ui_mode)
132 (hildon_touch_selector_set_hildon_ui_mode)
133 Added a getter/setter for the hildon-ui-mode property
134 (hildon_touch_selector_get_last_activated_row): Added this method in
135 order to get the last activated row.
136 * examples/hildon-touch-selector-normal-mode-example.c
137 New example, that shows how to use the HildonTouchSelector in
138 HILDON_UI_MODE_NORMAL
140 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
141 Kristian Rietveld <kris@lanedo.com> advices
143 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
145 * hildon/hildon-time-selector.c: (update_format_policy): Do
146 not call update_format_dependant_columns() if not necessary.
147 (update_format_dependant_columns): Remove unnecessary check for
148 the number of columns.
150 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
152 * hildon/hildon-note.c (+hildon_note_constructor),
153 (hildon_note_class_init), (+hildon_note_set_padding),
154 (hildon_note_rebuild): Install a constructor where to set the
155 padding properties in the note, so that it actually works fine.
156 Use hildon_note_set_padding() for this, and also to set it during
159 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
161 * configure.ac: Bump GTK+ requirement to 2.14.3.
162 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
163 when using maemo-gtk to define proper margins for the notes.
165 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
166 with the dialog edge)
168 2009-06-24 Alberto Garcia <agarcia@igalia.com>
170 * hildon/hildon-banner.c
171 (hildon_banner_class_init):
173 (+hildon_banner_size_request):
174 Request always the full width of the screen.
175 (hildon_banner_realize)
176 (-hildon_banner_check_position, hildon_banner_map):
177 hildon_banner_check_position() is not needed in Hildon 2.2.
178 (-hildon_banner_reset_wrap_state)
179 (hildon_banner_constructor, hildon_banner_init):
180 Remove unnecessary calls to hildon_banner_reset_wrap_state()
181 (+banner_do_set_text)
182 (force_to_wrap_truncated):
183 Remove has_been_wrapped and has_been_truncated attributes.
184 (+reshow_banner, hildon_banner_real_show_information)
185 (hildon_banner_show_information_with_markup)
186 (hildon_banner_show_animation, hildon_banner_show_progress)
187 (hildon_banner_set_text, hildon_banner_set_markup):
188 Refactor code. Shrink banner vertically to use the minimum space
189 necessary everytime the text of the label is updated.
190 (screen_size_changed):
191 Call force_to_wrap_truncated() when the size of the screen
194 Fixes: NB#120500 (only device memory connect mmc in use info
195 banner is left aligned)
197 Fixes: NB#120613 (Size of HildonBanner varies depending on
198 previously opened banners)
200 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
202 * hildon/hildon-color-chooser.c
203 (hildon_color_chooser_pointer_motion): Take the widget allocation
206 Fixes: NB#124385 (Unable to select exact point in color mixing box
207 in color palette dialog)
209 2009-06-23 Alejandro G. Castro <alex@igalia.com>
211 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
212 (hildon_pannable_area_dispose)
213 (hildon_pannable_area_button_press_cb)
214 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
215 (hildon_pannable_area_button_release_cb)
216 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
217 New 'panning-started' and 'panning-finished' signals.
219 Fixes: NB#121732 (New feature request: Signal to pannable area
220 that informs when panning is stopped.)
222 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
224 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
225 instead of hardcoded colon.
227 Fixes: NB#124090 (New calendar wizard title is not using
228 ecdg_ti_caption_separator)
230 2009-06-22 David King <davidk@openismus.com>
232 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
233 constants and functions, as well as correct many typos throughout the
236 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
239 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
241 * configure.ac: postrelease version bump.
242 * debian/changelog: post release version bump
244 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: Bump version.
250 * debian/changelog: Updates.
252 2009-06-18 Alberto Garcia <agarcia@igalia.com>
254 * hildon/hildon-window-stack.c
255 (hildon_window_stack_pop_and_push_list):
256 Prevent windows from having the same stack index
258 2009-06-18 Alberto Garcia <agarcia@igalia.com>
260 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
261 Use the index of the previous window rather than the stack length
262 to calculate the new index.
266 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
268 * hildon/hildon-date-selector.c
269 (hildon_date_selector_select_current_date)
270 (hildon_date_selector_get_date)
271 (hildon_date_selector_select_day):
272 Update the documentation: uses always the range (1-31), as it is obvious
273 that the final one will depend on the month and the year, but globally
274 the range is this, in a similar GtkCalendar approach
275 (hildon_date_selector_get_date):
276 Update the documentation: add NULL as a valid value for the day, month
279 Fix some details, after talk with David King on bug MB#4698
281 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
283 * hildon/hildon-touch-selector-entry.c
284 * hildon/hildon-touch-selector.c
285 Update the documentation of the "text-column" property
287 2009-06-18 David King <davidk@openismus.com>
289 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
290 several typos and errors throughout the documentation.
292 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
295 2009-06-18 Alberto Garcia <agarcia@igalia.com>
297 * hildon/hildon-note.c (hildon_note_realize):
298 Make HildonNote support portrait mode.
300 Fixes: NB#123448 (HildonNote is not portrait-friendly)
302 2009-06-17 Alberto Garcia <agarcia@igalia.com>
304 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
305 Document this function
307 2009-06-17 David King <davidk@openismus.com>
309 * hildon/hildon-date-selector.c
310 (hildon_date_selector_select_current_date)
311 (hildon_date_selector_get_date): Update documentation regarding days,
312 as the day of the month is dependent on both the month and the year.
313 (hildon_date_selector_get_date): Fix documentation of output arguments.
315 Fixes: MB#4698 (DateSelector documentation has bad output argument
316 description, and the day depends on both the month and the year)
318 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
320 * hildon/hildon-caption.c: Other documentation fixes to
323 2009-06-17 David King <davidk@openismus.com>
325 * hildon/hildon-caption.c: Minor documentation updates for
326 HildonCaption. Fixes MB#4697.
328 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
330 * doc/hildon-docs.sgml: Add hildon-version section.
331 * doc/hildon-sections.txt:
332 * hildon/hildon-version.h.in: Document versioning macros and
335 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
337 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
338 from HildonPickerDialog section.
340 2009-06-16 Alberto Garcia <agarcia@igalia.com>
342 * hildon/hildon-banner.c (hildon_banner_bind_style)
343 (screen_size_changed, hildon_banner_init)
344 (hildon_banner_real_show_information)
345 (hildon_banner_show_information_with_markup)
346 (hildon_banner_show_animation, hildon_banner_show_progress):
347 Set a different widget name to banners in portrait mode, for them
348 to be themed correctly.
350 2009-06-16 Alberto Garcia <agarcia@igalia.com>
352 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
353 Set a different widget name to notes in portrait mode, for them to
356 Partially fixes: NB#118401 (HildonNote causes unnecessary
359 2009-06-16 Alberto Garcia <agarcia@igalia.com>
361 * hildon/hildon-note.c (hildon_note_class_init)
362 (+hildon_note_size_request, screen_size_changed):
363 Always request the full width of the screen.
365 Fixes: NB#118375 (unnecessary rescaling of images)
367 2009-06-16 Alejandro G. Castro <alex@igalia.com>
369 * hildon/hildon-pannable-area.c,
370 (hildon_pannable_area_init),
371 (hildon_pannable_area_realize): Replaced old code adding flags in
372 the object init, now we add it with the other flags in the realize
375 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
377 * hildon/hildon-note.c: (hildon_note_class_init): Several
378 documentation improvements to the HildonNote widget.
380 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
382 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
384 Fixes: MB#4556 (HildonNoteType is undocumented)
386 2009-06-15 Alberto Garcia <agarcia@igalia.com>
388 * hildon/hildon-picker-button.c:
389 Explain how HildonPickerButton sets the title of its dialog
391 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
392 the title of its dialog)
394 2009-06-15 Alberto Garcia <agarcia@igalia.com>
396 * hildon/hildon-check-button.c:
397 Documentation updates
399 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
402 2009-06-15 Alberto Garcia <agarcia@igalia.com>
405 * hildon/hildon-edit-toolbar-private.h
406 * hildon/hildon-edit-toolbar.c
407 (+hildon_edit_toolbar_set_progress_indicator)
408 (hildon_edit_toolbar_init): Add progress indicator to the
411 * hildon/hildon-gtk.c
412 (hildon_gtk_window_set_progress_indicator):
413 If the window contains a HildonEditToolbar, enable the progress
416 * hildon/hildon-private.h
417 * hildon/hildon-private.c
418 (+hildon_private_create_animation)
419 * hildon/hildon-banner.c
420 (-hildon_banner_create_animation):
421 Moved to hildon-private.c
423 Fixes: NB#102373 (Progress indicator also for the Edit mode
426 2009-06-15 Alberto Garcia <agarcia@igalia.com>
428 * hildon/hildon-app-menu-private.h
429 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
430 (hildon_app_menu_add_filter, +menu_item_button_event)
431 (hildon_app_menu_button_release, hildon_app_menu_init):
432 Make sure that buttons receive 'button-release-event' in spite of
433 the grab held by HildonAppMenu
435 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
437 2009-06-15 Alberto Garcia <agarcia@igalia.com>
439 * hildon/hildon-app-menu.c
440 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
441 New style property to set the size of the group of filter buttons.
443 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
445 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
450 * configure.ac: Bump version.
451 * debian/changelog: Updates.
453 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
455 * hildon/hildon-main.c: Minor documentation fixes.
457 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
459 * doc/hildon-sections.txt:
460 * hildon/hildon-defines.h: Document the defines, organize them,
461 and mark deprecations as such.
463 Fixes: MB#4463 (Hildon size #defines are undocumented)
465 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
467 * hildon/hildon-animation-actor.c:
468 * hildon/hildon-app-menu.c:
469 * hildon/hildon-button.c:
470 * hildon/hildon-date-editor.c:
471 * hildon/hildon-dialog.c:
472 * hildon/hildon-edit-toolbar.c:
473 * hildon/hildon-entry.c:
474 * hildon/hildon-program.c:
475 * hildon/hildon-remote-texture.c:
476 * hildon/hildon-stackable-window.c:
477 * hildon/hildon-text-view.c:
478 * hildon/hildon-touch-selector.c:
479 * hildon/hildon-window-stack.c:
480 * hildon/hildon-window.c:
482 Remove redundant "represents" wording from most of the documentation.
484 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
486 2009-06-12 Alberto Garcia <agarcia@igalia.com>
491 * hildon/hildon-banner-private.h
492 * hildon/hildon-banner.c:
493 Move HildonBannerPrivate to hildon-banner.c and remove
494 hildon-banner-private.h
495 Use a bit field to store private booleans.
497 2009-06-12 Alberto Garcia <agarcia@igalia.com>
499 * hildon/hildon-app-menu.c (hildon_app_menu_map):
500 Don't install a new idle function if there's already one
505 2009-06-11 Alberto Garcia <agarcia@igalia.com>
507 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
508 (+legacy_menu_realized, +legacy_menu_unmapped)
509 (+set_legacy_menu_type):
510 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
511 they can be identified by the window manager.
513 Fixes: NB#101437 (Invoking CSM on the left side of page area is
514 displayed in wrong location)
516 Fixes: MB#4563 (Popup menu won't locate at the left side of the
519 2009-06-11 Alberto Garcia <agarcia@igalia.com>
521 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
523 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
526 2009-06-11 Alberto Garcia <agarcia@igalia.com>
528 * hildon/hildon-code-dialog.c
529 * hildon/hildon-date-editor.c
530 * hildon/hildon-number-editor.c
531 * hildon/hildon-seekbar.c
532 * hildon/hildon-stackable-window.c
533 * hildon/hildon-window.c:
534 Misc documentation updates
536 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
538 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
539 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
541 Fixes: NB#117931 (Theming issues in accounts dialogs)
543 2009-06-09 Alejandro G. Castro <alex@igalia.com>
545 * hildon/hildon-pannable-area.c,
546 (hildon_pannable_area_button_release_cb): Changed the coordinates
547 of the original release in case we want to discard the release,
548 some widgets in Fremantle do not handle the leave-notify.
550 2009-06-09 Alejandro G. Castro <alex@igalia.com>
552 * hildon/hildon-pannable-area.c,
553 (hildon_pannable_area_button_release_cb): Reviewed the logic of
554 the release using the last refactored functions and avoiding the
555 movement if an element was selected.
557 2009-06-09 Alejandro G. Castro <alex@igalia.com>
559 * hildon/hildon-pannable-area.c,
560 (hildon_pannable_area_check_move),
561 (hildon_pannable_area_handle_move),
562 (hildon_pannable_area_motion_notify_cb): Refactored the
563 motion_notify method using a couple of new functions.
565 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
567 * hildon/hildon-date-selector.c:
568 (hildon_date_selector_construct_ui):
569 * hildon/hildon-time-selector.c:
570 (hildon_time_selector_constructor):
571 * hildon/hildon-touch-selector-entry.c:
572 (hildon_touch_selector_entry_set_text_column),
573 (hildon_touch_selector_entry_get_text_column):
574 * hildon/hildon-touch-selector.c: (_default_print_func),
575 (hildon_touch_selector_new_text): Use
576 hildon_touch_selector_set/get_text_column() instead of
577 setting/getting the "text-column" property.
579 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
581 * doc/hildon-sections.txt: Add the new public methods below.
583 * examples/hildon-picker-button-multicolumn-example.c:
584 (create_touch_selector):
585 * examples/hildon-touch-selector-example.c: (create_selector):
586 * examples/hildon-touch-selector-multi-cells-example.c:
588 Use hildon_touch_selector_column_set_text_column()
590 * hildon/hildon-touch-selector-column.h:
591 * hildon/hildon-touch-selector.c:
592 (hildon_touch_selector_column_set_text_column),
593 (hildon_touch_selector_column_get_text_column):
594 Make hildon_touch_selector_column_set/get_column() public, use
595 them in the inline example, document them, and reference to them
598 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
600 * hildon/hildon-time-selector.c: Fix the docs for
601 hildon_time_selector_new_step().
603 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
605 * hildon/hildon-touch-selector.c: Improve the documentation for
606 hildon_touch_selector_append_column().
608 Fixes MB#4641 (Documentation:
609 hildon_touch_selector_append_column() ref-counting)
611 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
613 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
614 Comment out test 5, since the hildon_controlbar_set_range() range
615 check is broken and fixing it would have side effects. Also,
616 this finally fixes make distcheck.
618 Fixes: NB#101420 (Update unit tests and fix make distcheck)
620 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
622 * tests/TEST-CASES.txt: Remove other bogus test.
623 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
624 Remove bogus test that was setting/retrieving a valid value.
626 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
628 * tests/TEST-CASES.txt: Remove bogus tests.
629 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
630 Remove three bogus tests that were actually setting valid colors.
632 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
634 * configure.ac: post release version bump
635 * debian/changelog: post release version bump
637 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
642 * configure.ac: Bump version.
643 * debian/changelog: Updates.
645 2009-06-08 Christian Dywan <christian@lanedo.com>
649 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
650 Correct errors in hildon_format_file-size_for_display and use
651 translations from the hildon-fm package instead of osso-filemanager.
653 2009-06-08 Alejandro G. Castro <alex@igalia.com>
655 * hildon/hildon-pannable-area.c,
656 (hildon_pannable_area_init): Initialized new values to handle the
658 (hildon_pannable_area_adjust_value_changed): Check if the values
659 changed before even call the redraw function.
660 (hildon_pannable_area_size_allocate),
661 (hildon_pannable_axis_scroll),
662 (hildon_pannable_area_scroll),
663 (hildon_pannable_area_jump_to): Improved the diagonal movement
666 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
669 2009-06-08 Alberto Garcia <agarcia@igalia.com>
671 * examples/hildon-banner-example.c:
672 Several style updates
673 (on_animation_clicked, on_animation_idle)
674 (on_progress_clicked, on_progress_idle):
675 Add additional reference for the cases when the parent window is
678 2009-06-08 Alberto Garcia <agarcia@igalia.com>
680 * doc/hildon-sections.txt
681 * hildon/hildon-pannable-area.c
682 * hildon/hildon-banner.h
683 * hildon/hildon-banner.c: Documentation updates.
685 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
688 2009-06-05 Alejandro G. Castro <alex@igalia.com>
690 * hildon/hildon-calendar-popup.h:
691 * hildon/hildon-caption.h:
692 * hildon/hildon-code-dialog.h:
693 * hildon/hildon-controlbar.h:
694 * hildon/hildon-date-editor.h:
695 * hildon/hildon-dialog.h:
696 * hildon/hildon-get-password-dialog.h:
697 * hildon/hildon-hvolumebar.h:
698 * hildon/hildon-login-dialog.h:
699 * hildon/hildon-note.h:
700 * hildon/hildon-number-editor.h:
701 * hildon/hildon-range-editor.h:
702 * hildon/hildon-seekbar.h:
703 * hildon/hildon-set-password-dialog.h:
704 * hildon/hildon-sort-dialog.h:
705 * hildon/hildon-time-editor.h:
706 * hildon/hildon-time-picker.h:
707 * hildon/hildon-volumebar-range.h:
708 * hildon/hildon-volumebar.h:
709 * hildon/hildon-vvolumebar.h:
710 * hildon/hildon-weekday-picker.h:
711 * hildon/hildon-window.h:
712 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
713 macros with the current replacements
715 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
717 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
719 * hildon/hildon-color-button.c (hildon_color_button_init): Use
720 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
721 itself, to make it fit better with Fremantle style.
723 Fixes: NB#109878 (height and width of focus on color icon is not
724 consistent with other item in the application tool bar)
726 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
728 * hildon/hildon-touch-selector.c:
729 (hildon_touch_selector_optimal_size_request): use the current requisition
730 as the base, in order to include any possible extra widget, like the
731 hildon entry on HildonTouchSelectorEntry
733 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
735 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
737 * configure.ac: post release version bump
738 * debian/changelog: post release version bump
740 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
745 * configure.ac: Bump version.
746 * debian/changelog: Updates.
748 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
750 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
752 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
753 to ensure the banner contents are centered, instead of relying on
754 the expand and fill properties in GtkHBox.
755 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
757 Fixes: NB#108265 (Animation banner not properly centered)
759 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
761 * hildon/hildon-pannable-area.c
762 (hildon_pannable_area_initial_effect): Remove the initial_effect
763 management, check initial_hint
764 (hildon_pannable_are_expose_event): Remove the initial_hint management,
765 set initial_effect to FALSE
766 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
767 by launching the fade_timeout if the scrollbars state has changed and are
769 * examples/hildon-pannable-area-initial-hint-example.c
770 Modified to allow to remove rows too. Add and remove rows one by one.
772 2009-05-28 Alberto Garcia <agarcia@igalia.com>
774 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
775 Don't close the menu if there's an animation actor below it.
777 Fixes: NB#117927 (Application menu not usable with animation
780 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
782 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
783 "focus-on-click" from the dialog button, to avoid stealing the
784 focus from the entry.
786 Fixes: NB#118903 (Account setup wizard: Text in Search field
787 should be focused when "Region" touch list picker is reopened
790 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
792 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
793 (prepare_action_area): Completely hide the dialog separator.
795 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
797 * hildon/hildon-touch-selector-entry.c
798 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
799 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
800 now that the entry is exposed.
802 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
804 * hildon/hildon-touch-selector-entry.c
805 (hildon_touch_selector_entry_init): Change the entry's size
806 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
808 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
810 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
811 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
812 avoid unnecessary scaling.
814 2009-05-27 Alberto Garcia <agarcia@igalia.com>
816 * hildon/hildon-app-menu.c (hildon_app_menu_map):
817 Create grab transfer window before calling parent's map function.
819 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
820 "crushed" button(s) in the top left corner)
822 2009-05-26 Alberto Garcia <agarcia@igalia.com>
824 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
825 Check if the window is already realized when pushing it.
827 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
829 * configure.ac: post release version bump
830 * debian/changelog: post release version bump
832 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
837 * configure.ac: Bump version.
838 * debian/changelog: Updates.
840 2009-05-25 Alberto Garcia <agarcia@igalia.com>
842 * hildon/hildon-app-menu.c: Doc updates.
844 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
846 * hildon/hildon-banner.c: Remove leftover macro.
848 2009-05-25 Alejandro G. Castro <alex@igalia.com>
850 * hildon/hildon-pannable-area.c,
851 (hildon_pannable_area_scroll_indicator_fade),
852 (hildon_pannable_area_button_release_cb): Reviewed vmin
853 conditions, it could cause problems in the fadeout procedure.
855 2009-05-25 Alejandro G. Castro <alex@igalia.com>
857 * hildon/hildon-pannable-area.c
858 (hildon_pannable_area_button_release_cb): Added a threshold to
859 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
861 2009-05-25 Alejandro G. Castro <alex@igalia.com>
863 * hildon/hildon-pannable-area.c,
864 (hildon_pannable_area_set_property): Added code to sync the gtk
865 dnd threshold with the panning threshold.
867 2009-05-25 Alejandro G. Castro <alex@igalia.com>
869 * hildon/hildon-pannable-area.c,
870 (hildon_pannable_area_class_init): Changed some of the default
871 values, now it should be less responsive and more accurate.
873 2009-05-25 Alejandro G. Castro <alex@igalia.com>
875 * hildon/hildon-pannable-area.c,
876 (hildon_pannable_area_init),
877 (hildon_pannable_area_scroll_indicator_fade),
878 (hildon_pannable_area_button_press_cb),
879 (hildon_pannable_axis_scroll),
880 (hildon_pannable_area_timeout),
881 (hildon_pannable_area_motion_notify_cb),
882 (hildon_pannable_area_button_release_cb): Changed the name of the
883 clicked attribute to button_pressed, it is more clear about its use.
885 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
887 * src/hildon-pannable-area.c
888 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
890 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
891 vertical scrollbar visibility, and use the data on private section instead,
892 remove the initial_hint check
893 (hildon_pannable_area_expose_event): add the initial_hint check here
895 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
897 * src/hildon-pannable-area.c
898 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
899 if the fadeout effect was used
900 (hildon_pannable_area_expose_event): check if it is required to
901 manage the initial effect on the begining of the function. Previously
902 it was made at the end, but this doesn't ensure that the scrollbars
903 will be painted on the first show. Do not set to FALSE initial_effect,
904 to ensure that the initial hint is showed the first time the pannable
906 * examples/Makefile.am
907 * examples/hildon-pannable-area-initial-hint-example.c:
908 New example, to show that the initial-hint is showed when the widget
911 Fixes: NB#116607 (Pannable area should always have scrollbar visible
912 initially if the application can be scrolled)
914 2009-05-25 Alberto Garcia <agarcia@igalia.com>
916 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
917 Resize table before adding new items to make sure that
918 gtk_table_resize() is called just once.
920 2009-05-25 Alberto Garcia <agarcia@igalia.com>
922 * hildon/hildon-app-menu-private.h
923 * hildon/hildon-app-menu.c (item_visibility_changed)
924 (filter_visibility_changed, hildon_app_menu_show_all)
925 (hildon_app_menu_hide_all, hildon_app_menu_init):
926 Rearrange items just once when gtk_widget_show_all()/hide_all()
929 2009-05-25 Alberto Garcia <agarcia@igalia.com>
931 * hildon/hildon-app-menu.c
932 (hildon_app_menu_insert, hildon_app_menu_add_filter):
933 Don't call gtk_widget_show() on added items.
935 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
936 automatically when they're added)
938 2009-05-20 Alberto Garcia <agarcia@igalia.com>
940 * hildon/hildon-banner.c
941 (hildon_banner_realize, +hildon_banner_unrealize)
942 (+screen_size_changed, hildon_banner_class_init):
943 Redisplay the banner if the screen is rotated.
945 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
946 on transition from landscape to portrait)
948 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
950 * hildon/hildon-banner.[ch]:
951 (hildon_banner_show_information_override_dnd): remove icon_name from the
952 method definition as it is ignored.
953 * examples/hildon-banner-dnd-example.c: updated with the change on
956 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
958 * hildon/hildon-banner-private.h: new require_override_dnd and
959 overrides_dnd variables
960 * hildon/hildon-banner.h:
961 (hildon_banner_show_information_override_dnd): new method, that shows
962 the information but sets the override flag, in order to show important
964 * hildon/hildon-banner.c
965 (hildon_banner_show_information_override_dnd): new method
966 (hildon_banner_set_override_flag): new utility function
967 (hildon_banner_real_show_information): new utility function, in order to
968 generalize the current hildon_banner_show_information_override_dnd and
969 hildon_banner_show_information_override_dnd
970 * examples/Makefile.am
971 * examples/hildon-banner-dnd-example.c: New example that show how to
972 use the new hildon_banner_show_information_override_dnd
974 Fixes: NB#114874 (There is no possibility to show hildon banners with
977 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
979 * hildon/hildon-pannable-area.c: Add a comment explaining the math
980 behind hildon_pannable_calculate_vel_factor().
982 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
984 * hildon/hildon-pannable-area.c
985 (hildon_pannable_calculate_vel_factor): Correct the sum of the
986 deceleration factors.
988 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
990 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
991 Reduce the default value for 'scroll_time' to 1 second, since the
992 current initial scrolling takes too much time.
994 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
996 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
997 calculate velocity factor during initialization, since the properties
1000 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1002 * hildon/hildon-pannable-area.c
1003 (hildon_pannable_area_set_property): Calculate the velocity factor
1004 after setting the deceleration property and not after.
1006 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1008 * hildon/hildon-entry.c
1009 (hildon_entry_class_init, +set_property, hildon_entry_new)
1010 * hildon/hildon-check-button.c
1011 (hildon_check_button_class_init)
1012 (+set_property, hildon_check_button_new):
1013 Make the theme size a property.
1015 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1016 others) do too much in the _new function)
1018 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1020 * configure.ac: post release version bump
1021 * debian/changelog: post release version bump
1023 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1028 * configure.ac: Bump version.
1029 * debian/changelog: Updates.
1031 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1033 * hildon/hildon-gtk.h
1034 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1035 New API function to take a screenshot of a window
1037 Fixes: NB#106374 (Need API to take a loading screenshot)
1039 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1041 * hildon/hildon-time-selector.c
1042 (update_format_policy): prevent to use hours and minutes unitialized
1044 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1046 * hildon/hildon-window.c (hildon_window_size_request):
1047 Always request the full size of the screen (minus the title bar if
1048 not in fullscreen mode).
1050 Fixes: NB#107486 (HildonWindow should size itself properly)
1052 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1054 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1055 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1056 (on_show_cb), (sound_handling): Disconnect the idle handler for
1057 the sound when the note is finalized to avoid possible crashes.
1059 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1062 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1064 * src/hildon-animation-actor.c,
1065 * src/hildon-remote-texture.c:
1066 Added proper object cleanup to remove signal handler and object
1067 references as HildonAnimationActor and HildonRemoteTexture
1068 objects get destroyed.
1070 Fixes: NB#116682 (Destroying parented animation actors when
1071 parent in unmapped leads to crash)
1073 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1075 Based on a patch by Christian Dywan (christian@imendio.com)
1077 * doc/hildon-sections.txt:
1078 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1079 * hildon/hildon-helper.h: New file size formatting method.
1081 * debian/control: Depend on osso-filemanager l10n package for
1082 proper localization strings.
1084 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1086 * tests/Makefile.am: Include top_srcdir to make possible to build
1087 tests in a different builddir.
1088 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1089 on a different builddir.
1091 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1093 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1094 (hildon_touch_selector_remove): Disconnect model's signal handler
1097 Fixes: NB#116289 (Hildon home crashes while adding task
1100 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1102 * hildon/hildon-button.c
1103 (hildon_button_set_title, hildon_button_set_value):
1104 Hide labels containing an empty string.
1106 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1108 * configure.ac: post release version bump
1109 * debian/changelog: post release version bump
1111 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1116 * configure.ac: Bump version.
1117 * debian/changelog: Updates.
1119 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1121 * hildon/hildon-note-private.h: Removed sound_signal_handler
1122 * hildon/hildon-note.c
1123 (on_show_cb): new callback on note "show" event, this simply adds
1124 a idle, with the function sound_handling
1125 (sound_handling): removed the sound_signal_handler management
1126 (hildon_note_init): connect note "show" event to on_show_cb
1127 (hildon_note_realize): remove the connection to "expose-event"
1129 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1130 device?' confirmation note)
1132 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1134 * hildon/hildon-note.c
1135 (hildon_note_new_information_with_icon_name)
1136 (hildon_note_new_confirmation_with_icon_name):
1137 Terminate the list of parameters in g_object_set() calls
1139 Fixes: NB#115166 (Formatting memory card is not taking place)
1141 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1143 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1144 "dialog-information" role for the sound being played.
1146 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1148 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1149 Don't make the menu a modal window, it causes strange interactions
1150 with the pointer grab and it's not really needed.
1152 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1154 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1156 * hildon/hildon-touch-selector.[ch]
1157 (hildon_touch_selector_optimal_size_request): function added to get a
1158 optimal size request from the touch selector, when you want a dialog to
1159 show as much of the selector
1160 * hildon/hildon-picker-dialog.c:
1161 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1162 (hildon_app_menu_class_init):
1163 New "max-height-landscape" and "max-height-portrait" style properties
1164 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1165 (hildon_picker_dialog_get_max_height): returns the maximum height using
1166 the style properties defined and checking the current portrait/landscape
1168 (_hildon_picker_dialog_set_selector): removed the set_size_request
1170 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1172 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1174 * hildon/hildon-bread-crumb-trail.c:
1175 * hildon/hildon-bread-crumb.c:
1176 * hildon/hildon-seekbar.c:
1177 Add reference to replacements for these deprecated widgets.
1179 Fixes: MB#4461 (Documentation: All deprecations should mention
1182 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1184 * examples/hildon-remote-texture-example.c
1186 Change the include to the hildon-remote-texture in order to compile
1187 properly the examples on the installed libhildon1-examples package
1189 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1191 * tests/Makefile.am: Add check for HildonPickerButton.
1192 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1193 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1194 checks for the HildonPickerButton.
1195 * tests/check_test.c (configure_tests): Add the test suite.
1196 * tests/test_suites.h: likewise.
1198 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1200 * hildon/hildon-touch-selector.c
1201 (+on_row_changed): Emit HildonTouchSelector:changed when the
1202 contents of a selected row change.
1203 (_create_new_column), (_hildon_touch_selector_set_model): connect
1204 to GtkTreeModel:row-changed on a newly set model.
1206 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1208 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1210 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1212 * hildon/hildon-banner.c (hildon_banner_destroy)
1213 (hildon_banner_show_progress, hildon_banner_set_fraction):
1214 Remove the progress bar from HildonBanner and use a progress
1217 Fixes: NB#113761 (Update progress banner to use progress
1220 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1222 * hildon/hildon-banner.c:
1223 Calculate size of the banner label using the actual screen width
1224 rather than using a fixed value.
1226 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1229 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1231 * hildon/hildon-pannable-area.c,
1232 (hildon_pannable_area_class_init): Fixed signals documentation
1235 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1237 * configure.ac: post release version bump
1238 * debian/changelog: post release version bump
1240 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1245 * configure.ac: Bump version.
1246 * debian/changelog: Updates.
1248 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1250 * hildon/hildon-edit-toolbar.c
1251 (hildon_edit_toolbar_init):
1252 Don't let buttons in HildonEditToolbar receive focus.
1254 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1255 typing on an HW arrows key)
1257 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1259 * doc/Makefile.am: Fix build.
1261 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1263 * doc/Makefile.am: Do not redefine content_files.
1265 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1273 Renamed src/ to hildon/
1278 Include <hildon/hildon.h> directly in all examples.
1280 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1282 * src/hildon-sort-dialog.c
1283 (hildon_sort_dialog_add_sort_key_with_sorting)
1287 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1289 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1290 make distcheck passes.
1292 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1294 * Makefile.am: Enable gtk-doc during distcheck.
1296 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1298 * Makefile.am: Do not distribute the debian/ directory.
1300 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1302 * doc/Makefile.am: Add the extra SGML files to content_files,
1303 so that they are distributed properly.
1305 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1307 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1310 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1312 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1313 (hildon_note_new_information_with_icon_name): Set the "icon" property
1314 to preserve soundness.
1316 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1318 * src/hildon-font-selection-dialog.c
1319 (hildon_font_selection_dialog_set_property): Fail when the "family"
1320 property is set to NULL.
1322 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1324 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1327 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1329 * src/hildon-time-selector.h:
1330 Added HildonTimeSelectorFormatPolicy
1331 * src/hildon-time-selector.c:
1332 Added PROP_TIME_FORMAT_POLICY
1333 (_check_ampm_format): renamed to check_automatic_ampm_format
1334 (update_format_policy), (update_format_dependant_columns): new functions
1335 (hildon_time_selector_class_init)
1336 (hildon_time_selector_contructor)
1337 (hildon_time_selector_init)
1338 (hildon_time_selector_get_property)
1339 (hildon_time_selector_set_property)
1340 (hildon_time_selector_get_time)
1341 (hildon_time_selector_set_time)
1342 * src/hildon-touch-selector.h: new file
1343 * src/hildon-touch-selector.c
1344 (hildon_touch_selector_emit_changed)
1345 (hildon_touch_selector_block_changed)
1346 (hildon_touch_selector_unblock_changed)
1347 Added functions to allow to block the emission of the "changed" signal
1348 * src/hildon-picker-dialog.c
1349 (hildon_picker_dialog_show): call the parent show before the custom code
1350 * examples/hildon-time-button-example.c
1351 Modified, so now you can configure the time format using the new property
1353 Added a new property "time-format-policy" that allow to choose the time
1354 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1355 case it uses gconf in order to check if the time selector must use
1358 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1361 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1363 * src/hildon-note.c (hildon_note_init):
1364 Label in HildonNote must be left aligned, not centered. This
1365 reverts the last commit in HildonNote.
1367 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1368 is connectivity dialog)
1370 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1375 * doc/hildon-sections.txt:
1376 Added hildon_gtk_window_set_do_not_disturb()
1378 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1380 * src/hildon-note.c (hildon_note_init): Center label.
1382 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1385 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1390 * configure.ac: Bump version.
1391 * debian/changelog: Updates.
1393 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1395 * src/hildon-note-private.h: Add button-width to the private data.
1396 * src/hildon-note.c (+resize_button),
1397 (+hildon_note_orientation_update): methods to repack widgets on orientation
1399 (screen_size_changed): Call above method for confirmation notes.
1400 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1401 (hildon_note_rebuild): Store the original width request from buttons.
1403 Fixes: NB#109635 (Confirmation notes do not support portrait)
1405 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1407 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1408 when it is a progress note.
1410 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1412 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1413 in the note, since there are no horizontally arranged contents.
1415 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1417 * src/hildon-gtk.c (+set_flag): new generic method to
1418 set/delay a flag setting in a window.
1419 (hildon_gtk_window_set_progress_indicator):
1420 (hildon_gtk_window_set_do_not_disturb),
1421 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1422 avoid code redundance.
1424 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1426 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1428 * src/hildon-gtk.c (set_clear_window_flag),
1429 (do_set_progress_indicator), (do_set_do_not_disturb),
1430 (do_set_portrait_flags),
1431 (hildon_gtk_window_set_progress_indicator),
1432 (hildon_gtk_window_set_do_not_disturb),
1433 (hildon_gtk_window_set_portrait_flags):
1434 Allow setting dnd-flag, progress indicator, and portrait flags
1435 when the window is not realized.
1437 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1439 * src/hildon-pannable-area.c,
1440 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1441 the size request policy function and defines.
1443 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1445 * doc/hildon-sections.txt: Add the new API.
1446 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1447 method to set the portrait flags.
1448 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1450 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1452 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1454 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1455 to allow using this method with other flags.
1456 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1457 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1459 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1461 * src/hildon-touch-selector.c
1462 (hildon_touch_selector_append_text_column):
1463 Make the cell renderer use the smallest width possible.
1465 Fixes: NB#108470 (Selected items in multiple selection are either
1466 having a tick that is cut or not visible at all.)
1468 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1470 * src/hildon-touch-selector.c
1471 (hildon_touch_selector_append_text_column):
1474 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1476 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1477 Use g_strdup_printf() instead of a fixed size buffer.
1479 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1481 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1482 Close banners when a HildonAppMenu is popped up.
1484 Fixes: NB#111027 (Title menu closed immediately if activated when
1485 "Invalid e-mail address" banner is shown)
1487 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1492 * configure.ac: Bump version.
1493 * debian/changelog: Updates.
1495 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1497 * src/hildon-banner.c (hildon_banner_realize):
1498 Mark HildonBanner as supporting portrait mode.
1499 Use GDK to set window properties insetad of direct Xlib calls.
1501 Fixes: NB#111830 (HildonBanner should be marked as supporting
1504 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-note.c (hildon_note_rebuild):
1507 Hide action area in information notes. Prevents text from being
1508 slightly aligned to the left.
1510 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1513 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1515 Patch by Mox Soini (ext-mox.soini@nokia.com)
1517 * src/hildon-banner.c (hildon_banner_create_animation):
1518 Use stylus-sized icons in animation banner.
1520 Fixes: NB#111206 (stylus sized icon for animation banner)
1522 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1526 (+hildon_gtk_window_set_do_not_disturb):
1527 New API to set the do-not-disturb flag.
1529 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1531 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1533 * examples/hildon-progress-indicator-example.c: Fix example
1535 * src/hildon-gtk.c (set_clear_window_flag)
1536 (hildon_gtk_window_set_progress_indicator):
1537 Create a generic function for setting flags to a window.
1538 Use GDK instead of direct Xlib calls.
1540 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1542 * src/hildon-button.c (hildon_button_set_arrangement):
1543 Due to NB#88126, if one of the labels is too long it will be
1544 painted outside the button. The 'value' label is more likely to be
1545 the longest one, so we change its packing options in order to
1546 truncate it if necessary. As a side effect, the 'title' label will
1547 no longer be truncated.
1549 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1551 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1556 * configure.ac: Bump version.
1557 * debian/changelog: Updates.
1559 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1561 Deprecation of the hildon_pannable_area_set_size_request_policy
1562 API, the only policy properly supported in gtk+ nowadays is the
1565 * src/hildon-pannable-area.c,
1566 (hildon_pannable_area_size_request): Added a workaround for the
1567 size_request to avoid the problems of huge pixmaps in case someone
1568 is still using the function.
1569 * src/hildon-pannable-area.h: Deprecated the enum with the
1572 Fixes: NB#110244 (Problems with the
1573 hildon_pannable_area_set_size_request_policy API)
1575 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1577 * src/hildon-pannable-area.c,
1578 (hildon_pannable_area_init),
1579 (hildon_pannable_area_size_request),
1580 (hildon_pannable_area_style_set),
1581 (hildon_pannable_draw_vscroll),
1582 (hildon_pannable_draw_hscroll),
1583 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1584 indicator_width to clarify the use of the attribute.
1586 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1591 * configure.ac: Bump version.
1592 * debian/changelog: Updates.
1594 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1596 * src/hildon-picker-dialog.c
1597 * src/hildon-touch-selector.c
1598 Reverting the change that tried to avoid the hardcoded height on
1599 the picker dialog, as causes problems on the hildon-touch-selector
1602 Fixes: NB#110029 (selectors not scrolling to selected value)
1604 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1606 * src/hildon-touch-selector.c: Fix typos
1608 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1610 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1611 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1612 request more motions after using it.
1614 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1616 * src/hildon-calendar.c (hildon_calendar_expose),
1617 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1618 Remove unused variables.
1620 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1622 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1623 variable assignment.
1625 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1627 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1628 Check the return value of gtk_tree_selection_get_selected()
1631 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1633 * src/hildon-animation-actor.c
1634 * src/hildon-button.c
1636 * src/hildon-pannable-area.c
1637 * src/hildon-picker-button.c
1638 * src/hildon-program.c
1639 * src/hildon-remote-texture.c
1640 * src/hildon-text-view.c
1641 * src/hildon-touch-selector.c
1642 * src/hildon-window-stack.c
1643 * src/hildon-window.c:
1644 Add missing 'Since: 2.2' tags.
1646 * doc/hildon-sections.txt:
1647 Add some missing symbols.
1649 * doc/hildon-docs.sgml:
1650 New 'Other' section for HildonAnimationActor and
1653 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1655 Patch by Iván Gómez (igomez@igalia.com)
1658 * doc/compiling.sgml
1659 * doc/hildon-docs.sgml
1660 * doc/hildon-sections.txt
1661 * doc/migration.sgml
1662 * doc/resources.sgml
1664 New chapters on using the Hildon library.
1665 Updated the general structure of the reference manual.
1666 Other minor documentation fixes.
1668 * src/hildon-calendar-popup.c
1669 * src/hildon-calendar.c
1670 * src/hildon-controlbar.c
1671 * src/hildon-date-editor.c
1672 * src/hildon-dialog.c
1673 * src/hildon-hvolumebar.c
1674 * src/hildon-number-editor.c
1675 * src/hildon-range-editor.c
1676 * src/hildon-sort-dialog.c
1677 * src/hildon-time-editor.c
1678 * src/hildon-time-picker.c
1679 * src/hildon-volumebar-range.c
1680 * src/hildon-volumebar.c
1681 * src/hildon-vvolumebar.c
1682 * src/hildon-weekday-picker.c:
1683 Add deprecation notes
1685 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1686 Document 'horizontal-movement' and 'vertical-movement' signals.
1688 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1693 * configure.ac: Bump version.
1694 * debian/changelog: Updates.
1696 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1698 * src/hildon-pannable-area.c,
1699 (hildon_pannable_area_class_init): increased the minimum velocity.
1700 (hildon_pannable_area_button_release_cb): Updated the
1701 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1702 setup. Review the code to control that last event.
1704 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1707 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1709 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1711 * src/hildon-get-password-dialog.c
1712 (hildon_get_password_set_property),
1713 (hildon_get_password_get_property), (create_contents):
1714 * src/hildon-login-dialog-private.h:
1715 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1716 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1717 (hildon_login_dialog_get_password):
1718 * src/hildon-set-password-dialog-private.h:
1719 * src/hildon-set-password-dialog.c
1720 (hildon_set_password_set_property),
1721 (hildon_set_password_get_property), (create_contents),
1722 (hildon_set_password_response_change),
1723 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1725 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1726 instead and look more Fremantle style.
1728 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1730 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1732 * doc/hildon-sections.txt
1733 * src/hildon-window-stack.h
1734 * src/hildon-window-stack.c
1735 (+hildon_window_stack_get_windows):
1736 New API to obtain the list of windows on a stack.
1738 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1740 * src/hildon-app-menu.c (hildon_app_menu_popup)
1741 (hildon_app_menu_class_init, -hildon_app_menu_show):
1742 Remove hildon_app_menu_show() and move all its checks to
1743 hildon_app_menu_popup()
1745 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1747 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1748 (_hildon_picker_dialog_set_selector): removed call to
1749 gtk_widget_set_size_request
1750 * src/hildon-touch-selector.c
1751 (_create_new_column): change the pannable size request policy
1753 Avoid to use a hardcoded height for the hildon picker dialog. In order
1754 to get that, we needed to change the hildon pannable size request
1756 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1758 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1760 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1761 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1764 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1766 * debian/control: Depend on osso-system-lock localization package.
1767 * src/hildon-code-dialog.c: Obtain the secu_application_title
1768 translation from osso-system-lock.
1769 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1770 for translation the atk related strings, that's not necessary.
1771 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1772 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1773 cancel button, it is not required.
1775 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1777 * src/hildon-pannable-area.c,
1778 (hildon_pannable_area_class_init): Modified the default value of
1779 the overshooting max speed, we have reduced it.
1781 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1783 * doc/hildon-sections.txt
1784 * src/hildon-window-private.h
1785 * src/hildon-window.h
1786 * src/hildon-window.c (hildon_window_class_init)
1787 (hildon_window_init, hildon_window_finalize)
1788 (hildon_window_realize, hildon_window_get_property)
1789 (hildon_window_set_property, hildon_window_update_markup)
1790 (hildon_window_get_markup, hildon_window_set_markup):
1791 New "markup" property and hildon_window_{get,set}_markup() methods.
1793 * examples/hildon-stackable-window-example.c (new_window):
1794 Update example to use hildon_window_set_markup()
1796 Fixes: NB#106375 (Need API to retitle a window with a title
1799 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1801 * src/hildon-pannable-area.c,
1802 (hildon_pannable_area_class_init): Changed the default value of
1803 the initial_hint to TRUE.
1804 (hildon_pannable_area_initial_effect): Changed the initial effect,
1805 not the effect is just the fade-out of the scrollbars.
1807 Fixes: NB#107775 (No scrollbars can be seen when several items are
1808 available in a dialog)
1810 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1812 * src/hildon-program.c (hildon_program_update_top_most):
1815 Fixes: NB#109179 (Memory leak in Hildon program)
1817 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1819 * src/hildon-banner.c (-get_current_app_window):
1820 Remove unused function.
1822 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1824 * src/hildon-pannable-area.c: Modified the documentation of the
1825 get adjustments functions to explain the problem of using the
1826 adjustment directly.
1827 (hildon_pannable_area_class_init): Improved the explanation about
1830 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1832 * src/hildon-app-menu-private.h
1833 * src/hildon-app-menu.c
1834 (hildon_app_menu_class_init):
1835 Bring back the 'external-border' style property
1836 (hildon_app_menu_class_init, hildon_app_menu_init)
1837 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1838 Set a fixed width-request for the menu, independent of the number
1841 Fixes: NB#94957 (Smoothly opened application menu)
1843 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1845 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1847 * src/hildon-banner.c
1848 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1850 Make sure that the banner is correctly placed the first time it's
1852 (hildon_banner_check_position, -check_fullscreen_state):
1853 Show the banner in the same place no matter if the window is in
1854 fullscreen mode or not.
1856 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1858 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1860 * src/hildon-touch-selector.c (_default_print_func): reorder
1861 concatenation for clarity.
1863 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1865 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1866 for multicolumn selectors.
1868 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1870 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1875 * configure.ac: Bump version.
1876 * debian/changelog: Updates.
1878 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1880 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1883 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1885 * configure.ac: removed libcangerra-gtk dependency
1886 * debian/control: removed libcanberra-gtk dependency
1887 * src/Makefile.am: removed libcanberra gtk related flags
1888 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1889 context, and manage a global canberra context instead
1891 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1893 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1895 Patch by Daniel Borgmann (danielb@openismus.com)
1897 * src/hildon-edit-toolbar.c:
1898 Adjust the left padding.
1899 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1900 Paint background of the edit toolbar.
1902 Fixes: NB#107897 (Patch to make editmodetoolbar background
1903 themeable and adjust margin)
1905 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1907 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1909 * src/hildon-program.c (hildon_program_update_top_most):
1910 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1912 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1913 change when the user tasks in/out of an application)
1915 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1917 * configure.ac: added libcangerra-gtk dependency
1918 * debian/control: added libcanberra-gtk dependency
1919 * src/Makefile.am: added libcanberra gtk related flags
1920 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1923 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1925 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1927 * src/hildon-program.c (hildon_program_remove_window)
1928 (hildon_program_add_window): Add checks for the window
1929 parameter. Don't decrease the window counter if the window is not
1932 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1934 * src/hildon-pannable-area.c,
1935 (hildon_pannable_area_realize): Fixed position of the event_window
1936 in the realize method.
1938 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-app-menu-private.h
1941 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1942 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1943 (hildon_app_menu_key_press, hildon_app_menu_init)
1944 (hildon_app_menu_finalize):
1945 Make sure that all idle functions are removed when the widget is
1948 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1950 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1955 * configure.ac: Bump version.
1956 * debian/changelog: Updates.
1958 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1960 * src/hildon-entry.c
1961 (+hildon_entry_show_placeholder),
1962 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1963 that replace hildon_entry_update_contents().
1964 (hildon_entry_set_text),
1965 (hildon_entry_set_placeholder),
1966 (hildon_entry_focus_in_event),
1967 (hildon_entry_focus_out_event): Determine when it is needed
1968 either to show or hide the placeholder and call the above methods.
1970 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1971 when the placeholder text is already set)
1973 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1975 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1976 simple GdkPixbufAnim using the new icons for the banner.
1977 (hildon_banner_show_animation): Use the above mentioned method to
1978 create the animation widget.
1980 Fixes: NB#103564 (Make hildon animation banner use individual
1981 image files as the animation)
1983 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1985 * src/hildon-pannable-area.c,
1986 (hildon_pannable_leave_notify_event): Check if the child is NULL
1987 to avoid sending the leave.
1989 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1991 * src/hildon-pannable-area.c,
1992 (hildon_pannable_area_class_init),
1993 (hildon_pannable_leave_notify_event): Added a handler of the
1994 leave-notify-signal to consider when no motion notify before
1997 Fixes: NB#107494 (Items stay selected when clicking and moving
1998 away when inside pannable area)
2000 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2005 * configure.ac: Bump version.
2006 * debian/changelog: Updates.
2008 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2010 Patch by Alberto Garcia (agarcia@igalia.com)
2012 * src/hildon-date-button.c,
2013 (hildon_date_button_class_init),
2014 (hildon_date_button_init): Removed the construct property handling
2015 and created a default selector in the init method.
2016 * src/hildon-picker-button.c,
2017 (hildon_picker_button_class_init): Removed the construct flag of the
2020 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2022 * src/hildon-main.c (hildon_init):
2023 Don't allow hildon_init() to be called more than once.
2025 Fixes: NB#106607 (hildon_init should issue error message upon
2028 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2030 * examples/hildon-pannable-area-touch-list-example.c
2031 * examples/hildon-pannagle-area-touch-grid-example.c
2032 * examples/hildon-edit-toolbar-example.c
2033 * examples/hildon-touch-selector-multi-cells-example.c
2034 Removed the call to gtk_rc_parse_string, as it is not required since
2037 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2039 * src/hildon-pannable-area.c,
2040 (hildon_pannable_area_class_init): Modified the default panning
2041 threshold of the widget to 6px.
2043 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2044 than the threshold value ) within the button is not sending the
2047 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2049 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2050 for the treeview in the new column. This way, the touch list will never
2053 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2054 be selected manually for the HW keys to work)
2056 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2058 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2059 comparison instead of using strcmp(). Fixes a compiler warning as well.
2061 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2063 * doc/hildon-docs.sgml: Do not set the library version in the
2064 document title, use the releaseinfo tag for that purpose instead.
2066 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2068 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2069 Do not jump to the first item if the text in the entry is removed.
2071 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2076 * configure.ac: Bump version.
2077 * debian/changelog: Updates.
2079 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2081 * src/hildon-entry.c (hildon_entry_refresh_contents):
2082 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2083 Use "ReversedSecondaryTextColor" for the placeholder text.
2085 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-text-view.c: Fix compilation warning.
2089 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2091 * src/hildon-button.c (hildon_button_class_init): Don't make
2092 "title" and "value" construction properties, to prevent them from
2093 overwriting labels set from derived classes.
2095 * src/hildon-picker-button.c
2096 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2097 (hildon_picker_button_class_init): Make touch-selector a
2098 construction property.
2100 * src/hildon-date-button.c (hildon_date_button_class_init)
2101 (+hildon_date_button_constructed): Add a default date selector if
2104 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2106 * src/hildon-touch-selector.c: Small documentation fixes.
2108 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2110 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2112 * src/hildon-entry.c (hildon_entry_refresh_contents),
2113 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2114 widget name, set the logical color directly instead and a boolean
2115 showing_placeholder instead.
2116 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2117 use the widget name here either.
2119 Fixes: NB#105678 (HildonTextView should use logical colours
2120 instead of setting widget name)
2122 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2124 Patch by Daniel Elster (danielk@openismus.com)
2126 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2127 Add user_data parameter.
2128 (hildon_touch_selector_set_print_func_full): New function akin
2129 hildon_touch_selector_set_print_func() but with support for user
2130 data and a destroy callback.
2131 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2132 to clean up the print function user data.
2133 (hildon_touch_selector_class_init): Install dispose function.
2134 (HildonTouchSelectorPrivate::print_user_data),
2135 (HildonTouchSelectorPrivate::print_destroy_func): New private
2137 (hildon_touch_selector_init): Initialize new private members.
2138 (hildon_touch_selector_get_current_text): Pass along user data
2139 to the print function.
2140 (_default_print_func): Add dummy user_data to parameter list.
2141 * hildon-date-selector.c (_custom_print_func): ditto,
2142 * hildon-time-selector.c (_custom_print_func): ditto,
2143 * hildon-touch-selector-entry.c
2144 (hildon_touch_selector_entry_print_func): ditto.
2146 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2148 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2150 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2152 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2154 * src/hildon-pannable-area.c,
2155 (hildon_pannable_area_init),
2156 (hildon_pannable_area_button_press_cb),
2157 (hildon_pannable_area_motion_notify_cb): We have added code to
2158 handle the leave and enter events when using the motion events.
2160 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2162 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2164 * src/hildon-date-button.c (hildon_date_button_get_date)
2165 (hildon_date_button_set_date): Make sure that the button has a
2168 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2170 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2172 * src/hildon-pannable-area.c,
2173 (hildon_pannable_area_class_init),
2174 (hildon_pannable_area_calculate_velocity): Modify the use of the
2175 force and adapt the value.
2177 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2179 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2180 (hildon_app_menu_class_init): Hide the menu if it receives a
2181 delete-event, but don't destroy it
2183 Fixes: NB#104485 (Not able to address the call when application
2184 menu is opened at background)
2186 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2188 * src/hildon-app-menu.c
2189 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2190 Remove the "external-border" style property, let the menu take its
2191 natural size (or the one set by the window manager)
2192 (hildon_app_menu_repack_items):
2193 Don't reshow the menu, avoid flickers.
2195 Partially fixes NB#94957 (Smoothly opened application menu)
2197 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2202 * configure.ac: Bump version.
2203 * debian/changelog: Updates.
2205 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2207 * src/hildon-pannable-area.c,
2208 (hildon_pannable_area_motion_notify_cb): We control that the
2209 direction error margin is used just in case the movement is
2210 allowed in the other direction.
2212 Fixes: NB#105012 (buttons inside a pannable area not getting
2213 release event when dragging/releasing)
2215 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2217 * src/hildon-pannable-area.c,
2218 (hildon_pannable_area_class_init),
2219 (hildon_pannable_area_get_property),
2220 (hildon_pannable_area_set_property),
2221 (hildon_pannable_area_initial_effect),
2222 (hildon_pannable_axis_scroll),
2223 (hildon_pannable_area_button_release_cb): Reviewed the
2224 overshooting effect, now it has its own max
2225 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2226 speed when bouncing.
2228 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2233 * configure.ac: Bump version.
2234 * debian/changelog: Updates.
2236 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2238 * src/hildon-pannable-area.c,
2239 (hildon_pannable_area_class_init): Changed the max speed, now
2240 users can launch the widget very fast. Reduced the default force,
2241 that way it is easier to control the launch speed.
2243 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2245 * src/hildon-pannable-area.c,
2246 (hildon_pannable_area_button_release_cb): Removed this check
2247 because it causes problems when the device is overloaded.
2249 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2251 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2252 add a current_text field to store the text entered in the
2253 touch selector entry.
2254 (_clean_current_selection): clean up the current text as well.
2255 (_save_current_selection), (_restore_current_selection):
2256 Save/restore the text in the entry if the selector is a
2257 HildonTouchSelectorEntry.
2259 Fixes: NB#102541 (value entered in the touch selector entry is not
2260 shown when opened for second time)
2262 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2264 * doc/hildon-sections.txt:
2265 * src/hildon-touch-selector-entry.c
2266 (+hildon_touch_selector_entry_get_entry):
2267 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2269 Fixes: NB#104815 (I need accessor to the entry inside
2270 HildonTouchSelectorEntry)
2272 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2274 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2275 (hildon_app_menu_class_init):
2276 New "filter-vertical-spacing" style property.
2278 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-find-toolbar.c
2281 (hildon_find_toolbar_emit_close)
2282 (hildon_find_toolbar_emit_invalid_input)
2283 (hildon_find_toolbar_entry_activate):
2284 Use g_signal_emit() instead of g_signal_emit_by_name()
2286 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2288 Patch by Mox Soini (ext-mox.soini@nokia.com)
2290 * tests/TEST-CASES.txt
2291 * tests/check-hildon-banner.c
2292 * tests/check-hildon-note.c
2293 * src/hildon-banner.c
2294 * src/hildon-code-dialog.c
2295 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2296 * src/hildon-time-editor.c
2297 * examples/hildon-lookup-example.c (main):
2298 Replace obsolete icon names with new ones.
2300 * src/hildon-find-toolbar-private.h:
2301 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2302 (-hildon_find_toolbar_emit_search):
2303 Remove find button and change icon of close button.
2305 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2307 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2309 * src/hildon-time-button.c (hildon_time_button_new_step):
2310 Use the "touch-selector" property to set the selector directly
2311 when creating the object.
2313 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2315 Added a new example application that allows tuning the pannable
2316 area and replaced defines with properties in order to simplify the
2317 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2318 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2319 PROP_DIRECTION_ERROR_MARGIN.
2321 * examples/hildon-pannable-area-tuning-example.c: New example
2323 * src/hildon-pannable-area.c,
2324 (hildon_pannable_area_class_init),
2325 (hildon_pannable_area_init),
2326 (hildon_pannable_area_get_property),
2327 (hildon_pannable_area_set_property),
2328 (hildon_pannable_area_launch_fade_timeout),
2329 (hildon_pannable_area_adjust_value_changed),
2330 (hildon_pannable_axis_scroll),
2331 (hildon_pannable_area_motion_notify_cb),
2332 (hildon_pannable_area_scroll_cb),
2333 (hildon_pannable_area_button_release_cb): We have converted some
2334 of the defines that control the widget to properties to simplify
2337 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2339 * src/hildon-app-menu.c (hildon_app_menu_map)
2340 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2341 so it's closed if a new window appears.
2343 Fixes: NB#104485 (Not able to address the call when application
2344 menu is opened at background)
2346 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2348 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2349 missing 'break' statement in in 'case' construct to avoid
2352 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2354 * src/hildon-touch-selector-entry.c
2355 (hildon_touch_selector_entry_get_property),
2356 (hildon_touch_selector_entry_set_property): Add missing 'break'
2357 statements in in 'case' constructs to avoid incorrect warnings.
2359 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-time-editor.c
2362 (hildon_time_editor_get_time_separators): Do not crash if
2363 the first label is NULL.
2365 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2367 * src/hildon-date-selector.c (_month_days): Check for month to be
2368 strictly less than 12, since otherwise we may overrun the array.
2370 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2372 * src/hildon-date-button.c (+hildon_date_button_new_full)
2373 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2374 (hildon_date_button_init): Set the date selector using a
2375 construction property, to make it happen after HildonButton's
2376 "value" property is set.
2378 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2379 current date by default)
2381 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2383 * doc/hildon-sections.txt
2384 * src/hildon-program.c
2385 * src/hildon-stackable-window.c
2386 * src/hildon-window.c:
2387 Documentation updates
2389 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2391 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2392 (hildon_window_stack_new, +hildon_window_stack_set_property)
2393 (+hildon_window_stack_get_property)
2394 (hildon_window_stack_class_init)
2395 (+hildon_window_stack_set_window_group)
2396 (+hildon_window_stack_get_window_group):
2397 Make the window group a construction property.
2399 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2401 * doc/hildon-sections.txt
2402 * src/hildon-stackable-window-private.h
2403 * src/hildon-stackable-window.h
2404 * src/hildon-stackable-window.c
2405 (-hildon_stackable_window_set_app_menu)
2406 (-hildon_stackable_window_get_app_menu)
2407 (-hildon_stackable_window_toggle_menu)
2408 (-hildon_stackable_window_finalize)
2409 (hildon_stackable_window_class_init)
2410 (hildon_stackable_window_init)
2411 * src/hildon-window-private.h
2412 * src/hildon-window.h
2413 * src/hildon-window.c (hildon_window_init)
2414 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2415 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2416 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2417 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2418 Moved all HildonAppMenu code to HildonWindow. The menu does not
2419 require a HildonStackableWindow anymore.
2421 * src/hildon-app-menu.c
2422 * src/hildon-program.c
2423 * examples/hildon-app-menu-example.c (main):
2424 Update examples and documentation to reflect HildonAppMenu
2427 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2429 * src/hildon-remote-texture.c
2430 * src/hildon-animation-actor.c:
2431 Don't include unused private headers.
2433 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2435 * src/hildon-program-private.h
2436 * src/hildon-program.c
2437 (hildon_program_set_common_menu)
2438 (hildon_program_get_common_menu)
2439 (hildon_program_set_common_app_menu)
2440 (hildon_program_get_common_app_menu):
2441 Change common menu pointers from GtkWidget* to GtkMenu* and
2442 HildonAppMenu* to avoid unnecessary casts.
2444 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2446 * src/hildon-window.c (hildon_window_set_main_menu):
2447 Removed incorrect 'Since:' tag
2449 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2451 * src/hildon-pannable-area.c,
2452 (hildon_pannable_area_calculate_velocity): We use now the
2453 RATIO_TOLERANCE here to check the distance, fixed typo in the
2455 (hildon_pannable_area_motion_notify_cb): We have to set the type
2456 and time even if we are not sending the motion.
2458 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2460 * doc/hildon-sections.txt
2461 * src/hildon-app-menu.h
2462 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2463 (+hildon_app_menu_get_filters): New methods to get the contents of
2466 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2469 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2471 * src/hildon-app-menu.c (hildon_app_menu_popup):
2474 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2476 * src/hildon-window.h
2477 * src/hildon-window.c (+hildon_window_get_main_menu)
2478 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2479 and deprecated hildon_window_get_menu().
2481 * src/hildon-stackable-window.h
2482 * src/hildon-stackable-window.c
2483 (+hildon_stackable_window_set_app_menu)
2484 (+hildon_stackable_window_get_app_menu)
2485 (hildon_stackable_window_set_main_menu): Created
2486 hildon_stackable_window_{get,set}_app_menu() and deprecated
2487 hildon_stackable_window_set_main_menu().
2489 * doc/hildon-sections.txt
2490 * examples/hildon-app-menu-example.c (main)
2491 * src/hildon-app-menu.c
2492 * src/hildon-program.c:
2493 Updated examples and documentation.
2495 Fixes: NB#103758 (No way to obtain a menu from a
2496 HildonStackableWindow)
2498 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2503 * configure.ac: Bump version.
2504 * debian/changelog: Updates.
2506 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2508 * examples/hildon-remote-texture-example.c: Include
2509 hildon-remote-texture.h explicitely.
2510 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2511 applications not defining _XOPEN_SOURCE which don't require this header.
2513 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2515 * doc/hildon-sections.txt
2516 * src/hildon-app-menu.h
2517 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2518 New function to pop up a HildonAppMenu
2520 * src/hildon-stackable-window.c
2521 (hildon_stackable_window_toggle_menu):
2522 Use hildon_app_menu_popup() to show the menu.
2524 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2526 * src/hildon-app-menu.c (hildon_app_menu_show)
2527 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2528 menu if there's another window between it and its parent window.
2530 Fixes: NB#100468 (Application menu window is launched even when a
2531 new secondary-window/dialog is pending to be shown/realized)
2533 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2535 * src/hildon-window-stack.c (hildon_window_stack_push)
2536 (hildon_window_stack_pop_and_push):
2537 Don't forget to push/pop the first window.
2538 Reverse the window list before calling _push_list()
2540 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2542 * src/hildon-picker-button.h
2543 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2544 Remove "value_changed" slot to avoid ABI breakage
2546 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2548 * src/hildon-pannable-area.c,
2549 (hildon_pannable_area_realize),
2550 (hildon_pannable_area_unrealize),
2551 (hildon_pannable_draw_vscroll),
2552 (hildon_pannable_draw_hscroll): Changed the method to handle the
2553 GC used to draw the transparent scrollbar, this way we avoid
2554 creating the GC all the time when drawing the scrollbars.
2556 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2558 * src/hildon-pannable-area.c,
2559 (hildon_pannable_area_init),
2560 (hildon_pannable_area_remove): Removed some unnecessary casts.
2561 (hildon_pannable_area_dispose): Disconnected some signals before
2562 releasing the adjustments.
2564 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2566 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2567 Make sure that all widgets contained in the toolbar are shown.
2569 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2571 * doc/hildon-sections.txt
2572 * src/hildon-picker-button.h
2573 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2574 (_selection_changed, hildon_picker_button_on_dialog_response)
2575 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2576 New hildon_picker_button_value_changed() method.
2579 * src/hildon-picker-button-private.h
2580 * src/hildon-picker-button.c (hildon_picker_button_init)
2581 (+hildon_picker_button_disable_value_changed): Add protected
2582 function for disabling the "value-changed" signal.
2584 * src/hildon-date-button.c (hildon_date_button_set_date):
2585 Don't emit "value-changed" for each one of the three columns.
2587 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2588 before actual change of values)
2590 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2592 * src/hildon-pannable-area.c,
2593 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2594 for the treeview overshooting.
2596 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2598 * src/hildon-banner.c (+hildon_banner_bind_style):
2599 Renamed from hildon_banner_bind_label_style(), now naming the
2600 banner itself as well.
2601 (hildon_banner_show_information),
2602 (hildon_banner_show_information_with_markup),
2603 (hildon_banner_show_animation), (hildon_banner_show_progress):
2604 Name the widgets and labels, based on their type.
2606 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2609 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2611 * src/hildon-note.c (hildon_note_set_property): call
2612 hildon_note_rename() on HildonNote:note-type set.
2613 (hildon_note_rename): Name the note and its label, based on the
2614 HildonNote:note-type property.
2616 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2619 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2621 * src/hildon-pannable-area.c,
2622 (hildon_pannable_area_class_init),
2623 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2624 panning parameters, increased SPS and deceleration factor. Added
2625 also a margin to control fake directions.
2627 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2629 Patch by Sven Herzberg (sven@imendio.com)
2631 * configure.ac: Add missing AM_PROG_CC_C_0
2632 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2634 See NB#101420 (Update unit tests and fix make check)
2636 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2638 This patch was applied before but reverted because it caused
2639 problems, we have changed the main condition and tested the
2640 regressions we detected before and they work ok. We have done a
2641 complete review of the topmost algorithm in order to get a more
2644 * src/hildon-pannable-area.c,
2645 (hildon_pannable_area_get_topmost): Added a new parameter to
2646 filter the the windows that do not include those events.
2647 (hildon_pannable_area_button_press_cb),
2648 (hildon_pannable_area_button_release_cb),
2649 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2650 topmost function, we have added the new parameter.
2652 Fixes: NB#97458 (Pannable area prevents propagation of button
2655 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2657 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2658 if all columns in the selector have an item selected.
2659 (_on_dialog_response): Stop "response" signal emission if there is
2660 any selector column without selected items.
2662 Fixes: NB#101889 (Picker dialog should not close when nothing is
2663 selected in multiple selection list)
2665 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2667 * src/hildon-font-selection-dialog.c
2668 (hildon_font_selection_dialog_class_init),
2669 (hildon_font_selection_dialog_init): Remove the preview
2670 button and dialog, since previewing with default theming is likely
2671 to be overcomplicated. The :preview property has now no effect.
2672 Update documentation blurbs to inform about this.
2674 Fixes: NB#92297 (Preview content is not clearly visible for
2675 default colour text)
2677 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2679 Reviewed the geometry that handles the children size and
2680 scrollbar, now it tries a size and reviews the results depending
2681 on the scrollbars visibility.
2683 * src/hildon-pannable-area.c,
2684 (hildon_pannable_area_realize): Fixed a typo.
2685 (hildon_pannable_area_child_allocate_calculate): Added this
2686 function to calculate the child allocation.
2687 (hildon_pannable_area_size_allocate): Reviewed the allocation
2689 (hildon_pannable_area_check_scrollbars),
2690 (hildon_pannable_area_refresh): Refactored refresh function, this
2691 way we can call the code handling the scrollbars without causing a
2692 size_request, it is interesting in the allocate.
2693 (hildon_pannable_area_init): Replace the callbacks of the
2694 value_changed and changed signals to propertly deal with the
2696 (hildon_pannable_area_grab_notify),
2697 (hildon_pannable_area_initial_effect),
2698 (hildon_pannable_area_launch_fade_timeout),
2699 (hildon_pannable_area_adjust_changed),
2700 (hildon_pannable_area_adjust_value_changed),
2701 (hildon_pannable_area_redraw),
2702 (hildon_pannable_area_button_press_cb),
2703 (hildon_pannable_area_button_release_cb),
2704 (hildon_pannable_area_scroll_cb),
2705 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2706 code and use the new functions adjust_changed and
2707 adjust_value_changed.
2709 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2710 Contact editor dialog)
2712 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2717 * configure.ac: Bump version.
2718 * debian/changelog: Updates.
2720 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2722 * src/hildon-pannable-area.c,
2723 (hildon_pannable_area_get_topmost),
2724 (hildon_pannable_area_button_press_cb),
2725 (hildon_pannable_area_button_release_cb),
2726 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2727 topmost function adding the event mask. We have to try a
2728 differente approach because it is still causing problems (NB#9745,
2731 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2733 * src/hildon-banner.c:
2734 Update the maximum width of timed banners.
2735 (force_to_wrap_truncated): Enforce the maximum text width if the
2738 Fixes: NB#102413 (The text margins (wrapping) in information
2739 banner should be HILDON_MARGIN_TRIPLE)
2741 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2743 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2745 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2746 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2747 bound when calculating the scroll indicator position.
2749 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2750 treat ->lower correctly)
2752 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2754 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2755 expose event handling, since it is not necessary to draw the focus
2758 Fixes: NB#102467 (Do not show highlight on the text in
2761 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2763 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2764 full height of the toolbar for the button and the label.
2766 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2768 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2769 padding before the label and after the button.
2771 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2773 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2775 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2776 Add a GtkVSeparator between the button and the back arrow.
2777 Let the button have automatic size.
2778 Set a name to the widget for theming handling.
2780 Fixes: NB#101793 (Make edit toolbar the same height as window
2781 title bar (use title area theming))
2783 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2785 * src/hildon-helper.c (attach_new_color_element): Fix memory
2788 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2790 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2792 * examples/hildon-button-example.c (common_buttons_window): Don't
2795 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2798 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2800 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2802 * src/hildon-gtk.c: Check that the window is realized.
2804 Fixes: NB#102225 (Crash setting the progress indicator to a non
2807 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2809 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2810 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2811 instead of modifying the one in the widget style.
2813 Fixes: NB#101043 (Second row of all the command button are
2814 displayed in transparent mode.)
2816 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2818 * src/hildon-date-button.c
2819 * src/hildon-time-button.c: Add gettext macros
2821 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/hildon-date-button.c (hildon_date_button_new):
2824 * src/hildon-time-button.c (hildon_time_button_new_step):
2825 Use new logical strings to set the button default title.
2827 Fixes: NB#99915 (Date and Time options are not localised in Date
2830 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2832 * src/hildon-pannable-area.c
2833 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2834 the PANNING_THRESHOLD.
2836 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2838 * src/hildon-pannable-area.c,
2839 (hildon_pannable_area_class_init): Increased the maximum speed.
2840 (hildon_pannable_area_get_property),
2841 (hildon_pannable_area_set_property),
2842 (hildon_pannable_area_timeout): Added a new low friction mode, it
2843 allows the user avoid friction when launching the widget fast
2844 enough. It is interesting to traverse long lists.
2846 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2849 (+hildon_stackable_window_delete_event): Ignore delete events if
2850 the window is not the topmost one.
2852 Fixes: NB#101698 (Back button long press and delete-event handling)
2854 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2856 * src/hildon-pannable-area.c,
2857 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2858 gtk-dnd-drag-threshold, it was too big. We have defined our own
2859 dnd define and set a smaller value: PANNIG_THRESHOLD.
2861 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2863 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2864 user-defined icons, use always the default one.
2866 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2868 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2870 This patch was applied before but reverted because it caused
2871 problems, we have changed the main condition and tested the
2872 regressions we detected before and they work ok.
2874 * src/hildon-pannable-area.c,
2875 (hildon_pannable_area_get_topmost): Added a new parameter to
2876 filter the the windows that do not include those events. Added
2877 also a condition when finding the window to filter windows that do
2878 not ask for those events.
2879 (hildon_pannable_area_button_press_cb),
2880 (hildon_pannable_area_button_release_cb),
2881 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2882 topmost function, we have added the new parameter.
2884 Fixes: NB#97458 (Pannable area prevents propagation of button
2887 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2889 * tests/check-hildon-color-button.c (START_TEST): do not leak
2892 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-font-selection-dialog.c
2895 (hildon_font_selection_dialog_get_preview_text): Return NULL
2896 instead of FALSE on the g_return_val_if_fail().
2898 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2901 * src/hildon-date-selector.c
2902 (hildon_date_selector_select_current_date):
2903 Do not compare unsigned integers to be greater than or equal 0,
2904 because it's always TRUE.
2906 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2908 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2909 (hildon_date_selector_constructor): Do not select the current
2910 date until we are handle the "changed" signal, to avoid having bogus
2911 elements in the days model.
2913 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2915 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2916 for num_days, since _month_days() can return a negative value.
2918 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2920 * src/hildon-caption.c (hildon_caption_size_allocate):
2921 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2922 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2924 Initialize allocation variables to 0, to avoid eventually using
2925 unitialized variables.
2927 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2929 * src/hildon-bread-crumb-trail.c
2930 (hildon_bread_crumb_trail_size_allocate):
2931 * src/hildon-calendar.c (hildon_calendar_set_background):
2932 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2933 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2934 * src/hildon-seekbar.c (hildon_seekbar_init):
2935 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2936 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2937 * src/hildon-touch-selector-entry.c
2938 (hildon_touch_selector_get_text_from_model):
2939 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2940 * src/hildon-window.c (hildon_window_finalize):
2942 Remove many unused variables.
2944 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2946 * src/hildon-seekbar.c: (hildon_seekbar_init),
2947 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2949 Remove unnecessary g_assert() calls.
2951 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2953 * src/hildon-caption.c: (hildon_caption_expose),
2954 (hildon_caption_set_property), (hildon_caption_init),
2955 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2956 (hildon_caption_size_request), (hildon_caption_size_allocate),
2957 (hildon_caption_forall), (hildon_caption_set_separator),
2958 (hildon_caption_activate), (hildon_caption_set_child_expand),
2959 (hildon_caption_set_label_text),
2960 (hildon_caption_get_label_alignment):
2962 Remove unnecessary g_assert() calls.
2964 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2966 * src/hildon-banner.c
2967 (hildon_banner_map, hildon_banner_init): Make banner temporary
2968 before mapping it to avoid closing other temporary windows, but
2969 make it non-temporary afterwards to avoid being closed by other
2970 non-temporary windows.
2971 (-hildon_banner_client_event, hildon_banner_init):
2972 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2974 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2977 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2979 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2982 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2984 * src/hildon-remote-texture.c
2985 * src/hildon-remote-texture.h
2986 * src/hildon-remote-texture-private.h
2987 * examples/hildon-remote-texture-example.c:
2988 Updates/fixes to remote-texture and its example.
2990 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2992 Patch by Mox Soini (ext-mox.soini@nokia.com)
2994 * src/hildon-code-dialog.c: Update logical id.
2995 * src/hildon-set-password-dialog.c: Update logical id.
2997 Fixes: NB#100646 (Logical strings is shown for ok in set
2998 password,Password needed dialogs)
3000 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3003 * src/hildon-remote-texture.c
3004 * src/hildon-remote-texture.h
3005 * src/hildon-remote-texture-private.h
3007 Added remote texture widget (for Clutter shared memory textures)
3009 * examples/hildon-remote-texture-example.c
3010 * examples/Makefile.am
3011 Added example file for remote texture usage
3013 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3015 * configure.ac: post release version bump.
3016 * debian/changelog: version bump.
3018 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3023 * configure.ac: Bump version.
3024 * debian/changelog: Updates.
3026 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-date-selector.c (hildon_date_selector_init)
3029 (hildon_date_selector_constructor): Don't connect to the "changed"
3030 signal until the selector is completely constructed.
3032 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3034 * src/hildon-touch-selector.c: (_create_new_column),
3035 (hildon_touch_selector_append_column),
3036 (hildon_touch_selector_set_column_selection_mode),
3037 (hildon_touch_selector_set_active),
3038 (hildon_touch_selector_select_iter):
3039 Emit the HildonTouchSelector::changed signal every time selection
3040 is changed in any of the methods above. This behavior was already
3041 documented but not fully functional.
3043 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3044 selection is programmatically changed)
3046 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3048 * doc/hildon-sections.txt: Remove obsolete icon
3049 sizes from here as well.
3051 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3053 * examples/hildon-stackable-window-example.c (add_window): Remove
3056 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-app-menu.c
3059 (hildon_app_menu_show): Check whether the parent window of a menu
3060 is topmost before popping it up.
3062 Fixes: NB#100468 (Application menu window is launched even when a
3063 new secondary-window/dialog is pending to be shown/realized.)
3065 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3067 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3070 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3072 Patch by Mox Soini (ext-mox.soini@nokia.com)
3074 * src/hildon-banner.c: (hildon_banner_show_animation):
3075 use stylus size instead of obsolete note size.
3076 * src/hildon-defines.h: Update icon sizes.
3078 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3080 * src/hildon-touch-selector-entry.c:
3081 (hildon_touch_selector_entry_init): Disable unsupported
3083 (hildon_touch_selector_entry_get_text_column): Emit a warning
3084 if an unsupported input modes is used and explicitile state
3085 these modes in the documentation.
3087 Fixes: NB#99802 (Hildon touch selector entry not working properly
3088 for some of the input modes)
3090 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3092 * src/hildon-pannable-area.c,
3093 (hildon_pannable_area_init): Added the changed signal handlers of
3096 Fixes: NB#100320 (HildonPannableArea does not listen to
3097 GtkAdjustment "change" signals)
3099 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3101 * doc/hildon-sections.txt
3102 * src/hildon-window-private.h
3103 * src/hildon-window.h
3104 * src/hildon-window.c (hildon_window_init)
3105 (hildon_window_realize, hildon_window_unrealize)
3106 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3107 (hildon_window_size_request, hildon_window_size_allocate)
3108 (hildon_window_forall, hildon_window_show_all)
3109 (hildon_window_destroy, +paint_edit_toolbar)
3110 (+hildon_window_set_edit_toolbar):
3111 New hildon_window_set_edit_toolbar() method, to add a
3112 HildonEditToolbar to a window without having to pack it manually.
3114 Reorganize hildon_window_size_allocate()
3116 * src/hildon-edit-toolbar.c: Update documentation.
3118 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3119 example to use the new API.
3121 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3123 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3125 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3126 Remove from stack before calling parent's hide.
3128 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3130 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3131 window is removed from the middle of the stack, update the
3132 transiency of the previous one.
3134 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3137 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3139 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3140 block/unblock the signal handler if it's not actually being used.
3141 Fixes some critical warnings.
3143 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3145 Based on a patch by Iván Gómez (igomez@igalia.com)
3147 * src/hildon-banner.c
3151 * src/hildon-pannable-area.c
3152 * src/hildon-picker-dialog.c
3153 * src/hildon-wizard-dialog.h
3154 * src/hildon-wizard-dialog.c: Documentation updates.
3156 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3157 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3159 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3161 * configure.ac: post release version bump.
3162 * debian/changelog: version bump.
3164 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3169 * configure.ac: Bump version.
3170 * debian/changelog: Updates.
3172 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3174 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3175 a stock icon nor change the relief of the back arrow.
3177 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3178 graphics from theme)
3180 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3182 * src/hildon-button.c (hildon_button_set_alignment): Use
3183 priv->alignment if the button has no child yet.
3185 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3187 * src/hildon-button.c: (hildon_button_init): Set the
3188 button style during initialization to give it the proper
3191 Fixes: NB#99713 (HildonButton value label color is wrong)
3193 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3195 * src/hildon-touch-selector.c: Document
3196 hildon_touch_selector_center_on_selected()
3198 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3200 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3201 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3202 all menu items, but not the menu itself.
3203 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3204 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3205 items after adding them to the menu so keyboard accelerators work.
3206 (hildon_app_menu_show): Don't show the menu if it contains items
3207 but none of them are visible.
3209 * examples/hildon-app-menu-example.c (create_menu): Use
3210 gtk_widget_show_all() to show all menu items.
3212 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3214 * src/hildon-picker-dialog.c:
3215 (-_update_title_on_selector_changed_cb),
3216 (-_dialog_update_title): Removed.
3217 (_select_on_selector_changed_cb), (_on_dialog_response),
3218 (on_selector_columns_changed): Do not update the dialog title.
3219 (setup_interaction_mode): Do not connect to
3220 HildonTouchSelector::changed signal if there's a "done" button, as
3221 the dialog title doesn't need to be updated.
3223 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3226 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3228 Patch by Kristian Rietveld (kris@imendio.com)
3230 * src/hildon-touch-selector.c: (_create_new_column): Use new
3231 GtkTreeView::hildon-row-tapped signal to react to user interactions
3232 instead of ::changed.
3234 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3235 with some dynamic tree model)
3237 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3239 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3240 (+screen_size_changed, +label_size_request)
3241 (hildon_note_class_init): Make the Hildon information note have a
3242 minimum height, and make its text hvae a maximum width.
3244 Fixes: NB#98614 (Hildon information note (background) should have
3245 minimum height and maximum text width)
3247 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3249 * src/hildon-banner.h
3250 * src/hildon-banner.c (hildon_banner_show_information)
3251 (hildon_banner_show_informationf)
3252 (hildon_banner_show_information_with_markup): Update documentation
3253 to reflect that the icon_name parameter is not used anymore.
3254 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3255 Remove all code from these functions and mark them as deprecated.
3256 (hildon_banner_show_progress): Mark as deprecated.
3258 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3260 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3262 * src/hildon-pannable-area.c,
3263 (hildon_pannable_area_class_init),
3264 (tranparency_color),
3265 (hildon_pannable_draw_vscroll),
3266 (hildon_pannable_draw_hscroll),
3267 (hildon_pannable_area_expose_event): Added a new way to render the
3268 scrollbars of the pannable area avoiding using cairo at all. This
3269 way we improve the performance of the pannable area rendering. The
3270 cairo rendering procedure is still in the code, we can control
3271 which one to use changing the value of the define
3272 USE_CAIRO_SCROLLBARS.
3274 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3276 * configure.ac: post release version bump.
3277 * debian/changelog: version bump.
3279 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3284 * configure.ac: Bump version.
3285 * debian/changelog: Updates.
3287 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3289 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3290 banners instead of destroying them when they receive a button
3293 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3295 Reverted commit 34028, it was causing regressions, probably the
3296 topmost condition is not correct, we have to check it in more
3297 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3298 propagation of button press events)
3300 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3302 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3303 that the selection is not empty before attempting to retrieve the
3304 current ampm selection.
3306 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3308 * src/hildon-picker-button.c:
3309 (hildon_picker_button_on_dialog_response): Directly update the
3310 button contents when required instead of calling _selection_changed.
3312 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3314 * src/hildon-program.c (hildon_program_update_top_most): Update
3315 'is-topmost' property also when wm_hints is not set.
3317 Fixes: NB#98383 (is-topmost signal is not emitted when task
3318 switcher is clicked.)
3320 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3322 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3326 * src/hildon-animation-actor.c,
3327 * src/hildon-animation-actor.h: Added the animation actor class,
3328 this widget represents an animation actor for WM-assisted
3329 animation effects in the Hildon framework.
3331 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3333 * src/hildon-window-stack-private.h
3334 * src/hildon-window-stack.c
3335 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3336 Avoid calling gtk_widget_show() again indirectly from
3337 hildon_stackable_window_show()
3339 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3341 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3344 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3346 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3347 (hildon_time_selector_init): Move the construction of the hours and
3348 ampm columns to the constructor to preserve the order the columns
3351 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3353 * src/hildon-picker-dialog.c:
3354 (hildon_picker_dialog_class_init): Connect a realize method.
3355 (+hildon_picker_dialog_realize): Setup the interaction mode here
3357 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3358 yet, do it during the realize instead.
3359 (_on_dialog_response):
3360 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3361 if the widget is not realized, to avoid the dialog response before it
3364 Avoid premature responses in the HildonPickerDialog that can cause it
3365 to be hidden before it's even shown.
3367 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3369 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3370 (on_selector_columns_changed), (requires_done_button),
3371 (+prepare_action_area), (setup_interaction_mode),
3372 (_hildon_picker_dialog_set_selector):
3374 Split the interaction mode setup into preparation of the
3375 action area (prepare_action_area()) and the connection of
3376 the signals in setup_interaction_mode() and update the code to
3379 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3381 * src/hildon-pannable-area.c,
3382 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3383 per second to 15, we will check if this is ok regarding
3386 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3388 * src/hildon-pannable-area.c,
3389 (hildon_pannable_axis_scroll): Avoid resize if we already have
3390 reached overshoot_max.
3392 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3394 * src/hildon-pannable-area.c,
3395 (hildon_pannable_area_init),
3396 (hildon_pannable_area_realize),
3397 (hildon_pannable_area_size_allocate),
3398 (hildon_pannable_area_map),
3399 (hildon_pannable_area_unmap),
3400 (hildon_pannable_draw_vscroll),
3401 (hildon_pannable_draw_hscroll),
3402 (hildon_pannable_area_expose_event),
3403 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3404 pannable are to avoid the expose events go to the window and
3405 redraw the window. We save this way that part of the stack and the
3406 paint_boxes. We had to change the positions of the elements when
3409 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3411 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3412 * src/hildon-color-chooser-dialog.c:
3413 (hildon_color_chooser_dialog_init):
3414 * src/hildon-font-selection-dialog.c:
3415 (hildon_font_selection_dialog_init),
3416 (hildon_font_selection_dialog_show_preview):
3417 * src/hildon-get-password-dialog.c:
3418 * src/hildon-login-dialog.c:
3419 * src/hildon-set-password-dialog.c:
3420 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3421 * src/hildon-time-picker.c: (hildon_time_picker_init):
3423 Remove obsolete logical string IDs and update to the appropriate ones.
3425 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3427 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3429 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3430 that happens if the window hasn't been realized yet.
3432 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3433 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3435 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3437 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3438 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3441 Fixes: NB#98537 (Device hangs in account settings dialog)
3443 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3445 * configure.ac: post release version bump.
3446 * debian/changelog: version bump
3448 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3453 * configure.ac: Bump version.
3454 * debian/changelog: Updates.
3456 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3458 Added a new function to the HildonTimeButton widget that allows to
3459 change the step of the minutes in the selector associated with the
3460 button: hildon_time_button_new_step
3462 * src/hildon-time-button.c,
3463 (hildon_time_button_init),
3464 (hildon_time_button_new),
3465 (hildon_time_button_new_step):
3466 * src/hildon-time-button.h: Added the new function and refactored
3468 * examples/hildon-time-button-example.c,
3469 (main): We have replaced the function without parameters with the
3470 function with the steps set to 5
3472 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3474 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3476 * src/hildon-time-selector.c,
3477 (hildon_time_selector_class_init),
3478 (hildon_time_selector_constructor),
3479 (hildon_time_selector_get_property),
3480 (hildon_time_selector_set_property),
3481 (_create_minutes_model),
3482 (hildon_time_selector_new_step),
3483 (hildon_time_selector_set_time),
3484 * src/hildon-time-selector.h: Added a new property to the
3485 HildonTimeSelector (minutes-step), we use that property to control
3486 the steps between the minutes in the list of the selector. We have
3487 added a new function to the API to create a widget changing the
3488 step: hildon_time_selector_new_step.
3490 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3492 * src/hildon-time-selector.c,
3493 (hildon_time_selector_class_init),
3494 (hildon_time_selector_constructor),
3495 (hildon_time_selector_init): Overrided the construct function when
3496 creating the time selector object. We have moved the minutes model
3497 handling code from the init to the new construction function:
3498 hildon_time_selector_constructor.
3500 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3502 * examples/hildon-date-button-example.c: (main): Use the new
3503 hildon_date_button_new_with_year_range() method in the example.
3504 * src/hildon-date-button.c:
3505 (+hildon_date_button_new_with_year_range): New public method
3506 to conveniently create a HildonDateButton with a custom year range
3507 in its HildonDateSelector.
3508 * src/hildon-date-button.h: Add the new public method definition.
3510 Fixes: NB#97908 (Not possible to change the year range in
3511 HildonDateSelector/HildonDateButton)
3513 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3515 * src/hildon-date-selector.c:
3516 (+hildon_date_selector_set_property),
3517 (+hildon_date_selector_get_property),
3518 (hildon_date_selector_class_init): Install new properties "min-year"
3519 and "max-year" to define boundaries for the year column.
3520 (_create_year_model): Use the boundary properties to populate the model.
3521 (+hildon_date_selector_new_with_year_range): New public method to
3522 create a HildonDateSelector with a user defined year range.
3523 (hildon_date_selector_select_current_date): Use the new boundaries to
3524 calculate the iterator of current year.
3525 * src/hildon-date-selector.h: Add the new public method definition.
3527 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3529 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3530 Install a constructor method.
3531 (+hildon_date_selector_construct_ui): construct the widget.
3532 (+hildon_date_selector_constructor): new constructor.
3533 (+hildon_date_selector_init): move out widget construction code to
3534 the new constructor.
3536 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3538 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3539 that there's actually a month or year selected before obtaining them.
3540 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3541 of the HildonTouchSelector::changed signal, as it was emitted on every
3542 single item selection.
3544 Fix some warnings and possible crashers due to the selection restoring.
3546 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3548 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3549 the signal handlers only after creating the dialog instead of on every
3552 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3554 * src/hildon-button.c (hildon_button_init)
3555 * src/hildon-check-button.c (hildon_check_button_init)
3556 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3557 focus when clicked by default.
3559 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3561 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3564 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3566 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3567 Alejandro G. Castro (alex@igalia.com)
3569 * src/hildon-picker-dialog.c:
3570 (hildon_picker_dialog_class_init): install new "center-on-show"
3572 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3573 (hildon_picker_dialog_set_property): add setter code for the new
3575 (hildon_picker_dialog_get_property): add getter code for the new
3577 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3578 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3581 Fixes: NB#92849 (Selected item is not always visible when
3582 HildonTouchSelector is shown)
3584 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3586 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3587 Alejandro G. Castro (alex@igalia.com)
3589 * src/hildon-touch-selector.c:
3590 (_create_new_column): Do not connect to the "realize" signal of the
3592 (hildon_touch_selector_append_column): center on the selected items
3593 when a new column is appended.
3594 (hildon_touch_selector_select_iter): Factor out the code to select a
3595 column to hildon_touch_selector_scroll_to().
3596 (+search_nearest_element): Method to retrieve the nearest selected
3597 element to the visible area of the pannable area in a column.
3598 (+on_realize_cb): scroll to the initially selected item.
3599 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3600 the pannable area is realized, otherwise delay this until it is.
3601 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3602 selected items of a given column.
3603 (+hildon_touch_selector_center_on_selected): Public method to center
3604 all columns on the nearest selected item.
3605 * src/hildon-touch-selector.h: Add definition for
3606 hildon_touch_selector_center_on_selected().
3608 Implement public API to ensure visibility of all selected items in
3609 a HildonTouchSelector.
3611 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3613 Fixed a problem in the fading when calling the scroll_to API, and
3614 improve scrollbar fading handling.
3616 * src/hildon-pannable-area.c,
3617 (hildon_pannable_area_grab_notify): avoid the timeout when the
3619 (hildon_pannable_area_button_press_cb),
3620 (hildon_pannable_area_motion_notify_cb): Code style changes.
3621 (hildon_pannable_area_button_release_cb): Review the conditions
3622 when releasing the mouse button to avoid unrequired fading
3624 (hildon_pannable_area_scroll_to): Do not calculate and set the
3625 velocity if the scroll is not required.
3627 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3629 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3630 Don't check whether the new selector is NULL: it cannot be.
3631 Hold a reference to the selector while doing the replacement.
3633 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3635 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3636 unnecessary size_request in a removed widget.
3638 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3640 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3641 an unnecessary reference tracking that was leaking.
3643 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3645 Added delayed motion notify event handling, this way we can
3646 discard redrawing if more than 25 events arrive per second.
3648 * src/hildon-pannable-area.c,
3649 (hildon_pannable_area_init): Initialized the new private atributes
3650 controlling this timeout
3651 (hildon_pannable_area_dispose): Remove the timeout that controls
3652 the motion notify events.
3653 (hildon_pannable_area_scroll): Added a condition to control the
3654 use of the acceleration.
3655 (hildon_pannable_area_motion_event_scroll_timeout),
3656 (hildon_pannable_area_motion_event_scroll): Added this two
3657 functions, they handle the motion notify events inside the
3659 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3660 to the scroll method with the new function.
3661 (hildon_pannable_area_button_release_cb): We have to remove the
3662 timeout handler and move to the last position if the last motion
3663 events were not handled.
3665 Fixes: NB#97028 (Pannable area updates on every motion event)
3667 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3669 * src/hildon-pannable-area.c,
3670 (hildon_pannable_area_get_topmost): Added a new parameter to
3671 filter the the windows that do not include those events. Added
3672 also a condition when finding the window to filter windows that do
3673 not ask for those events.
3674 (hildon_pannable_area_button_press_cb),
3675 (hildon_pannable_area_button_release_cb),
3676 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3677 topmost function, we have added the new parameter.
3679 Fixes: NB#97458 (Pannable area prevents propagation of button
3682 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3684 * src/hildon-pannable-area.c,
3685 (hildon_pannable_area_initial_effect): Added controls before
3686 launching the timeout and the idle functions.
3687 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3688 of the method, in some situations it can return with TRUE and 0 in
3690 (hildon_pannable_area_button_press_cb): We do not need to set
3691 DELAY for fading out here.
3693 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3695 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3697 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3698 post-cleaning if the selection is not NULL.
3700 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3702 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3703 all items before restoring the selection.
3705 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3707 * src/hildon-touch-selector.c:
3708 (+hildon_touch_selector_unselect_all):
3709 * src/hildon-touch-selector.h: New API to unselect all items in a
3710 column of the touch selector.
3712 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3714 * src/hildon-pannable-area.c,
3715 (hildon_pannable_area_redraw): Added a call to the refresh
3716 function inside the redraw because apparently in some cases the
3717 change in the adjustment does not imply a size allocate.
3719 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3720 despite the view not being scrollable)
3722 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3724 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3725 leak. Check for NULL before attempting to set the window title.
3727 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3729 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3730 whether to show or not the 'Done' button each time the dialog is
3731 shown, as it depends on the HildonTouchSelector selection mode.
3733 Fixes: NB#96226 (In multiple selection mode Done button is shown
3734 sometimes in listpicker)
3736 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3738 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3739 for the number of columns in the HildonTouchSelector more than once.
3741 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3743 * src/hildon-touch-selector.c: Minor documentation fixes.
3745 * src/hildon-picker-dialog.c (+_dialog_update_title)
3746 (_select_on_selector_changed_cb)
3747 (_update_title_on_selector_changed_cb)
3748 (on_selector_columns_changed): Update dialog title when there's no
3749 'Done' button and also when the number of columns in the selector
3753 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3754 (+_selection_changed, hildon_picker_button_on_dialog_response)
3755 (hildon_picker_button_selector_selection_changed)
3756 (+hildon_picker_button_selector_columns_changed)
3757 (hildon_picker_button_set_selector): Update button value and emit
3758 'value-changed' when the number of columns in the selector
3762 Fixes: NB#96225 (Dialog titles are not shown according to the
3763 values selected in the list picker)
3765 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3767 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3768 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3769 New "arrow-width" and "arrow-height" style properties to set the
3770 size of the arrow button.
3771 Set name of arrow button ("hildon-edit-toolbar-arrow").
3773 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3774 graphics from theme)
3776 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3778 * src/hildon-picker-button.c:
3779 (hildon_picker_button_selector_selection_changed): Use
3780 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3781 the dialog is present.
3783 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3784 the selection is accepted in the dialog)
3786 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3788 * src/hildon-color-chooser.h
3789 * src/hildon-color-chooser-dialog.h:
3790 Added G_BEGIN_DECLS and G_END_DECLS
3792 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3794 (_clean_current_selection): plug a leak in the list.
3796 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3798 * src/hildon-picker-dialog.c:
3799 (+free_path_list): Method to free a GList of GtkTreePaths.
3800 (_clean_current_selection), (_save_current_selection),
3801 (_restore_current_selection): Save the current selection in
3802 as a list of lists, to support multiple selection properly.
3804 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3806 patch by Claudio Saavedra (csaavedra@igalia.com)
3808 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3809 Store the press position.
3810 (+hildon_text_view_button_release_event): If the release position is
3811 close enough to the press position, move the cursor here. Otherwise,
3813 (hildon_text_view_class_init): Override GtkTextView press, release, and
3814 motion event handlers, disabling this way text selection through
3815 pointer interaction, and allowing the container widget to handle the
3818 Fixes: NB#95828 (HildonTextView functionality)
3820 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3822 Based on a patch by Iván Gómez (igomez@igalia.com)
3824 * src/hildon-button.[ch]
3825 * src/hildon-calendar.c
3826 * src/hildon-check-button.c
3827 * src/hildon-date-editor.c
3828 * src/hildon-date-selector.c
3829 * src/hildon-picker-button.c
3830 * src/hildon-time-editor.c
3831 * src/hildon-time-selector.c
3832 * src/hildon-touch-selector.[ch]:
3833 Documentation updates
3835 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3837 * src/hildon-pannable-area.c,
3838 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3839 threshold, it was required due to X events handling.
3841 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3843 * src/hildon-pannable-area.c,
3844 (hildon_pannable_area_grab_notify),
3845 (hildon_pannable_area_initial_effect),
3846 (hildon_pannable_area_button_press_cb),
3847 (hildon_pannable_area_button_release_cb),
3848 (hildon_pannable_area_scroll_cb),
3849 (hildon_pannable_area_scroll_to): Review the timeout management of
3850 the scrollbar, the frecuency was incorrectly set.
3852 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3854 * src/hildon-picker-button.c:
3855 (+hildon_picker_button_on_dialog_response),
3856 (hildon_picker_button_clicked): Present the dialog instead of
3857 running it with gtk_dialog_run().
3859 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3862 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3865 (hildon_app_menu_finalize): When a window is hidden it doesn't
3866 emit notify::is-topmost, so make sure than the menu also
3867 disappears in that case.
3868 (parent_window_topmost_notify): Renamed from parent_window_hidden
3870 Fixes: NB#94460 (stackable window's menu is not closed when its
3873 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3875 * src/hildon-touch-selector-entry.c:
3876 (+hildon_touch_selector_entry_set_input_mode),
3877 (+hildon_touch_selector_entry_get_input_mode):
3878 * src/hildon-touch-selector-entry.h: New methods to access the input
3879 mode in the selector's entry.
3881 Fixes: NB#93410 (API required for setting IM mode in
3882 HildonTouchSelectorEntry)
3884 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3886 * configure.ac: post release version bump.
3887 * debian/changelog: version bump
3889 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3894 * configure.ac: Bump version.
3895 * debian/changelog: Updates.
3897 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3899 * src/hildon-touch-selector.c:
3900 (_hildon_touch_selector_has_multiple_selection): No need
3901 to initialize the variables here.
3903 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3905 * src/hildon-note-private.h
3906 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3907 (hildon_note_finalize, hildon_note_rebuild): Close information
3908 notes when they receive a button press.
3910 Fixes: NB#89890 (Information notes does not get disappeared after
3913 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3915 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3916 mark from the wizard title, as it's not really necessary. Also,
3917 do not display the page title if not set.
3919 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3921 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3922 (parent_window_hidden): Use the window's "is-topmost" property to
3923 detect when to hide the menu.
3925 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3927 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3928 (hildon_app_menu_finalize): If the parent window of the menu is
3929 hidden, hide the menu too.
3931 Fixes: NB#94460 (stackable window's menu is not closed when its
3934 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3937 * debian/libhildon1-examples.install
3939 * examples/Makefile.am:
3940 Use dh_install to install all examples.
3941 Use DEB_SRCDIR instead of defining SOURCE_DIR
3943 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3945 * configure.ac: post release version bump.
3946 * debian/changelog: version bump
3948 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3953 * configure.ac: bump version
3954 * debian/changelog: updates
3955 * debian/control: bump gtk+ dependency
3957 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3959 patch by Christian Dywan (christian@imendio.com)
3961 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3962 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3964 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3966 * src/hildon-check-button.c (hildon_check_button_init)
3967 (hildon_check_button_class_init, hildon_check_button_style_set)
3968 (hildon_check_button_apply_style):
3969 New "checkbox-size" style property.
3971 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3972 larger / configurable size)
3974 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3976 * configure.ac: post release version bump.
3977 * debian/changelog: version bump
3979 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3984 * configure.ac: bump version
3985 * debian/changelog: updates
3987 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3989 * doc/hildon-sections.txt
3990 * src/hildon-pannable-area.c
3991 * src/hildon-program.c
3992 * src/hildon-time-editor.c
3993 * src/hildon-touch-selector-entry.c:
3995 More documentation updates.
3997 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3999 * doc/hildon-sections.txt
4000 * src/hildon-caption.c
4001 * src/hildon-code-dialog.c
4002 * src/hildon-color-button.c
4003 * src/hildon-controlbar.c
4004 * src/hildon-date-editor.c
4005 * src/hildon-date-selector.c
4006 * src/hildon-edit-toolbar.c
4007 * src/hildon-find-toolbar.c
4008 * src/hildon-font-selection-dialog.c
4010 * src/hildon-program.c
4011 * src/hildon-range-editor.c
4012 * src/hildon-seekbar.c
4013 * src/hildon-time-editor.c
4014 * src/hildon-time-selector.c
4015 * src/hildon-volumebar-range.c
4016 * src/hildon-volumebar.c
4017 * src/hildon-vvolumebar.c
4018 * src/hildon-weekday-picker.c
4019 * src/hildon-window.c
4020 * src/hildon-wizard-dialog.c:
4022 Lots of documentation fixes.
4024 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4026 Patch contributed by Iván Gómez (igomez@igalia.com)
4028 * src/hildon-check-button.c:
4029 * src/hildon-date-button.c:
4030 * src/hildon-date-selector.c:
4031 * src/hildon-dialog.c:
4032 * src/hildon-edit-toolbar.c:
4033 * src/hildon-entry.c:
4034 * src/hildon-picker-button.c:
4035 * src/hildon-program.c:
4036 * src/hildon-text-view.c:
4037 * src/hildon-time-button.c:
4038 * src/hildon-touch-selector-entry.c:
4039 * src/hildon-window-stack.c:
4041 Add more "since" tags to the new API.
4043 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4045 * doc/hildon-sections.txt: Add below method.
4046 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4047 version for the hildonized scale.
4048 * src/hildon-gtk.h: Add the definition.
4050 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4052 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4054 * doc/hildon-sections.txt: Add missing entries for new methods.
4056 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4058 Added API to pannable are in order to get its adjustments. We
4059 added two properties to manage the values we had in the private
4062 * src/hildon-pannable-area.c:
4063 (hildon_pannable_area_class_init): Added hadjustment and
4064 vadjustment properties in order to expose horizontal and vertical
4066 (hildon_pannable_area_get_property),
4067 (hildon_pannable_area_set_property): Added code to handle the new
4069 (hildon_pannable_area_get_hadjustment),
4070 (hildon_pannable_area_get_vadjustment): API functions to get the
4072 * src/hildon-pannable-area.h:
4073 (hildon_pannable_area_get_hadjustment),
4074 (hildon_pannable_area_get_vadjustment): API functions to get the
4077 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4079 Fixed some leaks, after valgrinding.
4081 * src/hildon-touch-selector.c:
4082 (_default_print_func): Fixed a leak.
4083 (hildon_touch_selector_append_column): Fixed a leak.
4084 * src/hildon-date-button.c:
4085 (hildon_date_button_init): Fixed a leak.
4086 * src/hildon-date-selector.c
4087 (hildon_date_selector_finalize): Fixed a leak.
4089 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4091 Based on a patch by Christian Dywan (christian@imendio.com)
4093 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4095 * src/hildon-gtk.h: Add definition.
4097 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4099 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4101 * src/hildon-picker-button.c: (hildon_picker_button_init),
4102 (hildon_picker_button_new): Set the HildonButton::style property
4103 in the init method, to propagate the value to the derived classes.
4105 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4107 * src/hildon-button.c: (hildon_button_class_init): Do not make
4108 the "style" property a construct property.
4110 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4112 * src/hildon-wizard-dialog.h
4113 * src/hildon-wizard-dialog.c
4114 (hildon_wizard_dialog_set_forward_page_func)
4115 * src/hildon-pannable-area.h
4116 * src/hildon-pannable-area.c
4117 (hildon_pannable_area_set_size_request_policy):
4118 Documentation fixes.
4120 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4122 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4124 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4126 * doc/hildon-sections.txt: Added sections file.
4128 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4131 * src/*.[ch]: Updates.
4133 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4135 * examples/hildon-progress-indicator-example.c: new file
4136 * examples/Makefile.am: include the new example program
4138 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4140 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4142 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4144 * configure.ac: post release version bump
4145 * debian/changelog: version bump
4147 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4152 * configure.ac: bump version
4153 * debian/changelog: updates
4154 * debian/control: bump gtk+ dependency
4156 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4158 * src/hildon-dialog.c: Mark as deprecated.
4159 * src/hildon-dialog.h: Mark as deprecated.
4160 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4161 from HildonDialog and still work, even if
4162 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4163 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4165 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4166 maemo changes) instead)
4168 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4170 * src/hildon-pannable_area.h:
4171 * src/hildon-pannable_area.c:
4172 (hildon_pannable_area_class_init),
4173 (hildon_pannable_area_set_property),
4174 (hildon_pannable_area_get_property),
4175 (hildon_pannable_area_size_request),
4176 (hildon_pannable_area_get_size_request_policy),
4177 (hildon_pannable_area_set_size_request_policy): Added new API
4178 allowing applications to control the request policy. Now they can
4179 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4180 children allocation (HILDON_MOVEMENT_CHILDREN).
4182 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4186 (hildon_gtk_tree_view_set_ui_mode)
4187 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4188 mode of treeviews and iconviews.
4190 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4192 * src/hildon-touch-selector-entry.c:
4193 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4194 of a GtkEntry to get proper theming.
4196 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4197 widget, not GtkEntry)
4199 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4201 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4202 no HildonWizardDialogPageFunc.
4204 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4206 Patch contributed by Iván Gómez (igomez@igalia.com)
4208 * src/hildon-app-menu.c:
4209 * src/hildon-button.c:
4210 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4211 * src/hildon-stackable-window.c:
4212 * src/hildon-time-selector.c:
4213 * src/hildon-touch-selector.c:
4214 * src/hildon-window.c:
4216 Add more "since" tags to the new API in hildon 2.2.
4218 2008-12-05 Tim Janik <timj@imendio.com>
4220 Patch contributed by Christian Dywan (christian@imendio.com)
4222 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4223 HildonSizeType, which are supplied by Gtk+ now.
4225 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4227 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4228 (with maemo changes) instead)
4230 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4232 Patch contributed by Iván Gómez (igomez@igalia.com)
4234 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4237 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4239 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4240 (some_page_func), (main): Update the example to use a
4241 HildonWizardDialogPageFunc function.
4243 * src/hildon-wizard-dialog-private.h: Add private data for
4244 the HildonWizardDialogPageFunc function usage.
4246 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4247 (destroy), (hildon_wizard_dialog_init), (response),
4248 (hildon_wizard_dialog_set_forward_page_func):
4249 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4250 that applications can use to stop a HildonWizardDialog to jump to
4253 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4256 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4258 * src/hildon-program.h
4259 * src/hildon-program-private.h
4260 * src/hildon-program.c (hildon_program_init)
4261 (hildon_program_set_common_app_menu)
4262 (hildon_program_get_common_app_menu):
4263 New API for setting a common HildonAppMenu for all
4264 HildonStackableWindows registered with the HildonProgram.
4266 * src/hildon-stackable-window.c
4267 (hildon_stackable_window_toggle_menu):
4268 Use the common HildonAppMenu if a window doesn't have a specific
4271 * src/hildon-app-menu-private.h
4272 * src/hildon-app-menu.c
4273 (hildon_app_menu_get_parent_window):
4274 Function to obtain the window a HildonAppMenu is attached to.
4275 (hildon_app_menu_set_parent_window):
4276 Hide the menu if the parent window is set to NULL.
4278 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4280 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4281 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4282 search widget to popup.
4284 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4286 * configure.ac: post release version bump
4287 * debian/changelog: version bump
4289 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4294 * configure.ac: bump version
4295 * debian/changelog: updates
4297 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4299 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4301 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4302 (hildon_window_stack_window_realized)
4303 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4304 Set the leader GdkWindow when a window is stacked and realized,
4305 unset it when it's unstacked.
4306 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4308 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4310 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4312 * src/hildon-stackable-window.h
4313 * src/hildon-window-stack.h:
4314 Protect definition of HildonWindowStack using the preprocessor.
4316 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4318 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4319 Fix warning if all menu items are hidden.
4321 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4323 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4325 * src/hildon-controlbar.c:
4326 * src/hildon-hvolumebar.c:
4327 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4328 Multiple scale size defines updates.
4330 Fixes: NB#94322 (Scale Updates)
4332 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4334 * examples/hildon-app-menu-example.c (create_menu)
4335 Show items after adding them to the menu, as in the future the
4336 menu will no longer call gtk_widget_show() on the added items.
4338 * src/hildon-app-menu.c:
4339 Update example as explained above.
4341 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4343 * src/hildon-app-menu.c
4344 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4345 Make sure that all menu items have finger height.
4347 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4349 * src/hildon-picker-dialog.c:
4350 (_on_dialog_response), (_save_current_selection),
4351 (_restore_current_selection), (_clean_current_selection),
4352 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4353 Defined new functions in order to save the current internal selector
4354 selection previous open the dialog, in case that the use cancel the
4355 interaction, so the widget restores the previous selection.
4357 Fixes: NB#92032 (In calendar application, date values in 'new event'
4360 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4362 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4364 * src/hildon-button.c: Add a reference to the button examples in
4365 hildon-button-example.c
4367 * examples/hildon-button-example.c: Added examples of the most
4368 common button layouts.
4370 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4372 * src/hildon-app-menu.c (hildon_app_menu_show)
4373 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4375 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4377 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4379 * src/hildon-picker-dialog.c:
4380 (hildon_picker_dialog_init): Initialize the signal id for
4381 HildonTouchSelector::columns-changed.
4382 (+on_selector_columns_changed): Set up the interaction mode everytime a
4383 column is added or removed from the HildonTouchSelector.
4384 (_hildon_picker_dialog_set_selector): Connect to
4385 HildonTouchSelector::columns-changed and keep track of it.
4387 Make sure to update the interaction mode of the dialog everytime a
4388 column is added or removed in the HildonTouchSelector.
4390 Fixes: NB#93228 (Done button is not shown always in listpicker)
4392 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4394 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4395 a new ::columns-changed signal.
4396 (hildon_touch_selector_append_column): Emit ::columns-changed.
4397 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4399 Add a ::columns-changed signal, emitted when the number of columns in a
4400 HildonTouchSelector changes.
4402 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4404 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4405 (_hildon_picker_dialog_set_selector): Factor out the code
4406 to set up the dialog interaction mode.
4408 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4410 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4411 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4412 to signal_changed_id.
4414 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4416 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4419 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4421 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4422 Updated the logical ids related to ampm format, as now it is required to
4423 show it correctly localized even on languages with no default
4424 abbreviations for am or pm
4425 (_check_am_pm_format): check correctly the 24h format gconf property
4427 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4429 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4431 * src/hildon-button.c: Documentation updates.
4433 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4435 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4436 * src/hildon-caption.c: (hildon_caption_class_init):
4437 * src/hildon-color-button.c: (hildon_color_button_class_init):
4438 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4439 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4440 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4441 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4443 Remove deprecated GTK+ marshalers and replace them with the ones
4444 provided by GLib, for those available, add a marshaler for
4445 BOOLEAN:VOID, which is not available in GLib, and use it.
4447 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4449 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4450 the text from the previous column if there is no
4451 HildonTouchSelectorColumn::text-property set.
4453 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4455 * src/hildon-button.h
4456 * src/hildon-button.c (hildon_button_set_property)
4457 (hildon_button_get_property, hildon_button_class_init)
4458 (hildon_button_set_style, hildon_button_get_style):
4459 New "style" property to change the visual appearance of the
4462 * src/hildon-picker-button.c (hildon_picker_button_new):
4463 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4465 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4466 HildonButton look like PickerButton)
4468 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4470 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4471 column while building the default string.
4473 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4475 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4476 scroll indicator by default.
4478 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4480 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4482 * src/hildon-main.c: Fix the documentation for hildon_init()
4484 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4486 * doc/hildon-docs.sgml
4490 * src/hildon-window-stack-private.h
4491 * src/hildon-window-stack.h
4492 * src/hildon-window-stack.c:
4493 New HildonWindowStack object, that adds support for multiple
4494 stacks of windows per process.
4496 * src/hildon-stackable-window-private.h
4497 * src/hildon-stackable-window.h
4498 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4499 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4500 (hildon_stackable_window_show, hildon_stackable_window_hide)
4501 (hildon_stackable_window_class_init)
4502 (hildon_stackable_window_init):
4503 Use HildonWindowStack for stack management.
4505 * src/hildon-program.c (hildon_program_pop_window_stack)
4506 (hildon_program_peek_window_stack)
4507 (hildon_program_go_to_root_window):
4508 Add a fallback implementation to the deprecated functions using
4511 * examples/hildon-stackable-window-example.c:
4512 Use the new HildonWindowStack API.
4514 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4516 * src/hildon-stackable-window-private.h
4517 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4518 (hildon_stackable_window_hide, hildon_stackable_window_init):
4519 Remove all window stack management.
4521 * src/hildon-program-private.h
4522 * src/hildon-program.h
4523 * src/hildon-program.c (hildon_program_init)
4524 (hildon_program_pop_window_stack)
4525 (hildon_program_peek_window_stack)
4526 (hildon_program_go_to_root_window):
4527 Remove all window stack management and mark functions as
4530 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4532 * src/hildon-app-menu.c (hildon_app_menu_realize):
4533 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4535 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4537 * configure.ac: post release version bump
4538 * debian/changelog: version bump
4540 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4545 * configure.ac: bump version
4546 * debian/changelog: updates
4548 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4550 Based on initial code by Christian Dywan (christian@imendio.com)
4552 * doc/hildon-docs.sgml: Add section for hildon-main.
4553 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4554 * src/Makefile.am: Add new hildon-main.[ch]
4555 * src/hildon-defines.h: Update the icon sizes.
4556 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4557 new library initialization files and register icon sizes.
4558 * src/hildon-main.h: New declarations.
4559 * src/hildon.h: Include hildon-main.h
4561 Add new initialization functions to the library. These methods
4562 will register the hildon specific icon sizes and can be used in the
4563 future for other hildon specific bits.
4565 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4567 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4569 * src/hildon-window.c: (hildon_window_realize),
4570 (hildon_window_notify), (-hildon_window_update_title): Do not set
4571 the application name in the window title.
4573 Fixes: NB#89754 (Applications shouldn't display their names in the
4576 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4578 * src/hildon-note-private.h:
4579 * src/hildon-note.c: (hildon_note_set_property),
4580 (hildon_note_get_property), (hildon_note_class_init),
4581 (hildon_note_init), (hildon_note_finalize),
4582 (hildon_note_new_confirmation_with_icon_name),
4583 (hildon_note_new_information_with_icon_name):
4585 No need to mark as deprecated the actual code. Revert
4586 to avoid missing symbols in widgets using deprecated API.
4588 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4590 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4592 * src/hildon-volumebar.h
4593 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4594 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4596 * src/hildon-helper.h
4597 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4598 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4600 * examples/Makefile.am:
4601 Deprecate hildon-insensitive-example
4603 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4605 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4607 * examples/hildon-pannable-area-buttons-scroll-example.c:
4608 Make all buttons finger height
4610 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4612 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4614 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4615 update the day model only if it is really required, and to avoid the
4616 full-reconstruction aproach. Now it only add or remove the required days.
4618 The purpose of this is avoid superfluous HildonTouchSelector::changed
4621 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4622 with strange parameters)
4624 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4626 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4628 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4629 the WINDOW_TYPE property.
4631 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4633 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4636 Fix dependency to allow parallel compilation with make -jX
4638 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4640 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4641 color frame and some minor tweaks to make it more consistent with
4644 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4645 highlighted but not visible)
4647 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4649 * examples/Makefile.am: Fixed typo in the Makefile.am.
4651 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4653 Reviewed the use of MAEMO_GTK define, now we add the define in the
4654 compilation line, and we also add it to the pc file.
4656 * configure.ac: Added MAEMO_GTK define to the compilation command
4657 and removed it from the config.h.
4659 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4660 do not have to take care about this define if the library was
4664 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4666 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4668 * examples/Makefile.am,
4669 * examples/hildon-pannable-area-buttons-scroll-example.c,
4670 * examples/hildon-pannable-area-gesture-signals-example.c,
4671 * examples/hildon-pannable-area-scroll-jump-example.c,
4672 * examples/hildon-pannable-area-tree-view-example.c:
4673 Renamed the pannable area examples, now they have more meaningful
4676 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4678 * src/hildon-touch-selector.c:
4679 (hildon_touch_selector_set_column_selection_mode): Used of
4680 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4681 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4682 to avoid re-seting the same selection mode.
4684 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4685 breaks HildonPickerDialog)
4687 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4689 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4690 conditional in the Makefile.am
4692 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4694 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4695 Remove unused methods.
4697 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4699 * src/hildon-button.c (hildon_button_init):
4700 Make button images center-aligned by default
4702 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4705 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4706 activated, we have to think about how to deal with both defines
4707 MAEMO_GTK and MAEMO_CHANGES.
4709 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4711 * examples/hildon-app-menu-example.c (create_menu): Make all
4712 buttons finger size.
4714 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4716 Fixed the compilation without maemo gtk adding ifdefs with
4717 MAEMO_GTK define to the code, we have to check this version more
4720 * examples/Makefile.am: Added control to avoid some examples that
4721 just make sense with maemo gtk.
4724 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4725 hildon modes with the define.
4727 * examples/hildon-edit-toolbar-example.c,
4728 (create_icon_view): Create the icon view without hildon-gtk
4729 helpers if we are not using maemo gtk.
4731 * src/hildon-touch-selector.c,
4732 (_create_new_column): Create the treeview without hildon-gtk
4733 helpers if we are not using maemo gtk.
4735 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4737 * src/hildon-pnnable-area.c,
4738 (hildon_pannable_area_dispose),
4739 (hildon_pannable_area_button_press_cb),
4740 (hildon_pannable_area_child_mapped),
4741 (hildon_pannable_area_add),
4742 (hildon_pannable_area_remove): Added code to control the position
4743 of the event_window when adding and removing children from the
4744 pannable. We have to raise the event window when the child is
4747 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4748 selection mode using custom widget inside pannable)
4750 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4752 * configure.ac: post release version bump
4753 * debian/changelog: version bump
4755 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4760 * configure.ac: bump version
4761 * debian/changelog: updates
4763 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4765 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4766 search mode, in order to avoid lose the focus on the treeview when
4767 a hw key (like enter) is pressed.
4769 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4770 in HildonDateSelector dialog)
4772 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4774 * debian/rules: Added --enable-maintainer-mode
4775 * Makefile.am: Added ACLOCAL_AMFLAGS
4777 This allows to properly regenerate the Makefiles if you modify the
4778 configure.ac or any Makefile.am.
4780 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4782 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4783 properties, not needed at all.
4785 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4787 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4789 * src/hildon-note.c: (hildon_note_set_property),
4790 (hildon_note_get_property), (hildon_note_class_init),
4791 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4792 (hildon_note_new_confirmation_add_buttons): Remove icons.
4793 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4794 (hildon_note_new_information_with_icon_name): Deprecate.
4795 (hildon_note_new_confirmation): Act directly, without calling
4796 the deprecated constructor.
4797 (hildon_note_new_information): Act directly, without calling
4798 the deprecated constructor.
4799 * src/hildon-note.h: Mark deprecate methods as such.
4800 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4801 not run tests on the deprecated methods if built with deprecation
4804 Fixes: NB#91688 (Never show icons in information notes/confirmation
4807 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4809 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4810 (hildon_app_menu_key_press): Remove leftover usage of the
4811 private structure in HildonAppMenu struct.
4812 * src/hildon-app-menu.h: Remove leftover private structure
4813 from the HildonAppMenu struct.
4815 Fixes a crasher when using the HildonAppMenu.
4817 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4819 * src/hildon-picker-dialog.c: Use appropriate logical id
4820 for the default "Done" text.
4822 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4824 * configure.ac: post release version bump
4825 * debian/changelog: version bump
4827 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4829 Modified the way to scroll to the current selection just when the touch
4830 selector is shown on the screen, avoiding a g_idle. Added too a property
4831 to configure this behaviour. See hildon_pannable_area_jump_to_child
4832 documentation for more information.
4834 * src/hildon-touch-selector.c
4835 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4836 Added 'initial-scroll' property
4837 (hildon_touch_selector_set_property): Added
4838 (hildon_touch_selector_map): Removed as not required anymore
4839 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4840 only a concrete column, instead of iterate along all the columns
4842 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4847 * configure.ac: bump version
4848 * debian/changelog: updates
4850 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4852 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4853 compilation time warnings.
4855 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4857 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4858 the default value for HildonPannableArea::mov-mode to
4859 HILDON_PANNABLE_AREA_MODE_VERT.
4861 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4863 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4865 Reverting following commit:
4867 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4869 * src/hildon-app-menu-private.h
4870 * src/hildon-app-menu.[ch]
4871 * src/hildon-button.[ch]
4872 * src/hildon-check-button.[ch]
4873 * src/hildon-entry.[ch]
4874 * src/hildon-pannable-area.[ch]
4875 * src/hildon-text-view.[ch]:
4876 Added private field to the object's structure.
4878 because it causes an ABI breakage. We will need to introduce these
4879 changes later at some point. See NB#91636 for an extensive
4880 explanation and status.
4882 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4884 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4886 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4887 remove special cases that are no longer necessary.
4889 Fixes: NB#91016 (Change toolbar sizes, simplification)
4891 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4893 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4894 is shown in the cancel note.
4896 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4898 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4899 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4900 (hildon_seekbar_init): Remove steppers, remove expose event.
4901 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4903 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4905 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4907 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4908 label font to "SmallSystemFont" for vertically arranged buttons.
4910 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4913 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4915 * src/hildon-check-button.c
4916 (hildon_check_button_set_active, hildon_check_button_clicked):
4917 Don't access private parts directly, use getters instead.
4919 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4921 * src/hildon-check-button.c (hildon_check_button_new):
4922 Align the contents of the check button to the left.
4924 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4926 * src/hildon-pannable-area.c,
4927 (hildon_pannable_area_scroll_to),
4928 (hildon_pannable_area_jump_to),
4929 (hildon_pannable_area_scroll_to_child),
4930 (hildon_pannable_area_jump_to_child): Replace the mapped
4931 precondition of these functions with the realized, it is the
4932 correct state of the widget in this case. Changed the
4933 documentation according to this modification.
4935 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4937 Added a new EXTRA_CFLAGS option to add the deprecated define to
4938 the compilation command. This way we can avoid using the define in
4939 the documentation compilation.
4941 * configure.ac: Defined EXTRA_CFLAGS.
4943 * examples/Makefile.am:
4945 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4947 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4949 * src/hildon-picker-dialog.c:
4950 Defined a utility macro with the desired touch selector height
4951 Removed currently unused separator, and title_label variables from
4953 (hildon_picker_dialog_init): Removed code related to the creation
4954 of unused private variables title_label and separator.
4955 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4956 to ensure correct visualization of the touch selector inside the dialog.
4957 * src/hildon-touch-selector.c
4958 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4959 ensure a concrete height of the widget.
4961 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4964 * tests/Makefile.am:
4966 Remove spurious whitespaces.
4968 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4970 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4971 compilation warning after the cancel button removal.
4973 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4975 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4977 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4978 Makefile.am, that way we can choose not to compile some examples
4979 and tests of the deprecated widgets.
4981 * examples/Makefile.am: Divided the sources in deprecated and
4984 * src/Makefile.am: Added undef statement of the deprecated
4985 symbol to the enums file generation process.
4987 * src/hildon-color-chooser-dialog.c
4988 * src/hildon-color-chooser-dialog.h
4989 * src/hildon-color-button.c
4990 * src/hildon-color-button.h
4991 * src/hildon-color-chooser.c
4992 * src/hildon-color-chooser.h
4993 * src/hildon-controlbar.c
4994 * src/hildon-controlbar.h
4995 * src/hildon-date-editor.c
4996 * src/hildon-date-editor.h
4997 * src/hildon-hvolumebar.c
4998 * src/hildon-hvolumebar.h
4999 * src/hildon-private.c
5000 * src/hildon-private.h
5001 * src/hildon-range-editor.c
5002 * src/hildon-range-editor.h
5003 * src/hildon-seekbar.c
5004 * src/hildon-seekbar.h
5005 * src/hildon-time-editor.c
5006 * src/hildon-time-editor.h
5007 * src/hildon-time-picker.c
5008 * src/hildon-time-picker.h
5009 * src/hildon-volumebar.c
5010 * src/hildon-volumebar.h
5011 * src/hildon-vvolumebar.c
5012 * src/hildon-vvolumebar.h
5013 * src/hildon-bread-crumb-trail.h
5014 * src/hildon-bread-crumb-trail.c
5015 * src/hildon-calendar-popup.c
5016 * src/hildon-calendar-popup.h
5017 * src/hildon-weekday-picker.c:
5018 * src/hildon-weekday-picker.h:
5019 * src/hildon-bread-crumb-widget.c:
5020 * src/hildon-bread-crumb-widget.h:
5021 * src/hildon-bread-crumb.c:
5022 * src/hildon-bread-crumb.h:
5023 * src/hildon-calendar.c:
5024 * src/hildon-calendar.h:
5025 * src/hildon-caption.c:
5026 * src/hildon-code-dialog.c:
5027 * src/hildon-code-dialog.h:
5028 * src/hildon-font-selection-dialog.c:
5029 * src/hildon-font-selection-dialog.h:
5030 * src/hildon-get-password-dialog.c:
5031 * src/hildon-get-password-dialog.h:
5032 * src/hildon-login-dialog.c:
5033 * src/hildon-login-dialog.h:
5034 * src/hildon-number-editor.c:
5035 * src/hildon-number-editor.h:
5036 * src/hildon-set-password-dialog.c:
5037 * src/hildon-set-password-dialog.h:
5038 * src/hildon-sort-dialog.c:
5039 * src/hildon-sort-dialog.h: This is the list of deprecated
5042 * src/hildon-touch-selector.c:
5043 * src/hildon-window.c: Added undef statement to avoid compilation
5046 * tests/Makefile.am: Divided the sources in deprecated and
5049 * tests/check_test.c,
5050 (configure_tests): Marked the deprecated code that was adding
5051 suites with deprecated tests.
5053 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5055 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-touch-selector.c: (_default_print_func): Do not
5058 duplicate a string returned by gtk_tree_model_get(), it is already
5061 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5064 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5066 * src/hildon-pannable-area.c
5067 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5068 method, it had problems when adding a widget with viewport the
5069 second time. Now checks if it already has a viewport and uses it.
5071 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5074 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5076 * src/hildon-pannable-area.c,
5077 (hildon_pannable_area_scroll_to),
5078 (hildon_pannable_area_jump_to),
5079 (hildon_pannable_area_scroll_to_child),
5080 (hildon_pannable_area_jump_to_child): Added a precondition to the
5081 scroll and jump to functions: the widget must be mapped before we
5082 can safely call these functions. We have also added documentation
5083 to the functions to explain how to use them in this situation.
5086 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5088 Reviewed the threading handling of the pannable widget, we have
5089 used the gdk_threads_add_timeout function instead of the usual
5090 glib handlers. This avoids some problems with the threads.
5092 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5093 (hildon_pannable_area_initial_effect),
5094 (hildon_pannable_area_scroll_indicator_fade),
5095 (hildon_pannable_area_button_press_cb),
5096 (hildon_pannable_area_timeout),
5097 (hildon_pannable_area_motion_notify_cb),
5098 (hildon_pannable_area_button_release_cb),
5099 (hildon_pannable_area_scroll_cb),
5100 (hildon_pannable_area_scroll_to): Removed the
5101 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5102 gdk_threads_add_timeout.
5104 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5106 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5111 * configure.ac: bump version
5112 * debian/changelog: updates
5114 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5116 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5117 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5118 * src/hildon-color-chooser-dialog.c:
5119 (hildon_color_chooser_dialog_init):
5120 * src/hildon-font-selection-dialog.c:
5121 (hildon_font_selection_dialog_init):
5122 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5124 Remove all cancel/close-like dialogs, as these are not going to be
5127 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5129 * src/hildon-note.c: (hildon_note_rebuild),
5130 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5133 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5135 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5138 sure all buttons are shown, even the Cancel/Close-like ones.
5140 Fixes: NB#90861 (Custom Confirmation dialogs should be
5141 protected from cancel button removal)
5143 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5145 * debian/control: Change libhildon1-examples dependency from libhildon1
5147 * debian/libhildon1-examples.install
5149 * Makefile.am: Modified the final install directory for the examples on
5150 package libhildon1-examples
5151 * Makefile.static: Update clean target in order to remove all the binary
5154 Changes suggested by Claudio after review new libhildon1-examples package
5156 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5158 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5159 * src/hildon-touch-selector.c: Ditto.
5161 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5163 * debian/control: Added new package libhildon1-examples, in order to pack
5164 the current hildon examples as documentation
5165 * debian/rules: Not to compress .c files, modify some includes on the
5166 examples (as normally are compiled locally, but when installed it will
5167 require to include the installed libhildon1 library), and rename
5169 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5170 install all the example files on the new example package
5171 * examples/Makefile.static: Added static makefile that can be used to
5172 compile the examples, once installed the new example package
5173 * examples: Most of the examples were modified in order to grant that
5174 all use only '#include "hildon.h"', in order to be easy to prepare
5175 it on the example package
5177 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5180 * debian/libhildon1-dev.install
5181 * debian/libhildon1-doc.install:
5182 Move all gtk-doc files to a separate libhildon1-doc package.
5184 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5186 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5188 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5190 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5192 * debian/rules: Fixed a error in order to avoid unnecessary calls
5193 to autogen.sh on package building
5195 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5197 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5199 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5201 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5204 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-picker-button.c
5207 (hildon_picker_button_finalize):
5208 Free priv->done_button_text
5210 * src/hildon-time-button.c
5211 (hildon_time_button_set_time)
5212 * src/hildon-picker-button.c
5213 (hildon_picker_button_clicked)
5214 (hildon_picker_button_selector_selection_changed)
5215 (hildon_picker_button_set_selector)
5216 * src/hildon-date-button.c
5217 (hildon_date_button_set_date):
5218 Free strings returned by hildon_touch_selector_get_current_text()
5220 * src/hildon-button.c (hildon_button_construct_child):
5221 Fix leaks in priv->image and priv->label_box
5223 Fixes: NB#90535 (Memory leak in picker button)
5225 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5227 * src/hildon-button.c: (hildon_button_get_property): Do not access
5228 private elements directly, use getters instead.
5230 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5232 * src/hildon-app-menu-private.h
5233 * src/hildon-app-menu.c
5234 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5235 Store the menu's parent window.
5237 * src/hildon-stackable-window.c
5238 (hildon_stackable_window_toggle_menu)
5239 (hildon_stackable_window_finalize):
5240 Set the menu's parent window when the menu is shown, unset it when
5243 * src/hildon-app-menu.c
5244 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5245 (hildon_app_menu_class_init):
5246 Send unhandled keyboard accelerators to the parent window.
5248 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5250 * src/hildon-stackable-window.c
5251 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5253 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5255 * configure.ac: post release version bump
5257 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5260 * configure.ac: Bump version
5261 * debian/changelog: Updates
5262 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5265 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5267 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5270 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5271 GtkMenu with Hildon style.
5273 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5275 * src/hildon-picker-button.c:
5276 (hildon_picker_button_set_done_button_text): Set the dialog's
5277 done button text here as well.
5279 Fixes: NB#90232 (Picker button does not set the label on done button
5280 for the second time)
5282 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5284 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5287 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5289 * src/hildon-app-menu.c (hildon_app_menu_insert)
5290 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5291 the HildonAppMenu to be activatable using keyboard accelerators
5292 when the menu is not being shown.
5294 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5296 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5298 * src/hildon-stackable-window.c
5299 (hildon_stackable_window_show):
5300 Don't hide old windows automatically when new windows are shown:
5301 this is now a task for the window manager.
5302 (hildon_stackable_window_class_init)
5303 (hildon_stackable_window_hide):
5304 Remove windows from the stack everytime they're hidden.
5305 (hildon_stackable_window_realize):
5306 Don't change the _NET_WM_WINDOW_TYPE property. Use
5307 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5308 it as a stackable window.
5310 * src/hildon-program.c
5311 (hildon_program_pop_window_stack):
5312 Just hide the window to remove it from the stack.
5313 (hildon_program_go_to_root_window):
5314 Don't call gtk_widget_show(), this is now a task for the window
5317 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5319 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5321 * src/hildon-button.c
5322 (hildon_button_construct_child):
5323 Don't pack anything in the button until text or image are
5324 set. This allows adding a custom child after creating the button
5325 with hildon_button_new().
5326 (hildon_button_finalize, hildon_button_class_init)
5327 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5328 alignment and the label box even when they're not packed in the
5331 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5333 * src/hildon-touch-selector.h:
5334 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5335 currently the type definition was using GTK_TYPE_VBOX
5336 * src/hildon-touch-selector.c:
5337 Added some implementation notes in order to clarify that any other widget
5338 added without the column related API will not be included on the
5339 selection logic, and how the widget is freed, as some people ask about
5341 (hildon_touch_selector_remove): Reimplemented in order to free properly
5342 the column related data when you remove the private hbox.
5343 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5344 to get a proper HildonTouchSelectorColumn documentation
5346 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5348 * src/hildon-touch-selector-entry.c:
5349 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5350 text in the GtkEntry and there is no item selected. Fixes a
5353 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-app-menu-private.h
5356 * src/hildon-app-menu.[ch]
5357 * src/hildon-button.[ch]
5358 * src/hildon-check-button.[ch]
5359 * src/hildon-entry.[ch]
5360 * src/hildon-pannable-area.[ch]
5361 * src/hildon-text-view.[ch]:
5362 Added private field to the object's structure.
5364 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5366 * configure.ac: post-release version bump
5368 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5372 * configure.ac: pre-release version bump
5374 * debian/changelog: updates.
5376 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5378 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5379 Disconnect the handler for HildonTouchSelector::changed.
5381 (hildon_picker_button_selector_selection_changed): Update the button
5382 value if the selection change was not triggered by the
5385 (hildon_picker_button_set_selector): connect to
5386 HildonTouchSelector::changed.
5388 Fixes: NB#89650 (Picker button is not updated, when selection in
5389 selector has changed)
5391 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5393 * src/hildon-picker-dialog.c
5394 (hildon_picker_dialog_realize): Removed as not required
5395 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5396 * src/hildon-picker-button.c
5397 (_current_selector_empty): New function, checks if the selector is empty
5398 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5399 if the current selector is empty, in order to avoid to show the dialog
5400 close the dialog in this case (and shows a g_warning).
5402 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5404 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5406 * src/hildon-pannable-area.c,
5407 (hildon_pannable_area_scroll): Added clause to stop movement when
5408 the child of pannable is smaller than one page.
5409 (hildon_pannable_area_scroll_to): Added conditions to avoid
5410 starting the scrolling movement if the child is smaller than one
5411 page, the complete child is in the screen, we do not have to move.
5413 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5415 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5417 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5418 this is managed automatically by the widget when the size of the
5421 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5423 * src/hildon-picker-button.c
5424 (hildon_picker_button_set_done_button_text): Make a copy of the
5425 text, and free the previous value.
5427 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5429 * src/hildon-touch-selector-entry.c:
5430 (hildon_touch_selector_entry_print_func): Return the selected row's
5431 text if the entry is empty.
5433 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5436 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5438 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5440 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5443 * src/hildon-check-button.h
5444 * src/hildon-check-button.c
5445 * examples/hildon-check-button-example.c:
5446 HildonCheckButton is now a new widget. 'toggled' signal added.
5448 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5450 * src/hildon-program-private.h
5451 * src/hildon-program.c (hildon_program_init)
5452 (hildon_program_finalize): Removed unused variables group_leader
5453 and name from HildonProgramPrivate.
5455 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5457 * src/hildon-check-button.c (hildon_check_button_set_active)
5458 (hildon_check_button_get_active, hildon_check_button_new): Use
5459 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5461 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5463 * src/hildon-touch-selector.h
5464 (hildon_touch_selector_set_column_attributes): added deprecation
5465 guard HILDON_DISABLE_DEPRECATED
5466 * src/hildon-time-selector.c
5467 (hildon_time_selector_set_time)
5468 (hildon_time_selector_get_time): Fixed a typo on documentation
5469 * src/hildon-touch-selector.c: update HildonTouchSelector and
5470 HildonTouchSelectorColumn documentation
5471 * src/hildon-touch-selector-entry.c: update "text-column" property
5473 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5474 to be added to the general documentation.
5476 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5478 * examples/hildon-pannable-area-example-4.c,
5480 * examples/hildon-pannable-area-example.c,
5481 (main): Modified the code in order to use the container add, with
5482 viewport treeviews could have problems if they are really big.
5484 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5486 * src/hildon-weekday-picker.c,
5487 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5488 the agreement regarding deprecation in the library.
5490 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5492 * examples/hildon-picker-button-multicolumn-example.c:
5493 (main): Use custom "done" button text.
5495 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5496 (hildon_picker_button_set_property),
5497 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5498 (hildon_picker_button_init),
5499 (+hildon_picker_button_get_done_button_text),
5500 (+hildon_picker_button_set_done_button_text): New methods to customize
5501 the "done" button label in the launched HildonPickerDialog. Also,
5504 * src/hildon-picker-button.h: add the public API.
5506 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5508 * src/hildon-date-selector.h:
5509 * src/hildon-picker-dialog.h:
5510 * src/hildon-time-selector.h:
5511 * src/hildon-touch-selector-column.h:
5512 * src/hildon-touch-selector.h:
5514 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5515 declarations. Fixes gtk-doc warnings.
5517 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5519 * src/hildon-picker-dialog.h
5520 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5521 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5523 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5524 long text is set as label for done button)
5526 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5528 * src/hildon-dialog.c (hildon_dialog_add_button):
5529 Set fixed width to all buttons in the HildonDialog.
5531 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5533 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5535 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5536 Set widget name using class name plus "-finger" or "-thumb".
5538 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5540 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5541 'clicked' when the state of the button is manually changed.
5543 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-app-menu.c (hildon_app_menu_realize)
5546 (hildon_app_menu_unrealize, hildon_app_menu_init)
5547 (hildon_app_menu_class_init, item_visibility_changed):
5548 Change the menu layout when the size of the screen changes.
5549 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5550 Show warning only when changing the number of colums using the
5553 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5555 * debian/compat: Set to 5
5556 * debian/control: Update dependencies.
5557 * debian/libhildon1-dbg.install: Remove.
5558 * debian/libhildon1-dev.install: Update according to cdbs paths.
5559 * debian/libhildon1.install: Update according to cdbs paths.
5560 * debian/rules: Switch to cdbs.
5562 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5564 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5565 'item' variable renamed to 'filter'
5567 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5569 * src/hildon-app-menu.c (hildon_app_menu_insert)
5570 (hildon_app_menu_add_filter, remove_item_from_list)
5571 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5572 Don't leak hidden items when the menu is destroyed.
5574 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5576 * src/hildon-app-menu.c (hildon_app_menu_insert)
5577 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5578 (hildon_app_menu_set_columns, item_visibility_changed)
5579 (filter_visibility_changed, hildon_app_menu_repack_filters)
5580 (hildon_app_menu_repack_items):
5581 Repack items and filters separately.
5583 Don't repack all items, change only the ones that are needed to
5586 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5588 * src/Makefile.am: added hildon-touch-selector-column.h
5590 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5592 * src/hildon-touch-selector.c: added the property "text-column" to the
5593 class HildonTouchSelectorColumn, and related get/set functions
5594 (_default_printf_func): updated to use "text-column" property
5595 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5596 "text-column" in his documentation, as this is now included on
5597 HildonTouchSelectorColumn. The get/set_property can still be used,
5598 working as a wrapper to the concrete column "text-column" property
5599 (_text_column_modified): callback added in order to handle the signal
5600 "notify::text-column" of the concrete HildonTouchSelectorColumn
5601 (hildon_touch_selector_entry_get_text_column)
5602 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5603 modified in order to use the HildonTouchSelectorColumn "text-column"
5605 * src/hildon-time-selector.c:
5606 * src/hildon-date-selector.c:
5607 * examples/hildon-touch-selector-example.c
5608 * examples/hildon-touch-selector-multi-cells-example.c
5609 * examples/hildon-picker-button-multicolumn-example.c
5610 Set the right value to "text-column" property on the creation of a new
5611 column using hildon_touch_selector_append_column()
5613 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5615 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5617 * src/hildon-app-menu.c
5618 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5619 updating the layout of the menu, don't create all widgets again,
5620 just repack the items in their new places.
5622 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5624 * src/hildon-time-selector.c
5625 (hildon_time_selector_get_time)
5626 (hildon_time_selector_set_time)
5627 Added documentation of these public methods
5629 * src/hildon-date-button.h
5630 * src/hildon-touch-selector-column.h
5631 * src/hildon-time-button.h
5632 * src/hildon-picker-dialog.h
5633 * src/hildon-time-selector.h
5634 * src/hildon-picker-button.h
5635 * src/hildon-touch-selector.h
5636 * src/hildon-time-picker.h
5637 * src/hildon-date-selector.h
5638 * src/hildon-touch-selector-entry.h
5639 Modified in order to use hildon-widgets code style
5641 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5643 Added deprecated support to the compilation process using
5644 HILDON_DISABLE_DEPRECATED
5646 * configure.ac: Added the --disable-deprecated to the configure
5649 * src/hildon-weekday-picker.c:
5650 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5651 to use the deprecated support. We will update the other deprecated
5652 widgets status in a new patch.
5654 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5656 * configure.ac: Fixed typo with fatal warnings support, the
5657 variable name was not correct
5659 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5661 * src/hildon-app-menu.c
5662 * src/hildon-program.c: Update documentation.
5664 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5666 * configure.ac: Post-release version bump.
5668 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5673 * configure.ac: Pre-release version bump.
5674 * debian/changelog: Updates.
5676 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5678 * NEWS: Update news for previous releases.
5680 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5682 * examples/hildon-touch-selector-multi-cells-example.c:
5683 (create_selector): Update the example to use
5684 hildon_touch_selector_append_column() with a NULL renderer and set
5685 the renderers later.
5686 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5687 passed a NULL renderer. This is documented behavior now.
5689 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5690 This must be used if the developer wants full control on the layout of
5691 the renderers to be added to the column.
5693 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5695 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5697 * src/hildon-touch-selector.c: Documentation fixes.
5699 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5701 * src/hildon-wizard-dialog-private.h: Remove image and box.
5702 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5703 (hildon_wizard_dialog_set_property), (response): Completely remove
5704 image/icon support, and the containers required for the layout.
5706 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5708 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5710 * src/hildon-app-menu.c: Updated documentation.
5712 * src/hildon-stackable-window.c
5713 (hildon_stackable_window_set_main_menu): Unref the old menu after
5714 ref'ing the new one.
5716 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5718 * src/hildon-stackable-window.c
5719 (hildon_stackable_window_set_main_menu): Unref the previous menu
5720 instead of destroying it.
5722 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5723 floating reference and set has_user_ref_count to FALSE to make
5724 HildonAppMenu act like a normal ref-counted widget and not a
5727 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5730 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5732 * src/hildon-touch-selector-column.h: new file
5733 * src/hildon-touch-selector.h
5734 * src/hildon-touch-selector.c
5735 Implemented GtkCellLayout interface, in order to allow to configure
5736 the cell layout on each individual selector column
5737 (hildon_touch_selector_set_column_attributes): marked as deprecated
5738 * examples/hildon-touch-selector-multi-cells-example.c
5739 Example of how to use the GtkCellLayout interface on the selector
5741 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5743 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5745 * src/hildon-app-menu.h
5746 * src/hildon-app-menu.c
5747 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5748 (hildon_app_menu_append, hildon_app_menu_prepend):
5749 New methods to prepend, insert and move items in the menu.
5751 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5753 * src/hildon-wizard-dialog.c:
5755 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5757 (create_title): Update logical IDs and related code.
5758 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5760 * src/hildon-wizard-dialog.h: Note that
5761 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5762 point, as it is not used anymore.
5764 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5766 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5768 * src/hildon-note.c:
5769 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5770 shown. Do not display an icon in confirmation notes nor information
5772 (hildon_note_set_button_text): Update logical ID for cancel button.
5774 Fixes: NB#88850 (Update HildonNote button strings + signals)
5776 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5778 * src/hildon-stackable-window.c
5779 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5781 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5783 * src/hildon-app-menu-private.h
5784 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5785 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5786 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5787 temporary property 'columns' to change the number of columns.
5789 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5791 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5793 * examples/hildon-note-example.c: (on_information_clicked),
5794 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5795 debugging information.
5796 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5798 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5799 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5800 in order to close: this will be handled by the WM from now on.
5802 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5804 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5806 * src/hildon-app-menu-private.h
5807 * src/hildon-app-menu.c
5808 (hildon_app_menu_append, hildon_app_menu_add_filter)
5809 (button_visibility_changed, hildon_app_menu_apply_style)
5810 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5811 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5812 layout everytime a button (item or filter) is shown or hidden.
5814 * src/hildon-stackable-window.c
5815 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5818 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5820 * src/hildon-touch-selector.c:
5821 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5822 that the treeview inside the touch selector is in fremantle hildon mode
5823 * examples/hildon-date-button-example.c
5824 * examples/hildon-picker-button-multicolumn-example.c
5825 * examples/hildon-touch-selector-entry-example.c
5826 * examples/hildon-touch-selector-example.c
5827 * examples/hildon-time-button-example.c
5828 * examples/hildon-picker-button-example.c:
5829 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5831 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5833 * examples/hildon-text-view-example.c: (main): Remove the
5834 gtkrc bits, now handled by the theme.
5836 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5838 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5841 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5843 * po/Makefile.am: Install properly the mo files.
5844 * po/en_GB.po: Update translation, to ease testing purposes.
5846 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5848 * examples/hildon-picker-button-example.c: (main): Select an item
5849 in the selector before setting it to the button.
5851 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5853 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5854 Update button's value if the selector has an item active.
5856 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5857 'value' with the selector)
5859 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5861 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5862 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5863 (hildon_picker_button_class_init): Plug the finalize method.
5864 (hildon_picker_button_set_selector): If there's a previously set
5865 selector, unref'it before setting a new one.
5867 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5868 HildonTouchSelector)
5870 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5872 * src/hildon-touch-selector-entry.c:
5873 (hildon_touch_selector_entry_changed): Check if there is no text
5874 selected before setting the entry text.
5877 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-touch-selector.h
5880 * src/hildon-touch-selector.c
5881 (hildon_touch_selector_get_active)
5882 (hildon_touch_selector_set_active): New methods to set/get the
5883 index of the selected item.
5885 * src/hildon-picker-button.h
5886 * src/hildon-picker-button.c
5887 (hildon_picker_button_get_active)
5888 (hildon_picker_button_set_active): New methods to set/get the
5889 index of the selected item.
5891 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5893 * configure.ac: post-release version bump.
5895 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5899 * configure.ac: Pre-release version bump.
5900 * debian/changelog: Updates.
5901 * debian/control: Add myself as maintainer and depend on l10n
5904 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5906 * src/hildon-window.c
5907 (hildon_window_set_main_menu)
5908 * src/hildon-stackable-window.c
5909 (hildon_stackable_window_set_main_menu):
5910 Updated documentation.
5912 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5914 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5915 Don't free selector->priv manually.
5918 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5921 (hildon_gtk_window_set_progress_indicator):
5922 * src/hildon-gtk.h: Added the new API
5923 hildon_gtk_window_set_progress_indicator, it changes the state of
5924 the window progress hint.
5926 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5928 * src/hildon-button.c
5929 * src/hildon-stackable-window.c: Minor documentation updates.
5931 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5933 * src/hildon-stackable-window.c: Updated documentation.
5935 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5937 * src/hildon-defines.h: Update margins definitions
5938 to the Fremantle sizes.
5941 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5943 * src/hildon-touch-selector.c,
5944 (_hildon_touch_selector_set_model): Cleaning the code after
5945 review, removed g_print and #if 0 from the code.
5947 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5949 * src/hildon-edit-toolbar.c: Update documentation.
5951 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5953 * src/hildon-check-button.h
5954 * src/hildon-check-button.c
5955 (hildon_check_button_set_label, hildon_check_button_get_label)
5956 * examples/hildon-check-button-example.c
5957 (button_clicked_cb):
5958 Removed deprecated methods.
5960 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5962 * src/hildon-text-view.c:
5963 Add sample code to the documentation.
5965 * src/hildon-entry.h
5966 * src/hildon-text-view.h:
5967 Minor cosmetic changes.
5969 * src/hildon-entry.c:
5970 Add sample code to the documentation.
5971 (hildon_entry_init, hildon_entry_refresh_contents):
5972 Don't allow NULL values in the placeholder.
5974 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5976 * doc/hildon-docs.sgml
5978 * examples/Makefile.am
5979 * examples/hildon-text-view-example.c
5981 * src/hildon-text-view.c
5982 * src/hildon-text-view.h
5984 New HildonTextView widget, with example.
5986 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5988 * po/POTFILES.in: Add missing files with translatable strings.
5989 Partially fixes NB#88287.
5991 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5993 * examples/hildon-pannable-area-example-2.c: (main): No need to
5994 set the cellrenderer height inside hildon touch lists, the theme does
5997 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5999 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6000 they are integrated in the theme.
6002 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6004 * examples/hildon-entry-example.c: Update the example adding
6005 widgets to modify the text and the placeholder of the HildonEntry.
6007 * src/hildon-entry.c: Show the placeholder everytime the widget
6008 is empty and loses the focus.
6010 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6012 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6014 * src/hildon-pannable-area.c,
6015 (hildon_pannable_area_size_request): Fixed bug in height
6016 requisition, avoid increasing size and add border twice.
6018 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6020 * configure.ac: postrelease version bump.
6022 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6026 * configure.ac: Prerelease version bump.
6027 * debian/changelog: update.
6028 * debian/rules: make -dbg package contain useful debugging symbols.
6030 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6032 * src/hildon-dialog.h
6033 * src/hildon-dialog.c
6034 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6035 New methods to add buttons with finger size.
6036 (hildon_dialog_new_with_buttons):
6037 Create buttons with finger size.
6039 * examples/hildon-dialog-example.c (main): Use HildonDialog
6040 methods to add buttons.
6042 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6044 * src/hildon-entry.c: Updated HildonButton documentation.
6046 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6048 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6049 button value label with (FALSE, FALSE) to prevent NB#88126 from
6052 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6054 * examples/hildon-pannable-area-example.c,
6055 (main): Removed examples panning a vbox inside a pannable
6056 area. Check bug NB#87965
6058 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6060 Patch contributed by Kris Rietveld (kris@imendio.com)
6062 * src/hildon-pannable-area.c,
6063 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6064 get_size and get_position, this saves an X server roundtrip.
6066 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6068 * doc/hildon-docs.sgml
6070 * examples/Makefile.am
6071 * examples/hildon-entry-example.c
6073 * src/hildon-entry.c
6074 * src/hildon-entry.h
6076 New HildonEntry widget, with example.
6078 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6080 * src/hildon-button.c (hildon_button_construct_child): Pack the
6081 image with expand == fill == FALSE. This is a workaround for a bug
6084 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6086 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6087 labels for the text column, to make it more look more dynamic.
6089 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6091 * src/hildon-time-selector.c
6092 Define gettext auxiliar macro N_
6093 (_create_minutes_model)
6094 (_create_hours_model)
6095 (_create_ampm_model): use of strftime in order to fill the model
6096 * src/hildon-date-selector.c
6097 (hildon_date_selector_finalize):
6098 (_locales_init): remove the logic related to get the name of the months
6099 using nl_langinfo, as it is not required anymore
6101 (_create_year_model)
6102 (_create_month_model)
6103 (_update_day_model): use of strftime in order to fill the model properly
6106 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6108 * src/hildon-button.h
6109 * src/hildon-button.c (hildon_button_get_image): New method to
6112 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6114 * src/hildon-touch-selector.c:
6115 (hildon_touch_selector_remove_column): Remove from the correct parent
6116 and also remove the list element and free it.
6119 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6121 * src/hildon-time-selector.c
6122 (_create_hours_model): change the range on 12h ampm format in order to use
6123 a 12-11 range instead of previous 01-12 range
6124 (hildon_time_selector_set_time): change the way to select the current time
6125 on 12h ampm format, due the change on the range
6126 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6129 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6131 * src/hildon-touch-selector.c
6132 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6133 in order to allow use this function on multiple row selection mode if
6134 the column is different that the first one
6137 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6139 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6140 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6142 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6144 * src/hildon-date-selector.h: clean some comments, now on the .c
6145 * src/hildon-date-selector.c
6146 (hildon_date_selector_select_month): first implementation
6147 (hildon_date_selector_select_day): added documentation, reimplemented
6148 using hildon_date_selector_select_current_date to avoid repeat code
6151 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6153 Reviewed interaction logic based on device experiences, refactored
6156 * src/hildon-pannable-area.c,
6157 (hildon_pannable_area_class_init): Updated default vmax speed.
6158 (hildon_pannable_area_calculate_velocity): Added this function, it
6159 avoids duplicate valocity calculation. Adjusted calculation to
6160 avoid problems with zero dist events.
6162 (hildon_pannable_area_motion_notify_cb): Now we use the
6163 calculate_velocity function.
6165 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6167 * src/hildon-date-selector.c
6168 (hildon_date_selector_select_current_date): fix the day range check
6169 as it failed using the last day of the current month
6172 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6174 * src/hildon-touch-selector.c
6175 (hildon_touch_selector_get_num_columns): added a parameter validation
6178 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6180 * examples/Makefile.am
6181 * examples/hildon-edit-toolbar-example.c: Example of the
6182 HildonEditToolbar widget.
6184 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6186 * configure.ac: postrelease version bump.
6188 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6192 * configure.ac: prerelease version bump.
6193 * debian/changelog: update.
6195 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6197 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6198 renderer to display stock icons in the touch list. Also, set the sizes
6199 to the recommended in the style guide.
6201 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6202 * src/hildon-touch-selector.h
6203 (hildon_touch_selector_set_active_iter): renamed, now is
6204 hildon_touch_selector_select_iter
6205 (hildon_touch_selector_get_active_iter): renamed, now is
6206 hildon_touch_selector_get_selected
6207 (hildon_touch_selector_unselect_iter): added
6208 * src/hildon-touch-selector.c
6209 Update after API modification (methods renamed)
6210 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6211 order to avoid problems selecting multiple elements on the column
6212 (hildon_touch_selector_unselect_iter): added the implementation
6213 * src/hildon-time-selector.c
6214 * src/hildon-date-selector.c
6215 * src/hildon-touch-selector-entry.c
6216 Update methods calls after hildon-touch-selector.h API modification (methods
6219 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6221 * src/hildon-stackable-window.c
6222 (hildon_stackable_window_finalize): Call the parent class's finalize.
6224 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6226 * examples/hildon-touch-selector-example.c: (create_selector): Use
6227 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6230 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6232 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6233 set a cell background color, to respect theming.
6235 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6237 * doc/hildon-docs.sgml
6240 * src/hildon-edit-toolbar.c
6241 * src/hildon-edit-toolbar.h
6242 * src/hildon.h: New HildonEditToolbar widget.
6244 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6246 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6249 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6250 * src/hildon-touch-selector.c
6251 (_create_new_column): use g_object_set instead of two g_object_set_property
6253 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6254 * src/hildon-touch-selector.c
6255 (_create_new_column): use of hildon_gtk_tree_view_new to create
6256 the treeview, instead of use directly g_object_new
6257 (_create_new_column): update the property name "vindicator-mode" for the
6258 new one "vscrollbar-policy"
6259 * examples/hildon-date-button-example.c
6260 * examples/hildon-picker-button-multicolumn-example.c
6261 * examples/hildon-touch-selector-entry-example.c
6262 * examples/hildon-touch-selector-example.c
6263 * examples/hildon-time-button-example.c
6264 * examples/hildon-picker-button-example.c
6265 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6266 to all the treeviews inside a pannable area.
6268 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6270 * src/hildon-button.h
6271 * src/hildon-button.c (hildon_button_init)
6272 (hildon_button_set_arrangement, hildon_button_set_alignment)
6273 (hildon_button_set_title_alignment)
6274 (hildon_button_set_value_alignment)
6275 (hildon_button_set_image_alignment)
6276 (hildon_button_construct_child): New methods to set the alignment
6277 of the individual components of the button (title, value,
6278 image). Also, new method to alter the xscale and yscale properties
6279 of the GtkAlignment inside the button, so more complex layouts can
6282 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6284 * src/hildon-button.c (hildon_button_style_set)
6285 (hildon_button_class_init, hildon_button_set_arrangement)
6286 (hildon_button_construct_child): Apply style properties
6287 correctly. Use the 'image-spacing' style property too.
6289 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6291 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6292 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6295 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6297 * src/hildon-pannable-area.c,
6298 (hildon_pannable_area_size_request): Fixed problem with
6299 pannable-area size_request.
6301 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6303 Added management for the grab-focus to a child widget, like a
6304 range, we need to fade out the scrollbar when releasing.
6306 * src/hildon-pannable-area.c,
6307 (hildon_pannable_area_init): Connected the grab-focus signal to
6309 (hildon_pannable_area_grab_notify): Added this function in order
6310 to manage the situation when the grab-focus ends. We have to
6311 fade-out the scrollbar.
6313 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6315 * src/hildon-app-menu.c: Minor documentation update.
6317 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6319 * src/hildon-app-menu.c
6320 * examples/hildon-app-menu-example.c (create_menu): Update
6321 examples and documentation to explain how to connect callbacks.
6323 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6325 * examples/hildon-button-example.c
6326 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6327 hildon_stackable_window_new instead of gtk_window_new
6329 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6331 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6332 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6333 (hildon_pannable_area_set_property),
6334 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6335 (hildon_pannable_area_unrealize),
6336 (hildon_pannable_area_size_request),
6337 (hildon_pannable_area_size_allocate),
6338 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6339 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6340 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6341 (hildon_pannable_area_initial_effect),
6342 (hildon_pannable_area_redraw),
6343 (hildon_pannable_area_scroll_indicator_fade),
6344 (hildon_pannable_area_expose_event),
6345 (hildon_pannable_area_get_topmost), (synth_crossing),
6346 (hildon_pannable_area_button_press_cb),
6347 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6348 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6349 (hildon_pannable_area_motion_notify_cb),
6350 (hildon_pannable_area_button_release_cb),
6351 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6352 (hildon_pannable_area_remove),
6353 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6354 chage the code layout to a more GtkWidget like. Review the use of
6357 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6359 * examples/hildon-pannable-area-example-4.c,
6360 (main): Modified the name of the hindicator_mode to
6363 * src/hildon-pannable-area.c,
6364 (hildon_pannable_area_class_init),
6365 (hildon_pannable_area_motion_notify_cb),
6366 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6367 we have reduced the amount of signals and managed reviewed its
6368 rationale. Changed the default decelerate value.
6370 (hildon_pannable_area_add),
6371 (hildon_pannable_area_redraw): Refactored functions.
6373 (hildon_pannable_area_init),
6374 (hildon_pannable_area_get_property),
6375 (hildon_pannable_area_set_property):
6376 (hildon_pannable_draw_vscroll),
6377 (hildon_pannable_draw_hscroll),
6378 (hildon_pannable_area_initial_effect),
6379 (hildon_pannable_area_expose_event),
6380 (hildon_pannable_area_scroll),
6381 (hildon_pannable_area_button_press_cb),
6382 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6383 and vindicator_mode with hscrollbar_policy and
6384 vscrollbar_policy. Replaced hscroll and vscroll with
6385 hscroll_visible and vscroll_visible.
6387 (hildon_pannable_area_refresh): Refactor the function, remove
6388 variables and check the calls to this function, added resize
6389 conditions in case the children change their layout.
6391 (hildon_pannable_area_size_request): Added more detailed
6392 size_request calculation.
6395 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6397 * src/hildon-color-chooser.c
6398 (init_borders): use the correct gtk_border_free instead of g_free, to
6399 avoid a crash when this widget is used (ie: the three color selection
6402 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6404 * src/hildon-check-button.c,
6405 (hildon_check_button_set_active): Fixed problem when setting the
6406 active value, the widget was not redrawn.
6408 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6410 * src/hildon-pannable-area.c,
6411 (hildon_pannable_area_refresh),
6412 (hildon_pannable_area_scroll),
6413 (hildon_pannable_area_motion_notify_cb): Small code style change.
6415 (hildon_pannable_area_class_init): Default initial_hint set to
6416 FALSE, it is not in the specs.
6418 (hildon_pannable_area_initial_effect),
6419 (hildon_pannable_area_expose_event),
6420 (hildon_pannable_area_map),
6421 (hildon_pannable_area_init): Moved the launching point of the
6422 initial effect, it was in map but the sizes where not correct in
6423 that method so we do not know if we have the reproduce it. Now it
6424 is placed in the expose_event method and uses a variable to
6425 reproduce it just once.
6427 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6429 * src/hildon-pannable-area.c,
6430 (hildon_pannable_draw_vscroll),
6431 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6432 position allowed for the scrollbars.
6434 (hildon_pannable_area_size_allocate): Small style change.
6436 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6438 * src/hildon-pannable-area.c,
6439 (hildon_pannable_area_scroll_indicator_fade),
6440 (hildon_pannable_area_button_press_cb),
6441 (hildon_pannable_area_button_release_cb),
6442 (hildon_pannable_area_scroll_cb),
6443 (hildon_pannable_area_expose_event),
6444 (hildon_pannable_area_init): Added the define parameter
6445 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6446 and refactor the fade variable.
6448 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6450 * src/hildon-pannable-area.c,
6451 (hildon_pannable_area_redraw),
6452 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6453 lines, we were reimplemeting the redraw code.
6455 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6457 * src/hildon-pannable-area.c,
6458 (hildon_pannable_area_scroll_cb),
6459 (hildon_pannable_area_realize),
6460 (hildon_pannable_area_class_init): Added scroll_event management
6461 for pannable area, now we can scroll the usual desktop method.
6463 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6464 initialization of the parameters should depend on idle_id.
6466 (hildon_pannable_area_init),
6467 (hildon_pannable_area_map): Small code style modifications
6469 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6471 * src/hildon-pannable-area.c
6472 (hildon_pannable_area_button_press_cb),
6473 (hildon_pannable_area_motion_notify_cb),
6474 (hildon_pannable_area_button_release_cb),
6475 (hildon_pannable_area_size_allocate),
6476 (hildon_pannable_area_scroll_to): Improved the timeouts
6477 management, we avoid creating them each time.
6479 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6481 * src/hildon-pannable-area.c:
6482 (hildon_pannable_area_refresh),
6483 (hildon_pannable_area_motion_notify_cb),
6484 (hildon_pannable_area_class_init):
6485 * src/hildon-pannable-area.h:
6486 * src/hildon-touch-selector.c
6487 (_create_new_column):
6488 * examples/hildon-pannable-area-example-4.c:
6489 (horizontal_movement),
6490 (vertical_movement),
6492 Replaced the names of enums in the HildonPannableArea:
6493 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6494 HILDON_MOVEMENT_MODE_*
6495 - HILDON_PANNABLE_AREA_MOV_* ->
6497 - Removed HildonPannableAreaIndicatorMode, now we
6500 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6502 * examples/hildon-pannable-area-touch-grid-example.c
6503 * examples/hildon-pannable-area-touch-list-example.c: Fix
6504 compilation warnings.
6506 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6508 * src/hildon-gtk.c (hildon_gtk_button_new)
6509 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6510 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6511 images overriding the value of the "gtk-button-images" setting.
6513 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6515 * src/hildon-check-button.c (hildon_check_button_new):
6516 Instead of using a custom container, display the label and the
6517 checkbox using the standard GtkButton API.
6519 * examples/hildon-check-button-example.c (main): Don't use
6520 hildon_check_button_set_label() anymore
6522 * src/hildon-check-button.h
6523 * src/hildon-check-button.c
6524 (hildon_check_button_set_label, hildon_check_button_get_label):
6525 Set as deprecated, now we're using gtk_button_{get,set}_label()
6527 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6529 * src/hildon-pannable-area.c,
6530 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6531 GtkTreeview first line we detected it after the inclusion of the
6532 GtkWindowImpl in gtk+. We now check if the window is visible, not
6533 just if the pointer is over the window.
6534 (hildon_pannable_axis_scroll),
6535 (hildon_pannable_area_expose_event): Small style changes.
6537 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6539 * src/hildon-button.c: Update documentation.
6541 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6543 * examples/hildon-button-example.c: Add a switch to show images in
6546 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6548 * doc/hildon-docs.sgml: Some docs reorganization.
6550 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6552 * examples/hildon-pannable-area-touch-list-example.c
6554 * examples/hildon-pannable-area-touch-grid-example.c
6555 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6556 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6557 Fix memory leak when setting the tree model.
6559 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6563 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6565 * doc/hildon.types: Remove duplicated hildon_window_get_type
6566 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6567 documentation comment.
6569 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6571 * doc/Makefile.am: Complete list of private headers.
6573 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6575 * doc/hildon-docs.sgml
6576 * src/hildon-app-menu.c
6577 * src/hildon-bread-crumb.c
6578 * src/hildon-button.c
6580 * src/hildon-program.c
6581 * src/hildon-stackable-window.c
6582 * src/hildon-window.c: Lots of documentation updates.
6584 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6586 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6588 * configure.ac: Require Gtk+ 2.12.9 at least
6590 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6592 * src/hildon-pannable-area.c
6593 (hildon_pannable_area_scroll_indicator_fade),
6594 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6595 to protect the return of this timeout callbacks, avoiding deadlocks.
6597 2008-08-12 Christian Dywan <christian@imendio.com>
6600 * src/hildon-*.h: Ensure a consistent include order,
6601 include <gtk/gtk.h> instead of particular files and
6602 only include the topmost header in the gtk stack. See NB #39857
6604 2008-08-12 Christian Dywan <christian@imendio.com>
6606 * src/hildon-picker-dialog.c
6607 * src/hildon-touch-selector.c: Fix warnings about unused and
6608 uninitialized variables.
6610 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6612 * examples/Makefile.am
6613 * examples/hildon-check-button-example.c: Example of the hildon
6616 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6618 * src/hildon-window.h
6619 * src/hildon-window.c (hildon_window_class_init)
6620 (hildon_window_unset_program): Don't make
6621 hildon_window_unset_program a virtual function anymore.
6623 * src/hildon-stackable-window.c: Update documentation
6625 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6628 * doc/hildon-docs.sgml
6629 * doc/visual_index.xml
6630 * src/hildon-defines.c
6632 * src/hildon-helper.c
6633 * src/hildon-range-editor.c: Lots of documentation fixes.
6635 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6637 * examples/hildon-picker-button-multicolumn-example.c
6638 (create_touch_selector): Fix compilation warning.
6640 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6642 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6643 (hildon_pannable_area_button_release_cb)
6644 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6646 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6648 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6651 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6653 * src/hildon-bread-crumb-trail.h
6654 * src/hildon-date-editor.c
6655 * src/hildon-date-selector.c
6656 * src/hildon-pannable-area.c
6657 * src/hildon-picker-dialog.c
6658 * src/hildon-time-selector.c
6659 * src/hildon-touch-selector-entry.c
6660 * src/hildon-touch-selector.c
6661 * src/hildon-touch-selector.h: Misc documentation fixes
6663 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6665 * examples/hildon-date-editor-example.c (main): Updated date
6668 * examples/hildon-note-example.c (on_confirmation_clicked):
6669 Updated confirmation note example.
6671 * src/hildon-date-editor.c
6672 * src/hildon-note.c: Updated sample programs in documentation.
6675 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6677 * src/hildon-date-button.h:
6678 * src/hildon-picker-button.h:
6679 * src/hildon-time-button.c:
6680 * src/hildon-time-button.h:
6682 Some declarations changes to allow gtk-doc to document the widgets
6685 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6687 * src/hildon-date-button.c: Document the widget.
6688 * src/hildon-time-button.c: Document the widget.
6690 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6692 * src/hildon-picker-button.c: Document the widget.
6693 * src/hildon-touch-selector-entry.c: Document the widget.
6695 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6697 * doc/hildon-docs.sgml
6700 * src/hildon-check-button.h
6701 * src/hildon-check-button.c: New functions to create the Hildon
6705 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6707 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6709 * src/hildon-button.h
6710 * src/hildon-button.c
6711 (hildon_button_add_title_size_group)
6712 (hildon_button_add_value_size_group)
6713 (hildon_button_add_image_size_group)
6714 (hildon_button_add_size_groups): New functions to set size groups
6715 for the button labels and image.
6716 (hildon_button_new_full): Removed
6718 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6720 * src/hildon-time-selector.c
6721 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6722 in order to avoid a crash if gconf is not available
6724 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6726 * src/hildon-button.c (hildon_button_set_arrangement)
6727 (hildon_button_construct_child): Don't construct the button child
6728 before setting the arrangement.
6730 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6732 * src/hildon-program-private.h
6733 * src/hildon-program.c
6734 * src/hildon-program.h
6735 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6736 (hildon_program_peek_window_stack)
6737 (hildon_program_pop_window_stack)
6738 (hildon_program_go_to_root_window): HildonProgram now has a
6739 separate list for stackable windows. Functions are provided to
6740 manage that list with a stack-like API.
6742 * src/hildon-stackable-window.c: Stackable window management is
6743 now much simpler with the new HildonProgram API. Windows no
6744 longer need to be manually added to the program, they're
6745 automatically pushed to the top of the stack when shown.
6747 * examples/hildon-stackable-window-example.c: Updated example to
6748 reflect the API changes.
6750 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6752 * src/hildon-touch-selector.c: Comment out unimplemented
6753 hildon_touch_selector_insert_column() to avoid a compile warning.
6755 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6757 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6758 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6759 (hildon_touch_selector_set_column_selection_mode),
6760 (_hildon_touch_selector_set_model),
6761 (hildon_touch_selector_set_model):
6763 Complete review of HildonTouchSelector documentation.
6765 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6767 * doc/hildon-docs.sgml
6771 * src/hildon-gtk.c: Convenience functions for standard Gtk
6772 widgets, used to easily perform frequent operations.
6774 * src/hildon-button-helpers.h
6775 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6777 * src/hildon-helper.h
6778 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6779 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6781 * src/hildon-button.h
6782 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6784 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6786 * src/hildon-button.c (hildon_button_init)
6787 (hildon_button_set_arrangement, hildon_button_construct_child):
6788 Pack the image and the labels inside the same GtkAlignment so
6789 gtk_button_set_alignment() can be used
6791 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6793 * src/hildon-button.h
6794 * src/hildon-button.c
6795 (hildon_button_init, hildon_button_set_image)
6796 (hildon_button_set_image_position)
6797 (hildon_button_construct_child): New functions to add an image to
6800 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6802 * src/hildon-date-button.c
6803 * src/hildon-picker-button.c
6804 * src/hildon-time-button.c
6805 * src/hildon-button.c:
6806 (hildon_button_class_init): "size-flags" renamed to "size"
6807 (hildon_button_set_title): Hide the title label if set to NULL.
6809 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6811 HildonButtonFlags split into HildonButtonArrangement (to set the
6812 button layout) and HildonSizeType (which can be used for any
6815 * src/hildon-button.h
6816 * src/hildon-button.c
6817 (hildon_button_class_init)
6818 (hildon_button_set_arrangement)
6819 (hildon_button_set_property): New "size-flags"
6820 property. "arrangement-flags" renamed to "arrangement".
6821 (hildon_button_new, hildon_button_new_with_text)
6822 (hildon_button_new_full): Constructors updated to reflect type changes.
6824 * src/hildon-helper.h
6825 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6826 to set the size of a widget.
6830 * src/hildon-button-helpers.c
6831 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6833 * src/hildon-date-button.c
6834 * src/hildon-date-button.h
6835 * src/hildon-picker-button.c
6836 * src/hildon-picker-button.h
6837 * src/hildon-time-button.c
6838 * src/hildon-time-button.h: Updated widgets to reflect
6839 HildonButton API changes.
6841 * examples/hildon-button-example.c
6842 * examples/hildon-date-button-example.c
6843 * examples/hildon-picker-button-example.c
6844 * examples/hildon-picker-button-multicolumn-example.c
6845 * examples/hildon-time-button-example.c
6846 * examples/hildon-touch-selector-entry-example.c
6847 * examples/hildon-touch-selector-example.c: Updated examples to
6848 reflect HildonButton API changes.
6850 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6852 * doc/hildon-docs.sgml:
6854 * examples/Makefile.am:
6855 * examples/hildon-touch-selector-entry-example.c:
6857 * src/hildon-touch-selector-entry.c:
6858 * src/hildon-touch-selector-entry.h:
6861 Moved HildonTouchSelectorEntry from sandbox. Added its
6862 documentation and examples.
6864 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6866 * src/hildon-touch-selector.h:
6867 * examples/hildon-picker-button-multicolumn-example.c:
6868 (hildon_touch_selector_append_text_column): Add a gboolean
6869 parameter to determine if text must be centered in the column.
6871 * src/hildon-date-selector.c: (hildon_date_selector_init):
6872 * src/hildon-time-selector.c: (hildon_time_selector_init):
6873 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6874 (create_touch_selector): Update widgets and example to reflect
6877 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6879 * src/hildon-touch-selector.c:
6880 (hildon_touch_selector_set_active_iter): Set also the cursor in
6883 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6885 * doc/hildon-docs.sgml
6888 * src/hildon-toggle-button.c
6889 * src/hildon-toggle-button.h
6890 * src/hildon.h: Removed HildonToggleButton widget, a derived
6891 class is not necessary for this.
6893 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6895 * src/hildon-pannable-area.c,
6896 (hildon_pannable_area_realize),
6897 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6900 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6902 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6903 "done" button the default widget for the dialog.
6905 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6907 * src/hildon-touch-selector.c:
6908 (hildon_touch_selector_class_init),
6909 (hildon_touch_selector_get_property),
6910 (_hildon_touch_selector_set_model),
6911 (_hildon_touch_selector_has_multiple_selection),
6912 (hildon_touch_selector_has_multiple_selection):
6913 Add a "has-multiple-selection" property with a virtual
6914 has_multiple_selection() method to allow derived classes to
6915 override the default value for it. See the method and property
6916 documentation for details.
6918 * src/hildon-touch-selector.h: Add the new API.
6920 * src/hildon-picker-dialog.c: (requires_done_button): Call
6921 hildon_touch_selector_has_multiple_selection() instead of
6922 determining the need for a button itself.
6924 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6926 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6927 (_hildon_touch_selector_set_model),
6928 (hildon_touch_selector_set_model): Move working code to
6929 _hildon_touch_selector_set_mode(). Call the class method instead.
6931 * src/hildon-touch-selector.h: Add (*set_model) to
6932 HildonTouchSelectorClass.
6934 Make hildon_touch_selector_set_model() a virtual method, so that
6935 derived classes can extend it and do fancy stuff with the model.
6937 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6939 * configure.ac: Set back the tarname in AC_INIT to hildon.
6941 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6945 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6946 instead of libesd (NB#86876). Volume handling is still an open issue.
6948 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6951 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6953 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6954 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6955 derived class to ease placement of an entry widget in
6956 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6957 end, where the selector columns are packed now.
6959 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6961 * src/hildon-picker-button.c: Removed the simple _text() API.
6962 * src/hildon-picker-button.h: Likewise.
6964 * src/hildon-touch-selector.h:
6965 * src/hildon-touch-selector.c:
6966 (hildon_touch_selector_new_text),
6967 (hildon_touch_selector_append_text),
6968 (hildon_touch_selector_prepend_text),
6969 (hildon_touch_selector_insert_text):
6971 Moved the simple _text() API from HildonPickerButton to
6972 HildonTouchPicker, to provide better escalability and not to tie
6973 that API to HildonPickerButton.
6975 * examples/hildon-picker-button-example.c: (main): Example updated.
6977 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6979 * src/hildon-button.c: Updated documentation.
6981 * examples/hildon-button-example.c: Add the posibility to create
6982 the buttons using horizontal layout for title and value.
6984 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6986 * src/hildon-app-menu-private.h
6987 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6988 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6989 GtkSizeGroup for the filters, use the 'homogeneous' property of
6992 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6994 * examples/hildon-button-example.c: Updated example.
6996 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6998 * doc/hildon-docs.sgml:
7001 Update documentation.
7003 * examples/Makefile.am: Update renamed examples.
7005 * examples/hildon-picker-button-multicolumn-example.c:
7006 (create_touch_selector), (main): Update after the rename.
7008 * examples/hildon-touch-picker-example.c: Removed.
7009 * examples/hildon-touch-selector-example.c: (value_changed),
7010 (create_selector), (get_visible_content), (main): Renamed from
7011 hildon-touch-picker-example.c
7013 * src/Makefile.am: Updated renamed files.
7015 * src/hildon-date-button.c: (hildon_date_button_init),
7016 (hildon_date_button_get_date), (hildon_date_button_set_date):
7017 * src/hildon-date-selector.c: (hildon_date_selector_init),
7018 (_custom_print_func), (_update_day_model),
7019 (_manage_selector_change_cb),
7020 (hildon_date_selector_select_current_date),
7021 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7022 * src/hildon-date-selector.h:
7023 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7024 (hildon_picker_button_set_property),
7025 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7026 (hildon_picker_button_init), (hildon_picker_button_new_text),
7027 (hildon_picker_button_append_text),
7028 (hildon_picker_button_prepend_text),
7029 (hildon_picker_button_insert_text),
7030 (hildon_picker_button_set_selector),
7031 (hildon_picker_button_get_selector):
7032 * src/hildon-picker-button.h:
7033 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7034 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7035 (_update_title_on_selector_changed_cb), (requires_done_button),
7036 (_hildon_picker_dialog_set_selector),
7037 (hildon_picker_dialog_set_selector),
7038 (hildon_picker_dialog_get_selector):
7039 * src/hildon-picker-dialog.h:
7040 * src/hildon-time-button.c: (hildon_time_button_init),
7041 (hildon_time_button_get_time), (hildon_time_button_set_time):
7042 * src/hildon-time-selector.c: (hildon_time_selector_init),
7043 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7044 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7045 * src/hildon-time-selector.h:
7048 Massive code updates after the rename.
7050 * src/hildon-touch-picker.c: Removed.
7051 * src/hildon-touch-picker.h: Removed.
7053 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7054 (hildon_touch_selector_init), (hildon_touch_selector_map),
7055 (hildon_touch_selector_remove), (_default_print_func),
7056 (_selection_changed_cb), (_create_new_column),
7057 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7058 (hildon_touch_selector_append_text_column),
7059 (hildon_touch_selector_remove_column),
7060 (hildon_touch_selector_set_column_attributes),
7061 (hildon_touch_selector_insert_column),
7062 (hildon_touch_selector_get_num_columns),
7063 (hildon_touch_selector_get_column_selection_mode),
7064 (hildon_touch_selector_set_column_selection_mode),
7065 (hildon_touch_selector_set_print_func),
7066 (hildon_touch_selector_get_print_func),
7067 (hildon_touch_selector_get_active_iter),
7068 (hildon_touch_selector_set_active_iter),
7069 (hildon_touch_selector_get_selected_rows),
7070 (hildon_touch_selector_get_model),
7071 (hildon_touch_selector_set_model),
7072 (hildon_touch_selector_get_current_text),
7073 (_hildon_touch_selector_center_on_selected_items):
7074 * src/hildon-touch-selector.h: Renamed from
7075 hildon-touch-picker.[ch]
7077 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7078 references, code examples, and related documentation.
7080 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7082 * doc/hildon-docs.sgml
7085 * src/hildon-toggle-button.c
7086 * src/hildon-toggle-button.h
7087 * src/hildon.h: New HildonToggleButton widget.
7089 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7091 * src/hildon-button.c: Add API documentation.
7092 (hildon_button_set_size_groups): Check input parameters
7094 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7096 * src/hildon-pannable-area.c
7097 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7098 effect after reaching the movement thredshold. This way we start
7099 using the distance after passing the thredshold.
7101 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7103 * src/hildon-button.c: (hildon_button_set_property): Use the
7104 appropriate g_value_get_flags() method.
7106 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7108 * doc/hildon-docs.sgml:
7111 Add the touch pickers, picker dialogs, and picker button widgets
7112 to the documentation.
7114 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7116 * src/hildon-button.c: (hildon_button_set_property),
7117 (hildon_button_class_init): Make "arrangement-flags" a proper
7118 G_TYPE_FLAGS derived property.
7120 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7122 * examples/Makefile.am: Add below examples.
7123 * examples/hildon-date-button-example.c:
7124 * examples/hildon-picker-button-example.c:
7125 * examples/hildon-picker-button-multicolumn-example.c:
7126 * examples/hildon-time-button-example.c:
7127 * examples/hildon-touch-picker-example.c:
7129 Add examples for the recently added touch pickers,
7130 picker dialogs, and picker button widgets.
7132 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7134 * src/hildon-button.c: Add some API documentation
7136 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7138 * src/hildon-button.h
7139 * src/hildon-button.c
7141 (hildon_button_new_with_text): New constructor to create a button
7142 with no text at all.
7143 (hildon_button_init, hildon_button_set_arrangement)
7144 (hildon_button_set_title, hildon_button_set_value)
7145 (hildon_button_set_text)
7146 (hildon_button_construct_child): Hide the value when it's not used
7147 so the rest of the text is properly aligned.
7148 Allow creating buttons with arbitrary widgets inside (not just
7149 title/value labels).
7151 * examples/hildon-button-example.c (vertical_buttons_window)
7152 (horizontal_buttons_window): Update example to use new API.
7154 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7156 * src/Makefile.am: Added HildonTimeButton.
7157 * src/hildon-time-button.c: Added missing LGPL header.
7158 * src/hildon-time-button.h: Added missing LGPL header.
7159 * src/hildon.h: Add hildon-time-button.h
7161 Copied HildonTimeButton from sandbox to trunk. Future work on this
7162 widget must take place in trunk.
7164 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7166 * src/Makefile.am: Added HildonDateButton.
7167 * src/hildon-date-button.c: Update includes.
7168 * src/hildon.h: Add hildon-date-button.h
7170 Copied HildonDateButton from sandbox to trunk. Future work on this
7171 widget must take place in trunk.
7173 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7175 * src/Makefile.am: Added HildonPickerButton.
7176 * src/hildon-picker-button.h: Update includes.
7177 * src/hildon.h: Add hildon-picker-button.h
7179 Copied HildonPickerButton from sandbox to trunk. Future work on
7180 this widget must take place in trunk.
7182 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7184 * src/Makefile.am: Added HildonPickerDialog.
7185 * src/hildon-picker-dialog.c: Update includes.
7186 * src/hildon.h: Add hildon-picker-dialog.h
7188 Copied HildonPickerDialog from sandbox to trunk. Future work
7189 on this widget must take place in trunk.
7191 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7193 * src/Makefile.am: Added HildonTimeSelector.
7194 * src/hildon.h: Add hildon-time-selector.h
7196 Copied HildonTimeSelector widget from sandbox to trunk. Future
7197 work on this widget must happen in trunk.
7199 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7201 * src/Makefile.am: Added HildonDateSelector.
7202 * src/hildon.h: Add hildon-date-selector.h
7204 Copied HildonDateSelector widget from sandbox to trunk. Future
7205 work on this widget must happen in trunk.
7207 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7209 * src/Makefile.am: Added HildonTouchPicker.
7210 * src/hildon-touch-picker.c: Update includes.
7211 * src/hildon.h: Add hildon-touch-picker.h
7213 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7214 on this widget must happen in trunk.
7216 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7218 * src/hildon-pannable-area.c:
7219 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7221 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7223 * examples/hildon-app-menu-example.c (main): Let the window
7226 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7228 * src/hildon-pannable-area.c
7229 (hildon_pannable_area_class_init): Set the min value of the
7230 overshoot properties to zero, which points out that not
7231 overshooting allowed.
7233 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7235 Modified the procedure to get the widget at a point inside the
7236 pannable area when using the movement type signals. Now the user
7237 has to call a function to get the child, that way we just
7238 calculate the child in case the user really want to use it and not
7241 * src/hildon-marshalers.list: Modified the marshallers, now we do
7242 not have the widget as a parameter.
7244 * src/hildon-pannable-area.c
7245 (hildon_pannable_area_motion_notify_cb),
7246 (hildon_pannable_area_class_init),
7247 (hildon_pannable_get_child_widget_at): Removed the widget
7248 parameter from the signal callback. We have also refactored the
7249 emission of the signals.
7251 * src/hildon-pannable-area.h: Added a new method to the API to
7252 calculate a widget at a point inside the pannable area,
7253 hildon_pannable_get_child_widget_at.
7255 * examples/hildon-pannable-area-example-4.c
7256 (horizontal_movement): Modified the example to use the new API,
7257 added condition to control which widget is under the event. This
7258 way we can avoid scrolling laterally over other widgets.
7260 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7262 * src/hildon-pannable-area.c
7263 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7264 modes, we stop getting the pointer events due to returning the
7265 callback without properly calling the get pointer again. Fixed
7266 also an error using the hscroll and vscroll.
7268 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7270 * src/hildon-app-menu-private.h
7271 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7272 (hildon_app_menu_button_release, hildon_app_menu_init)
7273 (hildon_app_menu_class_init): Don't hide the menu on button
7274 release if the user didn't press outside first.
7276 * src/hildon-window.h
7277 * src/hildon-window.c (hildon_window_toggle_menu)
7278 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7279 hildon_window_toggle_menu a virtual function for the stackable
7280 window to override it.
7282 * src/hildon-stackable-window.h
7283 * src/hildon-stackable-window-private.h
7284 * src/hildon-stackable-window.c
7285 (hildon_stackable_window_realize)
7286 (hildon_stackable_window_finalize)
7287 (hildon_stackable_window_class_init)
7288 (hildon_stackable_window_init)
7289 (hildon_stackable_window_set_main_menu): New function to set the
7290 app menu of a HildonStackableWindow.
7292 * examples/hildon-app-menu-example.c: Remove the button to show
7293 the app menu, now it'll be shown when clicking on the title bar
7296 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7298 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7299 set the widget name if the arrangement flags do not specify
7302 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7304 * src/hildon-button.c: (hildon_button_set_property),
7305 (hildon_button_class_init), (hildon_button_new_full),
7306 (hildon_button_set_arrangement): Added "arrangement-flags"
7309 Make the HildonButtonFlags a construction-only property, to allow
7310 subclasses to set them properly.
7312 2008-07-21 Tim Janik <timj@imendio.com>
7314 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7315 insertion position after backspace, so additional digits are appended,
7318 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7320 * src/hildon-pannable-area.c,
7321 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7322 TODO list, it was complete and removed the g_debug and g_print
7325 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7327 Added the movement modes to the hildon-pannable-area, with this
7328 modes the developers can control in which directions the widget
7329 can scroll. They can also connect to signals in order to do
7330 something when that happens, allowing applications scroll. There
7331 is an example uploaded showing how to use it.
7333 * examples/Makefile.am:
7334 * examples/hildon-pannable-area-example-4.c: Added this example of
7335 an application using the modes.
7337 * src/hildon-marshalers.list: Added a new marshaller for the new
7340 * src/hildon-pannable-area.h: Added new enumerations and flags in
7341 order to control the movement modes and the new signals to warn
7342 about the movements in the area.
7344 * src/hildon-pannable-area.c:
7345 (hildon_pannable_axis_scroll),
7346 (hildon_pannable_area_scroll),
7347 (hildon_pannable_area_motion_notify_cb),
7348 (hildon_pannable_area_get_property),
7349 (hildon_pannable_area_set_property),
7350 (hildon_pannable_area_map),
7351 (hildon_pannable_area_class_init),
7352 (hildon_pannable_area_init),
7353 (hildon_pannable_area_jump_to): Added the modes to control the
7354 movement in the widget. We have added properties to control it,
7355 signals to warn about the movements and refactored some code.
7357 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7359 Changes required in order to allow vfast_factor set to zero to
7362 * src/hildon-pannable-area.c:
7363 (hildon_pannable_area_button_press_cb): Changed the condition, it
7364 is required for not allowing click when vfast_factor is zero.
7365 (hildon_pannable_area_timeout): Initialized velocity variables
7366 when we stop moving, it was less than 1 but not zero and we need
7367 to check zero in some situations.
7368 (hildon_pannable_area_class_init): Changed the default value of
7369 the speed factor, now the button_press is just sent in case the
7370 speed is 2 per cent of the max speed.
7371 (hildon_pannable_area_init): Initialization with 0.
7373 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7375 * src/hildon-pannable-area.c,
7376 (hildon_pannable_area_get_topmost): replaced
7377 gdk_window_get_children with gdk_window_peek_children, this way we
7378 do not have to free the list because it is not a copy.
7380 (hildon_pannable_axis_scroll),
7381 (hildon_pannable_area_scroll),
7382 (hildon_pannable_area_timeout),
7383 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7384 two parameters that were only used inside the
7385 hildon_pannable_area_scroll function.
7387 * examples/hildon-pannable-area-example.c,
7388 (get_sawtooth_label): Fixed small memory leak.
7390 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7392 More checks for the case where the overshoot is bigger than the
7395 * src/hildon-pannable-area.c:
7396 (hildon_pannable_draw_vscroll),
7397 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7398 to draw the slider of the scrollbar under the other scrollbar.
7399 (hildon_pannable_area_expose_event): added new checks to control
7400 the drawing of the overshooting area rectangle, in case it is too
7401 big for the area of the widget.
7402 (hildon_pannable_area_size_allocate): add more checks to avoid
7403 setting a position to the child widget outside the area.
7405 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7407 * src/hildon-pannable-area.c
7408 (hildon_pannable_area_size_allocate): Added conditions to control
7409 when overshooting is bigger than the allocated space for the
7410 children, this avoids negative allocations.
7412 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7414 * doc/hildon-docs.sgml
7416 * examples/Makefile.am
7417 * examples/hildon-button-example.c
7419 * src/hildon-button.c
7420 * src/hildon-button.h
7421 * src/hildon.h: Initial version of the new HildonButton widget,
7424 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7426 * src/hildon-pannable-area.c:
7427 (hildon_pannable_area_button_press_cb),
7428 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7429 (hildon_pannable_area_motion_notify_cb),
7430 (hildon_pannable_area_button_release_cb),
7431 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7432 (hildon_pannable_area_jump_to_child):
7434 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7436 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7438 * examples/Makefile.am
7439 * examples/hildon-pannable-area-touch-grid-example.c
7440 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7441 the Hildon Touch List and Hildon Touch Grid using the
7442 HildonPannableArea widget.
7444 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7446 * src/hildon-pannable-area.c,
7447 (hildon_pannable_area_button_press_cb),
7448 (hildon_pannable_area_refresh),
7449 (hildon_pannable_area_scroll),
7450 (hildon_pannable_area_motion_notify_cb),
7451 (hildon_pannable_area_button_release_cb),
7452 (hildon_pannable_area_expose_event),
7453 (hildon_pannable_area_add),
7454 (hildon_pannable_area_remove),
7455 (hildon_pannable_area_realize),
7456 (hildon_pannable_area_size_allocate),
7457 (hildon_pannable_area_class_init),
7458 (hildon_pannable_area_init),
7459 (hildon_pannable_area_scroll_to_child),
7460 (hildon_pannable_area_jump_to_child): Fixed the problem of
7461 removing the child from the GtkBin, we have rearranged the widget
7462 hierarchy, now there is no GtkAlignment which was not doing
7463 anything interesting but breaking some of the assumptions of
7464 GtkContainer. Now developers if they want to add a GtkAlignment
7465 they could, but it is not inside the area.
7467 We had to review the whole allocation/expose process, now it is
7468 improved and we save at least three signals which would be saving
7469 some time when rendering the widget. The allocation of the
7470 scrollbars is now made in the allocate method as usual.
7472 We have also added some conditions in order to control when there
7473 is no child of the pannable area. Maybe we will need more work
7476 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7478 * src/hildon-pannable-area.c,
7479 (hildon_pannable_area_dispose): Released the fade-out timeout when
7480 disposing the widget.
7482 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7484 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7485 zero, we are going to use that property in order to deactivate the
7487 (hildon_pannable_axis_scroll),
7488 (hildon_pannable_area_size_allocate): Added conditions to control
7489 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7490 call, now it is called in all situations and we can remove calls
7491 in the allocate method.
7492 (hildon_pannable_area_map): Control the situation when
7493 overshoot_max is zero, we do not need the timeout.
7494 (hildon_pannable_area_class_init): Added documentation in order to
7495 point out that setting zero to overshoot_max means deactivate
7498 NOTE: removed trailing whitespaces from my previous comments of
7501 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7503 * src/hildon-pannable-area.c
7504 (hildon_pannable_area_get_property),
7505 (hildon_pannable_area_set_property),
7506 (hildon_pannable_area_map),
7507 (hildon_pannable_area_class_init),
7508 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7509 to cause the widget give a hint about its panning abilities upon
7512 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7514 * src/hildon-pannable-area.c: Several documentation improvements.
7516 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7518 * src/hildon-program.c
7519 * src/hildon-stackable-window.c: Update documentation.
7521 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7523 * src/hildon-stackable-window.c (get_previous_window_if_last):
7524 Renamed get_last_window()
7525 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7526 (hildon_stackable_window_unset_program):
7528 (get_previous_window_if_last):
7529 Detect if the window hasn't been added to a HildonProgram.
7531 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7533 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7535 * src/hildon-pannable-area.c
7536 (hildon_pannable_area_button_press_cb),
7537 (hildon_pannable_axis_scroll),
7538 (hildon_pannable_area_scroll),
7539 (hildon_pannable_area_timeout),
7540 (hildon_pannable_calculate_vel_factor),
7541 (hildon_pannable_area_get_property),
7542 (hildon_pannable_area_set_property),
7543 (hildon_pannable_area_class_init),
7544 (hildon_pannable_area_init),
7545 (hildon_pannable_area_scroll_to),
7546 (hildon_pannable_area_jump_to),
7547 (hildon_pannable_area_scroll_to_child),
7548 (hildon_pannable_area_jump_to_child):
7549 * src/hildon-pannable-area.h: Added the new API functions:
7550 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7551 hildon_pannable_area_scroll_to_child,
7552 hildon_pannable_area_jump_to_child
7555 * examples/Makefile.am
7556 * examples/hildon-pannable-area-example-2.c
7557 * examples/hildon-pannable-area-example-3.c: Added these two new
7558 examples in order to test and show how the new APIs work.
7560 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7562 * examples/hildon-stackable-window-example.c (new_window):
7563 * src/Makefile.am (noinst_HEADERS):
7564 * src/hildon-program.c (hildon_program_go_to_root_window):
7565 * src/hildon-program.h:
7566 * src/hildon-stackable-window-private.h:
7567 * src/hildon-stackable-window.c:
7568 * src/hildon-stackable-window.h:
7569 Create hildon-stackable-window-private.h
7570 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7572 * examples/hildon-app-menu-example.c (create_menu):
7573 * examples/hildon-hvolumebar-insensitive-example.c (main):
7574 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7575 * examples/hildon-toolbar-seekbar-example.c (main):
7576 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7577 * src/hildon-banner.c (hildon_banner_set_property):
7578 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7579 Fix compilation warnings
7581 * src/hildon-window.c:
7584 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7586 * src/hildon-stackable-window.c
7587 (hildon_stackable_window_unset_program):
7588 Calculate correctly whether to show the previous window if the
7589 last one is removed from the stack.
7590 (hildon_stackable_window_go_to_root_window):
7591 Send delete events starting from the topmost window.
7592 Stop if one of the windows is not destroyed.
7594 (hildon_stackable_window_delete_event)
7595 (hildon_stackable_window_class_init):
7596 Ignore the delete event if the window is not the topmost one.
7598 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7600 * src/hildon-pannable-area.c
7601 (hildon_pannable_area_expose_event): Fixed a problem when
7602 selecting the background color of the scrollbars.
7604 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7606 * examples/hildon-stackable-window-example.c
7607 * src/hildon-stackable-window.c
7608 * src/hildon-stackable-window.h
7609 hildon_stackable_window_go_home() renamed to
7610 hildon_stackable_window_go_to_root_window()
7611 Send delete events to windows rather than closing them with
7612 gtk_widget_destroy()
7614 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7616 * src/hildon-pannable-area.c
7617 (hildon_pannable_area_button_release_cb): Fix overshooting in
7620 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7622 * src/hildon-pannable-area.c
7623 (hildon_pannable_area_init): Initially show the scroll indicators.
7624 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7626 Add initial effect showing the widget is pannable.
7628 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7630 * src/hildon-pannable-area.c
7631 (hildon_pannable_area_class_init)
7632 (hildon_pannable_area_set_property)
7633 (hildon_pannable_area_get_property)
7634 (hildon_pannable_area_button_press_cb):
7635 New 'velocity_fast_factor' property to decide which velocity is
7638 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7640 * src/hildon-pannable-area.c
7641 (hildon_pannable_draw_hscroll)
7642 (hildon_pannable_draw_vscroll):
7643 Use float variables to calculate the size of the scrollbars to
7644 avoid error propagation and resizing during scrolling.
7646 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7648 * src/hildon-pannable-area.c
7649 (hildon_pannable_draw_vscroll)
7650 (hildon_pannable_draw_hscroll):
7651 Define a minimum size for the scroll bars
7653 * src/hildon-stackable-window.c
7654 (hildon_stackable_window_go_home): Fix compilation warning
7655 (get_last_window): Minor optimizations
7656 (hildon_stackable_window_class_init): Fix initialization of
7659 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7661 * src/hildon-stackable-window.c: Fixed typos in doc
7663 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7665 * src/hildon-pannable-area.c
7666 (hildon_pannable_area_scroll):
7667 Calculate here whether we need to scroll instead of using the booleans
7668 that tell us whether to /draw/ the scrolling bars.
7670 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7672 * src/hildon-app-menu.h
7674 * src/hildon-app-menu.c
7675 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7676 multiple filter groups related code and API. Now we support only
7678 * examples/hildon-app-menu-example.c:
7680 Update to reflect API changes.
7682 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7684 * src/hildon-stackable-window.c
7685 (hildon_stackable_window_class_init):
7686 Add hildon_stackable_window_realize.
7687 (hildon_stackable_window_realize):
7688 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7689 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7690 to apply theming and behavior specific to HildonStackableWindow
7693 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7695 * src/hildon-note.c (hildon_note_button_release):
7696 Close information notes also when tapping on them
7698 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7700 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7701 ELASTICITY, refactor and review, fix some issues with drawing
7704 * src/hildon-pannable-area.c:
7705 (hildon_pannable_area_button_press_cb): removed the conditions to
7706 avoid clicks when overshooting. It is not required
7708 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7709 define. Refatored and reviewed the code, now we do not need to
7710 manage velocity in motion_notify.
7712 (hildon_pannable_area_motion_notify_cb): We have moved the code
7713 that controls the area_scroll to the axis_scroll function and get
7714 rid of duplicated code.
7716 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7718 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7720 (hildon_pannable_draw_vscroll),
7721 (hildon_pannable_draw_hscroll): Fixed the problems with the
7722 scrollbar drawing, now we do not use two surfaces, it is easier
7723 and saves resources.
7725 (hildon_pannable_area_get_property): Style modification.
7727 (hildon_pannable_area_class_init): Changed some default values.
7729 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7731 * src/hildon-stackable-window.c: Fix some typos in the
7734 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7736 * src/hildon-dialog.c:
7737 Change indentation style
7740 (hildon_note_button_release):
7741 Use root coordinates to check if the release event happened
7744 * src/hildon-app-menu.c
7745 (hildon_app_menu_button_release):
7746 Remove unnecessary check
7748 * examples/hildon-app-menu-example.c
7750 Add cast to fix warning
7752 * src/hildon-app-menu.c
7753 (hildon_app_menu_class_init):
7754 New inner-border style property.
7755 Set all default spacings to 16
7756 (hildon_app_menu_init):
7757 Use vertical-spacing to set the space between filter buttons and
7758 regular menu buttons.
7759 Set the default container border using the inner-border value.
7761 * examples/hildon-app-menu-example.c
7763 Don't set the menu border explicitly, now we have the inner-border
7764 style property for that.
7766 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7768 * src/hildon-app-menu.c (hildon_app_menu_init):
7769 Make the window modal
7771 * src/hildon-note.c (hildon_note_map)
7772 * src/hildon-app-menu.c (hildon_app_menu_map):
7773 Destroy the grab window if we're unable to grab the pointer
7775 * src/hildon-app-menu-private.h
7776 * src/hildon-app-menu.c
7777 (hildon_app_menu_init, hildon_app_menu_finalize)
7778 (hildon_app_menu_map, hildon_app_menu_unmap)
7779 (hildon_app_menu_button_release)
7780 (grab_transfer_window_get):
7781 Bring back the grab window
7782 (hildon_app_menu_realize):
7783 Decorate the window, set WM hint for Matchbox
7785 * src/hildon-note.c (hildon_note_realize):
7786 * src/hildon-banner.c (hildon_banner_realize):
7787 Add WM hints for Matchbox
7789 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7791 * src/hildon-app-menu-private.h
7792 * src/hildon-app-menu.c
7793 (hildon_app_menu_init, hildon_app_menu_finalize)
7794 (hildon_app_menu_map, hildon_app_menu_unmap)
7795 (hildon_app_menu_button_release):
7796 Remove the grab window, it's not needed anymore
7798 * src/hildon-program.c
7799 Fixed typo in documentation
7801 * src/hildon-app-menu.h
7802 * src/hildon-app-menu.c
7803 * examples/hildon-app-menu-example.c
7804 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7806 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7809 Added new transfer_window and close_if_pressed_outside private
7811 (hildon_note_rebuild):
7812 Don't add a cancel button to the information note. It will be
7813 closed when tapping outside
7814 Remove the comment about the OK button in the documentation
7815 (hildon_note_realize):
7816 Set the notification type hint
7817 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7818 Grab/ungrab pointer and keyboard if the note has to be closed when
7820 (hildon_note_button_release):
7821 Close the note when tapping outside (if applicable)
7823 * src/hildon-app-menu.c
7824 Grab/ungrab pointer and keyboard on map/unmap
7825 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7826 Close the menu on button release, not button press
7828 * src/hildon-banner.c
7829 (hildon_banner_set_property)
7830 (hildon_banner_check_position):
7831 Make the banner use the full width of the screen
7832 (hildon_banner_show_information)
7833 (hildon_banner_show_information_with_markup):
7834 Don't display an icon by default
7836 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7838 Added fading scrollbars and adapted all the overshooting code to
7839 horizontal scrolling. We have also fixed bugs with overshooting
7840 and current fading implementation.
7842 * src/hildon-pannable-area.c
7843 (hildon_pannable_area_scroll_indicator_fade): Time out function
7844 used to change the transparency of the scrollbars.
7846 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7847 control and fixed a problem with fading, we now remove the fade
7848 timeout before adding a new one.
7850 (hildon_pannable_axis_scroll):
7851 (hildon_pannable_area_scroll):
7852 (hildon_pannable_area_timeout): Added this functions so we can use
7853 the scroll code both for vertical and horizontal.
7855 (hildon_pannable_area_motion_notify_cb):
7856 (hildon_pannable_area_button_release_cb): Added the horizontal
7857 scrolling control, fixed a problem with the overshooting timeout.
7859 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7860 painting of the scrolls.
7862 (hildon_pannable_draw_vscroll):
7863 (hildon_pannable_draw_hscroll):
7864 (hildon_pannable_area_expose_event):
7865 Draw both scrollbars and rectangles in the overshooting area.
7867 (hildon_pannable_area_get_property):
7868 (hildon_pannable_area_set_property):
7869 Modified the overshoot property to overshoot_max
7871 (hildon_pannable_area_map):
7872 Replaced the comments symbols.
7874 (hildon_pannable_area_size_allocate):
7875 (hildon_pannable_area_class_init):
7876 (hildon_pannable_area_init): Added horizontal scroll, fading
7877 effect properties, fixed a problem when overshooting in the bottom
7880 * examples/hildon-pannable-area-example.c:
7881 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7882 looks better in the example.
7884 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7886 * src/hildon-window.c
7887 * src/hildon-window.h
7888 (hildon_window_class_init)
7889 (hildon_window_unset_program)
7890 (hildon_window_unset_program_real):
7891 Make unset_program a virtual function
7893 * src/hildon-stackable-window.c
7894 * src/hildon-stackable-window.h
7895 Added hildon_stackable_window_go_home()
7897 * examples/Makefile.am
7898 * examples/hildon-stackable-window-example.c
7899 HildonStackableWindow example
7901 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7903 * hildon-pannable-area.c: Added the overshoot property and removed
7904 the OVERSHOOT define. Fixed an indent style error.
7905 (hildon_pannable_area_motion_notify_cb):
7906 (hildon_pannable_area_get_property):
7907 (hildon_pannable_area_set_property): Add overshoot property.
7909 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7912 (hildon_pannable_area_class_init): Installed the new property.
7914 * hildon-pannable-area-example.c: Added a sawtooth function, this
7915 way it is easier to check the movement in the pannable.
7916 (get_sawtooth_label): Added this function.
7917 (main): Now we get the labels from the new get_sawtooth_label
7920 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7922 * src/hildon-app-menu.h
7923 * src/hildon-app-menu.c
7924 Renamed API variables for consistency
7926 (hildon_app_menu_popup): Use also the default window size to
7927 decide where to place the menu
7929 (hildon_app_menu_init, hildon_app_menu_class_init): New
7930 external-border style property
7932 2008-05-26 Michael Natterer <mitch@imendio.com>
7934 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7935 widget_class->tap_and_hold_setup signal slot doesn't exist any
7936 longer, stop overriding it.
7938 (hildon_time_editor_init): g_signal_connect() to the
7939 tap-and-hold-setup signal instead.
7941 (hildon_time_editor_entry_keypress): add cast to fix warning.
7943 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7945 * doc/hildon-docs.sgml
7947 * examples/Makefile.am
7948 * examples/hildon-app-menu-example.c
7950 * src/hildon-app-menu-private.h
7951 * src/hildon-app-menu.c
7952 * src/hildon-app-menu.h
7954 New HildonAppMenu widget
7956 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7958 Rearranged the inheritance of the pannable area, now it inherits
7959 from GtkBin. This will allow us to control the event_window and
7960 the allocation process of the widget, required for some effects.
7962 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7963 GtkBin structures. * src/hildon-pannable-area.c: Added the
7964 event_window variable.
7965 (hildon_pannable_area_button_press_cb):
7966 (hildon_pannable_area_button_release_cb):
7967 (hildon_pannable_area_motion_notify_cb):
7968 Changed the signature of the method, now we override the event
7969 callback instead of connecting to the signal.
7971 (hildon_pannable_area_realize):
7972 (hildon_pannable_area_unrealize):
7973 (hildon_pannable_area_map):
7974 (hildon_pannable_area_unmap):
7975 (hildon_pannable_area_size_allocate):
7976 Added functions to control the widget construction. We add a
7977 INPUT_ONLY window and we put it over the widgets inside the
7978 container, this event_window handles the events.
7980 (hildon_pannable_area_class_init):
7981 Replaced the signal connections with overrides of the event
7984 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7986 Bouncing effect added when touching the borders, you can change
7987 the elasticity of the border changing the ELASTICITY define.
7989 * src/hildon-pannable-area.c: Added ELASTICITY define.
7990 (hildon_pannable_area_timeout): Added inverse velocity when
7991 touching the border of the child widget, that causes a bounce.
7993 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7995 Improved performance, we now do not go to the X server in order to
7996 get the list of window children. Apparently the effect is the
7997 same, we have to be careful and check if this breaks something in
8000 * src/hildon-pannable-area.c:
8001 (get_ordered_children): Removed this function.
8002 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8003 the children windows function with gdk_window_get_children.
8005 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8007 * src/hildon-pannable-area.c:
8008 (hildon_pannable_area_dispose): Fixed a crash when closing the
8009 window and kinetics is activated.
8011 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8013 * src/hildon-pannable-area.h
8014 * src/hildon-pannable-area.c
8015 Changed indentation style to meet the one used in Hildon
8017 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8019 Reviewed the interaction of the AUTO mode, now we use the time
8020 attribute of the events and calculate the velocity in the motion,
8021 doing a gimp like calculation. The velocity is calculated in each
8022 motion event using the last velocity and the current one, the
8023 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8025 * src/hildon-pannable-area.c: Replaced the time based algorithm
8027 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8028 timeout for the AUTO mode when we are still moving the cursor. We
8029 added also the velocity calculation in this function.
8030 (hildon_pannable_area_button_release_cb): launch the timeout in
8031 case we are in AUTO mode. There are still some constants here that
8032 come from the old implementation that should be reviewed and
8035 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8037 * doc/hildon-docs.sgml
8040 * src/hildon-stackable-window.c
8041 * src/hildon-stackable-window.h
8043 New HildonStackableWindow widget
8045 * examples/hildon-dialog-example.c
8046 * examples/hildon-pannable-area-example.c
8049 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8051 * src/hildon-dialog.c
8052 (hildon_dialog_new_with_buttons): New constructor.
8054 * examples/hildon-dialog-example.c
8055 (main): Update the example to use the new
8056 hildon_dialog_new_with_buttons().
8058 * examples/hildon-pannable-area-example.c
8059 (main): Update example.
8061 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8063 * doc/hildon-docs.sgml
8065 Added HildonPannableArea to the documentation.
8067 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8069 * doc/visual_index.xml
8070 Fix reference to HildonLoginDialog in documentation
8072 * doc/hildon-docs.sgml
8074 * examples/Makefile.am
8075 * examples/hildon-dialog-example.c
8077 * src/hildon-dialog.c
8078 * src/hildon-dialog.h
8080 New HildonDialog widget.
8082 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8084 * src/hildon-pannable-area.c
8085 Merge latest changes (r4318, r4342) from libmokoui trunk
8087 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8089 * examples/Makefile.am
8090 * examples/hildon-pannable-area-example.c
8092 * src/hildon-pannable-area.c
8093 * src/hildon-pannable-area.h
8095 New HildonPannableArea widget.
8097 2008-04-15 18:05:19 <timj@imendio.com>
8099 * src/hildon-banner.c: revert the recent change, that introduced
8100 gtk_window_present() calls. this reopens:
8101 Bug 78481 - [freetest] information banners are hidden under browser menu
8102 But resolves another variant of:
8103 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8105 2008-04-15 13:21:13 <timj@imendio.com>
8107 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8108 recreated its layout, spotted by Kris. this fixes all remaining
8109 artefacts and stability issues with the banner code. in particular:
8110 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8112 2008-04-14 16:52:59 <timj@imendio.com>
8114 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8115 operating on unrealized widgets, fixes:
8116 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8118 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8120 2008-04-09 Kristian Rietveld <kris@imendio.com>
8122 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8123 makes banner disappear.
8124 Fixes: NB#79182: info banner flickering with certain message lengts.
8126 * src/hildon-banner.c (hildon_banner_constructor),
8127 (hildon_banner_init), (hildon_banner_set_text),
8128 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8129 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8130 FALSE, reset size requests of label and banner,
8131 (force_to_wrap_truncated): when the text is too wide, always enforce
8132 the maximum possible width instead of recalculating it from the
8133 layout; enforce the maximum banner height of 3 lines,
8134 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8135 nicer wrapping and no truncated chars if space gets tight.
8137 * src/hildon-banner-private.h: add has_been_wrapped and
8138 has_been_truncated fields.
8140 2008-04-07 Sven Herzberg <sven@imendio.com>
8142 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8143 local values in hildon_date_editor_size_allocate
8145 * src/hildon-date-editor.c: moved the real allocation code into the
8148 2008-04-07 Sven Herzberg <sven@imendio.com>
8150 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8151 local values in hildon_date_editor_size_allocate
8153 * src/hildon-date-editor.c: merged the two if() branches together
8155 2008-04-07 Sven Herzberg <sven@imendio.com>
8157 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8158 local values in hildon_date_editor_size_allocate
8160 * src/hildon-date-editor.c: changed the arguments of the if()
8163 2008-04-07 Sven Herzberg <sven@imendio.com>
8165 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8166 local values in hildon_date_editor_size_allocate
8168 * src/hildon-date-editor.c: split the calculation of the allocation
8169 from the real allocation
8171 2008-03-27 Michael Natterer <mitch@imendio.com>
8173 Fixes: NB#81696: The passcode is not overwritten even after
8176 * src/hildon-code-dialog.c
8177 (hildon_code_dialog_button_clicked)
8178 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8179 because that doesn't overwrite selected text. Instead, emit the
8180 "commit" signal on the entry's im_context so the entry's normal
8181 insert logic is triggered. Set the cursor to the end of the entry
8182 after each insert operation so that we *only* insert in the middle
8183 of the text if something was selected.
8185 2008-03-27 Michael Natterer <mitch@imendio.com>
8187 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8188 selector cannot be opened
8190 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8191 when the popup color selector is created. Please connect to this
8192 signal in order to set the dialog's help ID.
8194 2008-03-25 Sven Herzberg <sven@imendio.com>
8196 Fixes: MB#1212: Hide info banners (infoprints) on click
8198 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8199 extracted the close event simulation into an extra function
8200 (hildon_banner_button_press_event): simulate a close event and destroy
8201 the widget if the event wasn't handled
8202 (hildon_banner_class_init): added the button_press_event handler
8203 (hildon_banner_init): added button-press events to the widget
8205 2008-03-25 Sven Herzberg <sven@imendio.com>
8207 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8208 Patch from: Mohammad Anwari <mdamt@maemo.org>
8210 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8211 instead of the right in RTL mode
8212 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8213 breadcrumb button list in RTL mode
8214 * src/hildon-caption.c: mirror the appearance of the caption widget in
8216 * src/hildon-date-editor.c: mirror appearance of the date editor in
8218 * src/hildon-time-editor.c: mirror appearance of the time editor in
8220 * src/hildon-window.c: fix the position of the popup in RTL mode
8222 2008-03-25 Sven Herzberg <sven@imendio.com>
8224 Amendment to the fix of NB#22072. Fix compilation.
8226 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8228 2008-03-19 Sven Herzberg <sven@imendio.com>
8230 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8233 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8234 timeout id properly when the timeout will disappear this leaves no
8235 artifacts around in the destroy(); there will only be the timeout
8236 created by hildon_banner_ensure_timeout() and adding a new timeout
8237 will also work if the timeout gets removed because the timeout_handler
8240 2008-03-19 Michael Natterer <mitch@imendio.com>
8242 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8244 * src/hildon-volumebar.c
8245 * src/hildon-vvolumebar.c
8246 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8247 the widget becomes focussable at all.
8249 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8250 set the focus to wither the mute button or the volumebar.
8252 Remove own "can-focus" property and instead listen to
8253 notify::can-focus in order to update the widget's state.
8255 Implement GtkWidget::focus() and make sure we can also *leave* the
8256 widget, not only enter it, depending on volumebar orientation and
8257 requested focus direction.
8259 Clean up set_mute() to cooperate nicely with all the above.
8261 2008-03-04 Michael Natterer <mitch@imendio.com>
8263 Fixes: NB#78481: information banners are hidden under browser menu
8265 * src/hildon-banner.c: call gtk_window_present() on the banners so
8266 they are risen if they are already visible.
8268 2008-03-03 Sven Herzberg <sven@imendio.com>
8270 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8272 * examples/hildon-window-menu-example.c: (main): extended the window
8273 menu example to serve as a testcase for automatically added
8274 accelerator groups, too
8275 * src/hildon-window.c: (hildon_window_add_accel_group),
8276 (hildon_window_set_menu): added patch by Tommi Komulainen
8278 2008-03-03 Sven Herzberg <sven@imendio.com>
8280 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8282 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8283 knowledge about the border allocators used within GTK+
8285 2008-02-26 Sven Herzberg <sven@imendio.com>
8287 Fixes: MB#2981: Build with asserts broken
8289 * src/hildon-date-editor.c,
8290 * src/hildon-number-editor.c,
8291 * src/hildon-time-editor.c,
8292 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8293 the proper GType instance check
8295 2008-02-25 Sven Herzberg <sven@imendio.com>
8297 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8299 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8300 * examples/hildon-window-menu-example.c: (main): explicitly show
8302 * src/hildon-window.c:
8303 (hildon_window_set_main_menu): moved most of the code from set_menu()
8304 to this place; skipped the call to gtk_widget_show_all(); also didn't
8305 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8306 (hildon_window_set_menu): removed most of the code, just keep the
8307 questionable gtk_widget_show_all()
8308 * src/hildon-window.h: added the new function and deprecate the old
8311 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8317 * debian/changelog: Updating.
8319 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8322 * pkgconfig/Makefile.am:
8323 * pkgconfig/hildon.pc.in:
8326 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8327 use newly created API_MAJOR_VERSION.
8329 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8335 * debian/changelog: Updating.
8337 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8339 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8341 Add outer_border style property, we use it but don't define it (!).
8345 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8347 * examples/hildon-bread-crumb-trail-example.c (main):
8351 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8353 Fix logic for the bread crumb trail node removal.
8357 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8363 * debian/changelog: Updating.
8365 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8367 Patch by Alejandro to get/set passwords dialogs accesibility.
8369 * hildon-1/src/hildon-get-password-dialog.c:
8370 * hildon-1/src/hildon-set-password-dialog.c:
8371 Set atk_set_name to the passwd entries in order to allow
8372 accessibility by name on this entries.
8374 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8379 * debian/control: Updating gtk dep.
8381 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8383 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8384 USE_MAEMO_GTK is enabled.
8386 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8388 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8389 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8391 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8397 * debian/changelog: Updating.
8399 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8401 * examples/Makefile.am:
8402 * examples/hildon-logical-color-example.c:
8403 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8404 applied + adding a test case. Fixes: NB#71660.
8406 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8408 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8409 to be visible, fixes warning on map for windows without toolbars.
8411 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8413 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8414 2.11.0, add a check for that besides the MAEMO_GTK check.
8416 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8422 * debian/changelog: Updating.
8424 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8426 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8427 visibility. Fixes: NB#70842 and MB#615.
8429 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8431 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8432 set the separator as no-show-all so it doesn't unintentionally appear when
8433 someone does a show_all.
8435 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8437 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8438 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8439 toplevel item. Fixes: NB#62031
8441 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8443 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8444 fix the name of the function in the docs.
8446 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8452 * debian/changelog: Updating.
8454 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8456 * examples/hildon-banner-long-example.c: Adding a test-case for long
8459 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8461 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8463 * src/hildon-color-chooser-dialog.c:
8464 * src/hildon-color-chooser.c:
8465 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8466 memory leaks in font selector and color selector. Fixes: NB#70499 and
8469 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8471 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8473 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8476 little bit bigger. Fixes: #NB63694.
8478 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8484 * debian/changelog: Updating.
8486 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8489 * doc/hildon-docs.sgml:
8490 * doc/images/bread-crumb-trail.png:
8491 * doc/images/calendar-popup.png:
8492 * doc/images/caption.png:
8493 * doc/images/code-dialog.png:
8494 * doc/images/color-button.png:
8495 * doc/images/color-chooser-dialog.png:
8496 * doc/images/color-chooser.png:
8497 * doc/images/controlbar.png:
8498 * doc/images/date-editor.png:
8499 * doc/images/font-selection-dialog.png:
8500 * doc/images/get-password-dialog.png:
8501 * doc/images/hvolumebar.png:
8502 * doc/images/login-dialog.png:
8503 * doc/images/note.png:
8504 * doc/images/number-editor.png:
8505 * doc/images/range-editor.png:
8506 * doc/images/seekbar.png:
8507 * doc/images/set-password-dialog.png:
8508 * doc/images/sort-dialog.png:
8509 * doc/images/time-editor.png:
8510 * doc/images/time-picker.png:
8511 * doc/images/vvolumebar.png:
8512 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8513 Adding the bread-crumb-trial and helpers to the documentation.
8515 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8517 * examples/hildon-find-toolbar-example.c:
8518 * src/hildon-find-toolbar.c:
8519 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8520 actually continue firing the other handlers if connected. Adding a new
8522 hildon_find_toolbar_get_last_index that gets the index of the most
8523 recently added (last) item. Fixes: NB#52301.
8525 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8527 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8528 behaviour. Fixes: NB#68610.
8530 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8532 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8535 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8537 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8538 when realizing the banner. Should make the infonbanner effect a bit more
8541 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8543 * src/hildon-volumebar.c:
8544 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8545 hildon_volumebar_set_range_insensitive_message and
8546 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8548 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8550 * src/hildon-window.c: Fixing the border freeing on destroy.
8552 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8554 * src/hildon-code-dialog-private.h:
8555 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8556 kw keyboard support in HildonCodeDialog.
8558 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8564 * debian/changelog: Updating.
8566 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * src/hildon-date-editor.c:
8569 * src/hildon-number-editor.c:
8570 * src/hildon-private.c:
8571 * src/hildon-private.h:
8572 * src/hildon-time-editor.c:
8573 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8574 handling in subclassed composite widgets. Fixes: NB#66628.
8576 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8578 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8579 from destroy_ callback as it introduces problems in async dbus signal
8580 handlers. Fixes NB#66673.
8582 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8584 * examples/hildon-hvolumebar-example.c:
8585 * src/hildon-volumebar.c: Improving the focus handling in the
8586 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8587 set_property accessor so that "mute" property can be actually set. I'm
8588 scared that nobody noticed it's totally broken.
8590 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8592 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8595 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8597 * src/hildon-calendar.c:
8598 * src/hildon-number-editor.c:
8599 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8600 matches the spec of 6 chars per second. Fixes: NB#60489.
8602 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8604 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8605 gtk_style_lookup_color sometime returns FALSE even though color was
8606 found and values were filled properly. Weird. Removing the warning for the
8609 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8612 expand vertically. Adding some extra space to the find toolbar buttons to
8613 make them thumbable. Fixes NB#66060.
8615 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8617 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8618 popup with "Ok" and "Cancel". Fixes NB#59299.
8620 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8622 * src/hildon-calendar.c: Process all window updates before executing next
8623 timeout. Fixes: NB#54146.
8625 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8631 * debian/changelog: Updating.
8633 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8635 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8636 the client event and ignore it, since we use the delete event to close
8639 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8641 * src/hildon-helper.c: Remove the bogus warning about color not being
8642 found. Fixes NB#58352.
8644 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8646 * examples/Makefile.am:
8647 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8648 HildonSeekbar widget inside a toolbar.
8650 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8652 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8653 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8654 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8655 don't want to be closed by non-temporary windows on map.
8657 Also use G_DEFINE_TYPE instead of manually typed code.
8659 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8666 * debian/rules: Updating.
8668 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8670 * examples/Makefile.am:
8671 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8672 bug NB#61128. Strangely it works.
8674 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8676 * src/hildon-date-editor.c: When the date editor entry has been changed
8677 but the numbers of characters < max, turn off the skip validation flag.
8678 Prevents a situation when we enter first a valid year and later re-write
8679 it with an invalid one. Fixes NB#60154.
8681 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8683 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8684 code dialog. Fixes NB#64355.
8686 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8688 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8689 switching the page. Fixes NB#49374.
8691 * examples/Makefile.am:
8692 * examples/hildon-wizard-dialog-example.c: Adding an example for
8693 HildonWizardDialog that shows how to handle manual sensitivity setting on
8696 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8700 * src/hildon-version.h.in:
8701 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8703 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8705 * src/hildon-volumebar.c: Updating the docs.
8707 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * debian/changelog: Updating.
8715 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8717 * src/hildon-find-toolbar.c:
8718 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8719 selected item: hildon_find_toolbar_set_active,
8720 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8721 hildon_find_toolbar_get_active_iter . They correspond to respective
8722 GtkComboBox functions.
8724 * examples/Makefile.am:
8725 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8728 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8730 * examples/Makefile.am:
8731 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8734 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8735 when font size > 32 and we pack a focusable widget inside. Actually using
8736 the default response would work too, but since we don't show default
8737 response state in any way (no theming) it would not be visible to the
8738 user. Fixes NB#63430.
8740 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8742 * src/hildon-date-editor.c: Adding the missing variable setter in the
8743 set_property handler. Fixes NB#54182.
8745 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 * src/hildon-window.h: Changing the long key press time from 1500ms to
8748 800ms as requested in NB#63700. I have a bad feeling about this, let's
8749 see... Fixes NB#63700.
8751 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8753 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8754 hildon_time_picker_map, hildon_time_picker_realize,
8755 hildon_time_picker_style_set): Split the contents of map to more
8756 appropriate functions; set window decorations on realize and update
8757 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8759 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8764 * debian/changelog: Updating.
8766 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8768 * src/Makefile.am: fixed installation of the header files
8770 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8776 * debian/changelog: Updating.
8778 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8780 * configure.ac: Removing some remaining of --enable-xan.
8782 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8784 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8785 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8787 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8788 2.10.12-osso6 because the move-focus signal needs to be available in
8791 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8793 * examples/Makefile.am:
8794 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8795 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8796 fine. Prolly NB#61128 is fixed now.
8798 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8800 * src/hildon-volumebar.c:
8801 * src/hildon-volumebar.h: Adding the
8802 hildon_volumebar_set_range_insensitive_message and
8803 hildon_volumebar_set_range_insensitive_messagef functions to set
8804 insensitive message on the slider of the volumebar. Fixes NB#61129.
8806 * examples/Makefile.am:
8807 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8808 test the new insensitive messsage functionality on HildonVolumebar.
8810 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8812 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8815 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8817 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8818 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8819 button on after clearing the trail.
8821 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8823 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8825 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8827 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8828 by splitting the installed headers in generated and non-generated groups. Use
8829 only the non-generated headers to create the hildon-enum-types.h file.
8831 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8833 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * src/hildon-window.c: Hide the window before performing the destroy.
8836 Should make the app closing a little tiny bit more snappy.
8838 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8840 * src/hildon-seekbar.c: add gtkrange.h header
8841 * src/hildon-caption.c: remove unused variable
8843 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8845 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8848 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8854 * debian/changelog: Updating.
8856 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8858 * src/hildon-window.c (hildon_window_window_state_event,
8859 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8860 escape timeout on focus-out-event rather than notify::is-topmost; the
8861 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8863 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8865 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8866 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8868 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8870 * src/hildon-window: actually, you need to use the macro always, there's
8871 no private pointer in the instance structure. We should have cleaned this up
8872 when we had the chance...
8874 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8876 * src/hildon-window.c: do not get the private date from HildonWindow before
8877 it passes the g_return_if_fail check. Once it's passed the test, there's no
8878 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8879 if you are only going to access the data once. Whitespace cleanups.
8881 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8883 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8884 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8886 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8892 * debian/changelog: Updating.
8894 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8896 * src/hildon-window.c: When destroying the window, remove (if exists) the
8897 escape timeout handler. Fixes #NB59276.
8899 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8901 * src/hildon-banner.c: When realizing the widget, set the window
8902 transiency. Setting the transiency in the gobject constructor is not
8903 good, as the widget is not realized at that point. Fixes: #NB56624.
8905 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8907 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8908 Add padding for future expansions.
8910 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8912 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8913 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8914 will fake an activation on the previous to the last item of the trail, so
8915 the effect can be overrided by the developer as usual.
8916 Also change the callback for the back button to do the same thing, so its
8917 effect can be overrided too. Fixes: NB#58982
8919 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8921 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8922 HildonCaption. Fixes NB#52379.
8924 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8926 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8927 the internal state of the trail after the user has had the chance of executing
8928 his handler for the signal. Specifically, it may happen that the activated button
8929 is removed and the user still lets the default handler run. This would segfault
8932 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8934 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8935 scrollbar to the preview dialog. Fixes NB#54147.
8937 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8939 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8940 max/min year properties can be altered, so the client can modify it
8941 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8943 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8945 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8946 hildonlike by default. Fixing a problem with disappearing arrows when
8947 scrolling through months and years. Fixes NB#54127.
8949 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8951 * examples/hildon-date-editor-example.c: Adding error callback to the date
8954 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * configure.ac: Updating.
8962 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8964 * configure.ac: Adding a special '--enable-xan' configure option that
8965 turns off the -Werror compilation setting. Usefull for development.
8967 * src/hildon-calendar.c:
8968 * src/hildon-number-editor.c:
8969 * src/hildon-time-picker.c: Adding the 5* multiplier to
8972 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8974 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8975 instead of g_object_ref + gtk_object_sink.
8977 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8983 * debian/changelog: Updating.
8985 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8987 * src/hildon-color-chooser-dialog.c:
8988 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8989 straight from Tommi labs.
8991 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8993 * examples/hildon-finger-example.c: Correcting the header file path.
8995 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8996 the changed signal. Fixes a small memory leak.
8998 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9002 * src/hildon-banner.c: Importing several usefull fixes from the
9003 ubuntu-mobile branch.
9005 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9007 * examples/Makefile.am:
9008 * examples/hildon-finger-example.c: Adding a finger-checking code
9011 * src/hildon-font-selection-dialog.c: Do not allocate the color
9012 structure using the g_new. Fixes NB#54061.
9014 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9016 * src/hildon-helper.c: Correcting tabs in file.
9018 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9020 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9021 control the visibility of the children.
9023 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9025 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9031 * debian/changelog: Updating.
9033 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9035 * src/hildon-bread-crumb-trail.c:
9036 (hildon_bread_crumb_trail_size_allocate):
9038 Make the back button always a square.
9040 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9042 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9043 from the .c file as it's a private file.
9045 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9047 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9048 uses slightly bigger height.
9050 * src/hildon-font-selection-dialog.c: Adding some checks before
9051 freeing memory in the font selection dialog.
9053 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9055 * src/hildon-font-selection-dialog.c: Adding a small check when
9058 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9059 buttons sensitivity on page switching.
9061 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9063 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9064 internal details of adding a bread crumb to the trail.
9066 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9072 * debian/changelog: Updating.
9074 * src/hildon-bread-crumb-trail.h:
9075 * src/hildon-bread-crumb.h: Changing the API guard to
9076 HILDON_ENABLE_UNSTABLE_API.
9078 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9086 * src/hildon-helper.h: Updating.
9088 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9096 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9100 * src/hildon-helper.h: Small fix to make the package actually compile.
9102 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9104 * src/hildon-bread-crumb-trail.h:
9105 * src/hildon-bread-crumb.h:
9107 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9108 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9110 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9112 * examples/hildon-bread-crumb-trail-example.c:
9114 * src/hildon-bread-crumb-trail.c:
9115 * src/hildon-bread-crumb-trail.h:
9116 * src/hildon-bread-crumb.c:
9117 * src/hildon-bread-crumb.h:
9118 * src/hildon-marshalers.list:
9119 * src/hildon-bread-crumb-widget.c:
9120 * src/hildon-bread-crumb-widget.h:
9122 Slight change in the widget design. The bread crumb trail API is
9123 unchanged, but HildonBreadCrumb is now an interface. A *private*
9124 implementation, hildon-bread-crumb-widget, is provided and used
9125 internally by the trail for the push_text/push_icon functions.
9127 The generic push API is still available, so anyone can implement
9128 and use its own bread crumb widget.
9130 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9132 * debian/rules: Fixing the shlibs.
9134 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9136 * src/hildon-banner.c: Fixing a problem with timed banners having
9137 their parrent destroyed before they are.
9139 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9141 * src/hildon-bread-crumb.c:
9142 * src/hildon-bread-crumb.h:
9144 Make the get_natural_size function a vfunc.
9146 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9148 * src/hildon-bread-crumb.c:
9149 * src/hildon-bread-crumb-trail.c:
9153 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9160 * debian/changelog: Updating for release.
9162 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9164 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9165 don't leak the pango layout.
9167 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9170 * examples/hildon-bread-crumb-trail-example.c:
9174 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9176 * debian/changelog: Removing the bug-fixed entries that were actually
9177 resolved as WONTFIX.
9179 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9182 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9184 * src/hildon-bread-crumb-trail.c:
9185 * src/hildon-bread-crumb-trail.h:
9186 * src/hildon-bread-crumb.c:
9187 * src/hildon-bread-crumb.h:
9191 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9193 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9194 until it's passed the type check.
9196 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9198 * examples/hildon-bread-crumb-trail-example.c
9202 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9204 * examples/Makefile.am
9205 * examples/hildon-bread-crumb-trail-example.c
9207 * src/hildon-bread-crumb-trail.c
9208 * src/hildon-bread-crumb-trail.h
9209 * src/hildon-bread-crumb.c
9210 * src/hildon-bread-crumb.h
9212 New HildonBreadCrumbTrail widget.
9214 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9216 * src/hildon-range-editor.c (hildon_range_editor_init),
9217 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9218 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9219 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9220 hildon_time_editor_class_init, hildon_time_editor_init),
9221 src/hildon-get-password-dialog.c (invalid_input,
9222 hildon_get_password_set_property, hildon_get_password_get_property,
9223 create_contents, hildon_get_password_dialog_set_max_characters),
9224 src/hildon-set-password-dialog.c (create_contents),
9225 src/hildon-date-editor.c (hildon_date_editor_init),
9226 src/hildon-login-dialog.c (hildon_login_dialog_init),
9227 src/hildon-number-editor.c (hildon_number_editor_init),
9228 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9229 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9230 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9231 configure option and adding the respective checks in the code.
9232 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9233 hildon_calendar_drag_data_received): fixed some build warnings.
9235 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9237 * debian/changelog: A 1.0.0 release notes.