1 2009-08-03 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_check_move),
5 (hildon_pannable_area_button_release_cb),
6 (hildon_pannable_area_scroll_to): Reverted the priority change of
7 the timeout, in some situations, slow renderers, the click do not
8 make it to the mainloop on time.
10 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
12 * configure.ac: bump version
14 * debian/changelog: updates
16 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
18 * hildon/hildon-touch-selector.[ch]
19 (hildon_touch_selector_center_on_index): New method that allows to center
20 on a item not selected
22 Fixes NB#130291 (New HildonTouchSelector API is required to center on
25 2009-07-29 Alberto Garcia <agarcia@igalia.com>
27 * hildon/hildon-text-view.c
28 (+set_logical_color, +hildon_text_view_style_set)
29 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
30 (hildon_text_view_init)
31 * hildon/hildon-entry.c
32 (+set_logical_color, +hildon_entry_style_set)
33 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
34 (hildon_entry_class_init, hildon_entry_init)
35 * hildon/hildon-button.c
36 (+set_logical_font, +set_logical_color)
37 (hildon_button_style_set, hildon_button_init)
38 (hildon_button_set_arrangement, hildon_button_set_style):
39 Remove all calls to hildon_helper_set_logical_font() and
40 hildon_helper_set_logical_color(), which are recursive, from
43 Fixes: NB#123409 (Showing dialog consumes significant amount of
46 2009-07-29 Alejandro G. Castro <alex@igalia.com>
48 * hildon/hildon-pannable-area.c,
49 (hildon_pannable_area_timeout): Added the process updates of the
50 scrollbars window in the pannable.
52 Fixes: NB#130043 (scrollindicator not smooth while panning)
54 2009-07-23 Alejandro G. Castro <alex@igalia.com>
56 * hildon/hildon-pannable-area.c,
57 (hildon_pannable_area_check_move),
58 (hildon_pannable_area_button_release_cb),
59 (hildon_pannable_area_scroll_to): Increased the priority of the
60 timeout this way it is going to be handled before the events.
62 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
66 * configure.ac: bump version
67 * debian/changelog: updates
69 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
71 * hildon/hildon-entry.c: (set_property): Do not allow to set
72 automatic height and use finger height instead, to prevent an to
73 have a smaller size than than its theme pixbuf.
75 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
77 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
79 * configure.ac: postrelease version bump.
80 * debian/changelog: post release version bump
82 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
87 * configure.ac: Bump version.
88 * debian/changelog: Updates.
90 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
92 * hildon/hildon-note.c: (label_size_request): Take the note
93 padding into account when setting the size request.
95 Fixes: NB#127896 (Information notes text truncated)
97 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
99 * configure.ac: postrelease version bump.
100 * debian/changelog: post release version bump
102 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
107 * configure.ac: Bump version.
108 * debian/changelog: Updates.
110 2009-07-16 Alejandro G. Castro <alex@igalia.com>
113 * hildon/hildon-text-view.c,
114 (hildon_text_view_button_press_event): Grabbed the focus in button
115 press, this way we are sure the widget has the focus in the
116 release event, required for HIM.
118 Fixes: NB#121445 (Virtual keyboard opening is not working in same
119 way for each text entry field)
121 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
123 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
124 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
125 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
126 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
127 (hildon_pannable_area_[gs]et_center_on_child_focus)
128 Redefined GtkContainer set-focus-child signal, in order to center
129 properly on a child when it receives the focus. Defined a new property
130 "center-on-child-focus" in order to activate this feature (deactivated
131 by default). Public get/set methods defined to manage the property.
133 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
135 2009-07-14 László Pere <lpere@blumsoft.eu>
137 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
138 the new size is applied.
140 Fixes: NB#124510 (The Application Menu is distorted when switched
141 between portrait and landscape mode)
142 Fixes: NB#115388 (Power key menu does not resize itself)
144 2009-07-01 Alberto Garcia <agarcia@igalia.com>
146 * hildon/hildon-banner.c (hildon_banner_map):
147 Set banner position after mapping.
149 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
151 * configure.ac: postrelease version bump.
152 * debian/changelog: post release version bump
154 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
159 * configure.ac: Bump version.
160 * debian/changelog: Updates.
162 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
164 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
167 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
169 * tests/check-hildon-banner.c
171 * tests/test_suites.h
172 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
173 were testing deprecated functions.
174 * examples/hildon-banner-example.c: typo on button3 type, that causes
175 a fail compiling with --with-examples but without --disable-deprecated
177 Missed commit in order to fix compilation using '--enable-fatal' and
178 '--disable-deprecated' (see previous commit)
180 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
182 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
183 functions with #ifndef HILDON_DISABLE_DEPRECATED
184 * examples/hildon-find-toolbar.c: Protect deprecated
185 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
186 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
187 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
188 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
190 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
191 to allow proper compilation of deprecated functions defined on the header
193 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
195 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
197 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
198 Cache the panning indicator color.,
199 (hildon_pannable_area_style_set): Query the color on style changes.
200 (hildon_pannable_draw_vscroll),
201 (hildon_pannable_draw_hscroll),
202 (hildon_pannable_area_expose_event): Use the cached panning indicator
203 color instead of looking it up on every expose and more.
205 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
207 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
208 (hildon_pannable_draw_hscroll),
209 (hildon_pannable_area_expose_event): Fix the panning indicator color,
210 so that it's "SecondaryTextColor", as desired.
212 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
214 * hildon/hildon-picker-dialog.c:
215 (selection_completed): take into account HILDON_UI_MODE_NORMAL
216 * hildon/hildon-touch-selector.c
217 (hildon_touch_selector_init): Initialize hildon-ui-mode
218 (hildon_touch_selector_row_activated): new callback for the
219 "row-activated" signal, in order to save the last activated
220 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
221 if the current hildon-ui-mode is coherent with the touch selector
222 (hildon_touch_selector_class_init)
223 (hildon_touch_selector_get_property)
224 (hildon_touch_selector_set_property)
225 Added "hildon-ui-mode" property
226 (disconnect_model_handlers): renamed to clean_column
227 (hildon_touch_selector_remove): use clean_column function
228 (_create_new_column): use the hildon-ui-mode to create the treeview, and
229 only select the first element on HILDON_UI_MODE_EDIT
230 (hildon_touch_selector_column_init): Initialize last_activate
231 (hildon_touch_selector_append_column): check that the touch selector
232 is coherent with the current hildon-ui-mode
233 (hildon_touch_selector_get_hildon_ui_mode)
234 (hildon_touch_selector_set_hildon_ui_mode)
235 Added a getter/setter for the hildon-ui-mode property
236 (hildon_touch_selector_get_last_activated_row): Added this method in
237 order to get the last activated row.
238 * examples/hildon-touch-selector-normal-mode-example.c
239 New example, that shows how to use the HildonTouchSelector in
240 HILDON_UI_MODE_NORMAL
242 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
243 Kristian Rietveld <kris@lanedo.com> advices
245 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
247 * hildon/hildon-time-selector.c: (update_format_policy): Do
248 not call update_format_dependant_columns() if not necessary.
249 (update_format_dependant_columns): Remove unnecessary check for
250 the number of columns.
252 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
254 * hildon/hildon-note.c (+hildon_note_constructor),
255 (hildon_note_class_init), (+hildon_note_set_padding),
256 (hildon_note_rebuild): Install a constructor where to set the
257 padding properties in the note, so that it actually works fine.
258 Use hildon_note_set_padding() for this, and also to set it during
261 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
263 * configure.ac: Bump GTK+ requirement to 2.14.3.
264 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
265 when using maemo-gtk to define proper margins for the notes.
267 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
268 with the dialog edge)
270 2009-06-24 Alberto Garcia <agarcia@igalia.com>
272 * hildon/hildon-banner.c
273 (hildon_banner_class_init):
275 (+hildon_banner_size_request):
276 Request always the full width of the screen.
277 (hildon_banner_realize)
278 (-hildon_banner_check_position, hildon_banner_map):
279 hildon_banner_check_position() is not needed in Hildon 2.2.
280 (-hildon_banner_reset_wrap_state)
281 (hildon_banner_constructor, hildon_banner_init):
282 Remove unnecessary calls to hildon_banner_reset_wrap_state()
283 (+banner_do_set_text)
284 (force_to_wrap_truncated):
285 Remove has_been_wrapped and has_been_truncated attributes.
286 (+reshow_banner, hildon_banner_real_show_information)
287 (hildon_banner_show_information_with_markup)
288 (hildon_banner_show_animation, hildon_banner_show_progress)
289 (hildon_banner_set_text, hildon_banner_set_markup):
290 Refactor code. Shrink banner vertically to use the minimum space
291 necessary everytime the text of the label is updated.
292 (screen_size_changed):
293 Call force_to_wrap_truncated() when the size of the screen
296 Fixes: NB#120500 (only device memory connect mmc in use info
297 banner is left aligned)
299 Fixes: NB#120613 (Size of HildonBanner varies depending on
300 previously opened banners)
302 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
304 * hildon/hildon-color-chooser.c
305 (hildon_color_chooser_pointer_motion): Take the widget allocation
308 Fixes: NB#124385 (Unable to select exact point in color mixing box
309 in color palette dialog)
311 2009-06-23 Alejandro G. Castro <alex@igalia.com>
313 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
314 (hildon_pannable_area_dispose)
315 (hildon_pannable_area_button_press_cb)
316 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
317 (hildon_pannable_area_button_release_cb)
318 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
319 New 'panning-started' and 'panning-finished' signals.
321 Fixes: NB#121732 (New feature request: Signal to pannable area
322 that informs when panning is stopped.)
324 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
326 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
327 instead of hardcoded colon.
329 Fixes: NB#124090 (New calendar wizard title is not using
330 ecdg_ti_caption_separator)
332 2009-06-22 David King <davidk@openismus.com>
334 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
335 constants and functions, as well as correct many typos throughout the
338 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
341 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
343 * configure.ac: postrelease version bump.
344 * debian/changelog: post release version bump
346 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
351 * configure.ac: Bump version.
352 * debian/changelog: Updates.
354 2009-06-18 Alberto Garcia <agarcia@igalia.com>
356 * hildon/hildon-window-stack.c
357 (hildon_window_stack_pop_and_push_list):
358 Prevent windows from having the same stack index
360 2009-06-18 Alberto Garcia <agarcia@igalia.com>
362 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
363 Use the index of the previous window rather than the stack length
364 to calculate the new index.
368 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
370 * hildon/hildon-date-selector.c
371 (hildon_date_selector_select_current_date)
372 (hildon_date_selector_get_date)
373 (hildon_date_selector_select_day):
374 Update the documentation: uses always the range (1-31), as it is obvious
375 that the final one will depend on the month and the year, but globally
376 the range is this, in a similar GtkCalendar approach
377 (hildon_date_selector_get_date):
378 Update the documentation: add NULL as a valid value for the day, month
381 Fix some details, after talk with David King on bug MB#4698
383 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
385 * hildon/hildon-touch-selector-entry.c
386 * hildon/hildon-touch-selector.c
387 Update the documentation of the "text-column" property
389 2009-06-18 David King <davidk@openismus.com>
391 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
392 several typos and errors throughout the documentation.
394 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
397 2009-06-18 Alberto Garcia <agarcia@igalia.com>
399 * hildon/hildon-note.c (hildon_note_realize):
400 Make HildonNote support portrait mode.
402 Fixes: NB#123448 (HildonNote is not portrait-friendly)
404 2009-06-17 Alberto Garcia <agarcia@igalia.com>
406 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
407 Document this function
409 2009-06-17 David King <davidk@openismus.com>
411 * hildon/hildon-date-selector.c
412 (hildon_date_selector_select_current_date)
413 (hildon_date_selector_get_date): Update documentation regarding days,
414 as the day of the month is dependent on both the month and the year.
415 (hildon_date_selector_get_date): Fix documentation of output arguments.
417 Fixes: MB#4698 (DateSelector documentation has bad output argument
418 description, and the day depends on both the month and the year)
420 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
422 * hildon/hildon-caption.c: Other documentation fixes to
425 2009-06-17 David King <davidk@openismus.com>
427 * hildon/hildon-caption.c: Minor documentation updates for
428 HildonCaption. Fixes MB#4697.
430 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
432 * doc/hildon-docs.sgml: Add hildon-version section.
433 * doc/hildon-sections.txt:
434 * hildon/hildon-version.h.in: Document versioning macros and
437 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
439 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
440 from HildonPickerDialog section.
442 2009-06-16 Alberto Garcia <agarcia@igalia.com>
444 * hildon/hildon-banner.c (hildon_banner_bind_style)
445 (screen_size_changed, hildon_banner_init)
446 (hildon_banner_real_show_information)
447 (hildon_banner_show_information_with_markup)
448 (hildon_banner_show_animation, hildon_banner_show_progress):
449 Set a different widget name to banners in portrait mode, for them
450 to be themed correctly.
452 2009-06-16 Alberto Garcia <agarcia@igalia.com>
454 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
455 Set a different widget name to notes in portrait mode, for them to
458 Partially fixes: NB#118401 (HildonNote causes unnecessary
461 2009-06-16 Alberto Garcia <agarcia@igalia.com>
463 * hildon/hildon-note.c (hildon_note_class_init)
464 (+hildon_note_size_request, screen_size_changed):
465 Always request the full width of the screen.
467 Fixes: NB#118375 (unnecessary rescaling of images)
469 2009-06-16 Alejandro G. Castro <alex@igalia.com>
471 * hildon/hildon-pannable-area.c,
472 (hildon_pannable_area_init),
473 (hildon_pannable_area_realize): Replaced old code adding flags in
474 the object init, now we add it with the other flags in the realize
477 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
479 * hildon/hildon-note.c: (hildon_note_class_init): Several
480 documentation improvements to the HildonNote widget.
482 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
484 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
486 Fixes: MB#4556 (HildonNoteType is undocumented)
488 2009-06-15 Alberto Garcia <agarcia@igalia.com>
490 * hildon/hildon-picker-button.c:
491 Explain how HildonPickerButton sets the title of its dialog
493 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
494 the title of its dialog)
496 2009-06-15 Alberto Garcia <agarcia@igalia.com>
498 * hildon/hildon-check-button.c:
499 Documentation updates
501 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
504 2009-06-15 Alberto Garcia <agarcia@igalia.com>
507 * hildon/hildon-edit-toolbar-private.h
508 * hildon/hildon-edit-toolbar.c
509 (+hildon_edit_toolbar_set_progress_indicator)
510 (hildon_edit_toolbar_init): Add progress indicator to the
513 * hildon/hildon-gtk.c
514 (hildon_gtk_window_set_progress_indicator):
515 If the window contains a HildonEditToolbar, enable the progress
518 * hildon/hildon-private.h
519 * hildon/hildon-private.c
520 (+hildon_private_create_animation)
521 * hildon/hildon-banner.c
522 (-hildon_banner_create_animation):
523 Moved to hildon-private.c
525 Fixes: NB#102373 (Progress indicator also for the Edit mode
528 2009-06-15 Alberto Garcia <agarcia@igalia.com>
530 * hildon/hildon-app-menu-private.h
531 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
532 (hildon_app_menu_add_filter, +menu_item_button_event)
533 (hildon_app_menu_button_release, hildon_app_menu_init):
534 Make sure that buttons receive 'button-release-event' in spite of
535 the grab held by HildonAppMenu
537 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
539 2009-06-15 Alberto Garcia <agarcia@igalia.com>
541 * hildon/hildon-app-menu.c
542 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
543 New style property to set the size of the group of filter buttons.
545 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
547 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
552 * configure.ac: Bump version.
553 * debian/changelog: Updates.
555 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
557 * hildon/hildon-main.c: Minor documentation fixes.
559 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
561 * doc/hildon-sections.txt:
562 * hildon/hildon-defines.h: Document the defines, organize them,
563 and mark deprecations as such.
565 Fixes: MB#4463 (Hildon size #defines are undocumented)
567 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
569 * hildon/hildon-animation-actor.c:
570 * hildon/hildon-app-menu.c:
571 * hildon/hildon-button.c:
572 * hildon/hildon-date-editor.c:
573 * hildon/hildon-dialog.c:
574 * hildon/hildon-edit-toolbar.c:
575 * hildon/hildon-entry.c:
576 * hildon/hildon-program.c:
577 * hildon/hildon-remote-texture.c:
578 * hildon/hildon-stackable-window.c:
579 * hildon/hildon-text-view.c:
580 * hildon/hildon-touch-selector.c:
581 * hildon/hildon-window-stack.c:
582 * hildon/hildon-window.c:
584 Remove redundant "represents" wording from most of the documentation.
586 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
588 2009-06-12 Alberto Garcia <agarcia@igalia.com>
593 * hildon/hildon-banner-private.h
594 * hildon/hildon-banner.c:
595 Move HildonBannerPrivate to hildon-banner.c and remove
596 hildon-banner-private.h
597 Use a bit field to store private booleans.
599 2009-06-12 Alberto Garcia <agarcia@igalia.com>
601 * hildon/hildon-app-menu.c (hildon_app_menu_map):
602 Don't install a new idle function if there's already one
607 2009-06-11 Alberto Garcia <agarcia@igalia.com>
609 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
610 (+legacy_menu_realized, +legacy_menu_unmapped)
611 (+set_legacy_menu_type):
612 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
613 they can be identified by the window manager.
615 Fixes: NB#101437 (Invoking CSM on the left side of page area is
616 displayed in wrong location)
618 Fixes: MB#4563 (Popup menu won't locate at the left side of the
621 2009-06-11 Alberto Garcia <agarcia@igalia.com>
623 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
625 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
628 2009-06-11 Alberto Garcia <agarcia@igalia.com>
630 * hildon/hildon-code-dialog.c
631 * hildon/hildon-date-editor.c
632 * hildon/hildon-number-editor.c
633 * hildon/hildon-seekbar.c
634 * hildon/hildon-stackable-window.c
635 * hildon/hildon-window.c:
636 Misc documentation updates
638 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
640 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
641 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
643 Fixes: NB#117931 (Theming issues in accounts dialogs)
645 2009-06-09 Alejandro G. Castro <alex@igalia.com>
647 * hildon/hildon-pannable-area.c,
648 (hildon_pannable_area_button_release_cb): Changed the coordinates
649 of the original release in case we want to discard the release,
650 some widgets in Fremantle do not handle the leave-notify.
652 2009-06-09 Alejandro G. Castro <alex@igalia.com>
654 * hildon/hildon-pannable-area.c,
655 (hildon_pannable_area_button_release_cb): Reviewed the logic of
656 the release using the last refactored functions and avoiding the
657 movement if an element was selected.
659 2009-06-09 Alejandro G. Castro <alex@igalia.com>
661 * hildon/hildon-pannable-area.c,
662 (hildon_pannable_area_check_move),
663 (hildon_pannable_area_handle_move),
664 (hildon_pannable_area_motion_notify_cb): Refactored the
665 motion_notify method using a couple of new functions.
667 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
669 * hildon/hildon-date-selector.c:
670 (hildon_date_selector_construct_ui):
671 * hildon/hildon-time-selector.c:
672 (hildon_time_selector_constructor):
673 * hildon/hildon-touch-selector-entry.c:
674 (hildon_touch_selector_entry_set_text_column),
675 (hildon_touch_selector_entry_get_text_column):
676 * hildon/hildon-touch-selector.c: (_default_print_func),
677 (hildon_touch_selector_new_text): Use
678 hildon_touch_selector_set/get_text_column() instead of
679 setting/getting the "text-column" property.
681 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
683 * doc/hildon-sections.txt: Add the new public methods below.
685 * examples/hildon-picker-button-multicolumn-example.c:
686 (create_touch_selector):
687 * examples/hildon-touch-selector-example.c: (create_selector):
688 * examples/hildon-touch-selector-multi-cells-example.c:
690 Use hildon_touch_selector_column_set_text_column()
692 * hildon/hildon-touch-selector-column.h:
693 * hildon/hildon-touch-selector.c:
694 (hildon_touch_selector_column_set_text_column),
695 (hildon_touch_selector_column_get_text_column):
696 Make hildon_touch_selector_column_set/get_column() public, use
697 them in the inline example, document them, and reference to them
700 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
702 * hildon/hildon-time-selector.c: Fix the docs for
703 hildon_time_selector_new_step().
705 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
707 * hildon/hildon-touch-selector.c: Improve the documentation for
708 hildon_touch_selector_append_column().
710 Fixes MB#4641 (Documentation:
711 hildon_touch_selector_append_column() ref-counting)
713 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
715 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
716 Comment out test 5, since the hildon_controlbar_set_range() range
717 check is broken and fixing it would have side effects. Also,
718 this finally fixes make distcheck.
720 Fixes: NB#101420 (Update unit tests and fix make distcheck)
722 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
724 * tests/TEST-CASES.txt: Remove other bogus test.
725 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
726 Remove bogus test that was setting/retrieving a valid value.
728 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
730 * tests/TEST-CASES.txt: Remove bogus tests.
731 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
732 Remove three bogus tests that were actually setting valid colors.
734 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
736 * configure.ac: post release version bump
737 * debian/changelog: post release version bump
739 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
744 * configure.ac: Bump version.
745 * debian/changelog: Updates.
747 2009-06-08 Christian Dywan <christian@lanedo.com>
751 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
752 Correct errors in hildon_format_file-size_for_display and use
753 translations from the hildon-fm package instead of osso-filemanager.
755 2009-06-08 Alejandro G. Castro <alex@igalia.com>
757 * hildon/hildon-pannable-area.c,
758 (hildon_pannable_area_init): Initialized new values to handle the
760 (hildon_pannable_area_adjust_value_changed): Check if the values
761 changed before even call the redraw function.
762 (hildon_pannable_area_size_allocate),
763 (hildon_pannable_axis_scroll),
764 (hildon_pannable_area_scroll),
765 (hildon_pannable_area_jump_to): Improved the diagonal movement
768 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
771 2009-06-08 Alberto Garcia <agarcia@igalia.com>
773 * examples/hildon-banner-example.c:
774 Several style updates
775 (on_animation_clicked, on_animation_idle)
776 (on_progress_clicked, on_progress_idle):
777 Add additional reference for the cases when the parent window is
780 2009-06-08 Alberto Garcia <agarcia@igalia.com>
782 * doc/hildon-sections.txt
783 * hildon/hildon-pannable-area.c
784 * hildon/hildon-banner.h
785 * hildon/hildon-banner.c: Documentation updates.
787 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
790 2009-06-05 Alejandro G. Castro <alex@igalia.com>
792 * hildon/hildon-calendar-popup.h:
793 * hildon/hildon-caption.h:
794 * hildon/hildon-code-dialog.h:
795 * hildon/hildon-controlbar.h:
796 * hildon/hildon-date-editor.h:
797 * hildon/hildon-dialog.h:
798 * hildon/hildon-get-password-dialog.h:
799 * hildon/hildon-hvolumebar.h:
800 * hildon/hildon-login-dialog.h:
801 * hildon/hildon-note.h:
802 * hildon/hildon-number-editor.h:
803 * hildon/hildon-range-editor.h:
804 * hildon/hildon-seekbar.h:
805 * hildon/hildon-set-password-dialog.h:
806 * hildon/hildon-sort-dialog.h:
807 * hildon/hildon-time-editor.h:
808 * hildon/hildon-time-picker.h:
809 * hildon/hildon-volumebar-range.h:
810 * hildon/hildon-volumebar.h:
811 * hildon/hildon-vvolumebar.h:
812 * hildon/hildon-weekday-picker.h:
813 * hildon/hildon-window.h:
814 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
815 macros with the current replacements
817 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
819 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
821 * hildon/hildon-color-button.c (hildon_color_button_init): Use
822 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
823 itself, to make it fit better with Fremantle style.
825 Fixes: NB#109878 (height and width of focus on color icon is not
826 consistent with other item in the application tool bar)
828 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
830 * hildon/hildon-touch-selector.c:
831 (hildon_touch_selector_optimal_size_request): use the current requisition
832 as the base, in order to include any possible extra widget, like the
833 hildon entry on HildonTouchSelectorEntry
835 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
837 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
839 * configure.ac: post release version bump
840 * debian/changelog: post release version bump
842 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
847 * configure.ac: Bump version.
848 * debian/changelog: Updates.
850 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
852 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
854 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
855 to ensure the banner contents are centered, instead of relying on
856 the expand and fill properties in GtkHBox.
857 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
859 Fixes: NB#108265 (Animation banner not properly centered)
861 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
863 * hildon/hildon-pannable-area.c
864 (hildon_pannable_area_initial_effect): Remove the initial_effect
865 management, check initial_hint
866 (hildon_pannable_are_expose_event): Remove the initial_hint management,
867 set initial_effect to FALSE
868 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
869 by launching the fade_timeout if the scrollbars state has changed and are
871 * examples/hildon-pannable-area-initial-hint-example.c
872 Modified to allow to remove rows too. Add and remove rows one by one.
874 2009-05-28 Alberto Garcia <agarcia@igalia.com>
876 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
877 Don't close the menu if there's an animation actor below it.
879 Fixes: NB#117927 (Application menu not usable with animation
882 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
884 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
885 "focus-on-click" from the dialog button, to avoid stealing the
886 focus from the entry.
888 Fixes: NB#118903 (Account setup wizard: Text in Search field
889 should be focused when "Region" touch list picker is reopened
892 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
894 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
895 (prepare_action_area): Completely hide the dialog separator.
897 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
899 * hildon/hildon-touch-selector-entry.c
900 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
901 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
902 now that the entry is exposed.
904 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
906 * hildon/hildon-touch-selector-entry.c
907 (hildon_touch_selector_entry_init): Change the entry's size
908 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
910 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
912 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
913 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
914 avoid unnecessary scaling.
916 2009-05-27 Alberto Garcia <agarcia@igalia.com>
918 * hildon/hildon-app-menu.c (hildon_app_menu_map):
919 Create grab transfer window before calling parent's map function.
921 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
922 "crushed" button(s) in the top left corner)
924 2009-05-26 Alberto Garcia <agarcia@igalia.com>
926 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
927 Check if the window is already realized when pushing it.
929 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
931 * configure.ac: post release version bump
932 * debian/changelog: post release version bump
934 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
939 * configure.ac: Bump version.
940 * debian/changelog: Updates.
942 2009-05-25 Alberto Garcia <agarcia@igalia.com>
944 * hildon/hildon-app-menu.c: Doc updates.
946 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
948 * hildon/hildon-banner.c: Remove leftover macro.
950 2009-05-25 Alejandro G. Castro <alex@igalia.com>
952 * hildon/hildon-pannable-area.c,
953 (hildon_pannable_area_scroll_indicator_fade),
954 (hildon_pannable_area_button_release_cb): Reviewed vmin
955 conditions, it could cause problems in the fadeout procedure.
957 2009-05-25 Alejandro G. Castro <alex@igalia.com>
959 * hildon/hildon-pannable-area.c
960 (hildon_pannable_area_button_release_cb): Added a threshold to
961 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
963 2009-05-25 Alejandro G. Castro <alex@igalia.com>
965 * hildon/hildon-pannable-area.c,
966 (hildon_pannable_area_set_property): Added code to sync the gtk
967 dnd threshold with the panning threshold.
969 2009-05-25 Alejandro G. Castro <alex@igalia.com>
971 * hildon/hildon-pannable-area.c,
972 (hildon_pannable_area_class_init): Changed some of the default
973 values, now it should be less responsive and more accurate.
975 2009-05-25 Alejandro G. Castro <alex@igalia.com>
977 * hildon/hildon-pannable-area.c,
978 (hildon_pannable_area_init),
979 (hildon_pannable_area_scroll_indicator_fade),
980 (hildon_pannable_area_button_press_cb),
981 (hildon_pannable_axis_scroll),
982 (hildon_pannable_area_timeout),
983 (hildon_pannable_area_motion_notify_cb),
984 (hildon_pannable_area_button_release_cb): Changed the name of the
985 clicked attribute to button_pressed, it is more clear about its use.
987 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
989 * src/hildon-pannable-area.c
990 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
992 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
993 vertical scrollbar visibility, and use the data on private section instead,
994 remove the initial_hint check
995 (hildon_pannable_area_expose_event): add the initial_hint check here
997 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
999 * src/hildon-pannable-area.c
1000 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1001 if the fadeout effect was used
1002 (hildon_pannable_area_expose_event): check if it is required to
1003 manage the initial effect on the begining of the function. Previously
1004 it was made at the end, but this doesn't ensure that the scrollbars
1005 will be painted on the first show. Do not set to FALSE initial_effect,
1006 to ensure that the initial hint is showed the first time the pannable
1008 * examples/Makefile.am
1009 * examples/hildon-pannable-area-initial-hint-example.c:
1010 New example, to show that the initial-hint is showed when the widget
1013 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1014 initially if the application can be scrolled)
1016 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1018 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1019 Resize table before adding new items to make sure that
1020 gtk_table_resize() is called just once.
1022 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1024 * hildon/hildon-app-menu-private.h
1025 * hildon/hildon-app-menu.c (item_visibility_changed)
1026 (filter_visibility_changed, hildon_app_menu_show_all)
1027 (hildon_app_menu_hide_all, hildon_app_menu_init):
1028 Rearrange items just once when gtk_widget_show_all()/hide_all()
1031 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1033 * hildon/hildon-app-menu.c
1034 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1035 Don't call gtk_widget_show() on added items.
1037 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1038 automatically when they're added)
1040 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1042 * hildon/hildon-banner.c
1043 (hildon_banner_realize, +hildon_banner_unrealize)
1044 (+screen_size_changed, hildon_banner_class_init):
1045 Redisplay the banner if the screen is rotated.
1047 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1048 on transition from landscape to portrait)
1050 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1052 * hildon/hildon-banner.[ch]:
1053 (hildon_banner_show_information_override_dnd): remove icon_name from the
1054 method definition as it is ignored.
1055 * examples/hildon-banner-dnd-example.c: updated with the change on
1058 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1060 * hildon/hildon-banner-private.h: new require_override_dnd and
1061 overrides_dnd variables
1062 * hildon/hildon-banner.h:
1063 (hildon_banner_show_information_override_dnd): new method, that shows
1064 the information but sets the override flag, in order to show important
1066 * hildon/hildon-banner.c
1067 (hildon_banner_show_information_override_dnd): new method
1068 (hildon_banner_set_override_flag): new utility function
1069 (hildon_banner_real_show_information): new utility function, in order to
1070 generalize the current hildon_banner_show_information_override_dnd and
1071 hildon_banner_show_information_override_dnd
1072 * examples/Makefile.am
1073 * examples/hildon-banner-dnd-example.c: New example that show how to
1074 use the new hildon_banner_show_information_override_dnd
1076 Fixes: NB#114874 (There is no possibility to show hildon banners with
1079 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1081 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1082 behind hildon_pannable_calculate_vel_factor().
1084 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1086 * hildon/hildon-pannable-area.c
1087 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1088 deceleration factors.
1090 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1092 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1093 Reduce the default value for 'scroll_time' to 1 second, since the
1094 current initial scrolling takes too much time.
1096 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1098 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1099 calculate velocity factor during initialization, since the properties
1102 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1104 * hildon/hildon-pannable-area.c
1105 (hildon_pannable_area_set_property): Calculate the velocity factor
1106 after setting the deceleration property and not after.
1108 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1110 * hildon/hildon-entry.c
1111 (hildon_entry_class_init, +set_property, hildon_entry_new)
1112 * hildon/hildon-check-button.c
1113 (hildon_check_button_class_init)
1114 (+set_property, hildon_check_button_new):
1115 Make the theme size a property.
1117 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1118 others) do too much in the _new function)
1120 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1122 * configure.ac: post release version bump
1123 * debian/changelog: post release version bump
1125 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1130 * configure.ac: Bump version.
1131 * debian/changelog: Updates.
1133 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1135 * hildon/hildon-gtk.h
1136 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1137 New API function to take a screenshot of a window
1139 Fixes: NB#106374 (Need API to take a loading screenshot)
1141 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1143 * hildon/hildon-time-selector.c
1144 (update_format_policy): prevent to use hours and minutes unitialized
1146 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1148 * hildon/hildon-window.c (hildon_window_size_request):
1149 Always request the full size of the screen (minus the title bar if
1150 not in fullscreen mode).
1152 Fixes: NB#107486 (HildonWindow should size itself properly)
1154 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1156 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1157 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1158 (on_show_cb), (sound_handling): Disconnect the idle handler for
1159 the sound when the note is finalized to avoid possible crashes.
1161 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1164 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1166 * src/hildon-animation-actor.c,
1167 * src/hildon-remote-texture.c:
1168 Added proper object cleanup to remove signal handler and object
1169 references as HildonAnimationActor and HildonRemoteTexture
1170 objects get destroyed.
1172 Fixes: NB#116682 (Destroying parented animation actors when
1173 parent in unmapped leads to crash)
1175 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1177 Based on a patch by Christian Dywan (christian@imendio.com)
1179 * doc/hildon-sections.txt:
1180 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1181 * hildon/hildon-helper.h: New file size formatting method.
1183 * debian/control: Depend on osso-filemanager l10n package for
1184 proper localization strings.
1186 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1188 * tests/Makefile.am: Include top_srcdir to make possible to build
1189 tests in a different builddir.
1190 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1191 on a different builddir.
1193 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1195 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1196 (hildon_touch_selector_remove): Disconnect model's signal handler
1199 Fixes: NB#116289 (Hildon home crashes while adding task
1202 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1204 * hildon/hildon-button.c
1205 (hildon_button_set_title, hildon_button_set_value):
1206 Hide labels containing an empty string.
1208 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1210 * configure.ac: post release version bump
1211 * debian/changelog: post release version bump
1213 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1218 * configure.ac: Bump version.
1219 * debian/changelog: Updates.
1221 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1223 * hildon/hildon-note-private.h: Removed sound_signal_handler
1224 * hildon/hildon-note.c
1225 (on_show_cb): new callback on note "show" event, this simply adds
1226 a idle, with the function sound_handling
1227 (sound_handling): removed the sound_signal_handler management
1228 (hildon_note_init): connect note "show" event to on_show_cb
1229 (hildon_note_realize): remove the connection to "expose-event"
1231 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1232 device?' confirmation note)
1234 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1236 * hildon/hildon-note.c
1237 (hildon_note_new_information_with_icon_name)
1238 (hildon_note_new_confirmation_with_icon_name):
1239 Terminate the list of parameters in g_object_set() calls
1241 Fixes: NB#115166 (Formatting memory card is not taking place)
1243 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1245 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1246 "dialog-information" role for the sound being played.
1248 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1250 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1251 Don't make the menu a modal window, it causes strange interactions
1252 with the pointer grab and it's not really needed.
1254 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1256 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1258 * hildon/hildon-touch-selector.[ch]
1259 (hildon_touch_selector_optimal_size_request): function added to get a
1260 optimal size request from the touch selector, when you want a dialog to
1261 show as much of the selector
1262 * hildon/hildon-picker-dialog.c:
1263 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1264 (hildon_app_menu_class_init):
1265 New "max-height-landscape" and "max-height-portrait" style properties
1266 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1267 (hildon_picker_dialog_get_max_height): returns the maximum height using
1268 the style properties defined and checking the current portrait/landscape
1270 (_hildon_picker_dialog_set_selector): removed the set_size_request
1272 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1274 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1276 * hildon/hildon-bread-crumb-trail.c:
1277 * hildon/hildon-bread-crumb.c:
1278 * hildon/hildon-seekbar.c:
1279 Add reference to replacements for these deprecated widgets.
1281 Fixes: MB#4461 (Documentation: All deprecations should mention
1284 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1286 * examples/hildon-remote-texture-example.c
1288 Change the include to the hildon-remote-texture in order to compile
1289 properly the examples on the installed libhildon1-examples package
1291 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1293 * tests/Makefile.am: Add check for HildonPickerButton.
1294 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1295 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1296 checks for the HildonPickerButton.
1297 * tests/check_test.c (configure_tests): Add the test suite.
1298 * tests/test_suites.h: likewise.
1300 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1302 * hildon/hildon-touch-selector.c
1303 (+on_row_changed): Emit HildonTouchSelector:changed when the
1304 contents of a selected row change.
1305 (_create_new_column), (_hildon_touch_selector_set_model): connect
1306 to GtkTreeModel:row-changed on a newly set model.
1308 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1310 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1312 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1314 * hildon/hildon-banner.c (hildon_banner_destroy)
1315 (hildon_banner_show_progress, hildon_banner_set_fraction):
1316 Remove the progress bar from HildonBanner and use a progress
1319 Fixes: NB#113761 (Update progress banner to use progress
1322 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1324 * hildon/hildon-banner.c:
1325 Calculate size of the banner label using the actual screen width
1326 rather than using a fixed value.
1328 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1331 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1333 * hildon/hildon-pannable-area.c,
1334 (hildon_pannable_area_class_init): Fixed signals documentation
1337 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1339 * configure.ac: post release version bump
1340 * debian/changelog: post release version bump
1342 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1347 * configure.ac: Bump version.
1348 * debian/changelog: Updates.
1350 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1352 * hildon/hildon-edit-toolbar.c
1353 (hildon_edit_toolbar_init):
1354 Don't let buttons in HildonEditToolbar receive focus.
1356 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1357 typing on an HW arrows key)
1359 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1361 * doc/Makefile.am: Fix build.
1363 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1365 * doc/Makefile.am: Do not redefine content_files.
1367 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1375 Renamed src/ to hildon/
1380 Include <hildon/hildon.h> directly in all examples.
1382 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1384 * src/hildon-sort-dialog.c
1385 (hildon_sort_dialog_add_sort_key_with_sorting)
1389 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1391 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1392 make distcheck passes.
1394 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1396 * Makefile.am: Enable gtk-doc during distcheck.
1398 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1400 * Makefile.am: Do not distribute the debian/ directory.
1402 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1404 * doc/Makefile.am: Add the extra SGML files to content_files,
1405 so that they are distributed properly.
1407 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1409 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1412 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1414 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1415 (hildon_note_new_information_with_icon_name): Set the "icon" property
1416 to preserve soundness.
1418 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1420 * src/hildon-font-selection-dialog.c
1421 (hildon_font_selection_dialog_set_property): Fail when the "family"
1422 property is set to NULL.
1424 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1426 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1429 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1431 * src/hildon-time-selector.h:
1432 Added HildonTimeSelectorFormatPolicy
1433 * src/hildon-time-selector.c:
1434 Added PROP_TIME_FORMAT_POLICY
1435 (_check_ampm_format): renamed to check_automatic_ampm_format
1436 (update_format_policy), (update_format_dependant_columns): new functions
1437 (hildon_time_selector_class_init)
1438 (hildon_time_selector_contructor)
1439 (hildon_time_selector_init)
1440 (hildon_time_selector_get_property)
1441 (hildon_time_selector_set_property)
1442 (hildon_time_selector_get_time)
1443 (hildon_time_selector_set_time)
1444 * src/hildon-touch-selector.h: new file
1445 * src/hildon-touch-selector.c
1446 (hildon_touch_selector_emit_changed)
1447 (hildon_touch_selector_block_changed)
1448 (hildon_touch_selector_unblock_changed)
1449 Added functions to allow to block the emission of the "changed" signal
1450 * src/hildon-picker-dialog.c
1451 (hildon_picker_dialog_show): call the parent show before the custom code
1452 * examples/hildon-time-button-example.c
1453 Modified, so now you can configure the time format using the new property
1455 Added a new property "time-format-policy" that allow to choose the time
1456 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1457 case it uses gconf in order to check if the time selector must use
1460 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1463 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1465 * src/hildon-note.c (hildon_note_init):
1466 Label in HildonNote must be left aligned, not centered. This
1467 reverts the last commit in HildonNote.
1469 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1470 is connectivity dialog)
1472 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1477 * doc/hildon-sections.txt:
1478 Added hildon_gtk_window_set_do_not_disturb()
1480 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1482 * src/hildon-note.c (hildon_note_init): Center label.
1484 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1487 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1492 * configure.ac: Bump version.
1493 * debian/changelog: Updates.
1495 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1497 * src/hildon-note-private.h: Add button-width to the private data.
1498 * src/hildon-note.c (+resize_button),
1499 (+hildon_note_orientation_update): methods to repack widgets on orientation
1501 (screen_size_changed): Call above method for confirmation notes.
1502 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1503 (hildon_note_rebuild): Store the original width request from buttons.
1505 Fixes: NB#109635 (Confirmation notes do not support portrait)
1507 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1509 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1510 when it is a progress note.
1512 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1514 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1515 in the note, since there are no horizontally arranged contents.
1517 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1519 * src/hildon-gtk.c (+set_flag): new generic method to
1520 set/delay a flag setting in a window.
1521 (hildon_gtk_window_set_progress_indicator):
1522 (hildon_gtk_window_set_do_not_disturb),
1523 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1524 avoid code redundance.
1526 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1528 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1530 * src/hildon-gtk.c (set_clear_window_flag),
1531 (do_set_progress_indicator), (do_set_do_not_disturb),
1532 (do_set_portrait_flags),
1533 (hildon_gtk_window_set_progress_indicator),
1534 (hildon_gtk_window_set_do_not_disturb),
1535 (hildon_gtk_window_set_portrait_flags):
1536 Allow setting dnd-flag, progress indicator, and portrait flags
1537 when the window is not realized.
1539 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1541 * src/hildon-pannable-area.c,
1542 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1543 the size request policy function and defines.
1545 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1547 * doc/hildon-sections.txt: Add the new API.
1548 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1549 method to set the portrait flags.
1550 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1552 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1554 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1556 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1557 to allow using this method with other flags.
1558 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1559 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1561 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1563 * src/hildon-touch-selector.c
1564 (hildon_touch_selector_append_text_column):
1565 Make the cell renderer use the smallest width possible.
1567 Fixes: NB#108470 (Selected items in multiple selection are either
1568 having a tick that is cut or not visible at all.)
1570 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1572 * src/hildon-touch-selector.c
1573 (hildon_touch_selector_append_text_column):
1576 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1578 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1579 Use g_strdup_printf() instead of a fixed size buffer.
1581 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1583 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1584 Close banners when a HildonAppMenu is popped up.
1586 Fixes: NB#111027 (Title menu closed immediately if activated when
1587 "Invalid e-mail address" banner is shown)
1589 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1594 * configure.ac: Bump version.
1595 * debian/changelog: Updates.
1597 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1599 * src/hildon-banner.c (hildon_banner_realize):
1600 Mark HildonBanner as supporting portrait mode.
1601 Use GDK to set window properties insetad of direct Xlib calls.
1603 Fixes: NB#111830 (HildonBanner should be marked as supporting
1606 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1608 * src/hildon-note.c (hildon_note_rebuild):
1609 Hide action area in information notes. Prevents text from being
1610 slightly aligned to the left.
1612 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1615 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1617 Patch by Mox Soini (ext-mox.soini@nokia.com)
1619 * src/hildon-banner.c (hildon_banner_create_animation):
1620 Use stylus-sized icons in animation banner.
1622 Fixes: NB#111206 (stylus sized icon for animation banner)
1624 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1628 (+hildon_gtk_window_set_do_not_disturb):
1629 New API to set the do-not-disturb flag.
1631 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1633 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1635 * examples/hildon-progress-indicator-example.c: Fix example
1637 * src/hildon-gtk.c (set_clear_window_flag)
1638 (hildon_gtk_window_set_progress_indicator):
1639 Create a generic function for setting flags to a window.
1640 Use GDK instead of direct Xlib calls.
1642 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1644 * src/hildon-button.c (hildon_button_set_arrangement):
1645 Due to NB#88126, if one of the labels is too long it will be
1646 painted outside the button. The 'value' label is more likely to be
1647 the longest one, so we change its packing options in order to
1648 truncate it if necessary. As a side effect, the 'title' label will
1649 no longer be truncated.
1651 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1653 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1658 * configure.ac: Bump version.
1659 * debian/changelog: Updates.
1661 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1663 Deprecation of the hildon_pannable_area_set_size_request_policy
1664 API, the only policy properly supported in gtk+ nowadays is the
1667 * src/hildon-pannable-area.c,
1668 (hildon_pannable_area_size_request): Added a workaround for the
1669 size_request to avoid the problems of huge pixmaps in case someone
1670 is still using the function.
1671 * src/hildon-pannable-area.h: Deprecated the enum with the
1674 Fixes: NB#110244 (Problems with the
1675 hildon_pannable_area_set_size_request_policy API)
1677 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1679 * src/hildon-pannable-area.c,
1680 (hildon_pannable_area_init),
1681 (hildon_pannable_area_size_request),
1682 (hildon_pannable_area_style_set),
1683 (hildon_pannable_draw_vscroll),
1684 (hildon_pannable_draw_hscroll),
1685 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1686 indicator_width to clarify the use of the attribute.
1688 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1693 * configure.ac: Bump version.
1694 * debian/changelog: Updates.
1696 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1698 * src/hildon-picker-dialog.c
1699 * src/hildon-touch-selector.c
1700 Reverting the change that tried to avoid the hardcoded height on
1701 the picker dialog, as causes problems on the hildon-touch-selector
1704 Fixes: NB#110029 (selectors not scrolling to selected value)
1706 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1708 * src/hildon-touch-selector.c: Fix typos
1710 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1712 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1713 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1714 request more motions after using it.
1716 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1718 * src/hildon-calendar.c (hildon_calendar_expose),
1719 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1720 Remove unused variables.
1722 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1724 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1725 variable assignment.
1727 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1729 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1730 Check the return value of gtk_tree_selection_get_selected()
1733 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1735 * src/hildon-animation-actor.c
1736 * src/hildon-button.c
1738 * src/hildon-pannable-area.c
1739 * src/hildon-picker-button.c
1740 * src/hildon-program.c
1741 * src/hildon-remote-texture.c
1742 * src/hildon-text-view.c
1743 * src/hildon-touch-selector.c
1744 * src/hildon-window-stack.c
1745 * src/hildon-window.c:
1746 Add missing 'Since: 2.2' tags.
1748 * doc/hildon-sections.txt:
1749 Add some missing symbols.
1751 * doc/hildon-docs.sgml:
1752 New 'Other' section for HildonAnimationActor and
1755 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1757 Patch by Iván Gómez (igomez@igalia.com)
1760 * doc/compiling.sgml
1761 * doc/hildon-docs.sgml
1762 * doc/hildon-sections.txt
1763 * doc/migration.sgml
1764 * doc/resources.sgml
1766 New chapters on using the Hildon library.
1767 Updated the general structure of the reference manual.
1768 Other minor documentation fixes.
1770 * src/hildon-calendar-popup.c
1771 * src/hildon-calendar.c
1772 * src/hildon-controlbar.c
1773 * src/hildon-date-editor.c
1774 * src/hildon-dialog.c
1775 * src/hildon-hvolumebar.c
1776 * src/hildon-number-editor.c
1777 * src/hildon-range-editor.c
1778 * src/hildon-sort-dialog.c
1779 * src/hildon-time-editor.c
1780 * src/hildon-time-picker.c
1781 * src/hildon-volumebar-range.c
1782 * src/hildon-volumebar.c
1783 * src/hildon-vvolumebar.c
1784 * src/hildon-weekday-picker.c:
1785 Add deprecation notes
1787 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1788 Document 'horizontal-movement' and 'vertical-movement' signals.
1790 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1795 * configure.ac: Bump version.
1796 * debian/changelog: Updates.
1798 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1800 * src/hildon-pannable-area.c,
1801 (hildon_pannable_area_class_init): increased the minimum velocity.
1802 (hildon_pannable_area_button_release_cb): Updated the
1803 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1804 setup. Review the code to control that last event.
1806 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1809 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1811 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1813 * src/hildon-get-password-dialog.c
1814 (hildon_get_password_set_property),
1815 (hildon_get_password_get_property), (create_contents):
1816 * src/hildon-login-dialog-private.h:
1817 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1818 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1819 (hildon_login_dialog_get_password):
1820 * src/hildon-set-password-dialog-private.h:
1821 * src/hildon-set-password-dialog.c
1822 (hildon_set_password_set_property),
1823 (hildon_set_password_get_property), (create_contents),
1824 (hildon_set_password_response_change),
1825 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1827 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1828 instead and look more Fremantle style.
1830 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1832 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1834 * doc/hildon-sections.txt
1835 * src/hildon-window-stack.h
1836 * src/hildon-window-stack.c
1837 (+hildon_window_stack_get_windows):
1838 New API to obtain the list of windows on a stack.
1840 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1842 * src/hildon-app-menu.c (hildon_app_menu_popup)
1843 (hildon_app_menu_class_init, -hildon_app_menu_show):
1844 Remove hildon_app_menu_show() and move all its checks to
1845 hildon_app_menu_popup()
1847 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1849 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1850 (_hildon_picker_dialog_set_selector): removed call to
1851 gtk_widget_set_size_request
1852 * src/hildon-touch-selector.c
1853 (_create_new_column): change the pannable size request policy
1855 Avoid to use a hardcoded height for the hildon picker dialog. In order
1856 to get that, we needed to change the hildon pannable size request
1858 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1860 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1862 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1863 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1866 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1868 * debian/control: Depend on osso-system-lock localization package.
1869 * src/hildon-code-dialog.c: Obtain the secu_application_title
1870 translation from osso-system-lock.
1871 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1872 for translation the atk related strings, that's not necessary.
1873 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1874 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1875 cancel button, it is not required.
1877 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1879 * src/hildon-pannable-area.c,
1880 (hildon_pannable_area_class_init): Modified the default value of
1881 the overshooting max speed, we have reduced it.
1883 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1885 * doc/hildon-sections.txt
1886 * src/hildon-window-private.h
1887 * src/hildon-window.h
1888 * src/hildon-window.c (hildon_window_class_init)
1889 (hildon_window_init, hildon_window_finalize)
1890 (hildon_window_realize, hildon_window_get_property)
1891 (hildon_window_set_property, hildon_window_update_markup)
1892 (hildon_window_get_markup, hildon_window_set_markup):
1893 New "markup" property and hildon_window_{get,set}_markup() methods.
1895 * examples/hildon-stackable-window-example.c (new_window):
1896 Update example to use hildon_window_set_markup()
1898 Fixes: NB#106375 (Need API to retitle a window with a title
1901 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1903 * src/hildon-pannable-area.c,
1904 (hildon_pannable_area_class_init): Changed the default value of
1905 the initial_hint to TRUE.
1906 (hildon_pannable_area_initial_effect): Changed the initial effect,
1907 not the effect is just the fade-out of the scrollbars.
1909 Fixes: NB#107775 (No scrollbars can be seen when several items are
1910 available in a dialog)
1912 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-program.c (hildon_program_update_top_most):
1917 Fixes: NB#109179 (Memory leak in Hildon program)
1919 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1921 * src/hildon-banner.c (-get_current_app_window):
1922 Remove unused function.
1924 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1926 * src/hildon-pannable-area.c: Modified the documentation of the
1927 get adjustments functions to explain the problem of using the
1928 adjustment directly.
1929 (hildon_pannable_area_class_init): Improved the explanation about
1932 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1934 * src/hildon-app-menu-private.h
1935 * src/hildon-app-menu.c
1936 (hildon_app_menu_class_init):
1937 Bring back the 'external-border' style property
1938 (hildon_app_menu_class_init, hildon_app_menu_init)
1939 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1940 Set a fixed width-request for the menu, independent of the number
1943 Fixes: NB#94957 (Smoothly opened application menu)
1945 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1947 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1949 * src/hildon-banner.c
1950 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1952 Make sure that the banner is correctly placed the first time it's
1954 (hildon_banner_check_position, -check_fullscreen_state):
1955 Show the banner in the same place no matter if the window is in
1956 fullscreen mode or not.
1958 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1960 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1962 * src/hildon-touch-selector.c (_default_print_func): reorder
1963 concatenation for clarity.
1965 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1967 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1968 for multicolumn selectors.
1970 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1972 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1977 * configure.ac: Bump version.
1978 * debian/changelog: Updates.
1980 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1982 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1985 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1987 * configure.ac: removed libcangerra-gtk dependency
1988 * debian/control: removed libcanberra-gtk dependency
1989 * src/Makefile.am: removed libcanberra gtk related flags
1990 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1991 context, and manage a global canberra context instead
1993 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1995 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1997 Patch by Daniel Borgmann (danielb@openismus.com)
1999 * src/hildon-edit-toolbar.c:
2000 Adjust the left padding.
2001 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2002 Paint background of the edit toolbar.
2004 Fixes: NB#107897 (Patch to make editmodetoolbar background
2005 themeable and adjust margin)
2007 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2009 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2011 * src/hildon-program.c (hildon_program_update_top_most):
2012 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2014 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2015 change when the user tasks in/out of an application)
2017 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2019 * configure.ac: added libcangerra-gtk dependency
2020 * debian/control: added libcanberra-gtk dependency
2021 * src/Makefile.am: added libcanberra gtk related flags
2022 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2025 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2027 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-program.c (hildon_program_remove_window)
2030 (hildon_program_add_window): Add checks for the window
2031 parameter. Don't decrease the window counter if the window is not
2034 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2036 * src/hildon-pannable-area.c,
2037 (hildon_pannable_area_realize): Fixed position of the event_window
2038 in the realize method.
2040 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-app-menu-private.h
2043 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2044 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2045 (hildon_app_menu_key_press, hildon_app_menu_init)
2046 (hildon_app_menu_finalize):
2047 Make sure that all idle functions are removed when the widget is
2050 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2052 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2057 * configure.ac: Bump version.
2058 * debian/changelog: Updates.
2060 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2062 * src/hildon-entry.c
2063 (+hildon_entry_show_placeholder),
2064 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2065 that replace hildon_entry_update_contents().
2066 (hildon_entry_set_text),
2067 (hildon_entry_set_placeholder),
2068 (hildon_entry_focus_in_event),
2069 (hildon_entry_focus_out_event): Determine when it is needed
2070 either to show or hide the placeholder and call the above methods.
2072 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2073 when the placeholder text is already set)
2075 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2077 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2078 simple GdkPixbufAnim using the new icons for the banner.
2079 (hildon_banner_show_animation): Use the above mentioned method to
2080 create the animation widget.
2082 Fixes: NB#103564 (Make hildon animation banner use individual
2083 image files as the animation)
2085 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2087 * src/hildon-pannable-area.c,
2088 (hildon_pannable_leave_notify_event): Check if the child is NULL
2089 to avoid sending the leave.
2091 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2093 * src/hildon-pannable-area.c,
2094 (hildon_pannable_area_class_init),
2095 (hildon_pannable_leave_notify_event): Added a handler of the
2096 leave-notify-signal to consider when no motion notify before
2099 Fixes: NB#107494 (Items stay selected when clicking and moving
2100 away when inside pannable area)
2102 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2107 * configure.ac: Bump version.
2108 * debian/changelog: Updates.
2110 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2112 Patch by Alberto Garcia (agarcia@igalia.com)
2114 * src/hildon-date-button.c,
2115 (hildon_date_button_class_init),
2116 (hildon_date_button_init): Removed the construct property handling
2117 and created a default selector in the init method.
2118 * src/hildon-picker-button.c,
2119 (hildon_picker_button_class_init): Removed the construct flag of the
2122 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2124 * src/hildon-main.c (hildon_init):
2125 Don't allow hildon_init() to be called more than once.
2127 Fixes: NB#106607 (hildon_init should issue error message upon
2130 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2132 * examples/hildon-pannable-area-touch-list-example.c
2133 * examples/hildon-pannagle-area-touch-grid-example.c
2134 * examples/hildon-edit-toolbar-example.c
2135 * examples/hildon-touch-selector-multi-cells-example.c
2136 Removed the call to gtk_rc_parse_string, as it is not required since
2139 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2141 * src/hildon-pannable-area.c,
2142 (hildon_pannable_area_class_init): Modified the default panning
2143 threshold of the widget to 6px.
2145 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2146 than the threshold value ) within the button is not sending the
2149 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2151 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2152 for the treeview in the new column. This way, the touch list will never
2155 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2156 be selected manually for the HW keys to work)
2158 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2160 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2161 comparison instead of using strcmp(). Fixes a compiler warning as well.
2163 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2165 * doc/hildon-docs.sgml: Do not set the library version in the
2166 document title, use the releaseinfo tag for that purpose instead.
2168 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2170 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2171 Do not jump to the first item if the text in the entry is removed.
2173 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2178 * configure.ac: Bump version.
2179 * debian/changelog: Updates.
2181 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2183 * src/hildon-entry.c (hildon_entry_refresh_contents):
2184 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2185 Use "ReversedSecondaryTextColor" for the placeholder text.
2187 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2189 * src/hildon-text-view.c: Fix compilation warning.
2191 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2193 * src/hildon-button.c (hildon_button_class_init): Don't make
2194 "title" and "value" construction properties, to prevent them from
2195 overwriting labels set from derived classes.
2197 * src/hildon-picker-button.c
2198 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2199 (hildon_picker_button_class_init): Make touch-selector a
2200 construction property.
2202 * src/hildon-date-button.c (hildon_date_button_class_init)
2203 (+hildon_date_button_constructed): Add a default date selector if
2206 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-touch-selector.c: Small documentation fixes.
2210 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2212 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2214 * src/hildon-entry.c (hildon_entry_refresh_contents),
2215 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2216 widget name, set the logical color directly instead and a boolean
2217 showing_placeholder instead.
2218 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2219 use the widget name here either.
2221 Fixes: NB#105678 (HildonTextView should use logical colours
2222 instead of setting widget name)
2224 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2226 Patch by Daniel Elster (danielk@openismus.com)
2228 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2229 Add user_data parameter.
2230 (hildon_touch_selector_set_print_func_full): New function akin
2231 hildon_touch_selector_set_print_func() but with support for user
2232 data and a destroy callback.
2233 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2234 to clean up the print function user data.
2235 (hildon_touch_selector_class_init): Install dispose function.
2236 (HildonTouchSelectorPrivate::print_user_data),
2237 (HildonTouchSelectorPrivate::print_destroy_func): New private
2239 (hildon_touch_selector_init): Initialize new private members.
2240 (hildon_touch_selector_get_current_text): Pass along user data
2241 to the print function.
2242 (_default_print_func): Add dummy user_data to parameter list.
2243 * hildon-date-selector.c (_custom_print_func): ditto,
2244 * hildon-time-selector.c (_custom_print_func): ditto,
2245 * hildon-touch-selector-entry.c
2246 (hildon_touch_selector_entry_print_func): ditto.
2248 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2250 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2252 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2254 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2256 * src/hildon-pannable-area.c,
2257 (hildon_pannable_area_init),
2258 (hildon_pannable_area_button_press_cb),
2259 (hildon_pannable_area_motion_notify_cb): We have added code to
2260 handle the leave and enter events when using the motion events.
2262 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2264 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2266 * src/hildon-date-button.c (hildon_date_button_get_date)
2267 (hildon_date_button_set_date): Make sure that the button has a
2270 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2272 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2274 * src/hildon-pannable-area.c,
2275 (hildon_pannable_area_class_init),
2276 (hildon_pannable_area_calculate_velocity): Modify the use of the
2277 force and adapt the value.
2279 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2281 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2282 (hildon_app_menu_class_init): Hide the menu if it receives a
2283 delete-event, but don't destroy it
2285 Fixes: NB#104485 (Not able to address the call when application
2286 menu is opened at background)
2288 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2290 * src/hildon-app-menu.c
2291 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2292 Remove the "external-border" style property, let the menu take its
2293 natural size (or the one set by the window manager)
2294 (hildon_app_menu_repack_items):
2295 Don't reshow the menu, avoid flickers.
2297 Partially fixes NB#94957 (Smoothly opened application menu)
2299 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2304 * configure.ac: Bump version.
2305 * debian/changelog: Updates.
2307 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2309 * src/hildon-pannable-area.c,
2310 (hildon_pannable_area_motion_notify_cb): We control that the
2311 direction error margin is used just in case the movement is
2312 allowed in the other direction.
2314 Fixes: NB#105012 (buttons inside a pannable area not getting
2315 release event when dragging/releasing)
2317 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2319 * src/hildon-pannable-area.c,
2320 (hildon_pannable_area_class_init),
2321 (hildon_pannable_area_get_property),
2322 (hildon_pannable_area_set_property),
2323 (hildon_pannable_area_initial_effect),
2324 (hildon_pannable_axis_scroll),
2325 (hildon_pannable_area_button_release_cb): Reviewed the
2326 overshooting effect, now it has its own max
2327 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2328 speed when bouncing.
2330 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2335 * configure.ac: Bump version.
2336 * debian/changelog: Updates.
2338 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2340 * src/hildon-pannable-area.c,
2341 (hildon_pannable_area_class_init): Changed the max speed, now
2342 users can launch the widget very fast. Reduced the default force,
2343 that way it is easier to control the launch speed.
2345 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2347 * src/hildon-pannable-area.c,
2348 (hildon_pannable_area_button_release_cb): Removed this check
2349 because it causes problems when the device is overloaded.
2351 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2353 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2354 add a current_text field to store the text entered in the
2355 touch selector entry.
2356 (_clean_current_selection): clean up the current text as well.
2357 (_save_current_selection), (_restore_current_selection):
2358 Save/restore the text in the entry if the selector is a
2359 HildonTouchSelectorEntry.
2361 Fixes: NB#102541 (value entered in the touch selector entry is not
2362 shown when opened for second time)
2364 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2366 * doc/hildon-sections.txt:
2367 * src/hildon-touch-selector-entry.c
2368 (+hildon_touch_selector_entry_get_entry):
2369 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2371 Fixes: NB#104815 (I need accessor to the entry inside
2372 HildonTouchSelectorEntry)
2374 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2376 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2377 (hildon_app_menu_class_init):
2378 New "filter-vertical-spacing" style property.
2380 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2382 * src/hildon-find-toolbar.c
2383 (hildon_find_toolbar_emit_close)
2384 (hildon_find_toolbar_emit_invalid_input)
2385 (hildon_find_toolbar_entry_activate):
2386 Use g_signal_emit() instead of g_signal_emit_by_name()
2388 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2390 Patch by Mox Soini (ext-mox.soini@nokia.com)
2392 * tests/TEST-CASES.txt
2393 * tests/check-hildon-banner.c
2394 * tests/check-hildon-note.c
2395 * src/hildon-banner.c
2396 * src/hildon-code-dialog.c
2397 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2398 * src/hildon-time-editor.c
2399 * examples/hildon-lookup-example.c (main):
2400 Replace obsolete icon names with new ones.
2402 * src/hildon-find-toolbar-private.h:
2403 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2404 (-hildon_find_toolbar_emit_search):
2405 Remove find button and change icon of close button.
2407 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2409 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-time-button.c (hildon_time_button_new_step):
2412 Use the "touch-selector" property to set the selector directly
2413 when creating the object.
2415 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2417 Added a new example application that allows tuning the pannable
2418 area and replaced defines with properties in order to simplify the
2419 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2420 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2421 PROP_DIRECTION_ERROR_MARGIN.
2423 * examples/hildon-pannable-area-tuning-example.c: New example
2425 * src/hildon-pannable-area.c,
2426 (hildon_pannable_area_class_init),
2427 (hildon_pannable_area_init),
2428 (hildon_pannable_area_get_property),
2429 (hildon_pannable_area_set_property),
2430 (hildon_pannable_area_launch_fade_timeout),
2431 (hildon_pannable_area_adjust_value_changed),
2432 (hildon_pannable_axis_scroll),
2433 (hildon_pannable_area_motion_notify_cb),
2434 (hildon_pannable_area_scroll_cb),
2435 (hildon_pannable_area_button_release_cb): We have converted some
2436 of the defines that control the widget to properties to simplify
2439 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2441 * src/hildon-app-menu.c (hildon_app_menu_map)
2442 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2443 so it's closed if a new window appears.
2445 Fixes: NB#104485 (Not able to address the call when application
2446 menu is opened at background)
2448 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2450 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2451 missing 'break' statement in in 'case' construct to avoid
2454 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-touch-selector-entry.c
2457 (hildon_touch_selector_entry_get_property),
2458 (hildon_touch_selector_entry_set_property): Add missing 'break'
2459 statements in in 'case' constructs to avoid incorrect warnings.
2461 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2463 * src/hildon-time-editor.c
2464 (hildon_time_editor_get_time_separators): Do not crash if
2465 the first label is NULL.
2467 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2469 * src/hildon-date-selector.c (_month_days): Check for month to be
2470 strictly less than 12, since otherwise we may overrun the array.
2472 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2474 * src/hildon-date-button.c (+hildon_date_button_new_full)
2475 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2476 (hildon_date_button_init): Set the date selector using a
2477 construction property, to make it happen after HildonButton's
2478 "value" property is set.
2480 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2481 current date by default)
2483 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2485 * doc/hildon-sections.txt
2486 * src/hildon-program.c
2487 * src/hildon-stackable-window.c
2488 * src/hildon-window.c:
2489 Documentation updates
2491 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2493 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2494 (hildon_window_stack_new, +hildon_window_stack_set_property)
2495 (+hildon_window_stack_get_property)
2496 (hildon_window_stack_class_init)
2497 (+hildon_window_stack_set_window_group)
2498 (+hildon_window_stack_get_window_group):
2499 Make the window group a construction property.
2501 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2503 * doc/hildon-sections.txt
2504 * src/hildon-stackable-window-private.h
2505 * src/hildon-stackable-window.h
2506 * src/hildon-stackable-window.c
2507 (-hildon_stackable_window_set_app_menu)
2508 (-hildon_stackable_window_get_app_menu)
2509 (-hildon_stackable_window_toggle_menu)
2510 (-hildon_stackable_window_finalize)
2511 (hildon_stackable_window_class_init)
2512 (hildon_stackable_window_init)
2513 * src/hildon-window-private.h
2514 * src/hildon-window.h
2515 * src/hildon-window.c (hildon_window_init)
2516 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2517 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2518 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2519 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2520 Moved all HildonAppMenu code to HildonWindow. The menu does not
2521 require a HildonStackableWindow anymore.
2523 * src/hildon-app-menu.c
2524 * src/hildon-program.c
2525 * examples/hildon-app-menu-example.c (main):
2526 Update examples and documentation to reflect HildonAppMenu
2529 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2531 * src/hildon-remote-texture.c
2532 * src/hildon-animation-actor.c:
2533 Don't include unused private headers.
2535 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2537 * src/hildon-program-private.h
2538 * src/hildon-program.c
2539 (hildon_program_set_common_menu)
2540 (hildon_program_get_common_menu)
2541 (hildon_program_set_common_app_menu)
2542 (hildon_program_get_common_app_menu):
2543 Change common menu pointers from GtkWidget* to GtkMenu* and
2544 HildonAppMenu* to avoid unnecessary casts.
2546 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2548 * src/hildon-window.c (hildon_window_set_main_menu):
2549 Removed incorrect 'Since:' tag
2551 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2553 * src/hildon-pannable-area.c,
2554 (hildon_pannable_area_calculate_velocity): We use now the
2555 RATIO_TOLERANCE here to check the distance, fixed typo in the
2557 (hildon_pannable_area_motion_notify_cb): We have to set the type
2558 and time even if we are not sending the motion.
2560 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2562 * doc/hildon-sections.txt
2563 * src/hildon-app-menu.h
2564 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2565 (+hildon_app_menu_get_filters): New methods to get the contents of
2568 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2571 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2573 * src/hildon-app-menu.c (hildon_app_menu_popup):
2576 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2578 * src/hildon-window.h
2579 * src/hildon-window.c (+hildon_window_get_main_menu)
2580 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2581 and deprecated hildon_window_get_menu().
2583 * src/hildon-stackable-window.h
2584 * src/hildon-stackable-window.c
2585 (+hildon_stackable_window_set_app_menu)
2586 (+hildon_stackable_window_get_app_menu)
2587 (hildon_stackable_window_set_main_menu): Created
2588 hildon_stackable_window_{get,set}_app_menu() and deprecated
2589 hildon_stackable_window_set_main_menu().
2591 * doc/hildon-sections.txt
2592 * examples/hildon-app-menu-example.c (main)
2593 * src/hildon-app-menu.c
2594 * src/hildon-program.c:
2595 Updated examples and documentation.
2597 Fixes: NB#103758 (No way to obtain a menu from a
2598 HildonStackableWindow)
2600 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2605 * configure.ac: Bump version.
2606 * debian/changelog: Updates.
2608 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2610 * examples/hildon-remote-texture-example.c: Include
2611 hildon-remote-texture.h explicitely.
2612 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2613 applications not defining _XOPEN_SOURCE which don't require this header.
2615 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2617 * doc/hildon-sections.txt
2618 * src/hildon-app-menu.h
2619 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2620 New function to pop up a HildonAppMenu
2622 * src/hildon-stackable-window.c
2623 (hildon_stackable_window_toggle_menu):
2624 Use hildon_app_menu_popup() to show the menu.
2626 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2628 * src/hildon-app-menu.c (hildon_app_menu_show)
2629 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2630 menu if there's another window between it and its parent window.
2632 Fixes: NB#100468 (Application menu window is launched even when a
2633 new secondary-window/dialog is pending to be shown/realized)
2635 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2637 * src/hildon-window-stack.c (hildon_window_stack_push)
2638 (hildon_window_stack_pop_and_push):
2639 Don't forget to push/pop the first window.
2640 Reverse the window list before calling _push_list()
2642 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2644 * src/hildon-picker-button.h
2645 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2646 Remove "value_changed" slot to avoid ABI breakage
2648 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2650 * src/hildon-pannable-area.c,
2651 (hildon_pannable_area_realize),
2652 (hildon_pannable_area_unrealize),
2653 (hildon_pannable_draw_vscroll),
2654 (hildon_pannable_draw_hscroll): Changed the method to handle the
2655 GC used to draw the transparent scrollbar, this way we avoid
2656 creating the GC all the time when drawing the scrollbars.
2658 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2660 * src/hildon-pannable-area.c,
2661 (hildon_pannable_area_init),
2662 (hildon_pannable_area_remove): Removed some unnecessary casts.
2663 (hildon_pannable_area_dispose): Disconnected some signals before
2664 releasing the adjustments.
2666 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2668 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2669 Make sure that all widgets contained in the toolbar are shown.
2671 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2673 * doc/hildon-sections.txt
2674 * src/hildon-picker-button.h
2675 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2676 (_selection_changed, hildon_picker_button_on_dialog_response)
2677 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2678 New hildon_picker_button_value_changed() method.
2681 * src/hildon-picker-button-private.h
2682 * src/hildon-picker-button.c (hildon_picker_button_init)
2683 (+hildon_picker_button_disable_value_changed): Add protected
2684 function for disabling the "value-changed" signal.
2686 * src/hildon-date-button.c (hildon_date_button_set_date):
2687 Don't emit "value-changed" for each one of the three columns.
2689 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2690 before actual change of values)
2692 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2694 * src/hildon-pannable-area.c,
2695 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2696 for the treeview overshooting.
2698 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2700 * src/hildon-banner.c (+hildon_banner_bind_style):
2701 Renamed from hildon_banner_bind_label_style(), now naming the
2702 banner itself as well.
2703 (hildon_banner_show_information),
2704 (hildon_banner_show_information_with_markup),
2705 (hildon_banner_show_animation), (hildon_banner_show_progress):
2706 Name the widgets and labels, based on their type.
2708 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2711 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2713 * src/hildon-note.c (hildon_note_set_property): call
2714 hildon_note_rename() on HildonNote:note-type set.
2715 (hildon_note_rename): Name the note and its label, based on the
2716 HildonNote:note-type property.
2718 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2721 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2723 * src/hildon-pannable-area.c,
2724 (hildon_pannable_area_class_init),
2725 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2726 panning parameters, increased SPS and deceleration factor. Added
2727 also a margin to control fake directions.
2729 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2731 Patch by Sven Herzberg (sven@imendio.com)
2733 * configure.ac: Add missing AM_PROG_CC_C_0
2734 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2736 See NB#101420 (Update unit tests and fix make check)
2738 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2740 This patch was applied before but reverted because it caused
2741 problems, we have changed the main condition and tested the
2742 regressions we detected before and they work ok. We have done a
2743 complete review of the topmost algorithm in order to get a more
2746 * src/hildon-pannable-area.c,
2747 (hildon_pannable_area_get_topmost): Added a new parameter to
2748 filter the the windows that do not include those events.
2749 (hildon_pannable_area_button_press_cb),
2750 (hildon_pannable_area_button_release_cb),
2751 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2752 topmost function, we have added the new parameter.
2754 Fixes: NB#97458 (Pannable area prevents propagation of button
2757 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2760 if all columns in the selector have an item selected.
2761 (_on_dialog_response): Stop "response" signal emission if there is
2762 any selector column without selected items.
2764 Fixes: NB#101889 (Picker dialog should not close when nothing is
2765 selected in multiple selection list)
2767 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-font-selection-dialog.c
2770 (hildon_font_selection_dialog_class_init),
2771 (hildon_font_selection_dialog_init): Remove the preview
2772 button and dialog, since previewing with default theming is likely
2773 to be overcomplicated. The :preview property has now no effect.
2774 Update documentation blurbs to inform about this.
2776 Fixes: NB#92297 (Preview content is not clearly visible for
2777 default colour text)
2779 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2781 Reviewed the geometry that handles the children size and
2782 scrollbar, now it tries a size and reviews the results depending
2783 on the scrollbars visibility.
2785 * src/hildon-pannable-area.c,
2786 (hildon_pannable_area_realize): Fixed a typo.
2787 (hildon_pannable_area_child_allocate_calculate): Added this
2788 function to calculate the child allocation.
2789 (hildon_pannable_area_size_allocate): Reviewed the allocation
2791 (hildon_pannable_area_check_scrollbars),
2792 (hildon_pannable_area_refresh): Refactored refresh function, this
2793 way we can call the code handling the scrollbars without causing a
2794 size_request, it is interesting in the allocate.
2795 (hildon_pannable_area_init): Replace the callbacks of the
2796 value_changed and changed signals to propertly deal with the
2798 (hildon_pannable_area_grab_notify),
2799 (hildon_pannable_area_initial_effect),
2800 (hildon_pannable_area_launch_fade_timeout),
2801 (hildon_pannable_area_adjust_changed),
2802 (hildon_pannable_area_adjust_value_changed),
2803 (hildon_pannable_area_redraw),
2804 (hildon_pannable_area_button_press_cb),
2805 (hildon_pannable_area_button_release_cb),
2806 (hildon_pannable_area_scroll_cb),
2807 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2808 code and use the new functions adjust_changed and
2809 adjust_value_changed.
2811 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2812 Contact editor dialog)
2814 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2819 * configure.ac: Bump version.
2820 * debian/changelog: Updates.
2822 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2824 * src/hildon-pannable-area.c,
2825 (hildon_pannable_area_get_topmost),
2826 (hildon_pannable_area_button_press_cb),
2827 (hildon_pannable_area_button_release_cb),
2828 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2829 topmost function adding the event mask. We have to try a
2830 differente approach because it is still causing problems (NB#9745,
2833 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2835 * src/hildon-banner.c:
2836 Update the maximum width of timed banners.
2837 (force_to_wrap_truncated): Enforce the maximum text width if the
2840 Fixes: NB#102413 (The text margins (wrapping) in information
2841 banner should be HILDON_MARGIN_TRIPLE)
2843 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2845 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2847 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2848 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2849 bound when calculating the scroll indicator position.
2851 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2852 treat ->lower correctly)
2854 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2856 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2857 expose event handling, since it is not necessary to draw the focus
2860 Fixes: NB#102467 (Do not show highlight on the text in
2863 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2865 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2866 full height of the toolbar for the button and the label.
2868 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2871 padding before the label and after the button.
2873 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2875 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2877 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2878 Add a GtkVSeparator between the button and the back arrow.
2879 Let the button have automatic size.
2880 Set a name to the widget for theming handling.
2882 Fixes: NB#101793 (Make edit toolbar the same height as window
2883 title bar (use title area theming))
2885 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2887 * src/hildon-helper.c (attach_new_color_element): Fix memory
2890 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2892 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2894 * examples/hildon-button-example.c (common_buttons_window): Don't
2897 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2899 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2900 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2902 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2904 * src/hildon-gtk.c: Check that the window is realized.
2906 Fixes: NB#102225 (Crash setting the progress indicator to a non
2909 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2912 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2913 instead of modifying the one in the widget style.
2915 Fixes: NB#101043 (Second row of all the command button are
2916 displayed in transparent mode.)
2918 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-date-button.c
2921 * src/hildon-time-button.c: Add gettext macros
2923 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2925 * src/hildon-date-button.c (hildon_date_button_new):
2926 * src/hildon-time-button.c (hildon_time_button_new_step):
2927 Use new logical strings to set the button default title.
2929 Fixes: NB#99915 (Date and Time options are not localised in Date
2932 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2934 * src/hildon-pannable-area.c
2935 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2936 the PANNING_THRESHOLD.
2938 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2940 * src/hildon-pannable-area.c,
2941 (hildon_pannable_area_class_init): Increased the maximum speed.
2942 (hildon_pannable_area_get_property),
2943 (hildon_pannable_area_set_property),
2944 (hildon_pannable_area_timeout): Added a new low friction mode, it
2945 allows the user avoid friction when launching the widget fast
2946 enough. It is interesting to traverse long lists.
2948 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2950 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2951 (+hildon_stackable_window_delete_event): Ignore delete events if
2952 the window is not the topmost one.
2954 Fixes: NB#101698 (Back button long press and delete-event handling)
2956 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2958 * src/hildon-pannable-area.c,
2959 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2960 gtk-dnd-drag-threshold, it was too big. We have defined our own
2961 dnd define and set a smaller value: PANNIG_THRESHOLD.
2963 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2965 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2966 user-defined icons, use always the default one.
2968 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2970 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2972 This patch was applied before but reverted because it caused
2973 problems, we have changed the main condition and tested the
2974 regressions we detected before and they work ok.
2976 * src/hildon-pannable-area.c,
2977 (hildon_pannable_area_get_topmost): Added a new parameter to
2978 filter the the windows that do not include those events. Added
2979 also a condition when finding the window to filter windows that do
2980 not ask for those events.
2981 (hildon_pannable_area_button_press_cb),
2982 (hildon_pannable_area_button_release_cb),
2983 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2984 topmost function, we have added the new parameter.
2986 Fixes: NB#97458 (Pannable area prevents propagation of button
2989 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2991 * tests/check-hildon-color-button.c (START_TEST): do not leak
2994 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2996 * src/hildon-font-selection-dialog.c
2997 (hildon_font_selection_dialog_get_preview_text): Return NULL
2998 instead of FALSE on the g_return_val_if_fail().
3000 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3002 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3003 * src/hildon-date-selector.c
3004 (hildon_date_selector_select_current_date):
3005 Do not compare unsigned integers to be greater than or equal 0,
3006 because it's always TRUE.
3008 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3010 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3011 (hildon_date_selector_constructor): Do not select the current
3012 date until we are handle the "changed" signal, to avoid having bogus
3013 elements in the days model.
3015 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3017 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3018 for num_days, since _month_days() can return a negative value.
3020 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3022 * src/hildon-caption.c (hildon_caption_size_allocate):
3023 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3024 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3026 Initialize allocation variables to 0, to avoid eventually using
3027 unitialized variables.
3029 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3031 * src/hildon-bread-crumb-trail.c
3032 (hildon_bread_crumb_trail_size_allocate):
3033 * src/hildon-calendar.c (hildon_calendar_set_background):
3034 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3035 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3036 * src/hildon-seekbar.c (hildon_seekbar_init):
3037 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3038 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3039 * src/hildon-touch-selector-entry.c
3040 (hildon_touch_selector_get_text_from_model):
3041 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3042 * src/hildon-window.c (hildon_window_finalize):
3044 Remove many unused variables.
3046 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3048 * src/hildon-seekbar.c: (hildon_seekbar_init),
3049 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3051 Remove unnecessary g_assert() calls.
3053 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3055 * src/hildon-caption.c: (hildon_caption_expose),
3056 (hildon_caption_set_property), (hildon_caption_init),
3057 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3058 (hildon_caption_size_request), (hildon_caption_size_allocate),
3059 (hildon_caption_forall), (hildon_caption_set_separator),
3060 (hildon_caption_activate), (hildon_caption_set_child_expand),
3061 (hildon_caption_set_label_text),
3062 (hildon_caption_get_label_alignment):
3064 Remove unnecessary g_assert() calls.
3066 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3068 * src/hildon-banner.c
3069 (hildon_banner_map, hildon_banner_init): Make banner temporary
3070 before mapping it to avoid closing other temporary windows, but
3071 make it non-temporary afterwards to avoid being closed by other
3072 non-temporary windows.
3073 (-hildon_banner_client_event, hildon_banner_init):
3074 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3076 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3079 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3081 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3084 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3086 * src/hildon-remote-texture.c
3087 * src/hildon-remote-texture.h
3088 * src/hildon-remote-texture-private.h
3089 * examples/hildon-remote-texture-example.c:
3090 Updates/fixes to remote-texture and its example.
3092 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3094 Patch by Mox Soini (ext-mox.soini@nokia.com)
3096 * src/hildon-code-dialog.c: Update logical id.
3097 * src/hildon-set-password-dialog.c: Update logical id.
3099 Fixes: NB#100646 (Logical strings is shown for ok in set
3100 password,Password needed dialogs)
3102 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3105 * src/hildon-remote-texture.c
3106 * src/hildon-remote-texture.h
3107 * src/hildon-remote-texture-private.h
3109 Added remote texture widget (for Clutter shared memory textures)
3111 * examples/hildon-remote-texture-example.c
3112 * examples/Makefile.am
3113 Added example file for remote texture usage
3115 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3117 * configure.ac: post release version bump.
3118 * debian/changelog: version bump.
3120 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3125 * configure.ac: Bump version.
3126 * debian/changelog: Updates.
3128 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3130 * src/hildon-date-selector.c (hildon_date_selector_init)
3131 (hildon_date_selector_constructor): Don't connect to the "changed"
3132 signal until the selector is completely constructed.
3134 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3136 * src/hildon-touch-selector.c: (_create_new_column),
3137 (hildon_touch_selector_append_column),
3138 (hildon_touch_selector_set_column_selection_mode),
3139 (hildon_touch_selector_set_active),
3140 (hildon_touch_selector_select_iter):
3141 Emit the HildonTouchSelector::changed signal every time selection
3142 is changed in any of the methods above. This behavior was already
3143 documented but not fully functional.
3145 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3146 selection is programmatically changed)
3148 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3150 * doc/hildon-sections.txt: Remove obsolete icon
3151 sizes from here as well.
3153 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3155 * examples/hildon-stackable-window-example.c (add_window): Remove
3158 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3160 * src/hildon-app-menu.c
3161 (hildon_app_menu_show): Check whether the parent window of a menu
3162 is topmost before popping it up.
3164 Fixes: NB#100468 (Application menu window is launched even when a
3165 new secondary-window/dialog is pending to be shown/realized.)
3167 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3169 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3172 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3174 Patch by Mox Soini (ext-mox.soini@nokia.com)
3176 * src/hildon-banner.c: (hildon_banner_show_animation):
3177 use stylus size instead of obsolete note size.
3178 * src/hildon-defines.h: Update icon sizes.
3180 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-touch-selector-entry.c:
3183 (hildon_touch_selector_entry_init): Disable unsupported
3185 (hildon_touch_selector_entry_get_text_column): Emit a warning
3186 if an unsupported input modes is used and explicitile state
3187 these modes in the documentation.
3189 Fixes: NB#99802 (Hildon touch selector entry not working properly
3190 for some of the input modes)
3192 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3194 * src/hildon-pannable-area.c,
3195 (hildon_pannable_area_init): Added the changed signal handlers of
3198 Fixes: NB#100320 (HildonPannableArea does not listen to
3199 GtkAdjustment "change" signals)
3201 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3203 * doc/hildon-sections.txt
3204 * src/hildon-window-private.h
3205 * src/hildon-window.h
3206 * src/hildon-window.c (hildon_window_init)
3207 (hildon_window_realize, hildon_window_unrealize)
3208 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3209 (hildon_window_size_request, hildon_window_size_allocate)
3210 (hildon_window_forall, hildon_window_show_all)
3211 (hildon_window_destroy, +paint_edit_toolbar)
3212 (+hildon_window_set_edit_toolbar):
3213 New hildon_window_set_edit_toolbar() method, to add a
3214 HildonEditToolbar to a window without having to pack it manually.
3216 Reorganize hildon_window_size_allocate()
3218 * src/hildon-edit-toolbar.c: Update documentation.
3220 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3221 example to use the new API.
3223 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3225 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3227 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3228 Remove from stack before calling parent's hide.
3230 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3232 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3233 window is removed from the middle of the stack, update the
3234 transiency of the previous one.
3236 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3239 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3241 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3242 block/unblock the signal handler if it's not actually being used.
3243 Fixes some critical warnings.
3245 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3247 Based on a patch by Iván Gómez (igomez@igalia.com)
3249 * src/hildon-banner.c
3253 * src/hildon-pannable-area.c
3254 * src/hildon-picker-dialog.c
3255 * src/hildon-wizard-dialog.h
3256 * src/hildon-wizard-dialog.c: Documentation updates.
3258 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3259 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3261 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3263 * configure.ac: post release version bump.
3264 * debian/changelog: version bump.
3266 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3271 * configure.ac: Bump version.
3272 * debian/changelog: Updates.
3274 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3276 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3277 a stock icon nor change the relief of the back arrow.
3279 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3280 graphics from theme)
3282 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3284 * src/hildon-button.c (hildon_button_set_alignment): Use
3285 priv->alignment if the button has no child yet.
3287 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3289 * src/hildon-button.c: (hildon_button_init): Set the
3290 button style during initialization to give it the proper
3293 Fixes: NB#99713 (HildonButton value label color is wrong)
3295 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3297 * src/hildon-touch-selector.c: Document
3298 hildon_touch_selector_center_on_selected()
3300 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3302 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3303 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3304 all menu items, but not the menu itself.
3305 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3306 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3307 items after adding them to the menu so keyboard accelerators work.
3308 (hildon_app_menu_show): Don't show the menu if it contains items
3309 but none of them are visible.
3311 * examples/hildon-app-menu-example.c (create_menu): Use
3312 gtk_widget_show_all() to show all menu items.
3314 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3316 * src/hildon-picker-dialog.c:
3317 (-_update_title_on_selector_changed_cb),
3318 (-_dialog_update_title): Removed.
3319 (_select_on_selector_changed_cb), (_on_dialog_response),
3320 (on_selector_columns_changed): Do not update the dialog title.
3321 (setup_interaction_mode): Do not connect to
3322 HildonTouchSelector::changed signal if there's a "done" button, as
3323 the dialog title doesn't need to be updated.
3325 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3328 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3330 Patch by Kristian Rietveld (kris@imendio.com)
3332 * src/hildon-touch-selector.c: (_create_new_column): Use new
3333 GtkTreeView::hildon-row-tapped signal to react to user interactions
3334 instead of ::changed.
3336 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3337 with some dynamic tree model)
3339 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3341 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3342 (+screen_size_changed, +label_size_request)
3343 (hildon_note_class_init): Make the Hildon information note have a
3344 minimum height, and make its text hvae a maximum width.
3346 Fixes: NB#98614 (Hildon information note (background) should have
3347 minimum height and maximum text width)
3349 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3351 * src/hildon-banner.h
3352 * src/hildon-banner.c (hildon_banner_show_information)
3353 (hildon_banner_show_informationf)
3354 (hildon_banner_show_information_with_markup): Update documentation
3355 to reflect that the icon_name parameter is not used anymore.
3356 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3357 Remove all code from these functions and mark them as deprecated.
3358 (hildon_banner_show_progress): Mark as deprecated.
3360 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3362 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3364 * src/hildon-pannable-area.c,
3365 (hildon_pannable_area_class_init),
3366 (tranparency_color),
3367 (hildon_pannable_draw_vscroll),
3368 (hildon_pannable_draw_hscroll),
3369 (hildon_pannable_area_expose_event): Added a new way to render the
3370 scrollbars of the pannable area avoiding using cairo at all. This
3371 way we improve the performance of the pannable area rendering. The
3372 cairo rendering procedure is still in the code, we can control
3373 which one to use changing the value of the define
3374 USE_CAIRO_SCROLLBARS.
3376 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3378 * configure.ac: post release version bump.
3379 * debian/changelog: version bump.
3381 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3386 * configure.ac: Bump version.
3387 * debian/changelog: Updates.
3389 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3391 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3392 banners instead of destroying them when they receive a button
3395 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3397 Reverted commit 34028, it was causing regressions, probably the
3398 topmost condition is not correct, we have to check it in more
3399 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3400 propagation of button press events)
3402 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3404 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3405 that the selection is not empty before attempting to retrieve the
3406 current ampm selection.
3408 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3410 * src/hildon-picker-button.c:
3411 (hildon_picker_button_on_dialog_response): Directly update the
3412 button contents when required instead of calling _selection_changed.
3414 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3416 * src/hildon-program.c (hildon_program_update_top_most): Update
3417 'is-topmost' property also when wm_hints is not set.
3419 Fixes: NB#98383 (is-topmost signal is not emitted when task
3420 switcher is clicked.)
3422 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3424 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3428 * src/hildon-animation-actor.c,
3429 * src/hildon-animation-actor.h: Added the animation actor class,
3430 this widget represents an animation actor for WM-assisted
3431 animation effects in the Hildon framework.
3433 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3435 * src/hildon-window-stack-private.h
3436 * src/hildon-window-stack.c
3437 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3438 Avoid calling gtk_widget_show() again indirectly from
3439 hildon_stackable_window_show()
3441 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3443 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3446 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3448 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3449 (hildon_time_selector_init): Move the construction of the hours and
3450 ampm columns to the constructor to preserve the order the columns
3453 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3455 * src/hildon-picker-dialog.c:
3456 (hildon_picker_dialog_class_init): Connect a realize method.
3457 (+hildon_picker_dialog_realize): Setup the interaction mode here
3459 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3460 yet, do it during the realize instead.
3461 (_on_dialog_response):
3462 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3463 if the widget is not realized, to avoid the dialog response before it
3466 Avoid premature responses in the HildonPickerDialog that can cause it
3467 to be hidden before it's even shown.
3469 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3471 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3472 (on_selector_columns_changed), (requires_done_button),
3473 (+prepare_action_area), (setup_interaction_mode),
3474 (_hildon_picker_dialog_set_selector):
3476 Split the interaction mode setup into preparation of the
3477 action area (prepare_action_area()) and the connection of
3478 the signals in setup_interaction_mode() and update the code to
3481 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3483 * src/hildon-pannable-area.c,
3484 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3485 per second to 15, we will check if this is ok regarding
3488 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3490 * src/hildon-pannable-area.c,
3491 (hildon_pannable_axis_scroll): Avoid resize if we already have
3492 reached overshoot_max.
3494 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3496 * src/hildon-pannable-area.c,
3497 (hildon_pannable_area_init),
3498 (hildon_pannable_area_realize),
3499 (hildon_pannable_area_size_allocate),
3500 (hildon_pannable_area_map),
3501 (hildon_pannable_area_unmap),
3502 (hildon_pannable_draw_vscroll),
3503 (hildon_pannable_draw_hscroll),
3504 (hildon_pannable_area_expose_event),
3505 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3506 pannable are to avoid the expose events go to the window and
3507 redraw the window. We save this way that part of the stack and the
3508 paint_boxes. We had to change the positions of the elements when
3511 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3513 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3514 * src/hildon-color-chooser-dialog.c:
3515 (hildon_color_chooser_dialog_init):
3516 * src/hildon-font-selection-dialog.c:
3517 (hildon_font_selection_dialog_init),
3518 (hildon_font_selection_dialog_show_preview):
3519 * src/hildon-get-password-dialog.c:
3520 * src/hildon-login-dialog.c:
3521 * src/hildon-set-password-dialog.c:
3522 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3523 * src/hildon-time-picker.c: (hildon_time_picker_init):
3525 Remove obsolete logical string IDs and update to the appropriate ones.
3527 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3529 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3531 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3532 that happens if the window hasn't been realized yet.
3534 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3535 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3537 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3539 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3540 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3543 Fixes: NB#98537 (Device hangs in account settings dialog)
3545 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3547 * configure.ac: post release version bump.
3548 * debian/changelog: version bump
3550 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3555 * configure.ac: Bump version.
3556 * debian/changelog: Updates.
3558 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3560 Added a new function to the HildonTimeButton widget that allows to
3561 change the step of the minutes in the selector associated with the
3562 button: hildon_time_button_new_step
3564 * src/hildon-time-button.c,
3565 (hildon_time_button_init),
3566 (hildon_time_button_new),
3567 (hildon_time_button_new_step):
3568 * src/hildon-time-button.h: Added the new function and refactored
3570 * examples/hildon-time-button-example.c,
3571 (main): We have replaced the function without parameters with the
3572 function with the steps set to 5
3574 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3576 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3578 * src/hildon-time-selector.c,
3579 (hildon_time_selector_class_init),
3580 (hildon_time_selector_constructor),
3581 (hildon_time_selector_get_property),
3582 (hildon_time_selector_set_property),
3583 (_create_minutes_model),
3584 (hildon_time_selector_new_step),
3585 (hildon_time_selector_set_time),
3586 * src/hildon-time-selector.h: Added a new property to the
3587 HildonTimeSelector (minutes-step), we use that property to control
3588 the steps between the minutes in the list of the selector. We have
3589 added a new function to the API to create a widget changing the
3590 step: hildon_time_selector_new_step.
3592 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3594 * src/hildon-time-selector.c,
3595 (hildon_time_selector_class_init),
3596 (hildon_time_selector_constructor),
3597 (hildon_time_selector_init): Overrided the construct function when
3598 creating the time selector object. We have moved the minutes model
3599 handling code from the init to the new construction function:
3600 hildon_time_selector_constructor.
3602 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3604 * examples/hildon-date-button-example.c: (main): Use the new
3605 hildon_date_button_new_with_year_range() method in the example.
3606 * src/hildon-date-button.c:
3607 (+hildon_date_button_new_with_year_range): New public method
3608 to conveniently create a HildonDateButton with a custom year range
3609 in its HildonDateSelector.
3610 * src/hildon-date-button.h: Add the new public method definition.
3612 Fixes: NB#97908 (Not possible to change the year range in
3613 HildonDateSelector/HildonDateButton)
3615 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3617 * src/hildon-date-selector.c:
3618 (+hildon_date_selector_set_property),
3619 (+hildon_date_selector_get_property),
3620 (hildon_date_selector_class_init): Install new properties "min-year"
3621 and "max-year" to define boundaries for the year column.
3622 (_create_year_model): Use the boundary properties to populate the model.
3623 (+hildon_date_selector_new_with_year_range): New public method to
3624 create a HildonDateSelector with a user defined year range.
3625 (hildon_date_selector_select_current_date): Use the new boundaries to
3626 calculate the iterator of current year.
3627 * src/hildon-date-selector.h: Add the new public method definition.
3629 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3631 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3632 Install a constructor method.
3633 (+hildon_date_selector_construct_ui): construct the widget.
3634 (+hildon_date_selector_constructor): new constructor.
3635 (+hildon_date_selector_init): move out widget construction code to
3636 the new constructor.
3638 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3640 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3641 that there's actually a month or year selected before obtaining them.
3642 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3643 of the HildonTouchSelector::changed signal, as it was emitted on every
3644 single item selection.
3646 Fix some warnings and possible crashers due to the selection restoring.
3648 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3650 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3651 the signal handlers only after creating the dialog instead of on every
3654 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3656 * src/hildon-button.c (hildon_button_init)
3657 * src/hildon-check-button.c (hildon_check_button_init)
3658 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3659 focus when clicked by default.
3661 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3663 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3666 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3668 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3669 Alejandro G. Castro (alex@igalia.com)
3671 * src/hildon-picker-dialog.c:
3672 (hildon_picker_dialog_class_init): install new "center-on-show"
3674 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3675 (hildon_picker_dialog_set_property): add setter code for the new
3677 (hildon_picker_dialog_get_property): add getter code for the new
3679 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3680 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3683 Fixes: NB#92849 (Selected item is not always visible when
3684 HildonTouchSelector is shown)
3686 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3688 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3689 Alejandro G. Castro (alex@igalia.com)
3691 * src/hildon-touch-selector.c:
3692 (_create_new_column): Do not connect to the "realize" signal of the
3694 (hildon_touch_selector_append_column): center on the selected items
3695 when a new column is appended.
3696 (hildon_touch_selector_select_iter): Factor out the code to select a
3697 column to hildon_touch_selector_scroll_to().
3698 (+search_nearest_element): Method to retrieve the nearest selected
3699 element to the visible area of the pannable area in a column.
3700 (+on_realize_cb): scroll to the initially selected item.
3701 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3702 the pannable area is realized, otherwise delay this until it is.
3703 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3704 selected items of a given column.
3705 (+hildon_touch_selector_center_on_selected): Public method to center
3706 all columns on the nearest selected item.
3707 * src/hildon-touch-selector.h: Add definition for
3708 hildon_touch_selector_center_on_selected().
3710 Implement public API to ensure visibility of all selected items in
3711 a HildonTouchSelector.
3713 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3715 Fixed a problem in the fading when calling the scroll_to API, and
3716 improve scrollbar fading handling.
3718 * src/hildon-pannable-area.c,
3719 (hildon_pannable_area_grab_notify): avoid the timeout when the
3721 (hildon_pannable_area_button_press_cb),
3722 (hildon_pannable_area_motion_notify_cb): Code style changes.
3723 (hildon_pannable_area_button_release_cb): Review the conditions
3724 when releasing the mouse button to avoid unrequired fading
3726 (hildon_pannable_area_scroll_to): Do not calculate and set the
3727 velocity if the scroll is not required.
3729 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3731 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3732 Don't check whether the new selector is NULL: it cannot be.
3733 Hold a reference to the selector while doing the replacement.
3735 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3737 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3738 unnecessary size_request in a removed widget.
3740 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3742 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3743 an unnecessary reference tracking that was leaking.
3745 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3747 Added delayed motion notify event handling, this way we can
3748 discard redrawing if more than 25 events arrive per second.
3750 * src/hildon-pannable-area.c,
3751 (hildon_pannable_area_init): Initialized the new private atributes
3752 controlling this timeout
3753 (hildon_pannable_area_dispose): Remove the timeout that controls
3754 the motion notify events.
3755 (hildon_pannable_area_scroll): Added a condition to control the
3756 use of the acceleration.
3757 (hildon_pannable_area_motion_event_scroll_timeout),
3758 (hildon_pannable_area_motion_event_scroll): Added this two
3759 functions, they handle the motion notify events inside the
3761 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3762 to the scroll method with the new function.
3763 (hildon_pannable_area_button_release_cb): We have to remove the
3764 timeout handler and move to the last position if the last motion
3765 events were not handled.
3767 Fixes: NB#97028 (Pannable area updates on every motion event)
3769 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3771 * src/hildon-pannable-area.c,
3772 (hildon_pannable_area_get_topmost): Added a new parameter to
3773 filter the the windows that do not include those events. Added
3774 also a condition when finding the window to filter windows that do
3775 not ask for those events.
3776 (hildon_pannable_area_button_press_cb),
3777 (hildon_pannable_area_button_release_cb),
3778 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3779 topmost function, we have added the new parameter.
3781 Fixes: NB#97458 (Pannable area prevents propagation of button
3784 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3786 * src/hildon-pannable-area.c,
3787 (hildon_pannable_area_initial_effect): Added controls before
3788 launching the timeout and the idle functions.
3789 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3790 of the method, in some situations it can return with TRUE and 0 in
3792 (hildon_pannable_area_button_press_cb): We do not need to set
3793 DELAY for fading out here.
3795 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3797 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3799 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3800 post-cleaning if the selection is not NULL.
3802 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3804 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3805 all items before restoring the selection.
3807 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3809 * src/hildon-touch-selector.c:
3810 (+hildon_touch_selector_unselect_all):
3811 * src/hildon-touch-selector.h: New API to unselect all items in a
3812 column of the touch selector.
3814 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3816 * src/hildon-pannable-area.c,
3817 (hildon_pannable_area_redraw): Added a call to the refresh
3818 function inside the redraw because apparently in some cases the
3819 change in the adjustment does not imply a size allocate.
3821 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3822 despite the view not being scrollable)
3824 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3826 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3827 leak. Check for NULL before attempting to set the window title.
3829 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3831 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3832 whether to show or not the 'Done' button each time the dialog is
3833 shown, as it depends on the HildonTouchSelector selection mode.
3835 Fixes: NB#96226 (In multiple selection mode Done button is shown
3836 sometimes in listpicker)
3838 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3840 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3841 for the number of columns in the HildonTouchSelector more than once.
3843 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3845 * src/hildon-touch-selector.c: Minor documentation fixes.
3847 * src/hildon-picker-dialog.c (+_dialog_update_title)
3848 (_select_on_selector_changed_cb)
3849 (_update_title_on_selector_changed_cb)
3850 (on_selector_columns_changed): Update dialog title when there's no
3851 'Done' button and also when the number of columns in the selector
3855 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3856 (+_selection_changed, hildon_picker_button_on_dialog_response)
3857 (hildon_picker_button_selector_selection_changed)
3858 (+hildon_picker_button_selector_columns_changed)
3859 (hildon_picker_button_set_selector): Update button value and emit
3860 'value-changed' when the number of columns in the selector
3864 Fixes: NB#96225 (Dialog titles are not shown according to the
3865 values selected in the list picker)
3867 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3869 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3870 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3871 New "arrow-width" and "arrow-height" style properties to set the
3872 size of the arrow button.
3873 Set name of arrow button ("hildon-edit-toolbar-arrow").
3875 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3876 graphics from theme)
3878 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3880 * src/hildon-picker-button.c:
3881 (hildon_picker_button_selector_selection_changed): Use
3882 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3883 the dialog is present.
3885 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3886 the selection is accepted in the dialog)
3888 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3890 * src/hildon-color-chooser.h
3891 * src/hildon-color-chooser-dialog.h:
3892 Added G_BEGIN_DECLS and G_END_DECLS
3894 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3896 (_clean_current_selection): plug a leak in the list.
3898 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3900 * src/hildon-picker-dialog.c:
3901 (+free_path_list): Method to free a GList of GtkTreePaths.
3902 (_clean_current_selection), (_save_current_selection),
3903 (_restore_current_selection): Save the current selection in
3904 as a list of lists, to support multiple selection properly.
3906 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3908 patch by Claudio Saavedra (csaavedra@igalia.com)
3910 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3911 Store the press position.
3912 (+hildon_text_view_button_release_event): If the release position is
3913 close enough to the press position, move the cursor here. Otherwise,
3915 (hildon_text_view_class_init): Override GtkTextView press, release, and
3916 motion event handlers, disabling this way text selection through
3917 pointer interaction, and allowing the container widget to handle the
3920 Fixes: NB#95828 (HildonTextView functionality)
3922 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3924 Based on a patch by Iván Gómez (igomez@igalia.com)
3926 * src/hildon-button.[ch]
3927 * src/hildon-calendar.c
3928 * src/hildon-check-button.c
3929 * src/hildon-date-editor.c
3930 * src/hildon-date-selector.c
3931 * src/hildon-picker-button.c
3932 * src/hildon-time-editor.c
3933 * src/hildon-time-selector.c
3934 * src/hildon-touch-selector.[ch]:
3935 Documentation updates
3937 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3939 * src/hildon-pannable-area.c,
3940 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3941 threshold, it was required due to X events handling.
3943 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3945 * src/hildon-pannable-area.c,
3946 (hildon_pannable_area_grab_notify),
3947 (hildon_pannable_area_initial_effect),
3948 (hildon_pannable_area_button_press_cb),
3949 (hildon_pannable_area_button_release_cb),
3950 (hildon_pannable_area_scroll_cb),
3951 (hildon_pannable_area_scroll_to): Review the timeout management of
3952 the scrollbar, the frecuency was incorrectly set.
3954 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3956 * src/hildon-picker-button.c:
3957 (+hildon_picker_button_on_dialog_response),
3958 (hildon_picker_button_clicked): Present the dialog instead of
3959 running it with gtk_dialog_run().
3961 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3964 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3966 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3967 (hildon_app_menu_finalize): When a window is hidden it doesn't
3968 emit notify::is-topmost, so make sure than the menu also
3969 disappears in that case.
3970 (parent_window_topmost_notify): Renamed from parent_window_hidden
3972 Fixes: NB#94460 (stackable window's menu is not closed when its
3975 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3977 * src/hildon-touch-selector-entry.c:
3978 (+hildon_touch_selector_entry_set_input_mode),
3979 (+hildon_touch_selector_entry_get_input_mode):
3980 * src/hildon-touch-selector-entry.h: New methods to access the input
3981 mode in the selector's entry.
3983 Fixes: NB#93410 (API required for setting IM mode in
3984 HildonTouchSelectorEntry)
3986 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3988 * configure.ac: post release version bump.
3989 * debian/changelog: version bump
3991 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3996 * configure.ac: Bump version.
3997 * debian/changelog: Updates.
3999 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4001 * src/hildon-touch-selector.c:
4002 (_hildon_touch_selector_has_multiple_selection): No need
4003 to initialize the variables here.
4005 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4007 * src/hildon-note-private.h
4008 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4009 (hildon_note_finalize, hildon_note_rebuild): Close information
4010 notes when they receive a button press.
4012 Fixes: NB#89890 (Information notes does not get disappeared after
4015 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4017 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4018 mark from the wizard title, as it's not really necessary. Also,
4019 do not display the page title if not set.
4021 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4023 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4024 (parent_window_hidden): Use the window's "is-topmost" property to
4025 detect when to hide the menu.
4027 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4029 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4030 (hildon_app_menu_finalize): If the parent window of the menu is
4031 hidden, hide the menu too.
4033 Fixes: NB#94460 (stackable window's menu is not closed when its
4036 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4039 * debian/libhildon1-examples.install
4041 * examples/Makefile.am:
4042 Use dh_install to install all examples.
4043 Use DEB_SRCDIR instead of defining SOURCE_DIR
4045 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4047 * configure.ac: post release version bump.
4048 * debian/changelog: version bump
4050 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4055 * configure.ac: bump version
4056 * debian/changelog: updates
4057 * debian/control: bump gtk+ dependency
4059 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4061 patch by Christian Dywan (christian@imendio.com)
4063 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4064 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4066 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4068 * src/hildon-check-button.c (hildon_check_button_init)
4069 (hildon_check_button_class_init, hildon_check_button_style_set)
4070 (hildon_check_button_apply_style):
4071 New "checkbox-size" style property.
4073 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4074 larger / configurable size)
4076 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4078 * configure.ac: post release version bump.
4079 * debian/changelog: version bump
4081 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4086 * configure.ac: bump version
4087 * debian/changelog: updates
4089 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4091 * doc/hildon-sections.txt
4092 * src/hildon-pannable-area.c
4093 * src/hildon-program.c
4094 * src/hildon-time-editor.c
4095 * src/hildon-touch-selector-entry.c:
4097 More documentation updates.
4099 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4101 * doc/hildon-sections.txt
4102 * src/hildon-caption.c
4103 * src/hildon-code-dialog.c
4104 * src/hildon-color-button.c
4105 * src/hildon-controlbar.c
4106 * src/hildon-date-editor.c
4107 * src/hildon-date-selector.c
4108 * src/hildon-edit-toolbar.c
4109 * src/hildon-find-toolbar.c
4110 * src/hildon-font-selection-dialog.c
4112 * src/hildon-program.c
4113 * src/hildon-range-editor.c
4114 * src/hildon-seekbar.c
4115 * src/hildon-time-editor.c
4116 * src/hildon-time-selector.c
4117 * src/hildon-volumebar-range.c
4118 * src/hildon-volumebar.c
4119 * src/hildon-vvolumebar.c
4120 * src/hildon-weekday-picker.c
4121 * src/hildon-window.c
4122 * src/hildon-wizard-dialog.c:
4124 Lots of documentation fixes.
4126 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4128 Patch contributed by Iván Gómez (igomez@igalia.com)
4130 * src/hildon-check-button.c:
4131 * src/hildon-date-button.c:
4132 * src/hildon-date-selector.c:
4133 * src/hildon-dialog.c:
4134 * src/hildon-edit-toolbar.c:
4135 * src/hildon-entry.c:
4136 * src/hildon-picker-button.c:
4137 * src/hildon-program.c:
4138 * src/hildon-text-view.c:
4139 * src/hildon-time-button.c:
4140 * src/hildon-touch-selector-entry.c:
4141 * src/hildon-window-stack.c:
4143 Add more "since" tags to the new API.
4145 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4147 * doc/hildon-sections.txt: Add below method.
4148 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4149 version for the hildonized scale.
4150 * src/hildon-gtk.h: Add the definition.
4152 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4154 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4156 * doc/hildon-sections.txt: Add missing entries for new methods.
4158 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4160 Added API to pannable are in order to get its adjustments. We
4161 added two properties to manage the values we had in the private
4164 * src/hildon-pannable-area.c:
4165 (hildon_pannable_area_class_init): Added hadjustment and
4166 vadjustment properties in order to expose horizontal and vertical
4168 (hildon_pannable_area_get_property),
4169 (hildon_pannable_area_set_property): Added code to handle the new
4171 (hildon_pannable_area_get_hadjustment),
4172 (hildon_pannable_area_get_vadjustment): API functions to get the
4174 * src/hildon-pannable-area.h:
4175 (hildon_pannable_area_get_hadjustment),
4176 (hildon_pannable_area_get_vadjustment): API functions to get the
4179 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4181 Fixed some leaks, after valgrinding.
4183 * src/hildon-touch-selector.c:
4184 (_default_print_func): Fixed a leak.
4185 (hildon_touch_selector_append_column): Fixed a leak.
4186 * src/hildon-date-button.c:
4187 (hildon_date_button_init): Fixed a leak.
4188 * src/hildon-date-selector.c
4189 (hildon_date_selector_finalize): Fixed a leak.
4191 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4193 Based on a patch by Christian Dywan (christian@imendio.com)
4195 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4197 * src/hildon-gtk.h: Add definition.
4199 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4201 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-picker-button.c: (hildon_picker_button_init),
4204 (hildon_picker_button_new): Set the HildonButton::style property
4205 in the init method, to propagate the value to the derived classes.
4207 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4209 * src/hildon-button.c: (hildon_button_class_init): Do not make
4210 the "style" property a construct property.
4212 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4214 * src/hildon-wizard-dialog.h
4215 * src/hildon-wizard-dialog.c
4216 (hildon_wizard_dialog_set_forward_page_func)
4217 * src/hildon-pannable-area.h
4218 * src/hildon-pannable-area.c
4219 (hildon_pannable_area_set_size_request_policy):
4220 Documentation fixes.
4222 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4224 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4226 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4228 * doc/hildon-sections.txt: Added sections file.
4230 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4233 * src/*.[ch]: Updates.
4235 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4237 * examples/hildon-progress-indicator-example.c: new file
4238 * examples/Makefile.am: include the new example program
4240 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4242 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4244 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4246 * configure.ac: post release version bump
4247 * debian/changelog: version bump
4249 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4254 * configure.ac: bump version
4255 * debian/changelog: updates
4256 * debian/control: bump gtk+ dependency
4258 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4260 * src/hildon-dialog.c: Mark as deprecated.
4261 * src/hildon-dialog.h: Mark as deprecated.
4262 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4263 from HildonDialog and still work, even if
4264 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4265 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4267 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4268 maemo changes) instead)
4270 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4272 * src/hildon-pannable_area.h:
4273 * src/hildon-pannable_area.c:
4274 (hildon_pannable_area_class_init),
4275 (hildon_pannable_area_set_property),
4276 (hildon_pannable_area_get_property),
4277 (hildon_pannable_area_size_request),
4278 (hildon_pannable_area_get_size_request_policy),
4279 (hildon_pannable_area_set_size_request_policy): Added new API
4280 allowing applications to control the request policy. Now they can
4281 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4282 children allocation (HILDON_MOVEMENT_CHILDREN).
4284 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4288 (hildon_gtk_tree_view_set_ui_mode)
4289 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4290 mode of treeviews and iconviews.
4292 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4294 * src/hildon-touch-selector-entry.c:
4295 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4296 of a GtkEntry to get proper theming.
4298 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4299 widget, not GtkEntry)
4301 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4303 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4304 no HildonWizardDialogPageFunc.
4306 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4308 Patch contributed by Iván Gómez (igomez@igalia.com)
4310 * src/hildon-app-menu.c:
4311 * src/hildon-button.c:
4312 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4313 * src/hildon-stackable-window.c:
4314 * src/hildon-time-selector.c:
4315 * src/hildon-touch-selector.c:
4316 * src/hildon-window.c:
4318 Add more "since" tags to the new API in hildon 2.2.
4320 2008-12-05 Tim Janik <timj@imendio.com>
4322 Patch contributed by Christian Dywan (christian@imendio.com)
4324 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4325 HildonSizeType, which are supplied by Gtk+ now.
4327 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4329 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4330 (with maemo changes) instead)
4332 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4334 Patch contributed by Iván Gómez (igomez@igalia.com)
4336 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4339 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4341 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4342 (some_page_func), (main): Update the example to use a
4343 HildonWizardDialogPageFunc function.
4345 * src/hildon-wizard-dialog-private.h: Add private data for
4346 the HildonWizardDialogPageFunc function usage.
4348 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4349 (destroy), (hildon_wizard_dialog_init), (response),
4350 (hildon_wizard_dialog_set_forward_page_func):
4351 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4352 that applications can use to stop a HildonWizardDialog to jump to
4355 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4358 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4360 * src/hildon-program.h
4361 * src/hildon-program-private.h
4362 * src/hildon-program.c (hildon_program_init)
4363 (hildon_program_set_common_app_menu)
4364 (hildon_program_get_common_app_menu):
4365 New API for setting a common HildonAppMenu for all
4366 HildonStackableWindows registered with the HildonProgram.
4368 * src/hildon-stackable-window.c
4369 (hildon_stackable_window_toggle_menu):
4370 Use the common HildonAppMenu if a window doesn't have a specific
4373 * src/hildon-app-menu-private.h
4374 * src/hildon-app-menu.c
4375 (hildon_app_menu_get_parent_window):
4376 Function to obtain the window a HildonAppMenu is attached to.
4377 (hildon_app_menu_set_parent_window):
4378 Hide the menu if the parent window is set to NULL.
4380 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4382 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4383 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4384 search widget to popup.
4386 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4388 * configure.ac: post release version bump
4389 * debian/changelog: version bump
4391 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4396 * configure.ac: bump version
4397 * debian/changelog: updates
4399 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4401 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4403 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4404 (hildon_window_stack_window_realized)
4405 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4406 Set the leader GdkWindow when a window is stacked and realized,
4407 unset it when it's unstacked.
4408 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4410 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4412 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4414 * src/hildon-stackable-window.h
4415 * src/hildon-window-stack.h:
4416 Protect definition of HildonWindowStack using the preprocessor.
4418 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4420 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4421 Fix warning if all menu items are hidden.
4423 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4425 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4427 * src/hildon-controlbar.c:
4428 * src/hildon-hvolumebar.c:
4429 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4430 Multiple scale size defines updates.
4432 Fixes: NB#94322 (Scale Updates)
4434 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4436 * examples/hildon-app-menu-example.c (create_menu)
4437 Show items after adding them to the menu, as in the future the
4438 menu will no longer call gtk_widget_show() on the added items.
4440 * src/hildon-app-menu.c:
4441 Update example as explained above.
4443 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4445 * src/hildon-app-menu.c
4446 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4447 Make sure that all menu items have finger height.
4449 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4451 * src/hildon-picker-dialog.c:
4452 (_on_dialog_response), (_save_current_selection),
4453 (_restore_current_selection), (_clean_current_selection),
4454 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4455 Defined new functions in order to save the current internal selector
4456 selection previous open the dialog, in case that the use cancel the
4457 interaction, so the widget restores the previous selection.
4459 Fixes: NB#92032 (In calendar application, date values in 'new event'
4462 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4464 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4466 * src/hildon-button.c: Add a reference to the button examples in
4467 hildon-button-example.c
4469 * examples/hildon-button-example.c: Added examples of the most
4470 common button layouts.
4472 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4474 * src/hildon-app-menu.c (hildon_app_menu_show)
4475 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4477 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4479 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4481 * src/hildon-picker-dialog.c:
4482 (hildon_picker_dialog_init): Initialize the signal id for
4483 HildonTouchSelector::columns-changed.
4484 (+on_selector_columns_changed): Set up the interaction mode everytime a
4485 column is added or removed from the HildonTouchSelector.
4486 (_hildon_picker_dialog_set_selector): Connect to
4487 HildonTouchSelector::columns-changed and keep track of it.
4489 Make sure to update the interaction mode of the dialog everytime a
4490 column is added or removed in the HildonTouchSelector.
4492 Fixes: NB#93228 (Done button is not shown always in listpicker)
4494 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4496 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4497 a new ::columns-changed signal.
4498 (hildon_touch_selector_append_column): Emit ::columns-changed.
4499 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4501 Add a ::columns-changed signal, emitted when the number of columns in a
4502 HildonTouchSelector changes.
4504 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4506 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4507 (_hildon_picker_dialog_set_selector): Factor out the code
4508 to set up the dialog interaction mode.
4510 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4512 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4513 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4514 to signal_changed_id.
4516 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4518 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4521 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4523 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4524 Updated the logical ids related to ampm format, as now it is required to
4525 show it correctly localized even on languages with no default
4526 abbreviations for am or pm
4527 (_check_am_pm_format): check correctly the 24h format gconf property
4529 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4531 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4533 * src/hildon-button.c: Documentation updates.
4535 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4537 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4538 * src/hildon-caption.c: (hildon_caption_class_init):
4539 * src/hildon-color-button.c: (hildon_color_button_class_init):
4540 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4541 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4542 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4543 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4545 Remove deprecated GTK+ marshalers and replace them with the ones
4546 provided by GLib, for those available, add a marshaler for
4547 BOOLEAN:VOID, which is not available in GLib, and use it.
4549 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4552 the text from the previous column if there is no
4553 HildonTouchSelectorColumn::text-property set.
4555 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4557 * src/hildon-button.h
4558 * src/hildon-button.c (hildon_button_set_property)
4559 (hildon_button_get_property, hildon_button_class_init)
4560 (hildon_button_set_style, hildon_button_get_style):
4561 New "style" property to change the visual appearance of the
4564 * src/hildon-picker-button.c (hildon_picker_button_new):
4565 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4567 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4568 HildonButton look like PickerButton)
4570 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4572 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4573 column while building the default string.
4575 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4577 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4578 scroll indicator by default.
4580 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4582 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4584 * src/hildon-main.c: Fix the documentation for hildon_init()
4586 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4588 * doc/hildon-docs.sgml
4592 * src/hildon-window-stack-private.h
4593 * src/hildon-window-stack.h
4594 * src/hildon-window-stack.c:
4595 New HildonWindowStack object, that adds support for multiple
4596 stacks of windows per process.
4598 * src/hildon-stackable-window-private.h
4599 * src/hildon-stackable-window.h
4600 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4601 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4602 (hildon_stackable_window_show, hildon_stackable_window_hide)
4603 (hildon_stackable_window_class_init)
4604 (hildon_stackable_window_init):
4605 Use HildonWindowStack for stack management.
4607 * src/hildon-program.c (hildon_program_pop_window_stack)
4608 (hildon_program_peek_window_stack)
4609 (hildon_program_go_to_root_window):
4610 Add a fallback implementation to the deprecated functions using
4613 * examples/hildon-stackable-window-example.c:
4614 Use the new HildonWindowStack API.
4616 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4618 * src/hildon-stackable-window-private.h
4619 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4620 (hildon_stackable_window_hide, hildon_stackable_window_init):
4621 Remove all window stack management.
4623 * src/hildon-program-private.h
4624 * src/hildon-program.h
4625 * src/hildon-program.c (hildon_program_init)
4626 (hildon_program_pop_window_stack)
4627 (hildon_program_peek_window_stack)
4628 (hildon_program_go_to_root_window):
4629 Remove all window stack management and mark functions as
4632 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4634 * src/hildon-app-menu.c (hildon_app_menu_realize):
4635 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4637 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4639 * configure.ac: post release version bump
4640 * debian/changelog: version bump
4642 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4647 * configure.ac: bump version
4648 * debian/changelog: updates
4650 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4652 Based on initial code by Christian Dywan (christian@imendio.com)
4654 * doc/hildon-docs.sgml: Add section for hildon-main.
4655 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4656 * src/Makefile.am: Add new hildon-main.[ch]
4657 * src/hildon-defines.h: Update the icon sizes.
4658 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4659 new library initialization files and register icon sizes.
4660 * src/hildon-main.h: New declarations.
4661 * src/hildon.h: Include hildon-main.h
4663 Add new initialization functions to the library. These methods
4664 will register the hildon specific icon sizes and can be used in the
4665 future for other hildon specific bits.
4667 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4669 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4671 * src/hildon-window.c: (hildon_window_realize),
4672 (hildon_window_notify), (-hildon_window_update_title): Do not set
4673 the application name in the window title.
4675 Fixes: NB#89754 (Applications shouldn't display their names in the
4678 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4680 * src/hildon-note-private.h:
4681 * src/hildon-note.c: (hildon_note_set_property),
4682 (hildon_note_get_property), (hildon_note_class_init),
4683 (hildon_note_init), (hildon_note_finalize),
4684 (hildon_note_new_confirmation_with_icon_name),
4685 (hildon_note_new_information_with_icon_name):
4687 No need to mark as deprecated the actual code. Revert
4688 to avoid missing symbols in widgets using deprecated API.
4690 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4692 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4694 * src/hildon-volumebar.h
4695 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4696 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4698 * src/hildon-helper.h
4699 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4700 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4702 * examples/Makefile.am:
4703 Deprecate hildon-insensitive-example
4705 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4707 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4709 * examples/hildon-pannable-area-buttons-scroll-example.c:
4710 Make all buttons finger height
4712 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4714 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4716 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4717 update the day model only if it is really required, and to avoid the
4718 full-reconstruction aproach. Now it only add or remove the required days.
4720 The purpose of this is avoid superfluous HildonTouchSelector::changed
4723 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4724 with strange parameters)
4726 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4728 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4730 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4731 the WINDOW_TYPE property.
4733 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4735 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4738 Fix dependency to allow parallel compilation with make -jX
4740 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4742 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4743 color frame and some minor tweaks to make it more consistent with
4746 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4747 highlighted but not visible)
4749 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4751 * examples/Makefile.am: Fixed typo in the Makefile.am.
4753 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4755 Reviewed the use of MAEMO_GTK define, now we add the define in the
4756 compilation line, and we also add it to the pc file.
4758 * configure.ac: Added MAEMO_GTK define to the compilation command
4759 and removed it from the config.h.
4761 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4762 do not have to take care about this define if the library was
4766 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4768 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4770 * examples/Makefile.am,
4771 * examples/hildon-pannable-area-buttons-scroll-example.c,
4772 * examples/hildon-pannable-area-gesture-signals-example.c,
4773 * examples/hildon-pannable-area-scroll-jump-example.c,
4774 * examples/hildon-pannable-area-tree-view-example.c:
4775 Renamed the pannable area examples, now they have more meaningful
4778 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4780 * src/hildon-touch-selector.c:
4781 (hildon_touch_selector_set_column_selection_mode): Used of
4782 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4783 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4784 to avoid re-seting the same selection mode.
4786 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4787 breaks HildonPickerDialog)
4789 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4791 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4792 conditional in the Makefile.am
4794 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4796 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4797 Remove unused methods.
4799 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4801 * src/hildon-button.c (hildon_button_init):
4802 Make button images center-aligned by default
4804 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4807 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4808 activated, we have to think about how to deal with both defines
4809 MAEMO_GTK and MAEMO_CHANGES.
4811 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4813 * examples/hildon-app-menu-example.c (create_menu): Make all
4814 buttons finger size.
4816 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4818 Fixed the compilation without maemo gtk adding ifdefs with
4819 MAEMO_GTK define to the code, we have to check this version more
4822 * examples/Makefile.am: Added control to avoid some examples that
4823 just make sense with maemo gtk.
4826 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4827 hildon modes with the define.
4829 * examples/hildon-edit-toolbar-example.c,
4830 (create_icon_view): Create the icon view without hildon-gtk
4831 helpers if we are not using maemo gtk.
4833 * src/hildon-touch-selector.c,
4834 (_create_new_column): Create the treeview without hildon-gtk
4835 helpers if we are not using maemo gtk.
4837 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4839 * src/hildon-pnnable-area.c,
4840 (hildon_pannable_area_dispose),
4841 (hildon_pannable_area_button_press_cb),
4842 (hildon_pannable_area_child_mapped),
4843 (hildon_pannable_area_add),
4844 (hildon_pannable_area_remove): Added code to control the position
4845 of the event_window when adding and removing children from the
4846 pannable. We have to raise the event window when the child is
4849 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4850 selection mode using custom widget inside pannable)
4852 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4854 * configure.ac: post release version bump
4855 * debian/changelog: version bump
4857 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4862 * configure.ac: bump version
4863 * debian/changelog: updates
4865 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4867 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4868 search mode, in order to avoid lose the focus on the treeview when
4869 a hw key (like enter) is pressed.
4871 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4872 in HildonDateSelector dialog)
4874 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4876 * debian/rules: Added --enable-maintainer-mode
4877 * Makefile.am: Added ACLOCAL_AMFLAGS
4879 This allows to properly regenerate the Makefiles if you modify the
4880 configure.ac or any Makefile.am.
4882 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4884 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4885 properties, not needed at all.
4887 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4889 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4891 * src/hildon-note.c: (hildon_note_set_property),
4892 (hildon_note_get_property), (hildon_note_class_init),
4893 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4894 (hildon_note_new_confirmation_add_buttons): Remove icons.
4895 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4896 (hildon_note_new_information_with_icon_name): Deprecate.
4897 (hildon_note_new_confirmation): Act directly, without calling
4898 the deprecated constructor.
4899 (hildon_note_new_information): Act directly, without calling
4900 the deprecated constructor.
4901 * src/hildon-note.h: Mark deprecate methods as such.
4902 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4903 not run tests on the deprecated methods if built with deprecation
4906 Fixes: NB#91688 (Never show icons in information notes/confirmation
4909 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4911 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4912 (hildon_app_menu_key_press): Remove leftover usage of the
4913 private structure in HildonAppMenu struct.
4914 * src/hildon-app-menu.h: Remove leftover private structure
4915 from the HildonAppMenu struct.
4917 Fixes a crasher when using the HildonAppMenu.
4919 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4921 * src/hildon-picker-dialog.c: Use appropriate logical id
4922 for the default "Done" text.
4924 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4926 * configure.ac: post release version bump
4927 * debian/changelog: version bump
4929 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4931 Modified the way to scroll to the current selection just when the touch
4932 selector is shown on the screen, avoiding a g_idle. Added too a property
4933 to configure this behaviour. See hildon_pannable_area_jump_to_child
4934 documentation for more information.
4936 * src/hildon-touch-selector.c
4937 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4938 Added 'initial-scroll' property
4939 (hildon_touch_selector_set_property): Added
4940 (hildon_touch_selector_map): Removed as not required anymore
4941 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4942 only a concrete column, instead of iterate along all the columns
4944 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4949 * configure.ac: bump version
4950 * debian/changelog: updates
4952 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4954 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4955 compilation time warnings.
4957 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4959 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4960 the default value for HildonPannableArea::mov-mode to
4961 HILDON_PANNABLE_AREA_MODE_VERT.
4963 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4965 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4967 Reverting following commit:
4969 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4971 * src/hildon-app-menu-private.h
4972 * src/hildon-app-menu.[ch]
4973 * src/hildon-button.[ch]
4974 * src/hildon-check-button.[ch]
4975 * src/hildon-entry.[ch]
4976 * src/hildon-pannable-area.[ch]
4977 * src/hildon-text-view.[ch]:
4978 Added private field to the object's structure.
4980 because it causes an ABI breakage. We will need to introduce these
4981 changes later at some point. See NB#91636 for an extensive
4982 explanation and status.
4984 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4986 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4988 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4989 remove special cases that are no longer necessary.
4991 Fixes: NB#91016 (Change toolbar sizes, simplification)
4993 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4995 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4996 is shown in the cancel note.
4998 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5000 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5001 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5002 (hildon_seekbar_init): Remove steppers, remove expose event.
5003 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5005 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5007 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5009 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5010 label font to "SmallSystemFont" for vertically arranged buttons.
5012 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5015 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5017 * src/hildon-check-button.c
5018 (hildon_check_button_set_active, hildon_check_button_clicked):
5019 Don't access private parts directly, use getters instead.
5021 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5023 * src/hildon-check-button.c (hildon_check_button_new):
5024 Align the contents of the check button to the left.
5026 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5028 * src/hildon-pannable-area.c,
5029 (hildon_pannable_area_scroll_to),
5030 (hildon_pannable_area_jump_to),
5031 (hildon_pannable_area_scroll_to_child),
5032 (hildon_pannable_area_jump_to_child): Replace the mapped
5033 precondition of these functions with the realized, it is the
5034 correct state of the widget in this case. Changed the
5035 documentation according to this modification.
5037 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5039 Added a new EXTRA_CFLAGS option to add the deprecated define to
5040 the compilation command. This way we can avoid using the define in
5041 the documentation compilation.
5043 * configure.ac: Defined EXTRA_CFLAGS.
5045 * examples/Makefile.am:
5047 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5049 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5051 * src/hildon-picker-dialog.c:
5052 Defined a utility macro with the desired touch selector height
5053 Removed currently unused separator, and title_label variables from
5055 (hildon_picker_dialog_init): Removed code related to the creation
5056 of unused private variables title_label and separator.
5057 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5058 to ensure correct visualization of the touch selector inside the dialog.
5059 * src/hildon-touch-selector.c
5060 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5061 ensure a concrete height of the widget.
5063 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5066 * tests/Makefile.am:
5068 Remove spurious whitespaces.
5070 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5072 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5073 compilation warning after the cancel button removal.
5075 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5077 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5079 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5080 Makefile.am, that way we can choose not to compile some examples
5081 and tests of the deprecated widgets.
5083 * examples/Makefile.am: Divided the sources in deprecated and
5086 * src/Makefile.am: Added undef statement of the deprecated
5087 symbol to the enums file generation process.
5089 * src/hildon-color-chooser-dialog.c
5090 * src/hildon-color-chooser-dialog.h
5091 * src/hildon-color-button.c
5092 * src/hildon-color-button.h
5093 * src/hildon-color-chooser.c
5094 * src/hildon-color-chooser.h
5095 * src/hildon-controlbar.c
5096 * src/hildon-controlbar.h
5097 * src/hildon-date-editor.c
5098 * src/hildon-date-editor.h
5099 * src/hildon-hvolumebar.c
5100 * src/hildon-hvolumebar.h
5101 * src/hildon-private.c
5102 * src/hildon-private.h
5103 * src/hildon-range-editor.c
5104 * src/hildon-range-editor.h
5105 * src/hildon-seekbar.c
5106 * src/hildon-seekbar.h
5107 * src/hildon-time-editor.c
5108 * src/hildon-time-editor.h
5109 * src/hildon-time-picker.c
5110 * src/hildon-time-picker.h
5111 * src/hildon-volumebar.c
5112 * src/hildon-volumebar.h
5113 * src/hildon-vvolumebar.c
5114 * src/hildon-vvolumebar.h
5115 * src/hildon-bread-crumb-trail.h
5116 * src/hildon-bread-crumb-trail.c
5117 * src/hildon-calendar-popup.c
5118 * src/hildon-calendar-popup.h
5119 * src/hildon-weekday-picker.c:
5120 * src/hildon-weekday-picker.h:
5121 * src/hildon-bread-crumb-widget.c:
5122 * src/hildon-bread-crumb-widget.h:
5123 * src/hildon-bread-crumb.c:
5124 * src/hildon-bread-crumb.h:
5125 * src/hildon-calendar.c:
5126 * src/hildon-calendar.h:
5127 * src/hildon-caption.c:
5128 * src/hildon-code-dialog.c:
5129 * src/hildon-code-dialog.h:
5130 * src/hildon-font-selection-dialog.c:
5131 * src/hildon-font-selection-dialog.h:
5132 * src/hildon-get-password-dialog.c:
5133 * src/hildon-get-password-dialog.h:
5134 * src/hildon-login-dialog.c:
5135 * src/hildon-login-dialog.h:
5136 * src/hildon-number-editor.c:
5137 * src/hildon-number-editor.h:
5138 * src/hildon-set-password-dialog.c:
5139 * src/hildon-set-password-dialog.h:
5140 * src/hildon-sort-dialog.c:
5141 * src/hildon-sort-dialog.h: This is the list of deprecated
5144 * src/hildon-touch-selector.c:
5145 * src/hildon-window.c: Added undef statement to avoid compilation
5148 * tests/Makefile.am: Divided the sources in deprecated and
5151 * tests/check_test.c,
5152 (configure_tests): Marked the deprecated code that was adding
5153 suites with deprecated tests.
5155 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5157 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5159 * src/hildon-touch-selector.c: (_default_print_func): Do not
5160 duplicate a string returned by gtk_tree_model_get(), it is already
5163 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5166 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5168 * src/hildon-pannable-area.c
5169 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5170 method, it had problems when adding a widget with viewport the
5171 second time. Now checks if it already has a viewport and uses it.
5173 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5176 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5178 * src/hildon-pannable-area.c,
5179 (hildon_pannable_area_scroll_to),
5180 (hildon_pannable_area_jump_to),
5181 (hildon_pannable_area_scroll_to_child),
5182 (hildon_pannable_area_jump_to_child): Added a precondition to the
5183 scroll and jump to functions: the widget must be mapped before we
5184 can safely call these functions. We have also added documentation
5185 to the functions to explain how to use them in this situation.
5188 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5190 Reviewed the threading handling of the pannable widget, we have
5191 used the gdk_threads_add_timeout function instead of the usual
5192 glib handlers. This avoids some problems with the threads.
5194 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5195 (hildon_pannable_area_initial_effect),
5196 (hildon_pannable_area_scroll_indicator_fade),
5197 (hildon_pannable_area_button_press_cb),
5198 (hildon_pannable_area_timeout),
5199 (hildon_pannable_area_motion_notify_cb),
5200 (hildon_pannable_area_button_release_cb),
5201 (hildon_pannable_area_scroll_cb),
5202 (hildon_pannable_area_scroll_to): Removed the
5203 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5204 gdk_threads_add_timeout.
5206 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5208 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5213 * configure.ac: bump version
5214 * debian/changelog: updates
5216 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5218 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5219 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5220 * src/hildon-color-chooser-dialog.c:
5221 (hildon_color_chooser_dialog_init):
5222 * src/hildon-font-selection-dialog.c:
5223 (hildon_font_selection_dialog_init):
5224 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5226 Remove all cancel/close-like dialogs, as these are not going to be
5229 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5231 * src/hildon-note.c: (hildon_note_rebuild),
5232 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5235 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5237 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5239 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5240 sure all buttons are shown, even the Cancel/Close-like ones.
5242 Fixes: NB#90861 (Custom Confirmation dialogs should be
5243 protected from cancel button removal)
5245 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5247 * debian/control: Change libhildon1-examples dependency from libhildon1
5249 * debian/libhildon1-examples.install
5251 * Makefile.am: Modified the final install directory for the examples on
5252 package libhildon1-examples
5253 * Makefile.static: Update clean target in order to remove all the binary
5256 Changes suggested by Claudio after review new libhildon1-examples package
5258 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5260 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5261 * src/hildon-touch-selector.c: Ditto.
5263 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5265 * debian/control: Added new package libhildon1-examples, in order to pack
5266 the current hildon examples as documentation
5267 * debian/rules: Not to compress .c files, modify some includes on the
5268 examples (as normally are compiled locally, but when installed it will
5269 require to include the installed libhildon1 library), and rename
5271 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5272 install all the example files on the new example package
5273 * examples/Makefile.static: Added static makefile that can be used to
5274 compile the examples, once installed the new example package
5275 * examples: Most of the examples were modified in order to grant that
5276 all use only '#include "hildon.h"', in order to be easy to prepare
5277 it on the example package
5279 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5282 * debian/libhildon1-dev.install
5283 * debian/libhildon1-doc.install:
5284 Move all gtk-doc files to a separate libhildon1-doc package.
5286 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5288 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5290 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5292 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5294 * debian/rules: Fixed a error in order to avoid unnecessary calls
5295 to autogen.sh on package building
5297 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5299 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5301 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5303 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5306 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5308 * src/hildon-picker-button.c
5309 (hildon_picker_button_finalize):
5310 Free priv->done_button_text
5312 * src/hildon-time-button.c
5313 (hildon_time_button_set_time)
5314 * src/hildon-picker-button.c
5315 (hildon_picker_button_clicked)
5316 (hildon_picker_button_selector_selection_changed)
5317 (hildon_picker_button_set_selector)
5318 * src/hildon-date-button.c
5319 (hildon_date_button_set_date):
5320 Free strings returned by hildon_touch_selector_get_current_text()
5322 * src/hildon-button.c (hildon_button_construct_child):
5323 Fix leaks in priv->image and priv->label_box
5325 Fixes: NB#90535 (Memory leak in picker button)
5327 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5329 * src/hildon-button.c: (hildon_button_get_property): Do not access
5330 private elements directly, use getters instead.
5332 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5334 * src/hildon-app-menu-private.h
5335 * src/hildon-app-menu.c
5336 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5337 Store the menu's parent window.
5339 * src/hildon-stackable-window.c
5340 (hildon_stackable_window_toggle_menu)
5341 (hildon_stackable_window_finalize):
5342 Set the menu's parent window when the menu is shown, unset it when
5345 * src/hildon-app-menu.c
5346 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5347 (hildon_app_menu_class_init):
5348 Send unhandled keyboard accelerators to the parent window.
5350 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5352 * src/hildon-stackable-window.c
5353 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5355 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5357 * configure.ac: post release version bump
5359 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5362 * configure.ac: Bump version
5363 * debian/changelog: Updates
5364 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5367 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5369 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5372 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5373 GtkMenu with Hildon style.
5375 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5377 * src/hildon-picker-button.c:
5378 (hildon_picker_button_set_done_button_text): Set the dialog's
5379 done button text here as well.
5381 Fixes: NB#90232 (Picker button does not set the label on done button
5382 for the second time)
5384 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5386 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5389 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5391 * src/hildon-app-menu.c (hildon_app_menu_insert)
5392 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5393 the HildonAppMenu to be activatable using keyboard accelerators
5394 when the menu is not being shown.
5396 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5398 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5400 * src/hildon-stackable-window.c
5401 (hildon_stackable_window_show):
5402 Don't hide old windows automatically when new windows are shown:
5403 this is now a task for the window manager.
5404 (hildon_stackable_window_class_init)
5405 (hildon_stackable_window_hide):
5406 Remove windows from the stack everytime they're hidden.
5407 (hildon_stackable_window_realize):
5408 Don't change the _NET_WM_WINDOW_TYPE property. Use
5409 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5410 it as a stackable window.
5412 * src/hildon-program.c
5413 (hildon_program_pop_window_stack):
5414 Just hide the window to remove it from the stack.
5415 (hildon_program_go_to_root_window):
5416 Don't call gtk_widget_show(), this is now a task for the window
5419 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5421 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5423 * src/hildon-button.c
5424 (hildon_button_construct_child):
5425 Don't pack anything in the button until text or image are
5426 set. This allows adding a custom child after creating the button
5427 with hildon_button_new().
5428 (hildon_button_finalize, hildon_button_class_init)
5429 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5430 alignment and the label box even when they're not packed in the
5433 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5435 * src/hildon-touch-selector.h:
5436 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5437 currently the type definition was using GTK_TYPE_VBOX
5438 * src/hildon-touch-selector.c:
5439 Added some implementation notes in order to clarify that any other widget
5440 added without the column related API will not be included on the
5441 selection logic, and how the widget is freed, as some people ask about
5443 (hildon_touch_selector_remove): Reimplemented in order to free properly
5444 the column related data when you remove the private hbox.
5445 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5446 to get a proper HildonTouchSelectorColumn documentation
5448 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5450 * src/hildon-touch-selector-entry.c:
5451 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5452 text in the GtkEntry and there is no item selected. Fixes a
5455 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5457 * src/hildon-app-menu-private.h
5458 * src/hildon-app-menu.[ch]
5459 * src/hildon-button.[ch]
5460 * src/hildon-check-button.[ch]
5461 * src/hildon-entry.[ch]
5462 * src/hildon-pannable-area.[ch]
5463 * src/hildon-text-view.[ch]:
5464 Added private field to the object's structure.
5466 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5468 * configure.ac: post-release version bump
5470 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5474 * configure.ac: pre-release version bump
5476 * debian/changelog: updates.
5478 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5480 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5481 Disconnect the handler for HildonTouchSelector::changed.
5483 (hildon_picker_button_selector_selection_changed): Update the button
5484 value if the selection change was not triggered by the
5487 (hildon_picker_button_set_selector): connect to
5488 HildonTouchSelector::changed.
5490 Fixes: NB#89650 (Picker button is not updated, when selection in
5491 selector has changed)
5493 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5495 * src/hildon-picker-dialog.c
5496 (hildon_picker_dialog_realize): Removed as not required
5497 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5498 * src/hildon-picker-button.c
5499 (_current_selector_empty): New function, checks if the selector is empty
5500 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5501 if the current selector is empty, in order to avoid to show the dialog
5502 close the dialog in this case (and shows a g_warning).
5504 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5506 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5508 * src/hildon-pannable-area.c,
5509 (hildon_pannable_area_scroll): Added clause to stop movement when
5510 the child of pannable is smaller than one page.
5511 (hildon_pannable_area_scroll_to): Added conditions to avoid
5512 starting the scrolling movement if the child is smaller than one
5513 page, the complete child is in the screen, we do not have to move.
5515 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5517 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5519 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5520 this is managed automatically by the widget when the size of the
5523 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5525 * src/hildon-picker-button.c
5526 (hildon_picker_button_set_done_button_text): Make a copy of the
5527 text, and free the previous value.
5529 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5531 * src/hildon-touch-selector-entry.c:
5532 (hildon_touch_selector_entry_print_func): Return the selected row's
5533 text if the entry is empty.
5535 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5538 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5540 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5542 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-check-button.h
5546 * src/hildon-check-button.c
5547 * examples/hildon-check-button-example.c:
5548 HildonCheckButton is now a new widget. 'toggled' signal added.
5550 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5552 * src/hildon-program-private.h
5553 * src/hildon-program.c (hildon_program_init)
5554 (hildon_program_finalize): Removed unused variables group_leader
5555 and name from HildonProgramPrivate.
5557 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5559 * src/hildon-check-button.c (hildon_check_button_set_active)
5560 (hildon_check_button_get_active, hildon_check_button_new): Use
5561 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5563 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5565 * src/hildon-touch-selector.h
5566 (hildon_touch_selector_set_column_attributes): added deprecation
5567 guard HILDON_DISABLE_DEPRECATED
5568 * src/hildon-time-selector.c
5569 (hildon_time_selector_set_time)
5570 (hildon_time_selector_get_time): Fixed a typo on documentation
5571 * src/hildon-touch-selector.c: update HildonTouchSelector and
5572 HildonTouchSelectorColumn documentation
5573 * src/hildon-touch-selector-entry.c: update "text-column" property
5575 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5576 to be added to the general documentation.
5578 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5580 * examples/hildon-pannable-area-example-4.c,
5582 * examples/hildon-pannable-area-example.c,
5583 (main): Modified the code in order to use the container add, with
5584 viewport treeviews could have problems if they are really big.
5586 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5588 * src/hildon-weekday-picker.c,
5589 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5590 the agreement regarding deprecation in the library.
5592 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5594 * examples/hildon-picker-button-multicolumn-example.c:
5595 (main): Use custom "done" button text.
5597 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5598 (hildon_picker_button_set_property),
5599 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5600 (hildon_picker_button_init),
5601 (+hildon_picker_button_get_done_button_text),
5602 (+hildon_picker_button_set_done_button_text): New methods to customize
5603 the "done" button label in the launched HildonPickerDialog. Also,
5606 * src/hildon-picker-button.h: add the public API.
5608 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5610 * src/hildon-date-selector.h:
5611 * src/hildon-picker-dialog.h:
5612 * src/hildon-time-selector.h:
5613 * src/hildon-touch-selector-column.h:
5614 * src/hildon-touch-selector.h:
5616 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5617 declarations. Fixes gtk-doc warnings.
5619 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5621 * src/hildon-picker-dialog.h
5622 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5623 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5625 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5626 long text is set as label for done button)
5628 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5630 * src/hildon-dialog.c (hildon_dialog_add_button):
5631 Set fixed width to all buttons in the HildonDialog.
5633 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5635 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5637 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5638 Set widget name using class name plus "-finger" or "-thumb".
5640 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5642 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5643 'clicked' when the state of the button is manually changed.
5645 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5647 * src/hildon-app-menu.c (hildon_app_menu_realize)
5648 (hildon_app_menu_unrealize, hildon_app_menu_init)
5649 (hildon_app_menu_class_init, item_visibility_changed):
5650 Change the menu layout when the size of the screen changes.
5651 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5652 Show warning only when changing the number of colums using the
5655 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5657 * debian/compat: Set to 5
5658 * debian/control: Update dependencies.
5659 * debian/libhildon1-dbg.install: Remove.
5660 * debian/libhildon1-dev.install: Update according to cdbs paths.
5661 * debian/libhildon1.install: Update according to cdbs paths.
5662 * debian/rules: Switch to cdbs.
5664 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5666 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5667 'item' variable renamed to 'filter'
5669 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-app-menu.c (hildon_app_menu_insert)
5672 (hildon_app_menu_add_filter, remove_item_from_list)
5673 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5674 Don't leak hidden items when the menu is destroyed.
5676 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5678 * src/hildon-app-menu.c (hildon_app_menu_insert)
5679 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5680 (hildon_app_menu_set_columns, item_visibility_changed)
5681 (filter_visibility_changed, hildon_app_menu_repack_filters)
5682 (hildon_app_menu_repack_items):
5683 Repack items and filters separately.
5685 Don't repack all items, change only the ones that are needed to
5688 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5690 * src/Makefile.am: added hildon-touch-selector-column.h
5692 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5694 * src/hildon-touch-selector.c: added the property "text-column" to the
5695 class HildonTouchSelectorColumn, and related get/set functions
5696 (_default_printf_func): updated to use "text-column" property
5697 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5698 "text-column" in his documentation, as this is now included on
5699 HildonTouchSelectorColumn. The get/set_property can still be used,
5700 working as a wrapper to the concrete column "text-column" property
5701 (_text_column_modified): callback added in order to handle the signal
5702 "notify::text-column" of the concrete HildonTouchSelectorColumn
5703 (hildon_touch_selector_entry_get_text_column)
5704 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5705 modified in order to use the HildonTouchSelectorColumn "text-column"
5707 * src/hildon-time-selector.c:
5708 * src/hildon-date-selector.c:
5709 * examples/hildon-touch-selector-example.c
5710 * examples/hildon-touch-selector-multi-cells-example.c
5711 * examples/hildon-picker-button-multicolumn-example.c
5712 Set the right value to "text-column" property on the creation of a new
5713 column using hildon_touch_selector_append_column()
5715 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5717 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5719 * src/hildon-app-menu.c
5720 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5721 updating the layout of the menu, don't create all widgets again,
5722 just repack the items in their new places.
5724 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5726 * src/hildon-time-selector.c
5727 (hildon_time_selector_get_time)
5728 (hildon_time_selector_set_time)
5729 Added documentation of these public methods
5731 * src/hildon-date-button.h
5732 * src/hildon-touch-selector-column.h
5733 * src/hildon-time-button.h
5734 * src/hildon-picker-dialog.h
5735 * src/hildon-time-selector.h
5736 * src/hildon-picker-button.h
5737 * src/hildon-touch-selector.h
5738 * src/hildon-time-picker.h
5739 * src/hildon-date-selector.h
5740 * src/hildon-touch-selector-entry.h
5741 Modified in order to use hildon-widgets code style
5743 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5745 Added deprecated support to the compilation process using
5746 HILDON_DISABLE_DEPRECATED
5748 * configure.ac: Added the --disable-deprecated to the configure
5751 * src/hildon-weekday-picker.c:
5752 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5753 to use the deprecated support. We will update the other deprecated
5754 widgets status in a new patch.
5756 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5758 * configure.ac: Fixed typo with fatal warnings support, the
5759 variable name was not correct
5761 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5763 * src/hildon-app-menu.c
5764 * src/hildon-program.c: Update documentation.
5766 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5768 * configure.ac: Post-release version bump.
5770 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5775 * configure.ac: Pre-release version bump.
5776 * debian/changelog: Updates.
5778 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5780 * NEWS: Update news for previous releases.
5782 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5784 * examples/hildon-touch-selector-multi-cells-example.c:
5785 (create_selector): Update the example to use
5786 hildon_touch_selector_append_column() with a NULL renderer and set
5787 the renderers later.
5788 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5789 passed a NULL renderer. This is documented behavior now.
5791 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5792 This must be used if the developer wants full control on the layout of
5793 the renderers to be added to the column.
5795 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5797 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5799 * src/hildon-touch-selector.c: Documentation fixes.
5801 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5803 * src/hildon-wizard-dialog-private.h: Remove image and box.
5804 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5805 (hildon_wizard_dialog_set_property), (response): Completely remove
5806 image/icon support, and the containers required for the layout.
5808 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5810 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5812 * src/hildon-app-menu.c: Updated documentation.
5814 * src/hildon-stackable-window.c
5815 (hildon_stackable_window_set_main_menu): Unref the old menu after
5816 ref'ing the new one.
5818 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5820 * src/hildon-stackable-window.c
5821 (hildon_stackable_window_set_main_menu): Unref the previous menu
5822 instead of destroying it.
5824 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5825 floating reference and set has_user_ref_count to FALSE to make
5826 HildonAppMenu act like a normal ref-counted widget and not a
5829 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5832 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5834 * src/hildon-touch-selector-column.h: new file
5835 * src/hildon-touch-selector.h
5836 * src/hildon-touch-selector.c
5837 Implemented GtkCellLayout interface, in order to allow to configure
5838 the cell layout on each individual selector column
5839 (hildon_touch_selector_set_column_attributes): marked as deprecated
5840 * examples/hildon-touch-selector-multi-cells-example.c
5841 Example of how to use the GtkCellLayout interface on the selector
5843 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5845 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5847 * src/hildon-app-menu.h
5848 * src/hildon-app-menu.c
5849 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5850 (hildon_app_menu_append, hildon_app_menu_prepend):
5851 New methods to prepend, insert and move items in the menu.
5853 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5855 * src/hildon-wizard-dialog.c:
5857 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5859 (create_title): Update logical IDs and related code.
5860 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5862 * src/hildon-wizard-dialog.h: Note that
5863 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5864 point, as it is not used anymore.
5866 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5868 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5870 * src/hildon-note.c:
5871 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5872 shown. Do not display an icon in confirmation notes nor information
5874 (hildon_note_set_button_text): Update logical ID for cancel button.
5876 Fixes: NB#88850 (Update HildonNote button strings + signals)
5878 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5880 * src/hildon-stackable-window.c
5881 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5883 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5885 * src/hildon-app-menu-private.h
5886 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5887 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5888 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5889 temporary property 'columns' to change the number of columns.
5891 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5893 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5895 * examples/hildon-note-example.c: (on_information_clicked),
5896 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5897 debugging information.
5898 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5900 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5901 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5902 in order to close: this will be handled by the WM from now on.
5904 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5906 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5908 * src/hildon-app-menu-private.h
5909 * src/hildon-app-menu.c
5910 (hildon_app_menu_append, hildon_app_menu_add_filter)
5911 (button_visibility_changed, hildon_app_menu_apply_style)
5912 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5913 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5914 layout everytime a button (item or filter) is shown or hidden.
5916 * src/hildon-stackable-window.c
5917 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5920 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5922 * src/hildon-touch-selector.c:
5923 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5924 that the treeview inside the touch selector is in fremantle hildon mode
5925 * examples/hildon-date-button-example.c
5926 * examples/hildon-picker-button-multicolumn-example.c
5927 * examples/hildon-touch-selector-entry-example.c
5928 * examples/hildon-touch-selector-example.c
5929 * examples/hildon-time-button-example.c
5930 * examples/hildon-picker-button-example.c:
5931 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5933 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5935 * examples/hildon-text-view-example.c: (main): Remove the
5936 gtkrc bits, now handled by the theme.
5938 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5940 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5943 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5945 * po/Makefile.am: Install properly the mo files.
5946 * po/en_GB.po: Update translation, to ease testing purposes.
5948 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5950 * examples/hildon-picker-button-example.c: (main): Select an item
5951 in the selector before setting it to the button.
5953 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5955 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5956 Update button's value if the selector has an item active.
5958 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5959 'value' with the selector)
5961 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5963 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5964 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5965 (hildon_picker_button_class_init): Plug the finalize method.
5966 (hildon_picker_button_set_selector): If there's a previously set
5967 selector, unref'it before setting a new one.
5969 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5970 HildonTouchSelector)
5972 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5974 * src/hildon-touch-selector-entry.c:
5975 (hildon_touch_selector_entry_changed): Check if there is no text
5976 selected before setting the entry text.
5979 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5981 * src/hildon-touch-selector.h
5982 * src/hildon-touch-selector.c
5983 (hildon_touch_selector_get_active)
5984 (hildon_touch_selector_set_active): New methods to set/get the
5985 index of the selected item.
5987 * src/hildon-picker-button.h
5988 * src/hildon-picker-button.c
5989 (hildon_picker_button_get_active)
5990 (hildon_picker_button_set_active): New methods to set/get the
5991 index of the selected item.
5993 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5995 * configure.ac: post-release version bump.
5997 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6001 * configure.ac: Pre-release version bump.
6002 * debian/changelog: Updates.
6003 * debian/control: Add myself as maintainer and depend on l10n
6006 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6008 * src/hildon-window.c
6009 (hildon_window_set_main_menu)
6010 * src/hildon-stackable-window.c
6011 (hildon_stackable_window_set_main_menu):
6012 Updated documentation.
6014 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6016 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6017 Don't free selector->priv manually.
6020 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6023 (hildon_gtk_window_set_progress_indicator):
6024 * src/hildon-gtk.h: Added the new API
6025 hildon_gtk_window_set_progress_indicator, it changes the state of
6026 the window progress hint.
6028 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6030 * src/hildon-button.c
6031 * src/hildon-stackable-window.c: Minor documentation updates.
6033 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6035 * src/hildon-stackable-window.c: Updated documentation.
6037 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6039 * src/hildon-defines.h: Update margins definitions
6040 to the Fremantle sizes.
6043 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6045 * src/hildon-touch-selector.c,
6046 (_hildon_touch_selector_set_model): Cleaning the code after
6047 review, removed g_print and #if 0 from the code.
6049 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6051 * src/hildon-edit-toolbar.c: Update documentation.
6053 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6055 * src/hildon-check-button.h
6056 * src/hildon-check-button.c
6057 (hildon_check_button_set_label, hildon_check_button_get_label)
6058 * examples/hildon-check-button-example.c
6059 (button_clicked_cb):
6060 Removed deprecated methods.
6062 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6064 * src/hildon-text-view.c:
6065 Add sample code to the documentation.
6067 * src/hildon-entry.h
6068 * src/hildon-text-view.h:
6069 Minor cosmetic changes.
6071 * src/hildon-entry.c:
6072 Add sample code to the documentation.
6073 (hildon_entry_init, hildon_entry_refresh_contents):
6074 Don't allow NULL values in the placeholder.
6076 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6078 * doc/hildon-docs.sgml
6080 * examples/Makefile.am
6081 * examples/hildon-text-view-example.c
6083 * src/hildon-text-view.c
6084 * src/hildon-text-view.h
6086 New HildonTextView widget, with example.
6088 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6090 * po/POTFILES.in: Add missing files with translatable strings.
6091 Partially fixes NB#88287.
6093 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6095 * examples/hildon-pannable-area-example-2.c: (main): No need to
6096 set the cellrenderer height inside hildon touch lists, the theme does
6099 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6101 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6102 they are integrated in the theme.
6104 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6106 * examples/hildon-entry-example.c: Update the example adding
6107 widgets to modify the text and the placeholder of the HildonEntry.
6109 * src/hildon-entry.c: Show the placeholder everytime the widget
6110 is empty and loses the focus.
6112 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6114 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6116 * src/hildon-pannable-area.c,
6117 (hildon_pannable_area_size_request): Fixed bug in height
6118 requisition, avoid increasing size and add border twice.
6120 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6122 * configure.ac: postrelease version bump.
6124 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6128 * configure.ac: Prerelease version bump.
6129 * debian/changelog: update.
6130 * debian/rules: make -dbg package contain useful debugging symbols.
6132 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6134 * src/hildon-dialog.h
6135 * src/hildon-dialog.c
6136 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6137 New methods to add buttons with finger size.
6138 (hildon_dialog_new_with_buttons):
6139 Create buttons with finger size.
6141 * examples/hildon-dialog-example.c (main): Use HildonDialog
6142 methods to add buttons.
6144 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6146 * src/hildon-entry.c: Updated HildonButton documentation.
6148 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6150 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6151 button value label with (FALSE, FALSE) to prevent NB#88126 from
6154 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6156 * examples/hildon-pannable-area-example.c,
6157 (main): Removed examples panning a vbox inside a pannable
6158 area. Check bug NB#87965
6160 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6162 Patch contributed by Kris Rietveld (kris@imendio.com)
6164 * src/hildon-pannable-area.c,
6165 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6166 get_size and get_position, this saves an X server roundtrip.
6168 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6170 * doc/hildon-docs.sgml
6172 * examples/Makefile.am
6173 * examples/hildon-entry-example.c
6175 * src/hildon-entry.c
6176 * src/hildon-entry.h
6178 New HildonEntry widget, with example.
6180 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6182 * src/hildon-button.c (hildon_button_construct_child): Pack the
6183 image with expand == fill == FALSE. This is a workaround for a bug
6186 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6188 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6189 labels for the text column, to make it more look more dynamic.
6191 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6193 * src/hildon-time-selector.c
6194 Define gettext auxiliar macro N_
6195 (_create_minutes_model)
6196 (_create_hours_model)
6197 (_create_ampm_model): use of strftime in order to fill the model
6198 * src/hildon-date-selector.c
6199 (hildon_date_selector_finalize):
6200 (_locales_init): remove the logic related to get the name of the months
6201 using nl_langinfo, as it is not required anymore
6203 (_create_year_model)
6204 (_create_month_model)
6205 (_update_day_model): use of strftime in order to fill the model properly
6208 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6210 * src/hildon-button.h
6211 * src/hildon-button.c (hildon_button_get_image): New method to
6214 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6216 * src/hildon-touch-selector.c:
6217 (hildon_touch_selector_remove_column): Remove from the correct parent
6218 and also remove the list element and free it.
6221 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6223 * src/hildon-time-selector.c
6224 (_create_hours_model): change the range on 12h ampm format in order to use
6225 a 12-11 range instead of previous 01-12 range
6226 (hildon_time_selector_set_time): change the way to select the current time
6227 on 12h ampm format, due the change on the range
6228 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6231 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6233 * src/hildon-touch-selector.c
6234 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6235 in order to allow use this function on multiple row selection mode if
6236 the column is different that the first one
6239 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6241 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6242 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6244 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6246 * src/hildon-date-selector.h: clean some comments, now on the .c
6247 * src/hildon-date-selector.c
6248 (hildon_date_selector_select_month): first implementation
6249 (hildon_date_selector_select_day): added documentation, reimplemented
6250 using hildon_date_selector_select_current_date to avoid repeat code
6253 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6255 Reviewed interaction logic based on device experiences, refactored
6258 * src/hildon-pannable-area.c,
6259 (hildon_pannable_area_class_init): Updated default vmax speed.
6260 (hildon_pannable_area_calculate_velocity): Added this function, it
6261 avoids duplicate valocity calculation. Adjusted calculation to
6262 avoid problems with zero dist events.
6264 (hildon_pannable_area_motion_notify_cb): Now we use the
6265 calculate_velocity function.
6267 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6269 * src/hildon-date-selector.c
6270 (hildon_date_selector_select_current_date): fix the day range check
6271 as it failed using the last day of the current month
6274 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6276 * src/hildon-touch-selector.c
6277 (hildon_touch_selector_get_num_columns): added a parameter validation
6280 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6282 * examples/Makefile.am
6283 * examples/hildon-edit-toolbar-example.c: Example of the
6284 HildonEditToolbar widget.
6286 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6288 * configure.ac: postrelease version bump.
6290 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6294 * configure.ac: prerelease version bump.
6295 * debian/changelog: update.
6297 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6299 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6300 renderer to display stock icons in the touch list. Also, set the sizes
6301 to the recommended in the style guide.
6303 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6304 * src/hildon-touch-selector.h
6305 (hildon_touch_selector_set_active_iter): renamed, now is
6306 hildon_touch_selector_select_iter
6307 (hildon_touch_selector_get_active_iter): renamed, now is
6308 hildon_touch_selector_get_selected
6309 (hildon_touch_selector_unselect_iter): added
6310 * src/hildon-touch-selector.c
6311 Update after API modification (methods renamed)
6312 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6313 order to avoid problems selecting multiple elements on the column
6314 (hildon_touch_selector_unselect_iter): added the implementation
6315 * src/hildon-time-selector.c
6316 * src/hildon-date-selector.c
6317 * src/hildon-touch-selector-entry.c
6318 Update methods calls after hildon-touch-selector.h API modification (methods
6321 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6323 * src/hildon-stackable-window.c
6324 (hildon_stackable_window_finalize): Call the parent class's finalize.
6326 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6328 * examples/hildon-touch-selector-example.c: (create_selector): Use
6329 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6332 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6334 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6335 set a cell background color, to respect theming.
6337 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6339 * doc/hildon-docs.sgml
6342 * src/hildon-edit-toolbar.c
6343 * src/hildon-edit-toolbar.h
6344 * src/hildon.h: New HildonEditToolbar widget.
6346 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6348 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6351 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6352 * src/hildon-touch-selector.c
6353 (_create_new_column): use g_object_set instead of two g_object_set_property
6355 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6356 * src/hildon-touch-selector.c
6357 (_create_new_column): use of hildon_gtk_tree_view_new to create
6358 the treeview, instead of use directly g_object_new
6359 (_create_new_column): update the property name "vindicator-mode" for the
6360 new one "vscrollbar-policy"
6361 * examples/hildon-date-button-example.c
6362 * examples/hildon-picker-button-multicolumn-example.c
6363 * examples/hildon-touch-selector-entry-example.c
6364 * examples/hildon-touch-selector-example.c
6365 * examples/hildon-time-button-example.c
6366 * examples/hildon-picker-button-example.c
6367 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6368 to all the treeviews inside a pannable area.
6370 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6372 * src/hildon-button.h
6373 * src/hildon-button.c (hildon_button_init)
6374 (hildon_button_set_arrangement, hildon_button_set_alignment)
6375 (hildon_button_set_title_alignment)
6376 (hildon_button_set_value_alignment)
6377 (hildon_button_set_image_alignment)
6378 (hildon_button_construct_child): New methods to set the alignment
6379 of the individual components of the button (title, value,
6380 image). Also, new method to alter the xscale and yscale properties
6381 of the GtkAlignment inside the button, so more complex layouts can
6384 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6386 * src/hildon-button.c (hildon_button_style_set)
6387 (hildon_button_class_init, hildon_button_set_arrangement)
6388 (hildon_button_construct_child): Apply style properties
6389 correctly. Use the 'image-spacing' style property too.
6391 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6393 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6394 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6397 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6399 * src/hildon-pannable-area.c,
6400 (hildon_pannable_area_size_request): Fixed problem with
6401 pannable-area size_request.
6403 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6405 Added management for the grab-focus to a child widget, like a
6406 range, we need to fade out the scrollbar when releasing.
6408 * src/hildon-pannable-area.c,
6409 (hildon_pannable_area_init): Connected the grab-focus signal to
6411 (hildon_pannable_area_grab_notify): Added this function in order
6412 to manage the situation when the grab-focus ends. We have to
6413 fade-out the scrollbar.
6415 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6417 * src/hildon-app-menu.c: Minor documentation update.
6419 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6421 * src/hildon-app-menu.c
6422 * examples/hildon-app-menu-example.c (create_menu): Update
6423 examples and documentation to explain how to connect callbacks.
6425 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6427 * examples/hildon-button-example.c
6428 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6429 hildon_stackable_window_new instead of gtk_window_new
6431 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6433 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6434 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6435 (hildon_pannable_area_set_property),
6436 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6437 (hildon_pannable_area_unrealize),
6438 (hildon_pannable_area_size_request),
6439 (hildon_pannable_area_size_allocate),
6440 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6441 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6442 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6443 (hildon_pannable_area_initial_effect),
6444 (hildon_pannable_area_redraw),
6445 (hildon_pannable_area_scroll_indicator_fade),
6446 (hildon_pannable_area_expose_event),
6447 (hildon_pannable_area_get_topmost), (synth_crossing),
6448 (hildon_pannable_area_button_press_cb),
6449 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6450 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6451 (hildon_pannable_area_motion_notify_cb),
6452 (hildon_pannable_area_button_release_cb),
6453 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6454 (hildon_pannable_area_remove),
6455 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6456 chage the code layout to a more GtkWidget like. Review the use of
6459 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6461 * examples/hildon-pannable-area-example-4.c,
6462 (main): Modified the name of the hindicator_mode to
6465 * src/hildon-pannable-area.c,
6466 (hildon_pannable_area_class_init),
6467 (hildon_pannable_area_motion_notify_cb),
6468 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6469 we have reduced the amount of signals and managed reviewed its
6470 rationale. Changed the default decelerate value.
6472 (hildon_pannable_area_add),
6473 (hildon_pannable_area_redraw): Refactored functions.
6475 (hildon_pannable_area_init),
6476 (hildon_pannable_area_get_property),
6477 (hildon_pannable_area_set_property):
6478 (hildon_pannable_draw_vscroll),
6479 (hildon_pannable_draw_hscroll),
6480 (hildon_pannable_area_initial_effect),
6481 (hildon_pannable_area_expose_event),
6482 (hildon_pannable_area_scroll),
6483 (hildon_pannable_area_button_press_cb),
6484 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6485 and vindicator_mode with hscrollbar_policy and
6486 vscrollbar_policy. Replaced hscroll and vscroll with
6487 hscroll_visible and vscroll_visible.
6489 (hildon_pannable_area_refresh): Refactor the function, remove
6490 variables and check the calls to this function, added resize
6491 conditions in case the children change their layout.
6493 (hildon_pannable_area_size_request): Added more detailed
6494 size_request calculation.
6497 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6499 * src/hildon-color-chooser.c
6500 (init_borders): use the correct gtk_border_free instead of g_free, to
6501 avoid a crash when this widget is used (ie: the three color selection
6504 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6506 * src/hildon-check-button.c,
6507 (hildon_check_button_set_active): Fixed problem when setting the
6508 active value, the widget was not redrawn.
6510 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6512 * src/hildon-pannable-area.c,
6513 (hildon_pannable_area_refresh),
6514 (hildon_pannable_area_scroll),
6515 (hildon_pannable_area_motion_notify_cb): Small code style change.
6517 (hildon_pannable_area_class_init): Default initial_hint set to
6518 FALSE, it is not in the specs.
6520 (hildon_pannable_area_initial_effect),
6521 (hildon_pannable_area_expose_event),
6522 (hildon_pannable_area_map),
6523 (hildon_pannable_area_init): Moved the launching point of the
6524 initial effect, it was in map but the sizes where not correct in
6525 that method so we do not know if we have the reproduce it. Now it
6526 is placed in the expose_event method and uses a variable to
6527 reproduce it just once.
6529 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6531 * src/hildon-pannable-area.c,
6532 (hildon_pannable_draw_vscroll),
6533 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6534 position allowed for the scrollbars.
6536 (hildon_pannable_area_size_allocate): Small style change.
6538 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6540 * src/hildon-pannable-area.c,
6541 (hildon_pannable_area_scroll_indicator_fade),
6542 (hildon_pannable_area_button_press_cb),
6543 (hildon_pannable_area_button_release_cb),
6544 (hildon_pannable_area_scroll_cb),
6545 (hildon_pannable_area_expose_event),
6546 (hildon_pannable_area_init): Added the define parameter
6547 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6548 and refactor the fade variable.
6550 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6552 * src/hildon-pannable-area.c,
6553 (hildon_pannable_area_redraw),
6554 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6555 lines, we were reimplemeting the redraw code.
6557 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6559 * src/hildon-pannable-area.c,
6560 (hildon_pannable_area_scroll_cb),
6561 (hildon_pannable_area_realize),
6562 (hildon_pannable_area_class_init): Added scroll_event management
6563 for pannable area, now we can scroll the usual desktop method.
6565 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6566 initialization of the parameters should depend on idle_id.
6568 (hildon_pannable_area_init),
6569 (hildon_pannable_area_map): Small code style modifications
6571 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6573 * src/hildon-pannable-area.c
6574 (hildon_pannable_area_button_press_cb),
6575 (hildon_pannable_area_motion_notify_cb),
6576 (hildon_pannable_area_button_release_cb),
6577 (hildon_pannable_area_size_allocate),
6578 (hildon_pannable_area_scroll_to): Improved the timeouts
6579 management, we avoid creating them each time.
6581 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6583 * src/hildon-pannable-area.c:
6584 (hildon_pannable_area_refresh),
6585 (hildon_pannable_area_motion_notify_cb),
6586 (hildon_pannable_area_class_init):
6587 * src/hildon-pannable-area.h:
6588 * src/hildon-touch-selector.c
6589 (_create_new_column):
6590 * examples/hildon-pannable-area-example-4.c:
6591 (horizontal_movement),
6592 (vertical_movement),
6594 Replaced the names of enums in the HildonPannableArea:
6595 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6596 HILDON_MOVEMENT_MODE_*
6597 - HILDON_PANNABLE_AREA_MOV_* ->
6599 - Removed HildonPannableAreaIndicatorMode, now we
6602 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6604 * examples/hildon-pannable-area-touch-grid-example.c
6605 * examples/hildon-pannable-area-touch-list-example.c: Fix
6606 compilation warnings.
6608 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6610 * src/hildon-gtk.c (hildon_gtk_button_new)
6611 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6612 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6613 images overriding the value of the "gtk-button-images" setting.
6615 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6617 * src/hildon-check-button.c (hildon_check_button_new):
6618 Instead of using a custom container, display the label and the
6619 checkbox using the standard GtkButton API.
6621 * examples/hildon-check-button-example.c (main): Don't use
6622 hildon_check_button_set_label() anymore
6624 * src/hildon-check-button.h
6625 * src/hildon-check-button.c
6626 (hildon_check_button_set_label, hildon_check_button_get_label):
6627 Set as deprecated, now we're using gtk_button_{get,set}_label()
6629 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6631 * src/hildon-pannable-area.c,
6632 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6633 GtkTreeview first line we detected it after the inclusion of the
6634 GtkWindowImpl in gtk+. We now check if the window is visible, not
6635 just if the pointer is over the window.
6636 (hildon_pannable_axis_scroll),
6637 (hildon_pannable_area_expose_event): Small style changes.
6639 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6641 * src/hildon-button.c: Update documentation.
6643 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6645 * examples/hildon-button-example.c: Add a switch to show images in
6648 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6650 * doc/hildon-docs.sgml: Some docs reorganization.
6652 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6654 * examples/hildon-pannable-area-touch-list-example.c
6656 * examples/hildon-pannable-area-touch-grid-example.c
6657 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6658 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6659 Fix memory leak when setting the tree model.
6661 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6665 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6667 * doc/hildon.types: Remove duplicated hildon_window_get_type
6668 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6669 documentation comment.
6671 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6673 * doc/Makefile.am: Complete list of private headers.
6675 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6677 * doc/hildon-docs.sgml
6678 * src/hildon-app-menu.c
6679 * src/hildon-bread-crumb.c
6680 * src/hildon-button.c
6682 * src/hildon-program.c
6683 * src/hildon-stackable-window.c
6684 * src/hildon-window.c: Lots of documentation updates.
6686 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6688 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6690 * configure.ac: Require Gtk+ 2.12.9 at least
6692 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6694 * src/hildon-pannable-area.c
6695 (hildon_pannable_area_scroll_indicator_fade),
6696 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6697 to protect the return of this timeout callbacks, avoiding deadlocks.
6699 2008-08-12 Christian Dywan <christian@imendio.com>
6702 * src/hildon-*.h: Ensure a consistent include order,
6703 include <gtk/gtk.h> instead of particular files and
6704 only include the topmost header in the gtk stack. See NB #39857
6706 2008-08-12 Christian Dywan <christian@imendio.com>
6708 * src/hildon-picker-dialog.c
6709 * src/hildon-touch-selector.c: Fix warnings about unused and
6710 uninitialized variables.
6712 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6714 * examples/Makefile.am
6715 * examples/hildon-check-button-example.c: Example of the hildon
6718 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6720 * src/hildon-window.h
6721 * src/hildon-window.c (hildon_window_class_init)
6722 (hildon_window_unset_program): Don't make
6723 hildon_window_unset_program a virtual function anymore.
6725 * src/hildon-stackable-window.c: Update documentation
6727 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6730 * doc/hildon-docs.sgml
6731 * doc/visual_index.xml
6732 * src/hildon-defines.c
6734 * src/hildon-helper.c
6735 * src/hildon-range-editor.c: Lots of documentation fixes.
6737 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6739 * examples/hildon-picker-button-multicolumn-example.c
6740 (create_touch_selector): Fix compilation warning.
6742 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6744 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6745 (hildon_pannable_area_button_release_cb)
6746 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6748 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6750 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6753 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6755 * src/hildon-bread-crumb-trail.h
6756 * src/hildon-date-editor.c
6757 * src/hildon-date-selector.c
6758 * src/hildon-pannable-area.c
6759 * src/hildon-picker-dialog.c
6760 * src/hildon-time-selector.c
6761 * src/hildon-touch-selector-entry.c
6762 * src/hildon-touch-selector.c
6763 * src/hildon-touch-selector.h: Misc documentation fixes
6765 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6767 * examples/hildon-date-editor-example.c (main): Updated date
6770 * examples/hildon-note-example.c (on_confirmation_clicked):
6771 Updated confirmation note example.
6773 * src/hildon-date-editor.c
6774 * src/hildon-note.c: Updated sample programs in documentation.
6777 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6779 * src/hildon-date-button.h:
6780 * src/hildon-picker-button.h:
6781 * src/hildon-time-button.c:
6782 * src/hildon-time-button.h:
6784 Some declarations changes to allow gtk-doc to document the widgets
6787 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6789 * src/hildon-date-button.c: Document the widget.
6790 * src/hildon-time-button.c: Document the widget.
6792 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6794 * src/hildon-picker-button.c: Document the widget.
6795 * src/hildon-touch-selector-entry.c: Document the widget.
6797 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6799 * doc/hildon-docs.sgml
6802 * src/hildon-check-button.h
6803 * src/hildon-check-button.c: New functions to create the Hildon
6807 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6809 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6811 * src/hildon-button.h
6812 * src/hildon-button.c
6813 (hildon_button_add_title_size_group)
6814 (hildon_button_add_value_size_group)
6815 (hildon_button_add_image_size_group)
6816 (hildon_button_add_size_groups): New functions to set size groups
6817 for the button labels and image.
6818 (hildon_button_new_full): Removed
6820 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6822 * src/hildon-time-selector.c
6823 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6824 in order to avoid a crash if gconf is not available
6826 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6828 * src/hildon-button.c (hildon_button_set_arrangement)
6829 (hildon_button_construct_child): Don't construct the button child
6830 before setting the arrangement.
6832 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6834 * src/hildon-program-private.h
6835 * src/hildon-program.c
6836 * src/hildon-program.h
6837 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6838 (hildon_program_peek_window_stack)
6839 (hildon_program_pop_window_stack)
6840 (hildon_program_go_to_root_window): HildonProgram now has a
6841 separate list for stackable windows. Functions are provided to
6842 manage that list with a stack-like API.
6844 * src/hildon-stackable-window.c: Stackable window management is
6845 now much simpler with the new HildonProgram API. Windows no
6846 longer need to be manually added to the program, they're
6847 automatically pushed to the top of the stack when shown.
6849 * examples/hildon-stackable-window-example.c: Updated example to
6850 reflect the API changes.
6852 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6854 * src/hildon-touch-selector.c: Comment out unimplemented
6855 hildon_touch_selector_insert_column() to avoid a compile warning.
6857 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6859 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6860 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6861 (hildon_touch_selector_set_column_selection_mode),
6862 (_hildon_touch_selector_set_model),
6863 (hildon_touch_selector_set_model):
6865 Complete review of HildonTouchSelector documentation.
6867 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6869 * doc/hildon-docs.sgml
6873 * src/hildon-gtk.c: Convenience functions for standard Gtk
6874 widgets, used to easily perform frequent operations.
6876 * src/hildon-button-helpers.h
6877 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6879 * src/hildon-helper.h
6880 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6881 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6883 * src/hildon-button.h
6884 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6886 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6888 * src/hildon-button.c (hildon_button_init)
6889 (hildon_button_set_arrangement, hildon_button_construct_child):
6890 Pack the image and the labels inside the same GtkAlignment so
6891 gtk_button_set_alignment() can be used
6893 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6895 * src/hildon-button.h
6896 * src/hildon-button.c
6897 (hildon_button_init, hildon_button_set_image)
6898 (hildon_button_set_image_position)
6899 (hildon_button_construct_child): New functions to add an image to
6902 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6904 * src/hildon-date-button.c
6905 * src/hildon-picker-button.c
6906 * src/hildon-time-button.c
6907 * src/hildon-button.c:
6908 (hildon_button_class_init): "size-flags" renamed to "size"
6909 (hildon_button_set_title): Hide the title label if set to NULL.
6911 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6913 HildonButtonFlags split into HildonButtonArrangement (to set the
6914 button layout) and HildonSizeType (which can be used for any
6917 * src/hildon-button.h
6918 * src/hildon-button.c
6919 (hildon_button_class_init)
6920 (hildon_button_set_arrangement)
6921 (hildon_button_set_property): New "size-flags"
6922 property. "arrangement-flags" renamed to "arrangement".
6923 (hildon_button_new, hildon_button_new_with_text)
6924 (hildon_button_new_full): Constructors updated to reflect type changes.
6926 * src/hildon-helper.h
6927 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6928 to set the size of a widget.
6932 * src/hildon-button-helpers.c
6933 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6935 * src/hildon-date-button.c
6936 * src/hildon-date-button.h
6937 * src/hildon-picker-button.c
6938 * src/hildon-picker-button.h
6939 * src/hildon-time-button.c
6940 * src/hildon-time-button.h: Updated widgets to reflect
6941 HildonButton API changes.
6943 * examples/hildon-button-example.c
6944 * examples/hildon-date-button-example.c
6945 * examples/hildon-picker-button-example.c
6946 * examples/hildon-picker-button-multicolumn-example.c
6947 * examples/hildon-time-button-example.c
6948 * examples/hildon-touch-selector-entry-example.c
6949 * examples/hildon-touch-selector-example.c: Updated examples to
6950 reflect HildonButton API changes.
6952 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6954 * doc/hildon-docs.sgml:
6956 * examples/Makefile.am:
6957 * examples/hildon-touch-selector-entry-example.c:
6959 * src/hildon-touch-selector-entry.c:
6960 * src/hildon-touch-selector-entry.h:
6963 Moved HildonTouchSelectorEntry from sandbox. Added its
6964 documentation and examples.
6966 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6968 * src/hildon-touch-selector.h:
6969 * examples/hildon-picker-button-multicolumn-example.c:
6970 (hildon_touch_selector_append_text_column): Add a gboolean
6971 parameter to determine if text must be centered in the column.
6973 * src/hildon-date-selector.c: (hildon_date_selector_init):
6974 * src/hildon-time-selector.c: (hildon_time_selector_init):
6975 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6976 (create_touch_selector): Update widgets and example to reflect
6979 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6981 * src/hildon-touch-selector.c:
6982 (hildon_touch_selector_set_active_iter): Set also the cursor in
6985 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6987 * doc/hildon-docs.sgml
6990 * src/hildon-toggle-button.c
6991 * src/hildon-toggle-button.h
6992 * src/hildon.h: Removed HildonToggleButton widget, a derived
6993 class is not necessary for this.
6995 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6997 * src/hildon-pannable-area.c,
6998 (hildon_pannable_area_realize),
6999 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7002 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7004 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7005 "done" button the default widget for the dialog.
7007 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7009 * src/hildon-touch-selector.c:
7010 (hildon_touch_selector_class_init),
7011 (hildon_touch_selector_get_property),
7012 (_hildon_touch_selector_set_model),
7013 (_hildon_touch_selector_has_multiple_selection),
7014 (hildon_touch_selector_has_multiple_selection):
7015 Add a "has-multiple-selection" property with a virtual
7016 has_multiple_selection() method to allow derived classes to
7017 override the default value for it. See the method and property
7018 documentation for details.
7020 * src/hildon-touch-selector.h: Add the new API.
7022 * src/hildon-picker-dialog.c: (requires_done_button): Call
7023 hildon_touch_selector_has_multiple_selection() instead of
7024 determining the need for a button itself.
7026 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7028 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7029 (_hildon_touch_selector_set_model),
7030 (hildon_touch_selector_set_model): Move working code to
7031 _hildon_touch_selector_set_mode(). Call the class method instead.
7033 * src/hildon-touch-selector.h: Add (*set_model) to
7034 HildonTouchSelectorClass.
7036 Make hildon_touch_selector_set_model() a virtual method, so that
7037 derived classes can extend it and do fancy stuff with the model.
7039 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7041 * configure.ac: Set back the tarname in AC_INIT to hildon.
7043 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7047 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7048 instead of libesd (NB#86876). Volume handling is still an open issue.
7050 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7053 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7055 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7056 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7057 derived class to ease placement of an entry widget in
7058 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7059 end, where the selector columns are packed now.
7061 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7063 * src/hildon-picker-button.c: Removed the simple _text() API.
7064 * src/hildon-picker-button.h: Likewise.
7066 * src/hildon-touch-selector.h:
7067 * src/hildon-touch-selector.c:
7068 (hildon_touch_selector_new_text),
7069 (hildon_touch_selector_append_text),
7070 (hildon_touch_selector_prepend_text),
7071 (hildon_touch_selector_insert_text):
7073 Moved the simple _text() API from HildonPickerButton to
7074 HildonTouchPicker, to provide better escalability and not to tie
7075 that API to HildonPickerButton.
7077 * examples/hildon-picker-button-example.c: (main): Example updated.
7079 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7081 * src/hildon-button.c: Updated documentation.
7083 * examples/hildon-button-example.c: Add the posibility to create
7084 the buttons using horizontal layout for title and value.
7086 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7088 * src/hildon-app-menu-private.h
7089 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7090 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7091 GtkSizeGroup for the filters, use the 'homogeneous' property of
7094 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7096 * examples/hildon-button-example.c: Updated example.
7098 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7100 * doc/hildon-docs.sgml:
7103 Update documentation.
7105 * examples/Makefile.am: Update renamed examples.
7107 * examples/hildon-picker-button-multicolumn-example.c:
7108 (create_touch_selector), (main): Update after the rename.
7110 * examples/hildon-touch-picker-example.c: Removed.
7111 * examples/hildon-touch-selector-example.c: (value_changed),
7112 (create_selector), (get_visible_content), (main): Renamed from
7113 hildon-touch-picker-example.c
7115 * src/Makefile.am: Updated renamed files.
7117 * src/hildon-date-button.c: (hildon_date_button_init),
7118 (hildon_date_button_get_date), (hildon_date_button_set_date):
7119 * src/hildon-date-selector.c: (hildon_date_selector_init),
7120 (_custom_print_func), (_update_day_model),
7121 (_manage_selector_change_cb),
7122 (hildon_date_selector_select_current_date),
7123 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7124 * src/hildon-date-selector.h:
7125 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7126 (hildon_picker_button_set_property),
7127 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7128 (hildon_picker_button_init), (hildon_picker_button_new_text),
7129 (hildon_picker_button_append_text),
7130 (hildon_picker_button_prepend_text),
7131 (hildon_picker_button_insert_text),
7132 (hildon_picker_button_set_selector),
7133 (hildon_picker_button_get_selector):
7134 * src/hildon-picker-button.h:
7135 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7136 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7137 (_update_title_on_selector_changed_cb), (requires_done_button),
7138 (_hildon_picker_dialog_set_selector),
7139 (hildon_picker_dialog_set_selector),
7140 (hildon_picker_dialog_get_selector):
7141 * src/hildon-picker-dialog.h:
7142 * src/hildon-time-button.c: (hildon_time_button_init),
7143 (hildon_time_button_get_time), (hildon_time_button_set_time):
7144 * src/hildon-time-selector.c: (hildon_time_selector_init),
7145 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7146 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7147 * src/hildon-time-selector.h:
7150 Massive code updates after the rename.
7152 * src/hildon-touch-picker.c: Removed.
7153 * src/hildon-touch-picker.h: Removed.
7155 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7156 (hildon_touch_selector_init), (hildon_touch_selector_map),
7157 (hildon_touch_selector_remove), (_default_print_func),
7158 (_selection_changed_cb), (_create_new_column),
7159 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7160 (hildon_touch_selector_append_text_column),
7161 (hildon_touch_selector_remove_column),
7162 (hildon_touch_selector_set_column_attributes),
7163 (hildon_touch_selector_insert_column),
7164 (hildon_touch_selector_get_num_columns),
7165 (hildon_touch_selector_get_column_selection_mode),
7166 (hildon_touch_selector_set_column_selection_mode),
7167 (hildon_touch_selector_set_print_func),
7168 (hildon_touch_selector_get_print_func),
7169 (hildon_touch_selector_get_active_iter),
7170 (hildon_touch_selector_set_active_iter),
7171 (hildon_touch_selector_get_selected_rows),
7172 (hildon_touch_selector_get_model),
7173 (hildon_touch_selector_set_model),
7174 (hildon_touch_selector_get_current_text),
7175 (_hildon_touch_selector_center_on_selected_items):
7176 * src/hildon-touch-selector.h: Renamed from
7177 hildon-touch-picker.[ch]
7179 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7180 references, code examples, and related documentation.
7182 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7184 * doc/hildon-docs.sgml
7187 * src/hildon-toggle-button.c
7188 * src/hildon-toggle-button.h
7189 * src/hildon.h: New HildonToggleButton widget.
7191 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7193 * src/hildon-button.c: Add API documentation.
7194 (hildon_button_set_size_groups): Check input parameters
7196 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7198 * src/hildon-pannable-area.c
7199 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7200 effect after reaching the movement thredshold. This way we start
7201 using the distance after passing the thredshold.
7203 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7205 * src/hildon-button.c: (hildon_button_set_property): Use the
7206 appropriate g_value_get_flags() method.
7208 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7210 * doc/hildon-docs.sgml:
7213 Add the touch pickers, picker dialogs, and picker button widgets
7214 to the documentation.
7216 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7218 * src/hildon-button.c: (hildon_button_set_property),
7219 (hildon_button_class_init): Make "arrangement-flags" a proper
7220 G_TYPE_FLAGS derived property.
7222 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7224 * examples/Makefile.am: Add below examples.
7225 * examples/hildon-date-button-example.c:
7226 * examples/hildon-picker-button-example.c:
7227 * examples/hildon-picker-button-multicolumn-example.c:
7228 * examples/hildon-time-button-example.c:
7229 * examples/hildon-touch-picker-example.c:
7231 Add examples for the recently added touch pickers,
7232 picker dialogs, and picker button widgets.
7234 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7236 * src/hildon-button.c: Add some API documentation
7238 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7240 * src/hildon-button.h
7241 * src/hildon-button.c
7243 (hildon_button_new_with_text): New constructor to create a button
7244 with no text at all.
7245 (hildon_button_init, hildon_button_set_arrangement)
7246 (hildon_button_set_title, hildon_button_set_value)
7247 (hildon_button_set_text)
7248 (hildon_button_construct_child): Hide the value when it's not used
7249 so the rest of the text is properly aligned.
7250 Allow creating buttons with arbitrary widgets inside (not just
7251 title/value labels).
7253 * examples/hildon-button-example.c (vertical_buttons_window)
7254 (horizontal_buttons_window): Update example to use new API.
7256 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7258 * src/Makefile.am: Added HildonTimeButton.
7259 * src/hildon-time-button.c: Added missing LGPL header.
7260 * src/hildon-time-button.h: Added missing LGPL header.
7261 * src/hildon.h: Add hildon-time-button.h
7263 Copied HildonTimeButton from sandbox to trunk. Future work on this
7264 widget must take place in trunk.
7266 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7268 * src/Makefile.am: Added HildonDateButton.
7269 * src/hildon-date-button.c: Update includes.
7270 * src/hildon.h: Add hildon-date-button.h
7272 Copied HildonDateButton from sandbox to trunk. Future work on this
7273 widget must take place in trunk.
7275 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7277 * src/Makefile.am: Added HildonPickerButton.
7278 * src/hildon-picker-button.h: Update includes.
7279 * src/hildon.h: Add hildon-picker-button.h
7281 Copied HildonPickerButton from sandbox to trunk. Future work on
7282 this widget must take place in trunk.
7284 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7286 * src/Makefile.am: Added HildonPickerDialog.
7287 * src/hildon-picker-dialog.c: Update includes.
7288 * src/hildon.h: Add hildon-picker-dialog.h
7290 Copied HildonPickerDialog from sandbox to trunk. Future work
7291 on this widget must take place in trunk.
7293 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7295 * src/Makefile.am: Added HildonTimeSelector.
7296 * src/hildon.h: Add hildon-time-selector.h
7298 Copied HildonTimeSelector widget from sandbox to trunk. Future
7299 work on this widget must happen in trunk.
7301 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7303 * src/Makefile.am: Added HildonDateSelector.
7304 * src/hildon.h: Add hildon-date-selector.h
7306 Copied HildonDateSelector widget from sandbox to trunk. Future
7307 work on this widget must happen in trunk.
7309 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7311 * src/Makefile.am: Added HildonTouchPicker.
7312 * src/hildon-touch-picker.c: Update includes.
7313 * src/hildon.h: Add hildon-touch-picker.h
7315 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7316 on this widget must happen in trunk.
7318 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7320 * src/hildon-pannable-area.c:
7321 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7323 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7325 * examples/hildon-app-menu-example.c (main): Let the window
7328 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7330 * src/hildon-pannable-area.c
7331 (hildon_pannable_area_class_init): Set the min value of the
7332 overshoot properties to zero, which points out that not
7333 overshooting allowed.
7335 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7337 Modified the procedure to get the widget at a point inside the
7338 pannable area when using the movement type signals. Now the user
7339 has to call a function to get the child, that way we just
7340 calculate the child in case the user really want to use it and not
7343 * src/hildon-marshalers.list: Modified the marshallers, now we do
7344 not have the widget as a parameter.
7346 * src/hildon-pannable-area.c
7347 (hildon_pannable_area_motion_notify_cb),
7348 (hildon_pannable_area_class_init),
7349 (hildon_pannable_get_child_widget_at): Removed the widget
7350 parameter from the signal callback. We have also refactored the
7351 emission of the signals.
7353 * src/hildon-pannable-area.h: Added a new method to the API to
7354 calculate a widget at a point inside the pannable area,
7355 hildon_pannable_get_child_widget_at.
7357 * examples/hildon-pannable-area-example-4.c
7358 (horizontal_movement): Modified the example to use the new API,
7359 added condition to control which widget is under the event. This
7360 way we can avoid scrolling laterally over other widgets.
7362 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7364 * src/hildon-pannable-area.c
7365 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7366 modes, we stop getting the pointer events due to returning the
7367 callback without properly calling the get pointer again. Fixed
7368 also an error using the hscroll and vscroll.
7370 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7372 * src/hildon-app-menu-private.h
7373 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7374 (hildon_app_menu_button_release, hildon_app_menu_init)
7375 (hildon_app_menu_class_init): Don't hide the menu on button
7376 release if the user didn't press outside first.
7378 * src/hildon-window.h
7379 * src/hildon-window.c (hildon_window_toggle_menu)
7380 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7381 hildon_window_toggle_menu a virtual function for the stackable
7382 window to override it.
7384 * src/hildon-stackable-window.h
7385 * src/hildon-stackable-window-private.h
7386 * src/hildon-stackable-window.c
7387 (hildon_stackable_window_realize)
7388 (hildon_stackable_window_finalize)
7389 (hildon_stackable_window_class_init)
7390 (hildon_stackable_window_init)
7391 (hildon_stackable_window_set_main_menu): New function to set the
7392 app menu of a HildonStackableWindow.
7394 * examples/hildon-app-menu-example.c: Remove the button to show
7395 the app menu, now it'll be shown when clicking on the title bar
7398 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7400 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7401 set the widget name if the arrangement flags do not specify
7404 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7406 * src/hildon-button.c: (hildon_button_set_property),
7407 (hildon_button_class_init), (hildon_button_new_full),
7408 (hildon_button_set_arrangement): Added "arrangement-flags"
7411 Make the HildonButtonFlags a construction-only property, to allow
7412 subclasses to set them properly.
7414 2008-07-21 Tim Janik <timj@imendio.com>
7416 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7417 insertion position after backspace, so additional digits are appended,
7420 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7422 * src/hildon-pannable-area.c,
7423 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7424 TODO list, it was complete and removed the g_debug and g_print
7427 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7429 Added the movement modes to the hildon-pannable-area, with this
7430 modes the developers can control in which directions the widget
7431 can scroll. They can also connect to signals in order to do
7432 something when that happens, allowing applications scroll. There
7433 is an example uploaded showing how to use it.
7435 * examples/Makefile.am:
7436 * examples/hildon-pannable-area-example-4.c: Added this example of
7437 an application using the modes.
7439 * src/hildon-marshalers.list: Added a new marshaller for the new
7442 * src/hildon-pannable-area.h: Added new enumerations and flags in
7443 order to control the movement modes and the new signals to warn
7444 about the movements in the area.
7446 * src/hildon-pannable-area.c:
7447 (hildon_pannable_axis_scroll),
7448 (hildon_pannable_area_scroll),
7449 (hildon_pannable_area_motion_notify_cb),
7450 (hildon_pannable_area_get_property),
7451 (hildon_pannable_area_set_property),
7452 (hildon_pannable_area_map),
7453 (hildon_pannable_area_class_init),
7454 (hildon_pannable_area_init),
7455 (hildon_pannable_area_jump_to): Added the modes to control the
7456 movement in the widget. We have added properties to control it,
7457 signals to warn about the movements and refactored some code.
7459 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7461 Changes required in order to allow vfast_factor set to zero to
7464 * src/hildon-pannable-area.c:
7465 (hildon_pannable_area_button_press_cb): Changed the condition, it
7466 is required for not allowing click when vfast_factor is zero.
7467 (hildon_pannable_area_timeout): Initialized velocity variables
7468 when we stop moving, it was less than 1 but not zero and we need
7469 to check zero in some situations.
7470 (hildon_pannable_area_class_init): Changed the default value of
7471 the speed factor, now the button_press is just sent in case the
7472 speed is 2 per cent of the max speed.
7473 (hildon_pannable_area_init): Initialization with 0.
7475 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7477 * src/hildon-pannable-area.c,
7478 (hildon_pannable_area_get_topmost): replaced
7479 gdk_window_get_children with gdk_window_peek_children, this way we
7480 do not have to free the list because it is not a copy.
7482 (hildon_pannable_axis_scroll),
7483 (hildon_pannable_area_scroll),
7484 (hildon_pannable_area_timeout),
7485 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7486 two parameters that were only used inside the
7487 hildon_pannable_area_scroll function.
7489 * examples/hildon-pannable-area-example.c,
7490 (get_sawtooth_label): Fixed small memory leak.
7492 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7494 More checks for the case where the overshoot is bigger than the
7497 * src/hildon-pannable-area.c:
7498 (hildon_pannable_draw_vscroll),
7499 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7500 to draw the slider of the scrollbar under the other scrollbar.
7501 (hildon_pannable_area_expose_event): added new checks to control
7502 the drawing of the overshooting area rectangle, in case it is too
7503 big for the area of the widget.
7504 (hildon_pannable_area_size_allocate): add more checks to avoid
7505 setting a position to the child widget outside the area.
7507 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7509 * src/hildon-pannable-area.c
7510 (hildon_pannable_area_size_allocate): Added conditions to control
7511 when overshooting is bigger than the allocated space for the
7512 children, this avoids negative allocations.
7514 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7516 * doc/hildon-docs.sgml
7518 * examples/Makefile.am
7519 * examples/hildon-button-example.c
7521 * src/hildon-button.c
7522 * src/hildon-button.h
7523 * src/hildon.h: Initial version of the new HildonButton widget,
7526 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7528 * src/hildon-pannable-area.c:
7529 (hildon_pannable_area_button_press_cb),
7530 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7531 (hildon_pannable_area_motion_notify_cb),
7532 (hildon_pannable_area_button_release_cb),
7533 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7534 (hildon_pannable_area_jump_to_child):
7536 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7538 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7540 * examples/Makefile.am
7541 * examples/hildon-pannable-area-touch-grid-example.c
7542 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7543 the Hildon Touch List and Hildon Touch Grid using the
7544 HildonPannableArea widget.
7546 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7548 * src/hildon-pannable-area.c,
7549 (hildon_pannable_area_button_press_cb),
7550 (hildon_pannable_area_refresh),
7551 (hildon_pannable_area_scroll),
7552 (hildon_pannable_area_motion_notify_cb),
7553 (hildon_pannable_area_button_release_cb),
7554 (hildon_pannable_area_expose_event),
7555 (hildon_pannable_area_add),
7556 (hildon_pannable_area_remove),
7557 (hildon_pannable_area_realize),
7558 (hildon_pannable_area_size_allocate),
7559 (hildon_pannable_area_class_init),
7560 (hildon_pannable_area_init),
7561 (hildon_pannable_area_scroll_to_child),
7562 (hildon_pannable_area_jump_to_child): Fixed the problem of
7563 removing the child from the GtkBin, we have rearranged the widget
7564 hierarchy, now there is no GtkAlignment which was not doing
7565 anything interesting but breaking some of the assumptions of
7566 GtkContainer. Now developers if they want to add a GtkAlignment
7567 they could, but it is not inside the area.
7569 We had to review the whole allocation/expose process, now it is
7570 improved and we save at least three signals which would be saving
7571 some time when rendering the widget. The allocation of the
7572 scrollbars is now made in the allocate method as usual.
7574 We have also added some conditions in order to control when there
7575 is no child of the pannable area. Maybe we will need more work
7578 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7580 * src/hildon-pannable-area.c,
7581 (hildon_pannable_area_dispose): Released the fade-out timeout when
7582 disposing the widget.
7584 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7586 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7587 zero, we are going to use that property in order to deactivate the
7589 (hildon_pannable_axis_scroll),
7590 (hildon_pannable_area_size_allocate): Added conditions to control
7591 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7592 call, now it is called in all situations and we can remove calls
7593 in the allocate method.
7594 (hildon_pannable_area_map): Control the situation when
7595 overshoot_max is zero, we do not need the timeout.
7596 (hildon_pannable_area_class_init): Added documentation in order to
7597 point out that setting zero to overshoot_max means deactivate
7600 NOTE: removed trailing whitespaces from my previous comments of
7603 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7605 * src/hildon-pannable-area.c
7606 (hildon_pannable_area_get_property),
7607 (hildon_pannable_area_set_property),
7608 (hildon_pannable_area_map),
7609 (hildon_pannable_area_class_init),
7610 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7611 to cause the widget give a hint about its panning abilities upon
7614 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7616 * src/hildon-pannable-area.c: Several documentation improvements.
7618 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7620 * src/hildon-program.c
7621 * src/hildon-stackable-window.c: Update documentation.
7623 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7625 * src/hildon-stackable-window.c (get_previous_window_if_last):
7626 Renamed get_last_window()
7627 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7628 (hildon_stackable_window_unset_program):
7630 (get_previous_window_if_last):
7631 Detect if the window hasn't been added to a HildonProgram.
7633 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7635 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7637 * src/hildon-pannable-area.c
7638 (hildon_pannable_area_button_press_cb),
7639 (hildon_pannable_axis_scroll),
7640 (hildon_pannable_area_scroll),
7641 (hildon_pannable_area_timeout),
7642 (hildon_pannable_calculate_vel_factor),
7643 (hildon_pannable_area_get_property),
7644 (hildon_pannable_area_set_property),
7645 (hildon_pannable_area_class_init),
7646 (hildon_pannable_area_init),
7647 (hildon_pannable_area_scroll_to),
7648 (hildon_pannable_area_jump_to),
7649 (hildon_pannable_area_scroll_to_child),
7650 (hildon_pannable_area_jump_to_child):
7651 * src/hildon-pannable-area.h: Added the new API functions:
7652 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7653 hildon_pannable_area_scroll_to_child,
7654 hildon_pannable_area_jump_to_child
7657 * examples/Makefile.am
7658 * examples/hildon-pannable-area-example-2.c
7659 * examples/hildon-pannable-area-example-3.c: Added these two new
7660 examples in order to test and show how the new APIs work.
7662 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7664 * examples/hildon-stackable-window-example.c (new_window):
7665 * src/Makefile.am (noinst_HEADERS):
7666 * src/hildon-program.c (hildon_program_go_to_root_window):
7667 * src/hildon-program.h:
7668 * src/hildon-stackable-window-private.h:
7669 * src/hildon-stackable-window.c:
7670 * src/hildon-stackable-window.h:
7671 Create hildon-stackable-window-private.h
7672 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7674 * examples/hildon-app-menu-example.c (create_menu):
7675 * examples/hildon-hvolumebar-insensitive-example.c (main):
7676 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7677 * examples/hildon-toolbar-seekbar-example.c (main):
7678 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7679 * src/hildon-banner.c (hildon_banner_set_property):
7680 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7681 Fix compilation warnings
7683 * src/hildon-window.c:
7686 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7688 * src/hildon-stackable-window.c
7689 (hildon_stackable_window_unset_program):
7690 Calculate correctly whether to show the previous window if the
7691 last one is removed from the stack.
7692 (hildon_stackable_window_go_to_root_window):
7693 Send delete events starting from the topmost window.
7694 Stop if one of the windows is not destroyed.
7696 (hildon_stackable_window_delete_event)
7697 (hildon_stackable_window_class_init):
7698 Ignore the delete event if the window is not the topmost one.
7700 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7702 * src/hildon-pannable-area.c
7703 (hildon_pannable_area_expose_event): Fixed a problem when
7704 selecting the background color of the scrollbars.
7706 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7708 * examples/hildon-stackable-window-example.c
7709 * src/hildon-stackable-window.c
7710 * src/hildon-stackable-window.h
7711 hildon_stackable_window_go_home() renamed to
7712 hildon_stackable_window_go_to_root_window()
7713 Send delete events to windows rather than closing them with
7714 gtk_widget_destroy()
7716 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7718 * src/hildon-pannable-area.c
7719 (hildon_pannable_area_button_release_cb): Fix overshooting in
7722 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7724 * src/hildon-pannable-area.c
7725 (hildon_pannable_area_init): Initially show the scroll indicators.
7726 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7728 Add initial effect showing the widget is pannable.
7730 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7732 * src/hildon-pannable-area.c
7733 (hildon_pannable_area_class_init)
7734 (hildon_pannable_area_set_property)
7735 (hildon_pannable_area_get_property)
7736 (hildon_pannable_area_button_press_cb):
7737 New 'velocity_fast_factor' property to decide which velocity is
7740 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7742 * src/hildon-pannable-area.c
7743 (hildon_pannable_draw_hscroll)
7744 (hildon_pannable_draw_vscroll):
7745 Use float variables to calculate the size of the scrollbars to
7746 avoid error propagation and resizing during scrolling.
7748 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7750 * src/hildon-pannable-area.c
7751 (hildon_pannable_draw_vscroll)
7752 (hildon_pannable_draw_hscroll):
7753 Define a minimum size for the scroll bars
7755 * src/hildon-stackable-window.c
7756 (hildon_stackable_window_go_home): Fix compilation warning
7757 (get_last_window): Minor optimizations
7758 (hildon_stackable_window_class_init): Fix initialization of
7761 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7763 * src/hildon-stackable-window.c: Fixed typos in doc
7765 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7767 * src/hildon-pannable-area.c
7768 (hildon_pannable_area_scroll):
7769 Calculate here whether we need to scroll instead of using the booleans
7770 that tell us whether to /draw/ the scrolling bars.
7772 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7774 * src/hildon-app-menu.h
7776 * src/hildon-app-menu.c
7777 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7778 multiple filter groups related code and API. Now we support only
7780 * examples/hildon-app-menu-example.c:
7782 Update to reflect API changes.
7784 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7786 * src/hildon-stackable-window.c
7787 (hildon_stackable_window_class_init):
7788 Add hildon_stackable_window_realize.
7789 (hildon_stackable_window_realize):
7790 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7791 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7792 to apply theming and behavior specific to HildonStackableWindow
7795 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7797 * src/hildon-note.c (hildon_note_button_release):
7798 Close information notes also when tapping on them
7800 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7802 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7803 ELASTICITY, refactor and review, fix some issues with drawing
7806 * src/hildon-pannable-area.c:
7807 (hildon_pannable_area_button_press_cb): removed the conditions to
7808 avoid clicks when overshooting. It is not required
7810 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7811 define. Refatored and reviewed the code, now we do not need to
7812 manage velocity in motion_notify.
7814 (hildon_pannable_area_motion_notify_cb): We have moved the code
7815 that controls the area_scroll to the axis_scroll function and get
7816 rid of duplicated code.
7818 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7820 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7822 (hildon_pannable_draw_vscroll),
7823 (hildon_pannable_draw_hscroll): Fixed the problems with the
7824 scrollbar drawing, now we do not use two surfaces, it is easier
7825 and saves resources.
7827 (hildon_pannable_area_get_property): Style modification.
7829 (hildon_pannable_area_class_init): Changed some default values.
7831 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7833 * src/hildon-stackable-window.c: Fix some typos in the
7836 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7838 * src/hildon-dialog.c:
7839 Change indentation style
7842 (hildon_note_button_release):
7843 Use root coordinates to check if the release event happened
7846 * src/hildon-app-menu.c
7847 (hildon_app_menu_button_release):
7848 Remove unnecessary check
7850 * examples/hildon-app-menu-example.c
7852 Add cast to fix warning
7854 * src/hildon-app-menu.c
7855 (hildon_app_menu_class_init):
7856 New inner-border style property.
7857 Set all default spacings to 16
7858 (hildon_app_menu_init):
7859 Use vertical-spacing to set the space between filter buttons and
7860 regular menu buttons.
7861 Set the default container border using the inner-border value.
7863 * examples/hildon-app-menu-example.c
7865 Don't set the menu border explicitly, now we have the inner-border
7866 style property for that.
7868 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7870 * src/hildon-app-menu.c (hildon_app_menu_init):
7871 Make the window modal
7873 * src/hildon-note.c (hildon_note_map)
7874 * src/hildon-app-menu.c (hildon_app_menu_map):
7875 Destroy the grab window if we're unable to grab the pointer
7877 * src/hildon-app-menu-private.h
7878 * src/hildon-app-menu.c
7879 (hildon_app_menu_init, hildon_app_menu_finalize)
7880 (hildon_app_menu_map, hildon_app_menu_unmap)
7881 (hildon_app_menu_button_release)
7882 (grab_transfer_window_get):
7883 Bring back the grab window
7884 (hildon_app_menu_realize):
7885 Decorate the window, set WM hint for Matchbox
7887 * src/hildon-note.c (hildon_note_realize):
7888 * src/hildon-banner.c (hildon_banner_realize):
7889 Add WM hints for Matchbox
7891 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7893 * src/hildon-app-menu-private.h
7894 * src/hildon-app-menu.c
7895 (hildon_app_menu_init, hildon_app_menu_finalize)
7896 (hildon_app_menu_map, hildon_app_menu_unmap)
7897 (hildon_app_menu_button_release):
7898 Remove the grab window, it's not needed anymore
7900 * src/hildon-program.c
7901 Fixed typo in documentation
7903 * src/hildon-app-menu.h
7904 * src/hildon-app-menu.c
7905 * examples/hildon-app-menu-example.c
7906 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7908 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7911 Added new transfer_window and close_if_pressed_outside private
7913 (hildon_note_rebuild):
7914 Don't add a cancel button to the information note. It will be
7915 closed when tapping outside
7916 Remove the comment about the OK button in the documentation
7917 (hildon_note_realize):
7918 Set the notification type hint
7919 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7920 Grab/ungrab pointer and keyboard if the note has to be closed when
7922 (hildon_note_button_release):
7923 Close the note when tapping outside (if applicable)
7925 * src/hildon-app-menu.c
7926 Grab/ungrab pointer and keyboard on map/unmap
7927 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7928 Close the menu on button release, not button press
7930 * src/hildon-banner.c
7931 (hildon_banner_set_property)
7932 (hildon_banner_check_position):
7933 Make the banner use the full width of the screen
7934 (hildon_banner_show_information)
7935 (hildon_banner_show_information_with_markup):
7936 Don't display an icon by default
7938 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7940 Added fading scrollbars and adapted all the overshooting code to
7941 horizontal scrolling. We have also fixed bugs with overshooting
7942 and current fading implementation.
7944 * src/hildon-pannable-area.c
7945 (hildon_pannable_area_scroll_indicator_fade): Time out function
7946 used to change the transparency of the scrollbars.
7948 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7949 control and fixed a problem with fading, we now remove the fade
7950 timeout before adding a new one.
7952 (hildon_pannable_axis_scroll):
7953 (hildon_pannable_area_scroll):
7954 (hildon_pannable_area_timeout): Added this functions so we can use
7955 the scroll code both for vertical and horizontal.
7957 (hildon_pannable_area_motion_notify_cb):
7958 (hildon_pannable_area_button_release_cb): Added the horizontal
7959 scrolling control, fixed a problem with the overshooting timeout.
7961 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7962 painting of the scrolls.
7964 (hildon_pannable_draw_vscroll):
7965 (hildon_pannable_draw_hscroll):
7966 (hildon_pannable_area_expose_event):
7967 Draw both scrollbars and rectangles in the overshooting area.
7969 (hildon_pannable_area_get_property):
7970 (hildon_pannable_area_set_property):
7971 Modified the overshoot property to overshoot_max
7973 (hildon_pannable_area_map):
7974 Replaced the comments symbols.
7976 (hildon_pannable_area_size_allocate):
7977 (hildon_pannable_area_class_init):
7978 (hildon_pannable_area_init): Added horizontal scroll, fading
7979 effect properties, fixed a problem when overshooting in the bottom
7982 * examples/hildon-pannable-area-example.c:
7983 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7984 looks better in the example.
7986 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7988 * src/hildon-window.c
7989 * src/hildon-window.h
7990 (hildon_window_class_init)
7991 (hildon_window_unset_program)
7992 (hildon_window_unset_program_real):
7993 Make unset_program a virtual function
7995 * src/hildon-stackable-window.c
7996 * src/hildon-stackable-window.h
7997 Added hildon_stackable_window_go_home()
7999 * examples/Makefile.am
8000 * examples/hildon-stackable-window-example.c
8001 HildonStackableWindow example
8003 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8005 * hildon-pannable-area.c: Added the overshoot property and removed
8006 the OVERSHOOT define. Fixed an indent style error.
8007 (hildon_pannable_area_motion_notify_cb):
8008 (hildon_pannable_area_get_property):
8009 (hildon_pannable_area_set_property): Add overshoot property.
8011 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8014 (hildon_pannable_area_class_init): Installed the new property.
8016 * hildon-pannable-area-example.c: Added a sawtooth function, this
8017 way it is easier to check the movement in the pannable.
8018 (get_sawtooth_label): Added this function.
8019 (main): Now we get the labels from the new get_sawtooth_label
8022 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8024 * src/hildon-app-menu.h
8025 * src/hildon-app-menu.c
8026 Renamed API variables for consistency
8028 (hildon_app_menu_popup): Use also the default window size to
8029 decide where to place the menu
8031 (hildon_app_menu_init, hildon_app_menu_class_init): New
8032 external-border style property
8034 2008-05-26 Michael Natterer <mitch@imendio.com>
8036 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8037 widget_class->tap_and_hold_setup signal slot doesn't exist any
8038 longer, stop overriding it.
8040 (hildon_time_editor_init): g_signal_connect() to the
8041 tap-and-hold-setup signal instead.
8043 (hildon_time_editor_entry_keypress): add cast to fix warning.
8045 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8047 * doc/hildon-docs.sgml
8049 * examples/Makefile.am
8050 * examples/hildon-app-menu-example.c
8052 * src/hildon-app-menu-private.h
8053 * src/hildon-app-menu.c
8054 * src/hildon-app-menu.h
8056 New HildonAppMenu widget
8058 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8060 Rearranged the inheritance of the pannable area, now it inherits
8061 from GtkBin. This will allow us to control the event_window and
8062 the allocation process of the widget, required for some effects.
8064 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8065 GtkBin structures. * src/hildon-pannable-area.c: Added the
8066 event_window variable.
8067 (hildon_pannable_area_button_press_cb):
8068 (hildon_pannable_area_button_release_cb):
8069 (hildon_pannable_area_motion_notify_cb):
8070 Changed the signature of the method, now we override the event
8071 callback instead of connecting to the signal.
8073 (hildon_pannable_area_realize):
8074 (hildon_pannable_area_unrealize):
8075 (hildon_pannable_area_map):
8076 (hildon_pannable_area_unmap):
8077 (hildon_pannable_area_size_allocate):
8078 Added functions to control the widget construction. We add a
8079 INPUT_ONLY window and we put it over the widgets inside the
8080 container, this event_window handles the events.
8082 (hildon_pannable_area_class_init):
8083 Replaced the signal connections with overrides of the event
8086 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8088 Bouncing effect added when touching the borders, you can change
8089 the elasticity of the border changing the ELASTICITY define.
8091 * src/hildon-pannable-area.c: Added ELASTICITY define.
8092 (hildon_pannable_area_timeout): Added inverse velocity when
8093 touching the border of the child widget, that causes a bounce.
8095 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8097 Improved performance, we now do not go to the X server in order to
8098 get the list of window children. Apparently the effect is the
8099 same, we have to be careful and check if this breaks something in
8102 * src/hildon-pannable-area.c:
8103 (get_ordered_children): Removed this function.
8104 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8105 the children windows function with gdk_window_get_children.
8107 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8109 * src/hildon-pannable-area.c:
8110 (hildon_pannable_area_dispose): Fixed a crash when closing the
8111 window and kinetics is activated.
8113 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8115 * src/hildon-pannable-area.h
8116 * src/hildon-pannable-area.c
8117 Changed indentation style to meet the one used in Hildon
8119 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8121 Reviewed the interaction of the AUTO mode, now we use the time
8122 attribute of the events and calculate the velocity in the motion,
8123 doing a gimp like calculation. The velocity is calculated in each
8124 motion event using the last velocity and the current one, the
8125 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8127 * src/hildon-pannable-area.c: Replaced the time based algorithm
8129 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8130 timeout for the AUTO mode when we are still moving the cursor. We
8131 added also the velocity calculation in this function.
8132 (hildon_pannable_area_button_release_cb): launch the timeout in
8133 case we are in AUTO mode. There are still some constants here that
8134 come from the old implementation that should be reviewed and
8137 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8139 * doc/hildon-docs.sgml
8142 * src/hildon-stackable-window.c
8143 * src/hildon-stackable-window.h
8145 New HildonStackableWindow widget
8147 * examples/hildon-dialog-example.c
8148 * examples/hildon-pannable-area-example.c
8151 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8153 * src/hildon-dialog.c
8154 (hildon_dialog_new_with_buttons): New constructor.
8156 * examples/hildon-dialog-example.c
8157 (main): Update the example to use the new
8158 hildon_dialog_new_with_buttons().
8160 * examples/hildon-pannable-area-example.c
8161 (main): Update example.
8163 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8165 * doc/hildon-docs.sgml
8167 Added HildonPannableArea to the documentation.
8169 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8171 * doc/visual_index.xml
8172 Fix reference to HildonLoginDialog in documentation
8174 * doc/hildon-docs.sgml
8176 * examples/Makefile.am
8177 * examples/hildon-dialog-example.c
8179 * src/hildon-dialog.c
8180 * src/hildon-dialog.h
8182 New HildonDialog widget.
8184 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8186 * src/hildon-pannable-area.c
8187 Merge latest changes (r4318, r4342) from libmokoui trunk
8189 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8191 * examples/Makefile.am
8192 * examples/hildon-pannable-area-example.c
8194 * src/hildon-pannable-area.c
8195 * src/hildon-pannable-area.h
8197 New HildonPannableArea widget.
8199 2008-04-15 18:05:19 <timj@imendio.com>
8201 * src/hildon-banner.c: revert the recent change, that introduced
8202 gtk_window_present() calls. this reopens:
8203 Bug 78481 - [freetest] information banners are hidden under browser menu
8204 But resolves another variant of:
8205 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8207 2008-04-15 13:21:13 <timj@imendio.com>
8209 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8210 recreated its layout, spotted by Kris. this fixes all remaining
8211 artefacts and stability issues with the banner code. in particular:
8212 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8214 2008-04-14 16:52:59 <timj@imendio.com>
8216 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8217 operating on unrealized widgets, fixes:
8218 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8220 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8222 2008-04-09 Kristian Rietveld <kris@imendio.com>
8224 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8225 makes banner disappear.
8226 Fixes: NB#79182: info banner flickering with certain message lengts.
8228 * src/hildon-banner.c (hildon_banner_constructor),
8229 (hildon_banner_init), (hildon_banner_set_text),
8230 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8231 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8232 FALSE, reset size requests of label and banner,
8233 (force_to_wrap_truncated): when the text is too wide, always enforce
8234 the maximum possible width instead of recalculating it from the
8235 layout; enforce the maximum banner height of 3 lines,
8236 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8237 nicer wrapping and no truncated chars if space gets tight.
8239 * src/hildon-banner-private.h: add has_been_wrapped and
8240 has_been_truncated fields.
8242 2008-04-07 Sven Herzberg <sven@imendio.com>
8244 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8245 local values in hildon_date_editor_size_allocate
8247 * src/hildon-date-editor.c: moved the real allocation code into the
8250 2008-04-07 Sven Herzberg <sven@imendio.com>
8252 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8253 local values in hildon_date_editor_size_allocate
8255 * src/hildon-date-editor.c: merged the two if() branches together
8257 2008-04-07 Sven Herzberg <sven@imendio.com>
8259 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8260 local values in hildon_date_editor_size_allocate
8262 * src/hildon-date-editor.c: changed the arguments of the if()
8265 2008-04-07 Sven Herzberg <sven@imendio.com>
8267 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8268 local values in hildon_date_editor_size_allocate
8270 * src/hildon-date-editor.c: split the calculation of the allocation
8271 from the real allocation
8273 2008-03-27 Michael Natterer <mitch@imendio.com>
8275 Fixes: NB#81696: The passcode is not overwritten even after
8278 * src/hildon-code-dialog.c
8279 (hildon_code_dialog_button_clicked)
8280 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8281 because that doesn't overwrite selected text. Instead, emit the
8282 "commit" signal on the entry's im_context so the entry's normal
8283 insert logic is triggered. Set the cursor to the end of the entry
8284 after each insert operation so that we *only* insert in the middle
8285 of the text if something was selected.
8287 2008-03-27 Michael Natterer <mitch@imendio.com>
8289 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8290 selector cannot be opened
8292 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8293 when the popup color selector is created. Please connect to this
8294 signal in order to set the dialog's help ID.
8296 2008-03-25 Sven Herzberg <sven@imendio.com>
8298 Fixes: MB#1212: Hide info banners (infoprints) on click
8300 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8301 extracted the close event simulation into an extra function
8302 (hildon_banner_button_press_event): simulate a close event and destroy
8303 the widget if the event wasn't handled
8304 (hildon_banner_class_init): added the button_press_event handler
8305 (hildon_banner_init): added button-press events to the widget
8307 2008-03-25 Sven Herzberg <sven@imendio.com>
8309 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8310 Patch from: Mohammad Anwari <mdamt@maemo.org>
8312 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8313 instead of the right in RTL mode
8314 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8315 breadcrumb button list in RTL mode
8316 * src/hildon-caption.c: mirror the appearance of the caption widget in
8318 * src/hildon-date-editor.c: mirror appearance of the date editor in
8320 * src/hildon-time-editor.c: mirror appearance of the time editor in
8322 * src/hildon-window.c: fix the position of the popup in RTL mode
8324 2008-03-25 Sven Herzberg <sven@imendio.com>
8326 Amendment to the fix of NB#22072. Fix compilation.
8328 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8330 2008-03-19 Sven Herzberg <sven@imendio.com>
8332 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8335 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8336 timeout id properly when the timeout will disappear this leaves no
8337 artifacts around in the destroy(); there will only be the timeout
8338 created by hildon_banner_ensure_timeout() and adding a new timeout
8339 will also work if the timeout gets removed because the timeout_handler
8342 2008-03-19 Michael Natterer <mitch@imendio.com>
8344 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8346 * src/hildon-volumebar.c
8347 * src/hildon-vvolumebar.c
8348 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8349 the widget becomes focussable at all.
8351 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8352 set the focus to wither the mute button or the volumebar.
8354 Remove own "can-focus" property and instead listen to
8355 notify::can-focus in order to update the widget's state.
8357 Implement GtkWidget::focus() and make sure we can also *leave* the
8358 widget, not only enter it, depending on volumebar orientation and
8359 requested focus direction.
8361 Clean up set_mute() to cooperate nicely with all the above.
8363 2008-03-04 Michael Natterer <mitch@imendio.com>
8365 Fixes: NB#78481: information banners are hidden under browser menu
8367 * src/hildon-banner.c: call gtk_window_present() on the banners so
8368 they are risen if they are already visible.
8370 2008-03-03 Sven Herzberg <sven@imendio.com>
8372 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8374 * examples/hildon-window-menu-example.c: (main): extended the window
8375 menu example to serve as a testcase for automatically added
8376 accelerator groups, too
8377 * src/hildon-window.c: (hildon_window_add_accel_group),
8378 (hildon_window_set_menu): added patch by Tommi Komulainen
8380 2008-03-03 Sven Herzberg <sven@imendio.com>
8382 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8384 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8385 knowledge about the border allocators used within GTK+
8387 2008-02-26 Sven Herzberg <sven@imendio.com>
8389 Fixes: MB#2981: Build with asserts broken
8391 * src/hildon-date-editor.c,
8392 * src/hildon-number-editor.c,
8393 * src/hildon-time-editor.c,
8394 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8395 the proper GType instance check
8397 2008-02-25 Sven Herzberg <sven@imendio.com>
8399 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8401 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8402 * examples/hildon-window-menu-example.c: (main): explicitly show
8404 * src/hildon-window.c:
8405 (hildon_window_set_main_menu): moved most of the code from set_menu()
8406 to this place; skipped the call to gtk_widget_show_all(); also didn't
8407 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8408 (hildon_window_set_menu): removed most of the code, just keep the
8409 questionable gtk_widget_show_all()
8410 * src/hildon-window.h: added the new function and deprecate the old
8413 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8419 * debian/changelog: Updating.
8421 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8424 * pkgconfig/Makefile.am:
8425 * pkgconfig/hildon.pc.in:
8428 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8429 use newly created API_MAJOR_VERSION.
8431 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8437 * debian/changelog: Updating.
8439 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8441 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8443 Add outer_border style property, we use it but don't define it (!).
8447 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8449 * examples/hildon-bread-crumb-trail-example.c (main):
8453 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8455 Fix logic for the bread crumb trail node removal.
8459 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8465 * debian/changelog: Updating.
8467 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8469 Patch by Alejandro to get/set passwords dialogs accesibility.
8471 * hildon-1/src/hildon-get-password-dialog.c:
8472 * hildon-1/src/hildon-set-password-dialog.c:
8473 Set atk_set_name to the passwd entries in order to allow
8474 accessibility by name on this entries.
8476 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8481 * debian/control: Updating gtk dep.
8483 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8485 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8486 USE_MAEMO_GTK is enabled.
8488 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8490 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8491 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8493 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8499 * debian/changelog: Updating.
8501 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8503 * examples/Makefile.am:
8504 * examples/hildon-logical-color-example.c:
8505 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8506 applied + adding a test case. Fixes: NB#71660.
8508 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8510 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8511 to be visible, fixes warning on map for windows without toolbars.
8513 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8515 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8516 2.11.0, add a check for that besides the MAEMO_GTK check.
8518 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8524 * debian/changelog: Updating.
8526 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8528 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8529 visibility. Fixes: NB#70842 and MB#615.
8531 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8533 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8534 set the separator as no-show-all so it doesn't unintentionally appear when
8535 someone does a show_all.
8537 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8539 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8540 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8541 toplevel item. Fixes: NB#62031
8543 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8545 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8546 fix the name of the function in the docs.
8548 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8554 * debian/changelog: Updating.
8556 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8558 * examples/hildon-banner-long-example.c: Adding a test-case for long
8561 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8563 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8565 * src/hildon-color-chooser-dialog.c:
8566 * src/hildon-color-chooser.c:
8567 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8568 memory leaks in font selector and color selector. Fixes: NB#70499 and
8571 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8573 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8575 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8577 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8578 little bit bigger. Fixes: #NB63694.
8580 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8586 * debian/changelog: Updating.
8588 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8591 * doc/hildon-docs.sgml:
8592 * doc/images/bread-crumb-trail.png:
8593 * doc/images/calendar-popup.png:
8594 * doc/images/caption.png:
8595 * doc/images/code-dialog.png:
8596 * doc/images/color-button.png:
8597 * doc/images/color-chooser-dialog.png:
8598 * doc/images/color-chooser.png:
8599 * doc/images/controlbar.png:
8600 * doc/images/date-editor.png:
8601 * doc/images/font-selection-dialog.png:
8602 * doc/images/get-password-dialog.png:
8603 * doc/images/hvolumebar.png:
8604 * doc/images/login-dialog.png:
8605 * doc/images/note.png:
8606 * doc/images/number-editor.png:
8607 * doc/images/range-editor.png:
8608 * doc/images/seekbar.png:
8609 * doc/images/set-password-dialog.png:
8610 * doc/images/sort-dialog.png:
8611 * doc/images/time-editor.png:
8612 * doc/images/time-picker.png:
8613 * doc/images/vvolumebar.png:
8614 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8615 Adding the bread-crumb-trial and helpers to the documentation.
8617 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8619 * examples/hildon-find-toolbar-example.c:
8620 * src/hildon-find-toolbar.c:
8621 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8622 actually continue firing the other handlers if connected. Adding a new
8624 hildon_find_toolbar_get_last_index that gets the index of the most
8625 recently added (last) item. Fixes: NB#52301.
8627 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8629 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8630 behaviour. Fixes: NB#68610.
8632 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8634 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8637 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8639 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8640 when realizing the banner. Should make the infonbanner effect a bit more
8643 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8645 * src/hildon-volumebar.c:
8646 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8647 hildon_volumebar_set_range_insensitive_message and
8648 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8650 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8652 * src/hildon-window.c: Fixing the border freeing on destroy.
8654 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8656 * src/hildon-code-dialog-private.h:
8657 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8658 kw keyboard support in HildonCodeDialog.
8660 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8666 * debian/changelog: Updating.
8668 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8670 * src/hildon-date-editor.c:
8671 * src/hildon-number-editor.c:
8672 * src/hildon-private.c:
8673 * src/hildon-private.h:
8674 * src/hildon-time-editor.c:
8675 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8676 handling in subclassed composite widgets. Fixes: NB#66628.
8678 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8680 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8681 from destroy_ callback as it introduces problems in async dbus signal
8682 handlers. Fixes NB#66673.
8684 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8686 * examples/hildon-hvolumebar-example.c:
8687 * src/hildon-volumebar.c: Improving the focus handling in the
8688 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8689 set_property accessor so that "mute" property can be actually set. I'm
8690 scared that nobody noticed it's totally broken.
8692 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8694 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8697 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8699 * src/hildon-calendar.c:
8700 * src/hildon-number-editor.c:
8701 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8702 matches the spec of 6 chars per second. Fixes: NB#60489.
8704 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8706 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8707 gtk_style_lookup_color sometime returns FALSE even though color was
8708 found and values were filled properly. Weird. Removing the warning for the
8711 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8714 expand vertically. Adding some extra space to the find toolbar buttons to
8715 make them thumbable. Fixes NB#66060.
8717 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8719 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8720 popup with "Ok" and "Cancel". Fixes NB#59299.
8722 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8724 * src/hildon-calendar.c: Process all window updates before executing next
8725 timeout. Fixes: NB#54146.
8727 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8733 * debian/changelog: Updating.
8735 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8737 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8738 the client event and ignore it, since we use the delete event to close
8741 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8743 * src/hildon-helper.c: Remove the bogus warning about color not being
8744 found. Fixes NB#58352.
8746 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8748 * examples/Makefile.am:
8749 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8750 HildonSeekbar widget inside a toolbar.
8752 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8754 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8755 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8756 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8757 don't want to be closed by non-temporary windows on map.
8759 Also use G_DEFINE_TYPE instead of manually typed code.
8761 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8768 * debian/rules: Updating.
8770 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * examples/Makefile.am:
8773 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8774 bug NB#61128. Strangely it works.
8776 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8778 * src/hildon-date-editor.c: When the date editor entry has been changed
8779 but the numbers of characters < max, turn off the skip validation flag.
8780 Prevents a situation when we enter first a valid year and later re-write
8781 it with an invalid one. Fixes NB#60154.
8783 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8786 code dialog. Fixes NB#64355.
8788 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8790 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8791 switching the page. Fixes NB#49374.
8793 * examples/Makefile.am:
8794 * examples/hildon-wizard-dialog-example.c: Adding an example for
8795 HildonWizardDialog that shows how to handle manual sensitivity setting on
8798 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 * src/hildon-version.h.in:
8803 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8805 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8807 * src/hildon-volumebar.c: Updating the docs.
8809 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * debian/changelog: Updating.
8817 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8819 * src/hildon-find-toolbar.c:
8820 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8821 selected item: hildon_find_toolbar_set_active,
8822 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8823 hildon_find_toolbar_get_active_iter . They correspond to respective
8824 GtkComboBox functions.
8826 * examples/Makefile.am:
8827 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8830 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8832 * examples/Makefile.am:
8833 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8836 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8837 when font size > 32 and we pack a focusable widget inside. Actually using
8838 the default response would work too, but since we don't show default
8839 response state in any way (no theming) it would not be visible to the
8840 user. Fixes NB#63430.
8842 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8844 * src/hildon-date-editor.c: Adding the missing variable setter in the
8845 set_property handler. Fixes NB#54182.
8847 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8849 * src/hildon-window.h: Changing the long key press time from 1500ms to
8850 800ms as requested in NB#63700. I have a bad feeling about this, let's
8851 see... Fixes NB#63700.
8853 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8855 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8856 hildon_time_picker_map, hildon_time_picker_realize,
8857 hildon_time_picker_style_set): Split the contents of map to more
8858 appropriate functions; set window decorations on realize and update
8859 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8861 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8866 * debian/changelog: Updating.
8868 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8870 * src/Makefile.am: fixed installation of the header files
8872 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8878 * debian/changelog: Updating.
8880 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8882 * configure.ac: Removing some remaining of --enable-xan.
8884 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8886 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8887 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8889 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8890 2.10.12-osso6 because the move-focus signal needs to be available in
8893 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8895 * examples/Makefile.am:
8896 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8897 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8898 fine. Prolly NB#61128 is fixed now.
8900 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * src/hildon-volumebar.c:
8903 * src/hildon-volumebar.h: Adding the
8904 hildon_volumebar_set_range_insensitive_message and
8905 hildon_volumebar_set_range_insensitive_messagef functions to set
8906 insensitive message on the slider of the volumebar. Fixes NB#61129.
8908 * examples/Makefile.am:
8909 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8910 test the new insensitive messsage functionality on HildonVolumebar.
8912 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8914 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8917 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8919 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8920 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8921 button on after clearing the trail.
8923 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8925 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8927 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8929 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8930 by splitting the installed headers in generated and non-generated groups. Use
8931 only the non-generated headers to create the hildon-enum-types.h file.
8933 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8935 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * src/hildon-window.c: Hide the window before performing the destroy.
8938 Should make the app closing a little tiny bit more snappy.
8940 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8942 * src/hildon-seekbar.c: add gtkrange.h header
8943 * src/hildon-caption.c: remove unused variable
8945 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8947 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8950 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8956 * debian/changelog: Updating.
8958 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8960 * src/hildon-window.c (hildon_window_window_state_event,
8961 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8962 escape timeout on focus-out-event rather than notify::is-topmost; the
8963 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8965 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8967 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8968 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8970 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8972 * src/hildon-window: actually, you need to use the macro always, there's
8973 no private pointer in the instance structure. We should have cleaned this up
8974 when we had the chance...
8976 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8978 * src/hildon-window.c: do not get the private date from HildonWindow before
8979 it passes the g_return_if_fail check. Once it's passed the test, there's no
8980 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8981 if you are only going to access the data once. Whitespace cleanups.
8983 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8985 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8986 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8988 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * debian/changelog: Updating.
8996 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8998 * src/hildon-window.c: When destroying the window, remove (if exists) the
8999 escape timeout handler. Fixes #NB59276.
9001 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9003 * src/hildon-banner.c: When realizing the widget, set the window
9004 transiency. Setting the transiency in the gobject constructor is not
9005 good, as the widget is not realized at that point. Fixes: #NB56624.
9007 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9009 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9010 Add padding for future expansions.
9012 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9014 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9015 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9016 will fake an activation on the previous to the last item of the trail, so
9017 the effect can be overrided by the developer as usual.
9018 Also change the callback for the back button to do the same thing, so its
9019 effect can be overrided too. Fixes: NB#58982
9021 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9023 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9024 HildonCaption. Fixes NB#52379.
9026 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9028 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9029 the internal state of the trail after the user has had the chance of executing
9030 his handler for the signal. Specifically, it may happen that the activated button
9031 is removed and the user still lets the default handler run. This would segfault
9034 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9036 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9037 scrollbar to the preview dialog. Fixes NB#54147.
9039 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9041 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9042 max/min year properties can be altered, so the client can modify it
9043 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9045 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9047 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9048 hildonlike by default. Fixing a problem with disappearing arrows when
9049 scrolling through months and years. Fixes NB#54127.
9051 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9053 * examples/hildon-date-editor-example.c: Adding error callback to the date
9056 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9062 * configure.ac: Updating.
9064 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9066 * configure.ac: Adding a special '--enable-xan' configure option that
9067 turns off the -Werror compilation setting. Usefull for development.
9069 * src/hildon-calendar.c:
9070 * src/hildon-number-editor.c:
9071 * src/hildon-time-picker.c: Adding the 5* multiplier to
9074 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9076 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9077 instead of g_object_ref + gtk_object_sink.
9079 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9085 * debian/changelog: Updating.
9087 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9089 * src/hildon-color-chooser-dialog.c:
9090 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9091 straight from Tommi labs.
9093 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * examples/hildon-finger-example.c: Correcting the header file path.
9097 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9098 the changed signal. Fixes a small memory leak.
9100 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9104 * src/hildon-banner.c: Importing several usefull fixes from the
9105 ubuntu-mobile branch.
9107 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * examples/Makefile.am:
9110 * examples/hildon-finger-example.c: Adding a finger-checking code
9113 * src/hildon-font-selection-dialog.c: Do not allocate the color
9114 structure using the g_new. Fixes NB#54061.
9116 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9118 * src/hildon-helper.c: Correcting tabs in file.
9120 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9122 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9123 control the visibility of the children.
9125 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9127 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * debian/changelog: Updating.
9135 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9137 * src/hildon-bread-crumb-trail.c:
9138 (hildon_bread_crumb_trail_size_allocate):
9140 Make the back button always a square.
9142 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9144 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9145 from the .c file as it's a private file.
9147 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9149 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9150 uses slightly bigger height.
9152 * src/hildon-font-selection-dialog.c: Adding some checks before
9153 freeing memory in the font selection dialog.
9155 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * src/hildon-font-selection-dialog.c: Adding a small check when
9160 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9161 buttons sensitivity on page switching.
9163 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9165 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9166 internal details of adding a bread crumb to the trail.
9168 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * debian/changelog: Updating.
9176 * src/hildon-bread-crumb-trail.h:
9177 * src/hildon-bread-crumb.h: Changing the API guard to
9178 HILDON_ENABLE_UNSTABLE_API.
9180 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9188 * src/hildon-helper.h: Updating.
9190 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9198 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9202 * src/hildon-helper.h: Small fix to make the package actually compile.
9204 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9206 * src/hildon-bread-crumb-trail.h:
9207 * src/hildon-bread-crumb.h:
9209 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9210 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9212 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9214 * examples/hildon-bread-crumb-trail-example.c:
9216 * src/hildon-bread-crumb-trail.c:
9217 * src/hildon-bread-crumb-trail.h:
9218 * src/hildon-bread-crumb.c:
9219 * src/hildon-bread-crumb.h:
9220 * src/hildon-marshalers.list:
9221 * src/hildon-bread-crumb-widget.c:
9222 * src/hildon-bread-crumb-widget.h:
9224 Slight change in the widget design. The bread crumb trail API is
9225 unchanged, but HildonBreadCrumb is now an interface. A *private*
9226 implementation, hildon-bread-crumb-widget, is provided and used
9227 internally by the trail for the push_text/push_icon functions.
9229 The generic push API is still available, so anyone can implement
9230 and use its own bread crumb widget.
9232 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9234 * debian/rules: Fixing the shlibs.
9236 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9238 * src/hildon-banner.c: Fixing a problem with timed banners having
9239 their parrent destroyed before they are.
9241 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9243 * src/hildon-bread-crumb.c:
9244 * src/hildon-bread-crumb.h:
9246 Make the get_natural_size function a vfunc.
9248 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9250 * src/hildon-bread-crumb.c:
9251 * src/hildon-bread-crumb-trail.c:
9255 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9262 * debian/changelog: Updating for release.
9264 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9266 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9267 don't leak the pango layout.
9269 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9272 * examples/hildon-bread-crumb-trail-example.c:
9276 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9278 * debian/changelog: Removing the bug-fixed entries that were actually
9279 resolved as WONTFIX.
9281 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9284 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9286 * src/hildon-bread-crumb-trail.c:
9287 * src/hildon-bread-crumb-trail.h:
9288 * src/hildon-bread-crumb.c:
9289 * src/hildon-bread-crumb.h:
9293 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9295 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9296 until it's passed the type check.
9298 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9300 * examples/hildon-bread-crumb-trail-example.c
9304 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9306 * examples/Makefile.am
9307 * examples/hildon-bread-crumb-trail-example.c
9309 * src/hildon-bread-crumb-trail.c
9310 * src/hildon-bread-crumb-trail.h
9311 * src/hildon-bread-crumb.c
9312 * src/hildon-bread-crumb.h
9314 New HildonBreadCrumbTrail widget.
9316 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9318 * src/hildon-range-editor.c (hildon_range_editor_init),
9319 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9320 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9321 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9322 hildon_time_editor_class_init, hildon_time_editor_init),
9323 src/hildon-get-password-dialog.c (invalid_input,
9324 hildon_get_password_set_property, hildon_get_password_get_property,
9325 create_contents, hildon_get_password_dialog_set_max_characters),
9326 src/hildon-set-password-dialog.c (create_contents),
9327 src/hildon-date-editor.c (hildon_date_editor_init),
9328 src/hildon-login-dialog.c (hildon_login_dialog_init),
9329 src/hildon-number-editor.c (hildon_number_editor_init),
9330 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9331 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9332 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9333 configure option and adding the respective checks in the code.
9334 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9335 hildon_calendar_drag_data_received): fixed some build warnings.
9337 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9339 * debian/changelog: A 1.0.0 release notes.