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 Fixes NB#131013 (unable to stop panning file manager by tapping on
13 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
15 * configure.ac: bump version
17 * debian/changelog: updates
19 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
21 * hildon/hildon-touch-selector.[ch]
22 (hildon_touch_selector_center_on_index): New method that allows to center
23 on a item not selected
25 Fixes NB#130291 (New HildonTouchSelector API is required to center on
28 2009-07-29 Alberto Garcia <agarcia@igalia.com>
30 * hildon/hildon-text-view.c
31 (+set_logical_color, +hildon_text_view_style_set)
32 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
33 (hildon_text_view_init)
34 * hildon/hildon-entry.c
35 (+set_logical_color, +hildon_entry_style_set)
36 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
37 (hildon_entry_class_init, hildon_entry_init)
38 * hildon/hildon-button.c
39 (+set_logical_font, +set_logical_color)
40 (hildon_button_style_set, hildon_button_init)
41 (hildon_button_set_arrangement, hildon_button_set_style):
42 Remove all calls to hildon_helper_set_logical_font() and
43 hildon_helper_set_logical_color(), which are recursive, from
46 Fixes: NB#123409 (Showing dialog consumes significant amount of
49 2009-07-29 Alejandro G. Castro <alex@igalia.com>
51 * hildon/hildon-pannable-area.c,
52 (hildon_pannable_area_timeout): Added the process updates of the
53 scrollbars window in the pannable.
55 Fixes: NB#130043 (scrollindicator not smooth while panning)
57 2009-07-23 Alejandro G. Castro <alex@igalia.com>
59 * hildon/hildon-pannable-area.c,
60 (hildon_pannable_area_check_move),
61 (hildon_pannable_area_button_release_cb),
62 (hildon_pannable_area_scroll_to): Increased the priority of the
63 timeout this way it is going to be handled before the events.
65 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
69 * configure.ac: bump version
70 * debian/changelog: updates
72 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
74 * hildon/hildon-entry.c: (set_property): Do not allow to set
75 automatic height and use finger height instead, to prevent an to
76 have a smaller size than than its theme pixbuf.
78 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
80 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
82 * configure.ac: postrelease version bump.
83 * debian/changelog: post release version bump
85 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
90 * configure.ac: Bump version.
91 * debian/changelog: Updates.
93 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
95 * hildon/hildon-note.c: (label_size_request): Take the note
96 padding into account when setting the size request.
98 Fixes: NB#127896 (Information notes text truncated)
100 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
102 * configure.ac: postrelease version bump.
103 * debian/changelog: post release version bump
105 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
110 * configure.ac: Bump version.
111 * debian/changelog: Updates.
113 2009-07-16 Alejandro G. Castro <alex@igalia.com>
116 * hildon/hildon-text-view.c,
117 (hildon_text_view_button_press_event): Grabbed the focus in button
118 press, this way we are sure the widget has the focus in the
119 release event, required for HIM.
121 Fixes: NB#121445 (Virtual keyboard opening is not working in same
122 way for each text entry field)
124 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
126 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
127 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
128 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
129 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
130 (hildon_pannable_area_[gs]et_center_on_child_focus)
131 Redefined GtkContainer set-focus-child signal, in order to center
132 properly on a child when it receives the focus. Defined a new property
133 "center-on-child-focus" in order to activate this feature (deactivated
134 by default). Public get/set methods defined to manage the property.
136 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
138 2009-07-14 László Pere <lpere@blumsoft.eu>
140 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
141 the new size is applied.
143 Fixes: NB#124510 (The Application Menu is distorted when switched
144 between portrait and landscape mode)
145 Fixes: NB#115388 (Power key menu does not resize itself)
147 2009-07-01 Alberto Garcia <agarcia@igalia.com>
149 * hildon/hildon-banner.c (hildon_banner_map):
150 Set banner position after mapping.
152 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
154 * configure.ac: postrelease version bump.
155 * debian/changelog: post release version bump
157 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
162 * configure.ac: Bump version.
163 * debian/changelog: Updates.
165 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
167 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
170 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
172 * tests/check-hildon-banner.c
174 * tests/test_suites.h
175 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
176 were testing deprecated functions.
177 * examples/hildon-banner-example.c: typo on button3 type, that causes
178 a fail compiling with --with-examples but without --disable-deprecated
180 Missed commit in order to fix compilation using '--enable-fatal' and
181 '--disable-deprecated' (see previous commit)
183 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
185 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
186 functions with #ifndef HILDON_DISABLE_DEPRECATED
187 * examples/hildon-find-toolbar.c: Protect deprecated
188 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
189 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
190 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
191 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
193 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
194 to allow proper compilation of deprecated functions defined on the header
196 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
198 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
200 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
201 Cache the panning indicator color.,
202 (hildon_pannable_area_style_set): Query the color on style changes.
203 (hildon_pannable_draw_vscroll),
204 (hildon_pannable_draw_hscroll),
205 (hildon_pannable_area_expose_event): Use the cached panning indicator
206 color instead of looking it up on every expose and more.
208 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
210 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
211 (hildon_pannable_draw_hscroll),
212 (hildon_pannable_area_expose_event): Fix the panning indicator color,
213 so that it's "SecondaryTextColor", as desired.
215 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
217 * hildon/hildon-picker-dialog.c:
218 (selection_completed): take into account HILDON_UI_MODE_NORMAL
219 * hildon/hildon-touch-selector.c
220 (hildon_touch_selector_init): Initialize hildon-ui-mode
221 (hildon_touch_selector_row_activated): new callback for the
222 "row-activated" signal, in order to save the last activated
223 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
224 if the current hildon-ui-mode is coherent with the touch selector
225 (hildon_touch_selector_class_init)
226 (hildon_touch_selector_get_property)
227 (hildon_touch_selector_set_property)
228 Added "hildon-ui-mode" property
229 (disconnect_model_handlers): renamed to clean_column
230 (hildon_touch_selector_remove): use clean_column function
231 (_create_new_column): use the hildon-ui-mode to create the treeview, and
232 only select the first element on HILDON_UI_MODE_EDIT
233 (hildon_touch_selector_column_init): Initialize last_activate
234 (hildon_touch_selector_append_column): check that the touch selector
235 is coherent with the current hildon-ui-mode
236 (hildon_touch_selector_get_hildon_ui_mode)
237 (hildon_touch_selector_set_hildon_ui_mode)
238 Added a getter/setter for the hildon-ui-mode property
239 (hildon_touch_selector_get_last_activated_row): Added this method in
240 order to get the last activated row.
241 * examples/hildon-touch-selector-normal-mode-example.c
242 New example, that shows how to use the HildonTouchSelector in
243 HILDON_UI_MODE_NORMAL
245 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
246 Kristian Rietveld <kris@lanedo.com> advices
248 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
250 * hildon/hildon-time-selector.c: (update_format_policy): Do
251 not call update_format_dependant_columns() if not necessary.
252 (update_format_dependant_columns): Remove unnecessary check for
253 the number of columns.
255 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
257 * hildon/hildon-note.c (+hildon_note_constructor),
258 (hildon_note_class_init), (+hildon_note_set_padding),
259 (hildon_note_rebuild): Install a constructor where to set the
260 padding properties in the note, so that it actually works fine.
261 Use hildon_note_set_padding() for this, and also to set it during
264 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
266 * configure.ac: Bump GTK+ requirement to 2.14.3.
267 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
268 when using maemo-gtk to define proper margins for the notes.
270 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
271 with the dialog edge)
273 2009-06-24 Alberto Garcia <agarcia@igalia.com>
275 * hildon/hildon-banner.c
276 (hildon_banner_class_init):
278 (+hildon_banner_size_request):
279 Request always the full width of the screen.
280 (hildon_banner_realize)
281 (-hildon_banner_check_position, hildon_banner_map):
282 hildon_banner_check_position() is not needed in Hildon 2.2.
283 (-hildon_banner_reset_wrap_state)
284 (hildon_banner_constructor, hildon_banner_init):
285 Remove unnecessary calls to hildon_banner_reset_wrap_state()
286 (+banner_do_set_text)
287 (force_to_wrap_truncated):
288 Remove has_been_wrapped and has_been_truncated attributes.
289 (+reshow_banner, hildon_banner_real_show_information)
290 (hildon_banner_show_information_with_markup)
291 (hildon_banner_show_animation, hildon_banner_show_progress)
292 (hildon_banner_set_text, hildon_banner_set_markup):
293 Refactor code. Shrink banner vertically to use the minimum space
294 necessary everytime the text of the label is updated.
295 (screen_size_changed):
296 Call force_to_wrap_truncated() when the size of the screen
299 Fixes: NB#120500 (only device memory connect mmc in use info
300 banner is left aligned)
302 Fixes: NB#120613 (Size of HildonBanner varies depending on
303 previously opened banners)
305 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
307 * hildon/hildon-color-chooser.c
308 (hildon_color_chooser_pointer_motion): Take the widget allocation
311 Fixes: NB#124385 (Unable to select exact point in color mixing box
312 in color palette dialog)
314 2009-06-23 Alejandro G. Castro <alex@igalia.com>
316 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
317 (hildon_pannable_area_dispose)
318 (hildon_pannable_area_button_press_cb)
319 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
320 (hildon_pannable_area_button_release_cb)
321 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
322 New 'panning-started' and 'panning-finished' signals.
324 Fixes: NB#121732 (New feature request: Signal to pannable area
325 that informs when panning is stopped.)
327 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
329 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
330 instead of hardcoded colon.
332 Fixes: NB#124090 (New calendar wizard title is not using
333 ecdg_ti_caption_separator)
335 2009-06-22 David King <davidk@openismus.com>
337 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
338 constants and functions, as well as correct many typos throughout the
341 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
344 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
346 * configure.ac: postrelease version bump.
347 * debian/changelog: post release version bump
349 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
354 * configure.ac: Bump version.
355 * debian/changelog: Updates.
357 2009-06-18 Alberto Garcia <agarcia@igalia.com>
359 * hildon/hildon-window-stack.c
360 (hildon_window_stack_pop_and_push_list):
361 Prevent windows from having the same stack index
363 2009-06-18 Alberto Garcia <agarcia@igalia.com>
365 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
366 Use the index of the previous window rather than the stack length
367 to calculate the new index.
371 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
373 * hildon/hildon-date-selector.c
374 (hildon_date_selector_select_current_date)
375 (hildon_date_selector_get_date)
376 (hildon_date_selector_select_day):
377 Update the documentation: uses always the range (1-31), as it is obvious
378 that the final one will depend on the month and the year, but globally
379 the range is this, in a similar GtkCalendar approach
380 (hildon_date_selector_get_date):
381 Update the documentation: add NULL as a valid value for the day, month
384 Fix some details, after talk with David King on bug MB#4698
386 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
388 * hildon/hildon-touch-selector-entry.c
389 * hildon/hildon-touch-selector.c
390 Update the documentation of the "text-column" property
392 2009-06-18 David King <davidk@openismus.com>
394 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
395 several typos and errors throughout the documentation.
397 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
400 2009-06-18 Alberto Garcia <agarcia@igalia.com>
402 * hildon/hildon-note.c (hildon_note_realize):
403 Make HildonNote support portrait mode.
405 Fixes: NB#123448 (HildonNote is not portrait-friendly)
407 2009-06-17 Alberto Garcia <agarcia@igalia.com>
409 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
410 Document this function
412 2009-06-17 David King <davidk@openismus.com>
414 * hildon/hildon-date-selector.c
415 (hildon_date_selector_select_current_date)
416 (hildon_date_selector_get_date): Update documentation regarding days,
417 as the day of the month is dependent on both the month and the year.
418 (hildon_date_selector_get_date): Fix documentation of output arguments.
420 Fixes: MB#4698 (DateSelector documentation has bad output argument
421 description, and the day depends on both the month and the year)
423 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
425 * hildon/hildon-caption.c: Other documentation fixes to
428 2009-06-17 David King <davidk@openismus.com>
430 * hildon/hildon-caption.c: Minor documentation updates for
431 HildonCaption. Fixes MB#4697.
433 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
435 * doc/hildon-docs.sgml: Add hildon-version section.
436 * doc/hildon-sections.txt:
437 * hildon/hildon-version.h.in: Document versioning macros and
440 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
442 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
443 from HildonPickerDialog section.
445 2009-06-16 Alberto Garcia <agarcia@igalia.com>
447 * hildon/hildon-banner.c (hildon_banner_bind_style)
448 (screen_size_changed, hildon_banner_init)
449 (hildon_banner_real_show_information)
450 (hildon_banner_show_information_with_markup)
451 (hildon_banner_show_animation, hildon_banner_show_progress):
452 Set a different widget name to banners in portrait mode, for them
453 to be themed correctly.
455 2009-06-16 Alberto Garcia <agarcia@igalia.com>
457 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
458 Set a different widget name to notes in portrait mode, for them to
461 Partially fixes: NB#118401 (HildonNote causes unnecessary
464 2009-06-16 Alberto Garcia <agarcia@igalia.com>
466 * hildon/hildon-note.c (hildon_note_class_init)
467 (+hildon_note_size_request, screen_size_changed):
468 Always request the full width of the screen.
470 Fixes: NB#118375 (unnecessary rescaling of images)
472 2009-06-16 Alejandro G. Castro <alex@igalia.com>
474 * hildon/hildon-pannable-area.c,
475 (hildon_pannable_area_init),
476 (hildon_pannable_area_realize): Replaced old code adding flags in
477 the object init, now we add it with the other flags in the realize
480 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
482 * hildon/hildon-note.c: (hildon_note_class_init): Several
483 documentation improvements to the HildonNote widget.
485 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
487 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
489 Fixes: MB#4556 (HildonNoteType is undocumented)
491 2009-06-15 Alberto Garcia <agarcia@igalia.com>
493 * hildon/hildon-picker-button.c:
494 Explain how HildonPickerButton sets the title of its dialog
496 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
497 the title of its dialog)
499 2009-06-15 Alberto Garcia <agarcia@igalia.com>
501 * hildon/hildon-check-button.c:
502 Documentation updates
504 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
507 2009-06-15 Alberto Garcia <agarcia@igalia.com>
510 * hildon/hildon-edit-toolbar-private.h
511 * hildon/hildon-edit-toolbar.c
512 (+hildon_edit_toolbar_set_progress_indicator)
513 (hildon_edit_toolbar_init): Add progress indicator to the
516 * hildon/hildon-gtk.c
517 (hildon_gtk_window_set_progress_indicator):
518 If the window contains a HildonEditToolbar, enable the progress
521 * hildon/hildon-private.h
522 * hildon/hildon-private.c
523 (+hildon_private_create_animation)
524 * hildon/hildon-banner.c
525 (-hildon_banner_create_animation):
526 Moved to hildon-private.c
528 Fixes: NB#102373 (Progress indicator also for the Edit mode
531 2009-06-15 Alberto Garcia <agarcia@igalia.com>
533 * hildon/hildon-app-menu-private.h
534 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
535 (hildon_app_menu_add_filter, +menu_item_button_event)
536 (hildon_app_menu_button_release, hildon_app_menu_init):
537 Make sure that buttons receive 'button-release-event' in spite of
538 the grab held by HildonAppMenu
540 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
542 2009-06-15 Alberto Garcia <agarcia@igalia.com>
544 * hildon/hildon-app-menu.c
545 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
546 New style property to set the size of the group of filter buttons.
548 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
550 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
555 * configure.ac: Bump version.
556 * debian/changelog: Updates.
558 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
560 * hildon/hildon-main.c: Minor documentation fixes.
562 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
564 * doc/hildon-sections.txt:
565 * hildon/hildon-defines.h: Document the defines, organize them,
566 and mark deprecations as such.
568 Fixes: MB#4463 (Hildon size #defines are undocumented)
570 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
572 * hildon/hildon-animation-actor.c:
573 * hildon/hildon-app-menu.c:
574 * hildon/hildon-button.c:
575 * hildon/hildon-date-editor.c:
576 * hildon/hildon-dialog.c:
577 * hildon/hildon-edit-toolbar.c:
578 * hildon/hildon-entry.c:
579 * hildon/hildon-program.c:
580 * hildon/hildon-remote-texture.c:
581 * hildon/hildon-stackable-window.c:
582 * hildon/hildon-text-view.c:
583 * hildon/hildon-touch-selector.c:
584 * hildon/hildon-window-stack.c:
585 * hildon/hildon-window.c:
587 Remove redundant "represents" wording from most of the documentation.
589 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
591 2009-06-12 Alberto Garcia <agarcia@igalia.com>
596 * hildon/hildon-banner-private.h
597 * hildon/hildon-banner.c:
598 Move HildonBannerPrivate to hildon-banner.c and remove
599 hildon-banner-private.h
600 Use a bit field to store private booleans.
602 2009-06-12 Alberto Garcia <agarcia@igalia.com>
604 * hildon/hildon-app-menu.c (hildon_app_menu_map):
605 Don't install a new idle function if there's already one
610 2009-06-11 Alberto Garcia <agarcia@igalia.com>
612 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
613 (+legacy_menu_realized, +legacy_menu_unmapped)
614 (+set_legacy_menu_type):
615 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
616 they can be identified by the window manager.
618 Fixes: NB#101437 (Invoking CSM on the left side of page area is
619 displayed in wrong location)
621 Fixes: MB#4563 (Popup menu won't locate at the left side of the
624 2009-06-11 Alberto Garcia <agarcia@igalia.com>
626 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
628 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
631 2009-06-11 Alberto Garcia <agarcia@igalia.com>
633 * hildon/hildon-code-dialog.c
634 * hildon/hildon-date-editor.c
635 * hildon/hildon-number-editor.c
636 * hildon/hildon-seekbar.c
637 * hildon/hildon-stackable-window.c
638 * hildon/hildon-window.c:
639 Misc documentation updates
641 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
643 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
644 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
646 Fixes: NB#117931 (Theming issues in accounts dialogs)
648 2009-06-09 Alejandro G. Castro <alex@igalia.com>
650 * hildon/hildon-pannable-area.c,
651 (hildon_pannable_area_button_release_cb): Changed the coordinates
652 of the original release in case we want to discard the release,
653 some widgets in Fremantle do not handle the leave-notify.
655 2009-06-09 Alejandro G. Castro <alex@igalia.com>
657 * hildon/hildon-pannable-area.c,
658 (hildon_pannable_area_button_release_cb): Reviewed the logic of
659 the release using the last refactored functions and avoiding the
660 movement if an element was selected.
662 2009-06-09 Alejandro G. Castro <alex@igalia.com>
664 * hildon/hildon-pannable-area.c,
665 (hildon_pannable_area_check_move),
666 (hildon_pannable_area_handle_move),
667 (hildon_pannable_area_motion_notify_cb): Refactored the
668 motion_notify method using a couple of new functions.
670 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
672 * hildon/hildon-date-selector.c:
673 (hildon_date_selector_construct_ui):
674 * hildon/hildon-time-selector.c:
675 (hildon_time_selector_constructor):
676 * hildon/hildon-touch-selector-entry.c:
677 (hildon_touch_selector_entry_set_text_column),
678 (hildon_touch_selector_entry_get_text_column):
679 * hildon/hildon-touch-selector.c: (_default_print_func),
680 (hildon_touch_selector_new_text): Use
681 hildon_touch_selector_set/get_text_column() instead of
682 setting/getting the "text-column" property.
684 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
686 * doc/hildon-sections.txt: Add the new public methods below.
688 * examples/hildon-picker-button-multicolumn-example.c:
689 (create_touch_selector):
690 * examples/hildon-touch-selector-example.c: (create_selector):
691 * examples/hildon-touch-selector-multi-cells-example.c:
693 Use hildon_touch_selector_column_set_text_column()
695 * hildon/hildon-touch-selector-column.h:
696 * hildon/hildon-touch-selector.c:
697 (hildon_touch_selector_column_set_text_column),
698 (hildon_touch_selector_column_get_text_column):
699 Make hildon_touch_selector_column_set/get_column() public, use
700 them in the inline example, document them, and reference to them
703 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
705 * hildon/hildon-time-selector.c: Fix the docs for
706 hildon_time_selector_new_step().
708 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
710 * hildon/hildon-touch-selector.c: Improve the documentation for
711 hildon_touch_selector_append_column().
713 Fixes MB#4641 (Documentation:
714 hildon_touch_selector_append_column() ref-counting)
716 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
718 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
719 Comment out test 5, since the hildon_controlbar_set_range() range
720 check is broken and fixing it would have side effects. Also,
721 this finally fixes make distcheck.
723 Fixes: NB#101420 (Update unit tests and fix make distcheck)
725 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
727 * tests/TEST-CASES.txt: Remove other bogus test.
728 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
729 Remove bogus test that was setting/retrieving a valid value.
731 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
733 * tests/TEST-CASES.txt: Remove bogus tests.
734 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
735 Remove three bogus tests that were actually setting valid colors.
737 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
739 * configure.ac: post release version bump
740 * debian/changelog: post release version bump
742 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
747 * configure.ac: Bump version.
748 * debian/changelog: Updates.
750 2009-06-08 Christian Dywan <christian@lanedo.com>
754 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
755 Correct errors in hildon_format_file-size_for_display and use
756 translations from the hildon-fm package instead of osso-filemanager.
758 2009-06-08 Alejandro G. Castro <alex@igalia.com>
760 * hildon/hildon-pannable-area.c,
761 (hildon_pannable_area_init): Initialized new values to handle the
763 (hildon_pannable_area_adjust_value_changed): Check if the values
764 changed before even call the redraw function.
765 (hildon_pannable_area_size_allocate),
766 (hildon_pannable_axis_scroll),
767 (hildon_pannable_area_scroll),
768 (hildon_pannable_area_jump_to): Improved the diagonal movement
771 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
774 2009-06-08 Alberto Garcia <agarcia@igalia.com>
776 * examples/hildon-banner-example.c:
777 Several style updates
778 (on_animation_clicked, on_animation_idle)
779 (on_progress_clicked, on_progress_idle):
780 Add additional reference for the cases when the parent window is
783 2009-06-08 Alberto Garcia <agarcia@igalia.com>
785 * doc/hildon-sections.txt
786 * hildon/hildon-pannable-area.c
787 * hildon/hildon-banner.h
788 * hildon/hildon-banner.c: Documentation updates.
790 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
793 2009-06-05 Alejandro G. Castro <alex@igalia.com>
795 * hildon/hildon-calendar-popup.h:
796 * hildon/hildon-caption.h:
797 * hildon/hildon-code-dialog.h:
798 * hildon/hildon-controlbar.h:
799 * hildon/hildon-date-editor.h:
800 * hildon/hildon-dialog.h:
801 * hildon/hildon-get-password-dialog.h:
802 * hildon/hildon-hvolumebar.h:
803 * hildon/hildon-login-dialog.h:
804 * hildon/hildon-note.h:
805 * hildon/hildon-number-editor.h:
806 * hildon/hildon-range-editor.h:
807 * hildon/hildon-seekbar.h:
808 * hildon/hildon-set-password-dialog.h:
809 * hildon/hildon-sort-dialog.h:
810 * hildon/hildon-time-editor.h:
811 * hildon/hildon-time-picker.h:
812 * hildon/hildon-volumebar-range.h:
813 * hildon/hildon-volumebar.h:
814 * hildon/hildon-vvolumebar.h:
815 * hildon/hildon-weekday-picker.h:
816 * hildon/hildon-window.h:
817 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
818 macros with the current replacements
820 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
822 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
824 * hildon/hildon-color-button.c (hildon_color_button_init): Use
825 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
826 itself, to make it fit better with Fremantle style.
828 Fixes: NB#109878 (height and width of focus on color icon is not
829 consistent with other item in the application tool bar)
831 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
833 * hildon/hildon-touch-selector.c:
834 (hildon_touch_selector_optimal_size_request): use the current requisition
835 as the base, in order to include any possible extra widget, like the
836 hildon entry on HildonTouchSelectorEntry
838 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
840 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
842 * configure.ac: post release version bump
843 * debian/changelog: post release version bump
845 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
850 * configure.ac: Bump version.
851 * debian/changelog: Updates.
853 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
855 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
857 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
858 to ensure the banner contents are centered, instead of relying on
859 the expand and fill properties in GtkHBox.
860 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
862 Fixes: NB#108265 (Animation banner not properly centered)
864 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
866 * hildon/hildon-pannable-area.c
867 (hildon_pannable_area_initial_effect): Remove the initial_effect
868 management, check initial_hint
869 (hildon_pannable_are_expose_event): Remove the initial_hint management,
870 set initial_effect to FALSE
871 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
872 by launching the fade_timeout if the scrollbars state has changed and are
874 * examples/hildon-pannable-area-initial-hint-example.c
875 Modified to allow to remove rows too. Add and remove rows one by one.
877 2009-05-28 Alberto Garcia <agarcia@igalia.com>
879 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
880 Don't close the menu if there's an animation actor below it.
882 Fixes: NB#117927 (Application menu not usable with animation
885 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
887 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
888 "focus-on-click" from the dialog button, to avoid stealing the
889 focus from the entry.
891 Fixes: NB#118903 (Account setup wizard: Text in Search field
892 should be focused when "Region" touch list picker is reopened
895 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
897 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
898 (prepare_action_area): Completely hide the dialog separator.
900 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
902 * hildon/hildon-touch-selector-entry.c
903 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
904 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
905 now that the entry is exposed.
907 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
909 * hildon/hildon-touch-selector-entry.c
910 (hildon_touch_selector_entry_init): Change the entry's size
911 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
913 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
915 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
916 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
917 avoid unnecessary scaling.
919 2009-05-27 Alberto Garcia <agarcia@igalia.com>
921 * hildon/hildon-app-menu.c (hildon_app_menu_map):
922 Create grab transfer window before calling parent's map function.
924 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
925 "crushed" button(s) in the top left corner)
927 2009-05-26 Alberto Garcia <agarcia@igalia.com>
929 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
930 Check if the window is already realized when pushing it.
932 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
934 * configure.ac: post release version bump
935 * debian/changelog: post release version bump
937 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
942 * configure.ac: Bump version.
943 * debian/changelog: Updates.
945 2009-05-25 Alberto Garcia <agarcia@igalia.com>
947 * hildon/hildon-app-menu.c: Doc updates.
949 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
951 * hildon/hildon-banner.c: Remove leftover macro.
953 2009-05-25 Alejandro G. Castro <alex@igalia.com>
955 * hildon/hildon-pannable-area.c,
956 (hildon_pannable_area_scroll_indicator_fade),
957 (hildon_pannable_area_button_release_cb): Reviewed vmin
958 conditions, it could cause problems in the fadeout procedure.
960 2009-05-25 Alejandro G. Castro <alex@igalia.com>
962 * hildon/hildon-pannable-area.c
963 (hildon_pannable_area_button_release_cb): Added a threshold to
964 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
966 2009-05-25 Alejandro G. Castro <alex@igalia.com>
968 * hildon/hildon-pannable-area.c,
969 (hildon_pannable_area_set_property): Added code to sync the gtk
970 dnd threshold with the panning threshold.
972 2009-05-25 Alejandro G. Castro <alex@igalia.com>
974 * hildon/hildon-pannable-area.c,
975 (hildon_pannable_area_class_init): Changed some of the default
976 values, now it should be less responsive and more accurate.
978 2009-05-25 Alejandro G. Castro <alex@igalia.com>
980 * hildon/hildon-pannable-area.c,
981 (hildon_pannable_area_init),
982 (hildon_pannable_area_scroll_indicator_fade),
983 (hildon_pannable_area_button_press_cb),
984 (hildon_pannable_axis_scroll),
985 (hildon_pannable_area_timeout),
986 (hildon_pannable_area_motion_notify_cb),
987 (hildon_pannable_area_button_release_cb): Changed the name of the
988 clicked attribute to button_pressed, it is more clear about its use.
990 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
992 * src/hildon-pannable-area.c
993 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
995 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
996 vertical scrollbar visibility, and use the data on private section instead,
997 remove the initial_hint check
998 (hildon_pannable_area_expose_event): add the initial_hint check here
1000 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1002 * src/hildon-pannable-area.c
1003 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1004 if the fadeout effect was used
1005 (hildon_pannable_area_expose_event): check if it is required to
1006 manage the initial effect on the begining of the function. Previously
1007 it was made at the end, but this doesn't ensure that the scrollbars
1008 will be painted on the first show. Do not set to FALSE initial_effect,
1009 to ensure that the initial hint is showed the first time the pannable
1011 * examples/Makefile.am
1012 * examples/hildon-pannable-area-initial-hint-example.c:
1013 New example, to show that the initial-hint is showed when the widget
1016 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1017 initially if the application can be scrolled)
1019 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1021 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1022 Resize table before adding new items to make sure that
1023 gtk_table_resize() is called just once.
1025 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1027 * hildon/hildon-app-menu-private.h
1028 * hildon/hildon-app-menu.c (item_visibility_changed)
1029 (filter_visibility_changed, hildon_app_menu_show_all)
1030 (hildon_app_menu_hide_all, hildon_app_menu_init):
1031 Rearrange items just once when gtk_widget_show_all()/hide_all()
1034 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1036 * hildon/hildon-app-menu.c
1037 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1038 Don't call gtk_widget_show() on added items.
1040 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1041 automatically when they're added)
1043 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1045 * hildon/hildon-banner.c
1046 (hildon_banner_realize, +hildon_banner_unrealize)
1047 (+screen_size_changed, hildon_banner_class_init):
1048 Redisplay the banner if the screen is rotated.
1050 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1051 on transition from landscape to portrait)
1053 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1055 * hildon/hildon-banner.[ch]:
1056 (hildon_banner_show_information_override_dnd): remove icon_name from the
1057 method definition as it is ignored.
1058 * examples/hildon-banner-dnd-example.c: updated with the change on
1061 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1063 * hildon/hildon-banner-private.h: new require_override_dnd and
1064 overrides_dnd variables
1065 * hildon/hildon-banner.h:
1066 (hildon_banner_show_information_override_dnd): new method, that shows
1067 the information but sets the override flag, in order to show important
1069 * hildon/hildon-banner.c
1070 (hildon_banner_show_information_override_dnd): new method
1071 (hildon_banner_set_override_flag): new utility function
1072 (hildon_banner_real_show_information): new utility function, in order to
1073 generalize the current hildon_banner_show_information_override_dnd and
1074 hildon_banner_show_information_override_dnd
1075 * examples/Makefile.am
1076 * examples/hildon-banner-dnd-example.c: New example that show how to
1077 use the new hildon_banner_show_information_override_dnd
1079 Fixes: NB#114874 (There is no possibility to show hildon banners with
1082 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1084 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1085 behind hildon_pannable_calculate_vel_factor().
1087 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1089 * hildon/hildon-pannable-area.c
1090 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1091 deceleration factors.
1093 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1095 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1096 Reduce the default value for 'scroll_time' to 1 second, since the
1097 current initial scrolling takes too much time.
1099 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1101 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1102 calculate velocity factor during initialization, since the properties
1105 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1107 * hildon/hildon-pannable-area.c
1108 (hildon_pannable_area_set_property): Calculate the velocity factor
1109 after setting the deceleration property and not after.
1111 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1113 * hildon/hildon-entry.c
1114 (hildon_entry_class_init, +set_property, hildon_entry_new)
1115 * hildon/hildon-check-button.c
1116 (hildon_check_button_class_init)
1117 (+set_property, hildon_check_button_new):
1118 Make the theme size a property.
1120 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1121 others) do too much in the _new function)
1123 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1125 * configure.ac: post release version bump
1126 * debian/changelog: post release version bump
1128 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1133 * configure.ac: Bump version.
1134 * debian/changelog: Updates.
1136 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1138 * hildon/hildon-gtk.h
1139 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1140 New API function to take a screenshot of a window
1142 Fixes: NB#106374 (Need API to take a loading screenshot)
1144 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1146 * hildon/hildon-time-selector.c
1147 (update_format_policy): prevent to use hours and minutes unitialized
1149 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1151 * hildon/hildon-window.c (hildon_window_size_request):
1152 Always request the full size of the screen (minus the title bar if
1153 not in fullscreen mode).
1155 Fixes: NB#107486 (HildonWindow should size itself properly)
1157 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1159 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1160 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1161 (on_show_cb), (sound_handling): Disconnect the idle handler for
1162 the sound when the note is finalized to avoid possible crashes.
1164 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1167 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1169 * src/hildon-animation-actor.c,
1170 * src/hildon-remote-texture.c:
1171 Added proper object cleanup to remove signal handler and object
1172 references as HildonAnimationActor and HildonRemoteTexture
1173 objects get destroyed.
1175 Fixes: NB#116682 (Destroying parented animation actors when
1176 parent in unmapped leads to crash)
1178 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1180 Based on a patch by Christian Dywan (christian@imendio.com)
1182 * doc/hildon-sections.txt:
1183 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1184 * hildon/hildon-helper.h: New file size formatting method.
1186 * debian/control: Depend on osso-filemanager l10n package for
1187 proper localization strings.
1189 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1191 * tests/Makefile.am: Include top_srcdir to make possible to build
1192 tests in a different builddir.
1193 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1194 on a different builddir.
1196 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1198 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1199 (hildon_touch_selector_remove): Disconnect model's signal handler
1202 Fixes: NB#116289 (Hildon home crashes while adding task
1205 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1207 * hildon/hildon-button.c
1208 (hildon_button_set_title, hildon_button_set_value):
1209 Hide labels containing an empty string.
1211 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1213 * configure.ac: post release version bump
1214 * debian/changelog: post release version bump
1216 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1221 * configure.ac: Bump version.
1222 * debian/changelog: Updates.
1224 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1226 * hildon/hildon-note-private.h: Removed sound_signal_handler
1227 * hildon/hildon-note.c
1228 (on_show_cb): new callback on note "show" event, this simply adds
1229 a idle, with the function sound_handling
1230 (sound_handling): removed the sound_signal_handler management
1231 (hildon_note_init): connect note "show" event to on_show_cb
1232 (hildon_note_realize): remove the connection to "expose-event"
1234 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1235 device?' confirmation note)
1237 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1239 * hildon/hildon-note.c
1240 (hildon_note_new_information_with_icon_name)
1241 (hildon_note_new_confirmation_with_icon_name):
1242 Terminate the list of parameters in g_object_set() calls
1244 Fixes: NB#115166 (Formatting memory card is not taking place)
1246 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1248 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1249 "dialog-information" role for the sound being played.
1251 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1253 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1254 Don't make the menu a modal window, it causes strange interactions
1255 with the pointer grab and it's not really needed.
1257 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1259 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1261 * hildon/hildon-touch-selector.[ch]
1262 (hildon_touch_selector_optimal_size_request): function added to get a
1263 optimal size request from the touch selector, when you want a dialog to
1264 show as much of the selector
1265 * hildon/hildon-picker-dialog.c:
1266 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1267 (hildon_app_menu_class_init):
1268 New "max-height-landscape" and "max-height-portrait" style properties
1269 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1270 (hildon_picker_dialog_get_max_height): returns the maximum height using
1271 the style properties defined and checking the current portrait/landscape
1273 (_hildon_picker_dialog_set_selector): removed the set_size_request
1275 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1277 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1279 * hildon/hildon-bread-crumb-trail.c:
1280 * hildon/hildon-bread-crumb.c:
1281 * hildon/hildon-seekbar.c:
1282 Add reference to replacements for these deprecated widgets.
1284 Fixes: MB#4461 (Documentation: All deprecations should mention
1287 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1289 * examples/hildon-remote-texture-example.c
1291 Change the include to the hildon-remote-texture in order to compile
1292 properly the examples on the installed libhildon1-examples package
1294 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1296 * tests/Makefile.am: Add check for HildonPickerButton.
1297 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1298 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1299 checks for the HildonPickerButton.
1300 * tests/check_test.c (configure_tests): Add the test suite.
1301 * tests/test_suites.h: likewise.
1303 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1305 * hildon/hildon-touch-selector.c
1306 (+on_row_changed): Emit HildonTouchSelector:changed when the
1307 contents of a selected row change.
1308 (_create_new_column), (_hildon_touch_selector_set_model): connect
1309 to GtkTreeModel:row-changed on a newly set model.
1311 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1313 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1315 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1317 * hildon/hildon-banner.c (hildon_banner_destroy)
1318 (hildon_banner_show_progress, hildon_banner_set_fraction):
1319 Remove the progress bar from HildonBanner and use a progress
1322 Fixes: NB#113761 (Update progress banner to use progress
1325 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1327 * hildon/hildon-banner.c:
1328 Calculate size of the banner label using the actual screen width
1329 rather than using a fixed value.
1331 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1334 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1336 * hildon/hildon-pannable-area.c,
1337 (hildon_pannable_area_class_init): Fixed signals documentation
1340 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1342 * configure.ac: post release version bump
1343 * debian/changelog: post release version bump
1345 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1350 * configure.ac: Bump version.
1351 * debian/changelog: Updates.
1353 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1355 * hildon/hildon-edit-toolbar.c
1356 (hildon_edit_toolbar_init):
1357 Don't let buttons in HildonEditToolbar receive focus.
1359 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1360 typing on an HW arrows key)
1362 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1364 * doc/Makefile.am: Fix build.
1366 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1368 * doc/Makefile.am: Do not redefine content_files.
1370 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1378 Renamed src/ to hildon/
1383 Include <hildon/hildon.h> directly in all examples.
1385 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1387 * src/hildon-sort-dialog.c
1388 (hildon_sort_dialog_add_sort_key_with_sorting)
1392 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1394 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1395 make distcheck passes.
1397 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1399 * Makefile.am: Enable gtk-doc during distcheck.
1401 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1403 * Makefile.am: Do not distribute the debian/ directory.
1405 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1407 * doc/Makefile.am: Add the extra SGML files to content_files,
1408 so that they are distributed properly.
1410 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1412 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1415 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1417 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1418 (hildon_note_new_information_with_icon_name): Set the "icon" property
1419 to preserve soundness.
1421 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1423 * src/hildon-font-selection-dialog.c
1424 (hildon_font_selection_dialog_set_property): Fail when the "family"
1425 property is set to NULL.
1427 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1429 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1432 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1434 * src/hildon-time-selector.h:
1435 Added HildonTimeSelectorFormatPolicy
1436 * src/hildon-time-selector.c:
1437 Added PROP_TIME_FORMAT_POLICY
1438 (_check_ampm_format): renamed to check_automatic_ampm_format
1439 (update_format_policy), (update_format_dependant_columns): new functions
1440 (hildon_time_selector_class_init)
1441 (hildon_time_selector_contructor)
1442 (hildon_time_selector_init)
1443 (hildon_time_selector_get_property)
1444 (hildon_time_selector_set_property)
1445 (hildon_time_selector_get_time)
1446 (hildon_time_selector_set_time)
1447 * src/hildon-touch-selector.h: new file
1448 * src/hildon-touch-selector.c
1449 (hildon_touch_selector_emit_changed)
1450 (hildon_touch_selector_block_changed)
1451 (hildon_touch_selector_unblock_changed)
1452 Added functions to allow to block the emission of the "changed" signal
1453 * src/hildon-picker-dialog.c
1454 (hildon_picker_dialog_show): call the parent show before the custom code
1455 * examples/hildon-time-button-example.c
1456 Modified, so now you can configure the time format using the new property
1458 Added a new property "time-format-policy" that allow to choose the time
1459 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1460 case it uses gconf in order to check if the time selector must use
1463 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1466 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1468 * src/hildon-note.c (hildon_note_init):
1469 Label in HildonNote must be left aligned, not centered. This
1470 reverts the last commit in HildonNote.
1472 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1473 is connectivity dialog)
1475 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1480 * doc/hildon-sections.txt:
1481 Added hildon_gtk_window_set_do_not_disturb()
1483 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1485 * src/hildon-note.c (hildon_note_init): Center label.
1487 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1490 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1495 * configure.ac: Bump version.
1496 * debian/changelog: Updates.
1498 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1500 * src/hildon-note-private.h: Add button-width to the private data.
1501 * src/hildon-note.c (+resize_button),
1502 (+hildon_note_orientation_update): methods to repack widgets on orientation
1504 (screen_size_changed): Call above method for confirmation notes.
1505 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1506 (hildon_note_rebuild): Store the original width request from buttons.
1508 Fixes: NB#109635 (Confirmation notes do not support portrait)
1510 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1512 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1513 when it is a progress note.
1515 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1517 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1518 in the note, since there are no horizontally arranged contents.
1520 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1522 * src/hildon-gtk.c (+set_flag): new generic method to
1523 set/delay a flag setting in a window.
1524 (hildon_gtk_window_set_progress_indicator):
1525 (hildon_gtk_window_set_do_not_disturb),
1526 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1527 avoid code redundance.
1529 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1531 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1533 * src/hildon-gtk.c (set_clear_window_flag),
1534 (do_set_progress_indicator), (do_set_do_not_disturb),
1535 (do_set_portrait_flags),
1536 (hildon_gtk_window_set_progress_indicator),
1537 (hildon_gtk_window_set_do_not_disturb),
1538 (hildon_gtk_window_set_portrait_flags):
1539 Allow setting dnd-flag, progress indicator, and portrait flags
1540 when the window is not realized.
1542 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1544 * src/hildon-pannable-area.c,
1545 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1546 the size request policy function and defines.
1548 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1550 * doc/hildon-sections.txt: Add the new API.
1551 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1552 method to set the portrait flags.
1553 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1555 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1557 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1559 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1560 to allow using this method with other flags.
1561 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1562 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1564 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1566 * src/hildon-touch-selector.c
1567 (hildon_touch_selector_append_text_column):
1568 Make the cell renderer use the smallest width possible.
1570 Fixes: NB#108470 (Selected items in multiple selection are either
1571 having a tick that is cut or not visible at all.)
1573 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1575 * src/hildon-touch-selector.c
1576 (hildon_touch_selector_append_text_column):
1579 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1581 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1582 Use g_strdup_printf() instead of a fixed size buffer.
1584 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1587 Close banners when a HildonAppMenu is popped up.
1589 Fixes: NB#111027 (Title menu closed immediately if activated when
1590 "Invalid e-mail address" banner is shown)
1592 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1597 * configure.ac: Bump version.
1598 * debian/changelog: Updates.
1600 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1602 * src/hildon-banner.c (hildon_banner_realize):
1603 Mark HildonBanner as supporting portrait mode.
1604 Use GDK to set window properties insetad of direct Xlib calls.
1606 Fixes: NB#111830 (HildonBanner should be marked as supporting
1609 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1611 * src/hildon-note.c (hildon_note_rebuild):
1612 Hide action area in information notes. Prevents text from being
1613 slightly aligned to the left.
1615 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1618 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1620 Patch by Mox Soini (ext-mox.soini@nokia.com)
1622 * src/hildon-banner.c (hildon_banner_create_animation):
1623 Use stylus-sized icons in animation banner.
1625 Fixes: NB#111206 (stylus sized icon for animation banner)
1627 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1631 (+hildon_gtk_window_set_do_not_disturb):
1632 New API to set the do-not-disturb flag.
1634 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1636 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1638 * examples/hildon-progress-indicator-example.c: Fix example
1640 * src/hildon-gtk.c (set_clear_window_flag)
1641 (hildon_gtk_window_set_progress_indicator):
1642 Create a generic function for setting flags to a window.
1643 Use GDK instead of direct Xlib calls.
1645 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1647 * src/hildon-button.c (hildon_button_set_arrangement):
1648 Due to NB#88126, if one of the labels is too long it will be
1649 painted outside the button. The 'value' label is more likely to be
1650 the longest one, so we change its packing options in order to
1651 truncate it if necessary. As a side effect, the 'title' label will
1652 no longer be truncated.
1654 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1656 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1661 * configure.ac: Bump version.
1662 * debian/changelog: Updates.
1664 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1666 Deprecation of the hildon_pannable_area_set_size_request_policy
1667 API, the only policy properly supported in gtk+ nowadays is the
1670 * src/hildon-pannable-area.c,
1671 (hildon_pannable_area_size_request): Added a workaround for the
1672 size_request to avoid the problems of huge pixmaps in case someone
1673 is still using the function.
1674 * src/hildon-pannable-area.h: Deprecated the enum with the
1677 Fixes: NB#110244 (Problems with the
1678 hildon_pannable_area_set_size_request_policy API)
1680 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1682 * src/hildon-pannable-area.c,
1683 (hildon_pannable_area_init),
1684 (hildon_pannable_area_size_request),
1685 (hildon_pannable_area_style_set),
1686 (hildon_pannable_draw_vscroll),
1687 (hildon_pannable_draw_hscroll),
1688 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1689 indicator_width to clarify the use of the attribute.
1691 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1696 * configure.ac: Bump version.
1697 * debian/changelog: Updates.
1699 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1701 * src/hildon-picker-dialog.c
1702 * src/hildon-touch-selector.c
1703 Reverting the change that tried to avoid the hardcoded height on
1704 the picker dialog, as causes problems on the hildon-touch-selector
1707 Fixes: NB#110029 (selectors not scrolling to selected value)
1709 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1711 * src/hildon-touch-selector.c: Fix typos
1713 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1715 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1716 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1717 request more motions after using it.
1719 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1721 * src/hildon-calendar.c (hildon_calendar_expose),
1722 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1723 Remove unused variables.
1725 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1727 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1728 variable assignment.
1730 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1733 Check the return value of gtk_tree_selection_get_selected()
1736 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1738 * src/hildon-animation-actor.c
1739 * src/hildon-button.c
1741 * src/hildon-pannable-area.c
1742 * src/hildon-picker-button.c
1743 * src/hildon-program.c
1744 * src/hildon-remote-texture.c
1745 * src/hildon-text-view.c
1746 * src/hildon-touch-selector.c
1747 * src/hildon-window-stack.c
1748 * src/hildon-window.c:
1749 Add missing 'Since: 2.2' tags.
1751 * doc/hildon-sections.txt:
1752 Add some missing symbols.
1754 * doc/hildon-docs.sgml:
1755 New 'Other' section for HildonAnimationActor and
1758 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1760 Patch by Iván Gómez (igomez@igalia.com)
1763 * doc/compiling.sgml
1764 * doc/hildon-docs.sgml
1765 * doc/hildon-sections.txt
1766 * doc/migration.sgml
1767 * doc/resources.sgml
1769 New chapters on using the Hildon library.
1770 Updated the general structure of the reference manual.
1771 Other minor documentation fixes.
1773 * src/hildon-calendar-popup.c
1774 * src/hildon-calendar.c
1775 * src/hildon-controlbar.c
1776 * src/hildon-date-editor.c
1777 * src/hildon-dialog.c
1778 * src/hildon-hvolumebar.c
1779 * src/hildon-number-editor.c
1780 * src/hildon-range-editor.c
1781 * src/hildon-sort-dialog.c
1782 * src/hildon-time-editor.c
1783 * src/hildon-time-picker.c
1784 * src/hildon-volumebar-range.c
1785 * src/hildon-volumebar.c
1786 * src/hildon-vvolumebar.c
1787 * src/hildon-weekday-picker.c:
1788 Add deprecation notes
1790 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1791 Document 'horizontal-movement' and 'vertical-movement' signals.
1793 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1798 * configure.ac: Bump version.
1799 * debian/changelog: Updates.
1801 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1803 * src/hildon-pannable-area.c,
1804 (hildon_pannable_area_class_init): increased the minimum velocity.
1805 (hildon_pannable_area_button_release_cb): Updated the
1806 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1807 setup. Review the code to control that last event.
1809 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1812 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1814 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1816 * src/hildon-get-password-dialog.c
1817 (hildon_get_password_set_property),
1818 (hildon_get_password_get_property), (create_contents):
1819 * src/hildon-login-dialog-private.h:
1820 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1821 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1822 (hildon_login_dialog_get_password):
1823 * src/hildon-set-password-dialog-private.h:
1824 * src/hildon-set-password-dialog.c
1825 (hildon_set_password_set_property),
1826 (hildon_set_password_get_property), (create_contents),
1827 (hildon_set_password_response_change),
1828 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1830 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1831 instead and look more Fremantle style.
1833 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1835 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1837 * doc/hildon-sections.txt
1838 * src/hildon-window-stack.h
1839 * src/hildon-window-stack.c
1840 (+hildon_window_stack_get_windows):
1841 New API to obtain the list of windows on a stack.
1843 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1845 * src/hildon-app-menu.c (hildon_app_menu_popup)
1846 (hildon_app_menu_class_init, -hildon_app_menu_show):
1847 Remove hildon_app_menu_show() and move all its checks to
1848 hildon_app_menu_popup()
1850 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1852 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1853 (_hildon_picker_dialog_set_selector): removed call to
1854 gtk_widget_set_size_request
1855 * src/hildon-touch-selector.c
1856 (_create_new_column): change the pannable size request policy
1858 Avoid to use a hardcoded height for the hildon picker dialog. In order
1859 to get that, we needed to change the hildon pannable size request
1861 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1863 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1865 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1866 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1869 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1871 * debian/control: Depend on osso-system-lock localization package.
1872 * src/hildon-code-dialog.c: Obtain the secu_application_title
1873 translation from osso-system-lock.
1874 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1875 for translation the atk related strings, that's not necessary.
1876 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1877 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1878 cancel button, it is not required.
1880 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1882 * src/hildon-pannable-area.c,
1883 (hildon_pannable_area_class_init): Modified the default value of
1884 the overshooting max speed, we have reduced it.
1886 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1888 * doc/hildon-sections.txt
1889 * src/hildon-window-private.h
1890 * src/hildon-window.h
1891 * src/hildon-window.c (hildon_window_class_init)
1892 (hildon_window_init, hildon_window_finalize)
1893 (hildon_window_realize, hildon_window_get_property)
1894 (hildon_window_set_property, hildon_window_update_markup)
1895 (hildon_window_get_markup, hildon_window_set_markup):
1896 New "markup" property and hildon_window_{get,set}_markup() methods.
1898 * examples/hildon-stackable-window-example.c (new_window):
1899 Update example to use hildon_window_set_markup()
1901 Fixes: NB#106375 (Need API to retitle a window with a title
1904 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1906 * src/hildon-pannable-area.c,
1907 (hildon_pannable_area_class_init): Changed the default value of
1908 the initial_hint to TRUE.
1909 (hildon_pannable_area_initial_effect): Changed the initial effect,
1910 not the effect is just the fade-out of the scrollbars.
1912 Fixes: NB#107775 (No scrollbars can be seen when several items are
1913 available in a dialog)
1915 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1917 * src/hildon-program.c (hildon_program_update_top_most):
1920 Fixes: NB#109179 (Memory leak in Hildon program)
1922 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1924 * src/hildon-banner.c (-get_current_app_window):
1925 Remove unused function.
1927 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1929 * src/hildon-pannable-area.c: Modified the documentation of the
1930 get adjustments functions to explain the problem of using the
1931 adjustment directly.
1932 (hildon_pannable_area_class_init): Improved the explanation about
1935 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1937 * src/hildon-app-menu-private.h
1938 * src/hildon-app-menu.c
1939 (hildon_app_menu_class_init):
1940 Bring back the 'external-border' style property
1941 (hildon_app_menu_class_init, hildon_app_menu_init)
1942 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1943 Set a fixed width-request for the menu, independent of the number
1946 Fixes: NB#94957 (Smoothly opened application menu)
1948 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1950 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1952 * src/hildon-banner.c
1953 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1955 Make sure that the banner is correctly placed the first time it's
1957 (hildon_banner_check_position, -check_fullscreen_state):
1958 Show the banner in the same place no matter if the window is in
1959 fullscreen mode or not.
1961 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1963 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1965 * src/hildon-touch-selector.c (_default_print_func): reorder
1966 concatenation for clarity.
1968 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1970 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1971 for multicolumn selectors.
1973 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1975 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1980 * configure.ac: Bump version.
1981 * debian/changelog: Updates.
1983 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1985 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1988 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1990 * configure.ac: removed libcangerra-gtk dependency
1991 * debian/control: removed libcanberra-gtk dependency
1992 * src/Makefile.am: removed libcanberra gtk related flags
1993 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1994 context, and manage a global canberra context instead
1996 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1998 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2000 Patch by Daniel Borgmann (danielb@openismus.com)
2002 * src/hildon-edit-toolbar.c:
2003 Adjust the left padding.
2004 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2005 Paint background of the edit toolbar.
2007 Fixes: NB#107897 (Patch to make editmodetoolbar background
2008 themeable and adjust margin)
2010 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2012 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2014 * src/hildon-program.c (hildon_program_update_top_most):
2015 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2017 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2018 change when the user tasks in/out of an application)
2020 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2022 * configure.ac: added libcangerra-gtk dependency
2023 * debian/control: added libcanberra-gtk dependency
2024 * src/Makefile.am: added libcanberra gtk related flags
2025 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2028 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2030 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2032 * src/hildon-program.c (hildon_program_remove_window)
2033 (hildon_program_add_window): Add checks for the window
2034 parameter. Don't decrease the window counter if the window is not
2037 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2039 * src/hildon-pannable-area.c,
2040 (hildon_pannable_area_realize): Fixed position of the event_window
2041 in the realize method.
2043 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2045 * src/hildon-app-menu-private.h
2046 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2047 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2048 (hildon_app_menu_key_press, hildon_app_menu_init)
2049 (hildon_app_menu_finalize):
2050 Make sure that all idle functions are removed when the widget is
2053 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2055 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2060 * configure.ac: Bump version.
2061 * debian/changelog: Updates.
2063 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2065 * src/hildon-entry.c
2066 (+hildon_entry_show_placeholder),
2067 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2068 that replace hildon_entry_update_contents().
2069 (hildon_entry_set_text),
2070 (hildon_entry_set_placeholder),
2071 (hildon_entry_focus_in_event),
2072 (hildon_entry_focus_out_event): Determine when it is needed
2073 either to show or hide the placeholder and call the above methods.
2075 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2076 when the placeholder text is already set)
2078 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2081 simple GdkPixbufAnim using the new icons for the banner.
2082 (hildon_banner_show_animation): Use the above mentioned method to
2083 create the animation widget.
2085 Fixes: NB#103564 (Make hildon animation banner use individual
2086 image files as the animation)
2088 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2090 * src/hildon-pannable-area.c,
2091 (hildon_pannable_leave_notify_event): Check if the child is NULL
2092 to avoid sending the leave.
2094 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2096 * src/hildon-pannable-area.c,
2097 (hildon_pannable_area_class_init),
2098 (hildon_pannable_leave_notify_event): Added a handler of the
2099 leave-notify-signal to consider when no motion notify before
2102 Fixes: NB#107494 (Items stay selected when clicking and moving
2103 away when inside pannable area)
2105 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2110 * configure.ac: Bump version.
2111 * debian/changelog: Updates.
2113 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2115 Patch by Alberto Garcia (agarcia@igalia.com)
2117 * src/hildon-date-button.c,
2118 (hildon_date_button_class_init),
2119 (hildon_date_button_init): Removed the construct property handling
2120 and created a default selector in the init method.
2121 * src/hildon-picker-button.c,
2122 (hildon_picker_button_class_init): Removed the construct flag of the
2125 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2127 * src/hildon-main.c (hildon_init):
2128 Don't allow hildon_init() to be called more than once.
2130 Fixes: NB#106607 (hildon_init should issue error message upon
2133 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2135 * examples/hildon-pannable-area-touch-list-example.c
2136 * examples/hildon-pannagle-area-touch-grid-example.c
2137 * examples/hildon-edit-toolbar-example.c
2138 * examples/hildon-touch-selector-multi-cells-example.c
2139 Removed the call to gtk_rc_parse_string, as it is not required since
2142 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2144 * src/hildon-pannable-area.c,
2145 (hildon_pannable_area_class_init): Modified the default panning
2146 threshold of the widget to 6px.
2148 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2149 than the threshold value ) within the button is not sending the
2152 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2154 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2155 for the treeview in the new column. This way, the touch list will never
2158 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2159 be selected manually for the HW keys to work)
2161 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2163 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2164 comparison instead of using strcmp(). Fixes a compiler warning as well.
2166 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2168 * doc/hildon-docs.sgml: Do not set the library version in the
2169 document title, use the releaseinfo tag for that purpose instead.
2171 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2173 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2174 Do not jump to the first item if the text in the entry is removed.
2176 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2181 * configure.ac: Bump version.
2182 * debian/changelog: Updates.
2184 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2186 * src/hildon-entry.c (hildon_entry_refresh_contents):
2187 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2188 Use "ReversedSecondaryTextColor" for the placeholder text.
2190 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2192 * src/hildon-text-view.c: Fix compilation warning.
2194 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-button.c (hildon_button_class_init): Don't make
2197 "title" and "value" construction properties, to prevent them from
2198 overwriting labels set from derived classes.
2200 * src/hildon-picker-button.c
2201 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2202 (hildon_picker_button_class_init): Make touch-selector a
2203 construction property.
2205 * src/hildon-date-button.c (hildon_date_button_class_init)
2206 (+hildon_date_button_constructed): Add a default date selector if
2209 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2211 * src/hildon-touch-selector.c: Small documentation fixes.
2213 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2215 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2217 * src/hildon-entry.c (hildon_entry_refresh_contents),
2218 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2219 widget name, set the logical color directly instead and a boolean
2220 showing_placeholder instead.
2221 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2222 use the widget name here either.
2224 Fixes: NB#105678 (HildonTextView should use logical colours
2225 instead of setting widget name)
2227 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2229 Patch by Daniel Elster (danielk@openismus.com)
2231 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2232 Add user_data parameter.
2233 (hildon_touch_selector_set_print_func_full): New function akin
2234 hildon_touch_selector_set_print_func() but with support for user
2235 data and a destroy callback.
2236 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2237 to clean up the print function user data.
2238 (hildon_touch_selector_class_init): Install dispose function.
2239 (HildonTouchSelectorPrivate::print_user_data),
2240 (HildonTouchSelectorPrivate::print_destroy_func): New private
2242 (hildon_touch_selector_init): Initialize new private members.
2243 (hildon_touch_selector_get_current_text): Pass along user data
2244 to the print function.
2245 (_default_print_func): Add dummy user_data to parameter list.
2246 * hildon-date-selector.c (_custom_print_func): ditto,
2247 * hildon-time-selector.c (_custom_print_func): ditto,
2248 * hildon-touch-selector-entry.c
2249 (hildon_touch_selector_entry_print_func): ditto.
2251 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2253 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2255 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2257 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2259 * src/hildon-pannable-area.c,
2260 (hildon_pannable_area_init),
2261 (hildon_pannable_area_button_press_cb),
2262 (hildon_pannable_area_motion_notify_cb): We have added code to
2263 handle the leave and enter events when using the motion events.
2265 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2267 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2269 * src/hildon-date-button.c (hildon_date_button_get_date)
2270 (hildon_date_button_set_date): Make sure that the button has a
2273 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2275 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2277 * src/hildon-pannable-area.c,
2278 (hildon_pannable_area_class_init),
2279 (hildon_pannable_area_calculate_velocity): Modify the use of the
2280 force and adapt the value.
2282 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2285 (hildon_app_menu_class_init): Hide the menu if it receives a
2286 delete-event, but don't destroy it
2288 Fixes: NB#104485 (Not able to address the call when application
2289 menu is opened at background)
2291 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2293 * src/hildon-app-menu.c
2294 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2295 Remove the "external-border" style property, let the menu take its
2296 natural size (or the one set by the window manager)
2297 (hildon_app_menu_repack_items):
2298 Don't reshow the menu, avoid flickers.
2300 Partially fixes NB#94957 (Smoothly opened application menu)
2302 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2307 * configure.ac: Bump version.
2308 * debian/changelog: Updates.
2310 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2312 * src/hildon-pannable-area.c,
2313 (hildon_pannable_area_motion_notify_cb): We control that the
2314 direction error margin is used just in case the movement is
2315 allowed in the other direction.
2317 Fixes: NB#105012 (buttons inside a pannable area not getting
2318 release event when dragging/releasing)
2320 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2322 * src/hildon-pannable-area.c,
2323 (hildon_pannable_area_class_init),
2324 (hildon_pannable_area_get_property),
2325 (hildon_pannable_area_set_property),
2326 (hildon_pannable_area_initial_effect),
2327 (hildon_pannable_axis_scroll),
2328 (hildon_pannable_area_button_release_cb): Reviewed the
2329 overshooting effect, now it has its own max
2330 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2331 speed when bouncing.
2333 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2338 * configure.ac: Bump version.
2339 * debian/changelog: Updates.
2341 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2343 * src/hildon-pannable-area.c,
2344 (hildon_pannable_area_class_init): Changed the max speed, now
2345 users can launch the widget very fast. Reduced the default force,
2346 that way it is easier to control the launch speed.
2348 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2350 * src/hildon-pannable-area.c,
2351 (hildon_pannable_area_button_release_cb): Removed this check
2352 because it causes problems when the device is overloaded.
2354 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2356 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2357 add a current_text field to store the text entered in the
2358 touch selector entry.
2359 (_clean_current_selection): clean up the current text as well.
2360 (_save_current_selection), (_restore_current_selection):
2361 Save/restore the text in the entry if the selector is a
2362 HildonTouchSelectorEntry.
2364 Fixes: NB#102541 (value entered in the touch selector entry is not
2365 shown when opened for second time)
2367 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2369 * doc/hildon-sections.txt:
2370 * src/hildon-touch-selector-entry.c
2371 (+hildon_touch_selector_entry_get_entry):
2372 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2374 Fixes: NB#104815 (I need accessor to the entry inside
2375 HildonTouchSelectorEntry)
2377 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2379 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2380 (hildon_app_menu_class_init):
2381 New "filter-vertical-spacing" style property.
2383 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2385 * src/hildon-find-toolbar.c
2386 (hildon_find_toolbar_emit_close)
2387 (hildon_find_toolbar_emit_invalid_input)
2388 (hildon_find_toolbar_entry_activate):
2389 Use g_signal_emit() instead of g_signal_emit_by_name()
2391 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2393 Patch by Mox Soini (ext-mox.soini@nokia.com)
2395 * tests/TEST-CASES.txt
2396 * tests/check-hildon-banner.c
2397 * tests/check-hildon-note.c
2398 * src/hildon-banner.c
2399 * src/hildon-code-dialog.c
2400 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2401 * src/hildon-time-editor.c
2402 * examples/hildon-lookup-example.c (main):
2403 Replace obsolete icon names with new ones.
2405 * src/hildon-find-toolbar-private.h:
2406 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2407 (-hildon_find_toolbar_emit_search):
2408 Remove find button and change icon of close button.
2410 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2412 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2414 * src/hildon-time-button.c (hildon_time_button_new_step):
2415 Use the "touch-selector" property to set the selector directly
2416 when creating the object.
2418 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2420 Added a new example application that allows tuning the pannable
2421 area and replaced defines with properties in order to simplify the
2422 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2423 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2424 PROP_DIRECTION_ERROR_MARGIN.
2426 * examples/hildon-pannable-area-tuning-example.c: New example
2428 * src/hildon-pannable-area.c,
2429 (hildon_pannable_area_class_init),
2430 (hildon_pannable_area_init),
2431 (hildon_pannable_area_get_property),
2432 (hildon_pannable_area_set_property),
2433 (hildon_pannable_area_launch_fade_timeout),
2434 (hildon_pannable_area_adjust_value_changed),
2435 (hildon_pannable_axis_scroll),
2436 (hildon_pannable_area_motion_notify_cb),
2437 (hildon_pannable_area_scroll_cb),
2438 (hildon_pannable_area_button_release_cb): We have converted some
2439 of the defines that control the widget to properties to simplify
2442 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-app-menu.c (hildon_app_menu_map)
2445 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2446 so it's closed if a new window appears.
2448 Fixes: NB#104485 (Not able to address the call when application
2449 menu is opened at background)
2451 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2453 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2454 missing 'break' statement in in 'case' construct to avoid
2457 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2459 * src/hildon-touch-selector-entry.c
2460 (hildon_touch_selector_entry_get_property),
2461 (hildon_touch_selector_entry_set_property): Add missing 'break'
2462 statements in in 'case' constructs to avoid incorrect warnings.
2464 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2466 * src/hildon-time-editor.c
2467 (hildon_time_editor_get_time_separators): Do not crash if
2468 the first label is NULL.
2470 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2472 * src/hildon-date-selector.c (_month_days): Check for month to be
2473 strictly less than 12, since otherwise we may overrun the array.
2475 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2477 * src/hildon-date-button.c (+hildon_date_button_new_full)
2478 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2479 (hildon_date_button_init): Set the date selector using a
2480 construction property, to make it happen after HildonButton's
2481 "value" property is set.
2483 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2484 current date by default)
2486 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2488 * doc/hildon-sections.txt
2489 * src/hildon-program.c
2490 * src/hildon-stackable-window.c
2491 * src/hildon-window.c:
2492 Documentation updates
2494 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2496 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2497 (hildon_window_stack_new, +hildon_window_stack_set_property)
2498 (+hildon_window_stack_get_property)
2499 (hildon_window_stack_class_init)
2500 (+hildon_window_stack_set_window_group)
2501 (+hildon_window_stack_get_window_group):
2502 Make the window group a construction property.
2504 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2506 * doc/hildon-sections.txt
2507 * src/hildon-stackable-window-private.h
2508 * src/hildon-stackable-window.h
2509 * src/hildon-stackable-window.c
2510 (-hildon_stackable_window_set_app_menu)
2511 (-hildon_stackable_window_get_app_menu)
2512 (-hildon_stackable_window_toggle_menu)
2513 (-hildon_stackable_window_finalize)
2514 (hildon_stackable_window_class_init)
2515 (hildon_stackable_window_init)
2516 * src/hildon-window-private.h
2517 * src/hildon-window.h
2518 * src/hildon-window.c (hildon_window_init)
2519 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2520 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2521 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2522 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2523 Moved all HildonAppMenu code to HildonWindow. The menu does not
2524 require a HildonStackableWindow anymore.
2526 * src/hildon-app-menu.c
2527 * src/hildon-program.c
2528 * examples/hildon-app-menu-example.c (main):
2529 Update examples and documentation to reflect HildonAppMenu
2532 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2534 * src/hildon-remote-texture.c
2535 * src/hildon-animation-actor.c:
2536 Don't include unused private headers.
2538 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2540 * src/hildon-program-private.h
2541 * src/hildon-program.c
2542 (hildon_program_set_common_menu)
2543 (hildon_program_get_common_menu)
2544 (hildon_program_set_common_app_menu)
2545 (hildon_program_get_common_app_menu):
2546 Change common menu pointers from GtkWidget* to GtkMenu* and
2547 HildonAppMenu* to avoid unnecessary casts.
2549 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2551 * src/hildon-window.c (hildon_window_set_main_menu):
2552 Removed incorrect 'Since:' tag
2554 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2556 * src/hildon-pannable-area.c,
2557 (hildon_pannable_area_calculate_velocity): We use now the
2558 RATIO_TOLERANCE here to check the distance, fixed typo in the
2560 (hildon_pannable_area_motion_notify_cb): We have to set the type
2561 and time even if we are not sending the motion.
2563 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2565 * doc/hildon-sections.txt
2566 * src/hildon-app-menu.h
2567 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2568 (+hildon_app_menu_get_filters): New methods to get the contents of
2571 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2574 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-app-menu.c (hildon_app_menu_popup):
2579 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2581 * src/hildon-window.h
2582 * src/hildon-window.c (+hildon_window_get_main_menu)
2583 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2584 and deprecated hildon_window_get_menu().
2586 * src/hildon-stackable-window.h
2587 * src/hildon-stackable-window.c
2588 (+hildon_stackable_window_set_app_menu)
2589 (+hildon_stackable_window_get_app_menu)
2590 (hildon_stackable_window_set_main_menu): Created
2591 hildon_stackable_window_{get,set}_app_menu() and deprecated
2592 hildon_stackable_window_set_main_menu().
2594 * doc/hildon-sections.txt
2595 * examples/hildon-app-menu-example.c (main)
2596 * src/hildon-app-menu.c
2597 * src/hildon-program.c:
2598 Updated examples and documentation.
2600 Fixes: NB#103758 (No way to obtain a menu from a
2601 HildonStackableWindow)
2603 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2608 * configure.ac: Bump version.
2609 * debian/changelog: Updates.
2611 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2613 * examples/hildon-remote-texture-example.c: Include
2614 hildon-remote-texture.h explicitely.
2615 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2616 applications not defining _XOPEN_SOURCE which don't require this header.
2618 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2620 * doc/hildon-sections.txt
2621 * src/hildon-app-menu.h
2622 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2623 New function to pop up a HildonAppMenu
2625 * src/hildon-stackable-window.c
2626 (hildon_stackable_window_toggle_menu):
2627 Use hildon_app_menu_popup() to show the menu.
2629 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2631 * src/hildon-app-menu.c (hildon_app_menu_show)
2632 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2633 menu if there's another window between it and its parent window.
2635 Fixes: NB#100468 (Application menu window is launched even when a
2636 new secondary-window/dialog is pending to be shown/realized)
2638 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2640 * src/hildon-window-stack.c (hildon_window_stack_push)
2641 (hildon_window_stack_pop_and_push):
2642 Don't forget to push/pop the first window.
2643 Reverse the window list before calling _push_list()
2645 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2647 * src/hildon-picker-button.h
2648 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2649 Remove "value_changed" slot to avoid ABI breakage
2651 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2653 * src/hildon-pannable-area.c,
2654 (hildon_pannable_area_realize),
2655 (hildon_pannable_area_unrealize),
2656 (hildon_pannable_draw_vscroll),
2657 (hildon_pannable_draw_hscroll): Changed the method to handle the
2658 GC used to draw the transparent scrollbar, this way we avoid
2659 creating the GC all the time when drawing the scrollbars.
2661 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2663 * src/hildon-pannable-area.c,
2664 (hildon_pannable_area_init),
2665 (hildon_pannable_area_remove): Removed some unnecessary casts.
2666 (hildon_pannable_area_dispose): Disconnected some signals before
2667 releasing the adjustments.
2669 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2671 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2672 Make sure that all widgets contained in the toolbar are shown.
2674 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2676 * doc/hildon-sections.txt
2677 * src/hildon-picker-button.h
2678 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2679 (_selection_changed, hildon_picker_button_on_dialog_response)
2680 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2681 New hildon_picker_button_value_changed() method.
2684 * src/hildon-picker-button-private.h
2685 * src/hildon-picker-button.c (hildon_picker_button_init)
2686 (+hildon_picker_button_disable_value_changed): Add protected
2687 function for disabling the "value-changed" signal.
2689 * src/hildon-date-button.c (hildon_date_button_set_date):
2690 Don't emit "value-changed" for each one of the three columns.
2692 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2693 before actual change of values)
2695 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2697 * src/hildon-pannable-area.c,
2698 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2699 for the treeview overshooting.
2701 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2703 * src/hildon-banner.c (+hildon_banner_bind_style):
2704 Renamed from hildon_banner_bind_label_style(), now naming the
2705 banner itself as well.
2706 (hildon_banner_show_information),
2707 (hildon_banner_show_information_with_markup),
2708 (hildon_banner_show_animation), (hildon_banner_show_progress):
2709 Name the widgets and labels, based on their type.
2711 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2714 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2716 * src/hildon-note.c (hildon_note_set_property): call
2717 hildon_note_rename() on HildonNote:note-type set.
2718 (hildon_note_rename): Name the note and its label, based on the
2719 HildonNote:note-type property.
2721 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2724 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2726 * src/hildon-pannable-area.c,
2727 (hildon_pannable_area_class_init),
2728 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2729 panning parameters, increased SPS and deceleration factor. Added
2730 also a margin to control fake directions.
2732 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2734 Patch by Sven Herzberg (sven@imendio.com)
2736 * configure.ac: Add missing AM_PROG_CC_C_0
2737 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2739 See NB#101420 (Update unit tests and fix make check)
2741 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2743 This patch was applied before but reverted because it caused
2744 problems, we have changed the main condition and tested the
2745 regressions we detected before and they work ok. We have done a
2746 complete review of the topmost algorithm in order to get a more
2749 * src/hildon-pannable-area.c,
2750 (hildon_pannable_area_get_topmost): Added a new parameter to
2751 filter the the windows that do not include those events.
2752 (hildon_pannable_area_button_press_cb),
2753 (hildon_pannable_area_button_release_cb),
2754 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2755 topmost function, we have added the new parameter.
2757 Fixes: NB#97458 (Pannable area prevents propagation of button
2760 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2762 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2763 if all columns in the selector have an item selected.
2764 (_on_dialog_response): Stop "response" signal emission if there is
2765 any selector column without selected items.
2767 Fixes: NB#101889 (Picker dialog should not close when nothing is
2768 selected in multiple selection list)
2770 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2772 * src/hildon-font-selection-dialog.c
2773 (hildon_font_selection_dialog_class_init),
2774 (hildon_font_selection_dialog_init): Remove the preview
2775 button and dialog, since previewing with default theming is likely
2776 to be overcomplicated. The :preview property has now no effect.
2777 Update documentation blurbs to inform about this.
2779 Fixes: NB#92297 (Preview content is not clearly visible for
2780 default colour text)
2782 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2784 Reviewed the geometry that handles the children size and
2785 scrollbar, now it tries a size and reviews the results depending
2786 on the scrollbars visibility.
2788 * src/hildon-pannable-area.c,
2789 (hildon_pannable_area_realize): Fixed a typo.
2790 (hildon_pannable_area_child_allocate_calculate): Added this
2791 function to calculate the child allocation.
2792 (hildon_pannable_area_size_allocate): Reviewed the allocation
2794 (hildon_pannable_area_check_scrollbars),
2795 (hildon_pannable_area_refresh): Refactored refresh function, this
2796 way we can call the code handling the scrollbars without causing a
2797 size_request, it is interesting in the allocate.
2798 (hildon_pannable_area_init): Replace the callbacks of the
2799 value_changed and changed signals to propertly deal with the
2801 (hildon_pannable_area_grab_notify),
2802 (hildon_pannable_area_initial_effect),
2803 (hildon_pannable_area_launch_fade_timeout),
2804 (hildon_pannable_area_adjust_changed),
2805 (hildon_pannable_area_adjust_value_changed),
2806 (hildon_pannable_area_redraw),
2807 (hildon_pannable_area_button_press_cb),
2808 (hildon_pannable_area_button_release_cb),
2809 (hildon_pannable_area_scroll_cb),
2810 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2811 code and use the new functions adjust_changed and
2812 adjust_value_changed.
2814 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2815 Contact editor dialog)
2817 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2822 * configure.ac: Bump version.
2823 * debian/changelog: Updates.
2825 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2827 * src/hildon-pannable-area.c,
2828 (hildon_pannable_area_get_topmost),
2829 (hildon_pannable_area_button_press_cb),
2830 (hildon_pannable_area_button_release_cb),
2831 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2832 topmost function adding the event mask. We have to try a
2833 differente approach because it is still causing problems (NB#9745,
2836 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2838 * src/hildon-banner.c:
2839 Update the maximum width of timed banners.
2840 (force_to_wrap_truncated): Enforce the maximum text width if the
2843 Fixes: NB#102413 (The text margins (wrapping) in information
2844 banner should be HILDON_MARGIN_TRIPLE)
2846 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2848 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2850 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2851 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2852 bound when calculating the scroll indicator position.
2854 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2855 treat ->lower correctly)
2857 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2859 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2860 expose event handling, since it is not necessary to draw the focus
2863 Fixes: NB#102467 (Do not show highlight on the text in
2866 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2868 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2869 full height of the toolbar for the button and the label.
2871 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2874 padding before the label and after the button.
2876 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2880 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2881 Add a GtkVSeparator between the button and the back arrow.
2882 Let the button have automatic size.
2883 Set a name to the widget for theming handling.
2885 Fixes: NB#101793 (Make edit toolbar the same height as window
2886 title bar (use title area theming))
2888 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2890 * src/hildon-helper.c (attach_new_color_element): Fix memory
2893 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2895 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2897 * examples/hildon-button-example.c (common_buttons_window): Don't
2900 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2902 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2903 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2905 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2907 * src/hildon-gtk.c: Check that the window is realized.
2909 Fixes: NB#102225 (Crash setting the progress indicator to a non
2912 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2914 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2915 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2916 instead of modifying the one in the widget style.
2918 Fixes: NB#101043 (Second row of all the command button are
2919 displayed in transparent mode.)
2921 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-date-button.c
2924 * src/hildon-time-button.c: Add gettext macros
2926 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-date-button.c (hildon_date_button_new):
2929 * src/hildon-time-button.c (hildon_time_button_new_step):
2930 Use new logical strings to set the button default title.
2932 Fixes: NB#99915 (Date and Time options are not localised in Date
2935 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2937 * src/hildon-pannable-area.c
2938 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2939 the PANNING_THRESHOLD.
2941 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2943 * src/hildon-pannable-area.c,
2944 (hildon_pannable_area_class_init): Increased the maximum speed.
2945 (hildon_pannable_area_get_property),
2946 (hildon_pannable_area_set_property),
2947 (hildon_pannable_area_timeout): Added a new low friction mode, it
2948 allows the user avoid friction when launching the widget fast
2949 enough. It is interesting to traverse long lists.
2951 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2953 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2954 (+hildon_stackable_window_delete_event): Ignore delete events if
2955 the window is not the topmost one.
2957 Fixes: NB#101698 (Back button long press and delete-event handling)
2959 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2961 * src/hildon-pannable-area.c,
2962 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2963 gtk-dnd-drag-threshold, it was too big. We have defined our own
2964 dnd define and set a smaller value: PANNIG_THRESHOLD.
2966 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2968 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2969 user-defined icons, use always the default one.
2971 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2973 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2975 This patch was applied before but reverted because it caused
2976 problems, we have changed the main condition and tested the
2977 regressions we detected before and they work ok.
2979 * src/hildon-pannable-area.c,
2980 (hildon_pannable_area_get_topmost): Added a new parameter to
2981 filter the the windows that do not include those events. Added
2982 also a condition when finding the window to filter windows that do
2983 not ask for those events.
2984 (hildon_pannable_area_button_press_cb),
2985 (hildon_pannable_area_button_release_cb),
2986 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2987 topmost function, we have added the new parameter.
2989 Fixes: NB#97458 (Pannable area prevents propagation of button
2992 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2994 * tests/check-hildon-color-button.c (START_TEST): do not leak
2997 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2999 * src/hildon-font-selection-dialog.c
3000 (hildon_font_selection_dialog_get_preview_text): Return NULL
3001 instead of FALSE on the g_return_val_if_fail().
3003 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3005 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3006 * src/hildon-date-selector.c
3007 (hildon_date_selector_select_current_date):
3008 Do not compare unsigned integers to be greater than or equal 0,
3009 because it's always TRUE.
3011 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3013 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3014 (hildon_date_selector_constructor): Do not select the current
3015 date until we are handle the "changed" signal, to avoid having bogus
3016 elements in the days model.
3018 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3020 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3021 for num_days, since _month_days() can return a negative value.
3023 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3025 * src/hildon-caption.c (hildon_caption_size_allocate):
3026 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3027 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3029 Initialize allocation variables to 0, to avoid eventually using
3030 unitialized variables.
3032 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3034 * src/hildon-bread-crumb-trail.c
3035 (hildon_bread_crumb_trail_size_allocate):
3036 * src/hildon-calendar.c (hildon_calendar_set_background):
3037 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3038 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3039 * src/hildon-seekbar.c (hildon_seekbar_init):
3040 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3041 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3042 * src/hildon-touch-selector-entry.c
3043 (hildon_touch_selector_get_text_from_model):
3044 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3045 * src/hildon-window.c (hildon_window_finalize):
3047 Remove many unused variables.
3049 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3051 * src/hildon-seekbar.c: (hildon_seekbar_init),
3052 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3054 Remove unnecessary g_assert() calls.
3056 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3058 * src/hildon-caption.c: (hildon_caption_expose),
3059 (hildon_caption_set_property), (hildon_caption_init),
3060 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3061 (hildon_caption_size_request), (hildon_caption_size_allocate),
3062 (hildon_caption_forall), (hildon_caption_set_separator),
3063 (hildon_caption_activate), (hildon_caption_set_child_expand),
3064 (hildon_caption_set_label_text),
3065 (hildon_caption_get_label_alignment):
3067 Remove unnecessary g_assert() calls.
3069 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3071 * src/hildon-banner.c
3072 (hildon_banner_map, hildon_banner_init): Make banner temporary
3073 before mapping it to avoid closing other temporary windows, but
3074 make it non-temporary afterwards to avoid being closed by other
3075 non-temporary windows.
3076 (-hildon_banner_client_event, hildon_banner_init):
3077 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3079 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3082 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3087 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3089 * src/hildon-remote-texture.c
3090 * src/hildon-remote-texture.h
3091 * src/hildon-remote-texture-private.h
3092 * examples/hildon-remote-texture-example.c:
3093 Updates/fixes to remote-texture and its example.
3095 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3097 Patch by Mox Soini (ext-mox.soini@nokia.com)
3099 * src/hildon-code-dialog.c: Update logical id.
3100 * src/hildon-set-password-dialog.c: Update logical id.
3102 Fixes: NB#100646 (Logical strings is shown for ok in set
3103 password,Password needed dialogs)
3105 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3108 * src/hildon-remote-texture.c
3109 * src/hildon-remote-texture.h
3110 * src/hildon-remote-texture-private.h
3112 Added remote texture widget (for Clutter shared memory textures)
3114 * examples/hildon-remote-texture-example.c
3115 * examples/Makefile.am
3116 Added example file for remote texture usage
3118 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3120 * configure.ac: post release version bump.
3121 * debian/changelog: version bump.
3123 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3128 * configure.ac: Bump version.
3129 * debian/changelog: Updates.
3131 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3133 * src/hildon-date-selector.c (hildon_date_selector_init)
3134 (hildon_date_selector_constructor): Don't connect to the "changed"
3135 signal until the selector is completely constructed.
3137 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3139 * src/hildon-touch-selector.c: (_create_new_column),
3140 (hildon_touch_selector_append_column),
3141 (hildon_touch_selector_set_column_selection_mode),
3142 (hildon_touch_selector_set_active),
3143 (hildon_touch_selector_select_iter):
3144 Emit the HildonTouchSelector::changed signal every time selection
3145 is changed in any of the methods above. This behavior was already
3146 documented but not fully functional.
3148 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3149 selection is programmatically changed)
3151 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3153 * doc/hildon-sections.txt: Remove obsolete icon
3154 sizes from here as well.
3156 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3158 * examples/hildon-stackable-window-example.c (add_window): Remove
3161 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3163 * src/hildon-app-menu.c
3164 (hildon_app_menu_show): Check whether the parent window of a menu
3165 is topmost before popping it up.
3167 Fixes: NB#100468 (Application menu window is launched even when a
3168 new secondary-window/dialog is pending to be shown/realized.)
3170 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3172 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3175 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3177 Patch by Mox Soini (ext-mox.soini@nokia.com)
3179 * src/hildon-banner.c: (hildon_banner_show_animation):
3180 use stylus size instead of obsolete note size.
3181 * src/hildon-defines.h: Update icon sizes.
3183 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3185 * src/hildon-touch-selector-entry.c:
3186 (hildon_touch_selector_entry_init): Disable unsupported
3188 (hildon_touch_selector_entry_get_text_column): Emit a warning
3189 if an unsupported input modes is used and explicitile state
3190 these modes in the documentation.
3192 Fixes: NB#99802 (Hildon touch selector entry not working properly
3193 for some of the input modes)
3195 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3197 * src/hildon-pannable-area.c,
3198 (hildon_pannable_area_init): Added the changed signal handlers of
3201 Fixes: NB#100320 (HildonPannableArea does not listen to
3202 GtkAdjustment "change" signals)
3204 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3206 * doc/hildon-sections.txt
3207 * src/hildon-window-private.h
3208 * src/hildon-window.h
3209 * src/hildon-window.c (hildon_window_init)
3210 (hildon_window_realize, hildon_window_unrealize)
3211 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3212 (hildon_window_size_request, hildon_window_size_allocate)
3213 (hildon_window_forall, hildon_window_show_all)
3214 (hildon_window_destroy, +paint_edit_toolbar)
3215 (+hildon_window_set_edit_toolbar):
3216 New hildon_window_set_edit_toolbar() method, to add a
3217 HildonEditToolbar to a window without having to pack it manually.
3219 Reorganize hildon_window_size_allocate()
3221 * src/hildon-edit-toolbar.c: Update documentation.
3223 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3224 example to use the new API.
3226 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3228 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3231 Remove from stack before calling parent's hide.
3233 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3235 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3236 window is removed from the middle of the stack, update the
3237 transiency of the previous one.
3239 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3242 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3244 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3245 block/unblock the signal handler if it's not actually being used.
3246 Fixes some critical warnings.
3248 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3250 Based on a patch by Iván Gómez (igomez@igalia.com)
3252 * src/hildon-banner.c
3256 * src/hildon-pannable-area.c
3257 * src/hildon-picker-dialog.c
3258 * src/hildon-wizard-dialog.h
3259 * src/hildon-wizard-dialog.c: Documentation updates.
3261 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3262 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3264 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3266 * configure.ac: post release version bump.
3267 * debian/changelog: version bump.
3269 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3274 * configure.ac: Bump version.
3275 * debian/changelog: Updates.
3277 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3279 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3280 a stock icon nor change the relief of the back arrow.
3282 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3283 graphics from theme)
3285 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3287 * src/hildon-button.c (hildon_button_set_alignment): Use
3288 priv->alignment if the button has no child yet.
3290 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3292 * src/hildon-button.c: (hildon_button_init): Set the
3293 button style during initialization to give it the proper
3296 Fixes: NB#99713 (HildonButton value label color is wrong)
3298 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-touch-selector.c: Document
3301 hildon_touch_selector_center_on_selected()
3303 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3305 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3306 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3307 all menu items, but not the menu itself.
3308 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3309 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3310 items after adding them to the menu so keyboard accelerators work.
3311 (hildon_app_menu_show): Don't show the menu if it contains items
3312 but none of them are visible.
3314 * examples/hildon-app-menu-example.c (create_menu): Use
3315 gtk_widget_show_all() to show all menu items.
3317 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3319 * src/hildon-picker-dialog.c:
3320 (-_update_title_on_selector_changed_cb),
3321 (-_dialog_update_title): Removed.
3322 (_select_on_selector_changed_cb), (_on_dialog_response),
3323 (on_selector_columns_changed): Do not update the dialog title.
3324 (setup_interaction_mode): Do not connect to
3325 HildonTouchSelector::changed signal if there's a "done" button, as
3326 the dialog title doesn't need to be updated.
3328 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3331 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3333 Patch by Kristian Rietveld (kris@imendio.com)
3335 * src/hildon-touch-selector.c: (_create_new_column): Use new
3336 GtkTreeView::hildon-row-tapped signal to react to user interactions
3337 instead of ::changed.
3339 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3340 with some dynamic tree model)
3342 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3344 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3345 (+screen_size_changed, +label_size_request)
3346 (hildon_note_class_init): Make the Hildon information note have a
3347 minimum height, and make its text hvae a maximum width.
3349 Fixes: NB#98614 (Hildon information note (background) should have
3350 minimum height and maximum text width)
3352 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3354 * src/hildon-banner.h
3355 * src/hildon-banner.c (hildon_banner_show_information)
3356 (hildon_banner_show_informationf)
3357 (hildon_banner_show_information_with_markup): Update documentation
3358 to reflect that the icon_name parameter is not used anymore.
3359 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3360 Remove all code from these functions and mark them as deprecated.
3361 (hildon_banner_show_progress): Mark as deprecated.
3363 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3365 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3367 * src/hildon-pannable-area.c,
3368 (hildon_pannable_area_class_init),
3369 (tranparency_color),
3370 (hildon_pannable_draw_vscroll),
3371 (hildon_pannable_draw_hscroll),
3372 (hildon_pannable_area_expose_event): Added a new way to render the
3373 scrollbars of the pannable area avoiding using cairo at all. This
3374 way we improve the performance of the pannable area rendering. The
3375 cairo rendering procedure is still in the code, we can control
3376 which one to use changing the value of the define
3377 USE_CAIRO_SCROLLBARS.
3379 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3381 * configure.ac: post release version bump.
3382 * debian/changelog: version bump.
3384 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3389 * configure.ac: Bump version.
3390 * debian/changelog: Updates.
3392 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3394 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3395 banners instead of destroying them when they receive a button
3398 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3400 Reverted commit 34028, it was causing regressions, probably the
3401 topmost condition is not correct, we have to check it in more
3402 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3403 propagation of button press events)
3405 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3407 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3408 that the selection is not empty before attempting to retrieve the
3409 current ampm selection.
3411 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3413 * src/hildon-picker-button.c:
3414 (hildon_picker_button_on_dialog_response): Directly update the
3415 button contents when required instead of calling _selection_changed.
3417 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3419 * src/hildon-program.c (hildon_program_update_top_most): Update
3420 'is-topmost' property also when wm_hints is not set.
3422 Fixes: NB#98383 (is-topmost signal is not emitted when task
3423 switcher is clicked.)
3425 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3427 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3431 * src/hildon-animation-actor.c,
3432 * src/hildon-animation-actor.h: Added the animation actor class,
3433 this widget represents an animation actor for WM-assisted
3434 animation effects in the Hildon framework.
3436 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3438 * src/hildon-window-stack-private.h
3439 * src/hildon-window-stack.c
3440 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3441 Avoid calling gtk_widget_show() again indirectly from
3442 hildon_stackable_window_show()
3444 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3446 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3449 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3451 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3452 (hildon_time_selector_init): Move the construction of the hours and
3453 ampm columns to the constructor to preserve the order the columns
3456 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3458 * src/hildon-picker-dialog.c:
3459 (hildon_picker_dialog_class_init): Connect a realize method.
3460 (+hildon_picker_dialog_realize): Setup the interaction mode here
3462 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3463 yet, do it during the realize instead.
3464 (_on_dialog_response):
3465 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3466 if the widget is not realized, to avoid the dialog response before it
3469 Avoid premature responses in the HildonPickerDialog that can cause it
3470 to be hidden before it's even shown.
3472 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3474 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3475 (on_selector_columns_changed), (requires_done_button),
3476 (+prepare_action_area), (setup_interaction_mode),
3477 (_hildon_picker_dialog_set_selector):
3479 Split the interaction mode setup into preparation of the
3480 action area (prepare_action_area()) and the connection of
3481 the signals in setup_interaction_mode() and update the code to
3484 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3486 * src/hildon-pannable-area.c,
3487 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3488 per second to 15, we will check if this is ok regarding
3491 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3493 * src/hildon-pannable-area.c,
3494 (hildon_pannable_axis_scroll): Avoid resize if we already have
3495 reached overshoot_max.
3497 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3499 * src/hildon-pannable-area.c,
3500 (hildon_pannable_area_init),
3501 (hildon_pannable_area_realize),
3502 (hildon_pannable_area_size_allocate),
3503 (hildon_pannable_area_map),
3504 (hildon_pannable_area_unmap),
3505 (hildon_pannable_draw_vscroll),
3506 (hildon_pannable_draw_hscroll),
3507 (hildon_pannable_area_expose_event),
3508 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3509 pannable are to avoid the expose events go to the window and
3510 redraw the window. We save this way that part of the stack and the
3511 paint_boxes. We had to change the positions of the elements when
3514 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3516 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3517 * src/hildon-color-chooser-dialog.c:
3518 (hildon_color_chooser_dialog_init):
3519 * src/hildon-font-selection-dialog.c:
3520 (hildon_font_selection_dialog_init),
3521 (hildon_font_selection_dialog_show_preview):
3522 * src/hildon-get-password-dialog.c:
3523 * src/hildon-login-dialog.c:
3524 * src/hildon-set-password-dialog.c:
3525 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3526 * src/hildon-time-picker.c: (hildon_time_picker_init):
3528 Remove obsolete logical string IDs and update to the appropriate ones.
3530 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3532 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3534 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3535 that happens if the window hasn't been realized yet.
3537 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3538 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3540 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3542 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3543 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3546 Fixes: NB#98537 (Device hangs in account settings dialog)
3548 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3550 * configure.ac: post release version bump.
3551 * debian/changelog: version bump
3553 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3558 * configure.ac: Bump version.
3559 * debian/changelog: Updates.
3561 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3563 Added a new function to the HildonTimeButton widget that allows to
3564 change the step of the minutes in the selector associated with the
3565 button: hildon_time_button_new_step
3567 * src/hildon-time-button.c,
3568 (hildon_time_button_init),
3569 (hildon_time_button_new),
3570 (hildon_time_button_new_step):
3571 * src/hildon-time-button.h: Added the new function and refactored
3573 * examples/hildon-time-button-example.c,
3574 (main): We have replaced the function without parameters with the
3575 function with the steps set to 5
3577 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3579 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3581 * src/hildon-time-selector.c,
3582 (hildon_time_selector_class_init),
3583 (hildon_time_selector_constructor),
3584 (hildon_time_selector_get_property),
3585 (hildon_time_selector_set_property),
3586 (_create_minutes_model),
3587 (hildon_time_selector_new_step),
3588 (hildon_time_selector_set_time),
3589 * src/hildon-time-selector.h: Added a new property to the
3590 HildonTimeSelector (minutes-step), we use that property to control
3591 the steps between the minutes in the list of the selector. We have
3592 added a new function to the API to create a widget changing the
3593 step: hildon_time_selector_new_step.
3595 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3597 * src/hildon-time-selector.c,
3598 (hildon_time_selector_class_init),
3599 (hildon_time_selector_constructor),
3600 (hildon_time_selector_init): Overrided the construct function when
3601 creating the time selector object. We have moved the minutes model
3602 handling code from the init to the new construction function:
3603 hildon_time_selector_constructor.
3605 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3607 * examples/hildon-date-button-example.c: (main): Use the new
3608 hildon_date_button_new_with_year_range() method in the example.
3609 * src/hildon-date-button.c:
3610 (+hildon_date_button_new_with_year_range): New public method
3611 to conveniently create a HildonDateButton with a custom year range
3612 in its HildonDateSelector.
3613 * src/hildon-date-button.h: Add the new public method definition.
3615 Fixes: NB#97908 (Not possible to change the year range in
3616 HildonDateSelector/HildonDateButton)
3618 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3620 * src/hildon-date-selector.c:
3621 (+hildon_date_selector_set_property),
3622 (+hildon_date_selector_get_property),
3623 (hildon_date_selector_class_init): Install new properties "min-year"
3624 and "max-year" to define boundaries for the year column.
3625 (_create_year_model): Use the boundary properties to populate the model.
3626 (+hildon_date_selector_new_with_year_range): New public method to
3627 create a HildonDateSelector with a user defined year range.
3628 (hildon_date_selector_select_current_date): Use the new boundaries to
3629 calculate the iterator of current year.
3630 * src/hildon-date-selector.h: Add the new public method definition.
3632 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3634 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3635 Install a constructor method.
3636 (+hildon_date_selector_construct_ui): construct the widget.
3637 (+hildon_date_selector_constructor): new constructor.
3638 (+hildon_date_selector_init): move out widget construction code to
3639 the new constructor.
3641 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3643 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3644 that there's actually a month or year selected before obtaining them.
3645 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3646 of the HildonTouchSelector::changed signal, as it was emitted on every
3647 single item selection.
3649 Fix some warnings and possible crashers due to the selection restoring.
3651 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3653 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3654 the signal handlers only after creating the dialog instead of on every
3657 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3659 * src/hildon-button.c (hildon_button_init)
3660 * src/hildon-check-button.c (hildon_check_button_init)
3661 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3662 focus when clicked by default.
3664 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3666 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3669 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3671 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3672 Alejandro G. Castro (alex@igalia.com)
3674 * src/hildon-picker-dialog.c:
3675 (hildon_picker_dialog_class_init): install new "center-on-show"
3677 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3678 (hildon_picker_dialog_set_property): add setter code for the new
3680 (hildon_picker_dialog_get_property): add getter code for the new
3682 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3683 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3686 Fixes: NB#92849 (Selected item is not always visible when
3687 HildonTouchSelector is shown)
3689 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3691 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3692 Alejandro G. Castro (alex@igalia.com)
3694 * src/hildon-touch-selector.c:
3695 (_create_new_column): Do not connect to the "realize" signal of the
3697 (hildon_touch_selector_append_column): center on the selected items
3698 when a new column is appended.
3699 (hildon_touch_selector_select_iter): Factor out the code to select a
3700 column to hildon_touch_selector_scroll_to().
3701 (+search_nearest_element): Method to retrieve the nearest selected
3702 element to the visible area of the pannable area in a column.
3703 (+on_realize_cb): scroll to the initially selected item.
3704 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3705 the pannable area is realized, otherwise delay this until it is.
3706 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3707 selected items of a given column.
3708 (+hildon_touch_selector_center_on_selected): Public method to center
3709 all columns on the nearest selected item.
3710 * src/hildon-touch-selector.h: Add definition for
3711 hildon_touch_selector_center_on_selected().
3713 Implement public API to ensure visibility of all selected items in
3714 a HildonTouchSelector.
3716 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3718 Fixed a problem in the fading when calling the scroll_to API, and
3719 improve scrollbar fading handling.
3721 * src/hildon-pannable-area.c,
3722 (hildon_pannable_area_grab_notify): avoid the timeout when the
3724 (hildon_pannable_area_button_press_cb),
3725 (hildon_pannable_area_motion_notify_cb): Code style changes.
3726 (hildon_pannable_area_button_release_cb): Review the conditions
3727 when releasing the mouse button to avoid unrequired fading
3729 (hildon_pannable_area_scroll_to): Do not calculate and set the
3730 velocity if the scroll is not required.
3732 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3734 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3735 Don't check whether the new selector is NULL: it cannot be.
3736 Hold a reference to the selector while doing the replacement.
3738 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3740 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3741 unnecessary size_request in a removed widget.
3743 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3745 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3746 an unnecessary reference tracking that was leaking.
3748 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3750 Added delayed motion notify event handling, this way we can
3751 discard redrawing if more than 25 events arrive per second.
3753 * src/hildon-pannable-area.c,
3754 (hildon_pannable_area_init): Initialized the new private atributes
3755 controlling this timeout
3756 (hildon_pannable_area_dispose): Remove the timeout that controls
3757 the motion notify events.
3758 (hildon_pannable_area_scroll): Added a condition to control the
3759 use of the acceleration.
3760 (hildon_pannable_area_motion_event_scroll_timeout),
3761 (hildon_pannable_area_motion_event_scroll): Added this two
3762 functions, they handle the motion notify events inside the
3764 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3765 to the scroll method with the new function.
3766 (hildon_pannable_area_button_release_cb): We have to remove the
3767 timeout handler and move to the last position if the last motion
3768 events were not handled.
3770 Fixes: NB#97028 (Pannable area updates on every motion event)
3772 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3774 * src/hildon-pannable-area.c,
3775 (hildon_pannable_area_get_topmost): Added a new parameter to
3776 filter the the windows that do not include those events. Added
3777 also a condition when finding the window to filter windows that do
3778 not ask for those events.
3779 (hildon_pannable_area_button_press_cb),
3780 (hildon_pannable_area_button_release_cb),
3781 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3782 topmost function, we have added the new parameter.
3784 Fixes: NB#97458 (Pannable area prevents propagation of button
3787 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3789 * src/hildon-pannable-area.c,
3790 (hildon_pannable_area_initial_effect): Added controls before
3791 launching the timeout and the idle functions.
3792 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3793 of the method, in some situations it can return with TRUE and 0 in
3795 (hildon_pannable_area_button_press_cb): We do not need to set
3796 DELAY for fading out here.
3798 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3800 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3802 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3803 post-cleaning if the selection is not NULL.
3805 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3807 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3808 all items before restoring the selection.
3810 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3812 * src/hildon-touch-selector.c:
3813 (+hildon_touch_selector_unselect_all):
3814 * src/hildon-touch-selector.h: New API to unselect all items in a
3815 column of the touch selector.
3817 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3819 * src/hildon-pannable-area.c,
3820 (hildon_pannable_area_redraw): Added a call to the refresh
3821 function inside the redraw because apparently in some cases the
3822 change in the adjustment does not imply a size allocate.
3824 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3825 despite the view not being scrollable)
3827 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3829 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3830 leak. Check for NULL before attempting to set the window title.
3832 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3834 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3835 whether to show or not the 'Done' button each time the dialog is
3836 shown, as it depends on the HildonTouchSelector selection mode.
3838 Fixes: NB#96226 (In multiple selection mode Done button is shown
3839 sometimes in listpicker)
3841 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3843 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3844 for the number of columns in the HildonTouchSelector more than once.
3846 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3848 * src/hildon-touch-selector.c: Minor documentation fixes.
3850 * src/hildon-picker-dialog.c (+_dialog_update_title)
3851 (_select_on_selector_changed_cb)
3852 (_update_title_on_selector_changed_cb)
3853 (on_selector_columns_changed): Update dialog title when there's no
3854 'Done' button and also when the number of columns in the selector
3858 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3859 (+_selection_changed, hildon_picker_button_on_dialog_response)
3860 (hildon_picker_button_selector_selection_changed)
3861 (+hildon_picker_button_selector_columns_changed)
3862 (hildon_picker_button_set_selector): Update button value and emit
3863 'value-changed' when the number of columns in the selector
3867 Fixes: NB#96225 (Dialog titles are not shown according to the
3868 values selected in the list picker)
3870 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3872 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3873 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3874 New "arrow-width" and "arrow-height" style properties to set the
3875 size of the arrow button.
3876 Set name of arrow button ("hildon-edit-toolbar-arrow").
3878 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3879 graphics from theme)
3881 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3883 * src/hildon-picker-button.c:
3884 (hildon_picker_button_selector_selection_changed): Use
3885 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3886 the dialog is present.
3888 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3889 the selection is accepted in the dialog)
3891 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3893 * src/hildon-color-chooser.h
3894 * src/hildon-color-chooser-dialog.h:
3895 Added G_BEGIN_DECLS and G_END_DECLS
3897 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3899 (_clean_current_selection): plug a leak in the list.
3901 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3903 * src/hildon-picker-dialog.c:
3904 (+free_path_list): Method to free a GList of GtkTreePaths.
3905 (_clean_current_selection), (_save_current_selection),
3906 (_restore_current_selection): Save the current selection in
3907 as a list of lists, to support multiple selection properly.
3909 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3911 patch by Claudio Saavedra (csaavedra@igalia.com)
3913 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3914 Store the press position.
3915 (+hildon_text_view_button_release_event): If the release position is
3916 close enough to the press position, move the cursor here. Otherwise,
3918 (hildon_text_view_class_init): Override GtkTextView press, release, and
3919 motion event handlers, disabling this way text selection through
3920 pointer interaction, and allowing the container widget to handle the
3923 Fixes: NB#95828 (HildonTextView functionality)
3925 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3927 Based on a patch by Iván Gómez (igomez@igalia.com)
3929 * src/hildon-button.[ch]
3930 * src/hildon-calendar.c
3931 * src/hildon-check-button.c
3932 * src/hildon-date-editor.c
3933 * src/hildon-date-selector.c
3934 * src/hildon-picker-button.c
3935 * src/hildon-time-editor.c
3936 * src/hildon-time-selector.c
3937 * src/hildon-touch-selector.[ch]:
3938 Documentation updates
3940 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3942 * src/hildon-pannable-area.c,
3943 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3944 threshold, it was required due to X events handling.
3946 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3948 * src/hildon-pannable-area.c,
3949 (hildon_pannable_area_grab_notify),
3950 (hildon_pannable_area_initial_effect),
3951 (hildon_pannable_area_button_press_cb),
3952 (hildon_pannable_area_button_release_cb),
3953 (hildon_pannable_area_scroll_cb),
3954 (hildon_pannable_area_scroll_to): Review the timeout management of
3955 the scrollbar, the frecuency was incorrectly set.
3957 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3959 * src/hildon-picker-button.c:
3960 (+hildon_picker_button_on_dialog_response),
3961 (hildon_picker_button_clicked): Present the dialog instead of
3962 running it with gtk_dialog_run().
3964 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3967 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3969 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3970 (hildon_app_menu_finalize): When a window is hidden it doesn't
3971 emit notify::is-topmost, so make sure than the menu also
3972 disappears in that case.
3973 (parent_window_topmost_notify): Renamed from parent_window_hidden
3975 Fixes: NB#94460 (stackable window's menu is not closed when its
3978 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3980 * src/hildon-touch-selector-entry.c:
3981 (+hildon_touch_selector_entry_set_input_mode),
3982 (+hildon_touch_selector_entry_get_input_mode):
3983 * src/hildon-touch-selector-entry.h: New methods to access the input
3984 mode in the selector's entry.
3986 Fixes: NB#93410 (API required for setting IM mode in
3987 HildonTouchSelectorEntry)
3989 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3991 * configure.ac: post release version bump.
3992 * debian/changelog: version bump
3994 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3999 * configure.ac: Bump version.
4000 * debian/changelog: Updates.
4002 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4004 * src/hildon-touch-selector.c:
4005 (_hildon_touch_selector_has_multiple_selection): No need
4006 to initialize the variables here.
4008 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4010 * src/hildon-note-private.h
4011 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4012 (hildon_note_finalize, hildon_note_rebuild): Close information
4013 notes when they receive a button press.
4015 Fixes: NB#89890 (Information notes does not get disappeared after
4018 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4020 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4021 mark from the wizard title, as it's not really necessary. Also,
4022 do not display the page title if not set.
4024 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4026 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4027 (parent_window_hidden): Use the window's "is-topmost" property to
4028 detect when to hide the menu.
4030 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4032 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4033 (hildon_app_menu_finalize): If the parent window of the menu is
4034 hidden, hide the menu too.
4036 Fixes: NB#94460 (stackable window's menu is not closed when its
4039 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4042 * debian/libhildon1-examples.install
4044 * examples/Makefile.am:
4045 Use dh_install to install all examples.
4046 Use DEB_SRCDIR instead of defining SOURCE_DIR
4048 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4050 * configure.ac: post release version bump.
4051 * debian/changelog: version bump
4053 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4058 * configure.ac: bump version
4059 * debian/changelog: updates
4060 * debian/control: bump gtk+ dependency
4062 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4064 patch by Christian Dywan (christian@imendio.com)
4066 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4067 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4069 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4071 * src/hildon-check-button.c (hildon_check_button_init)
4072 (hildon_check_button_class_init, hildon_check_button_style_set)
4073 (hildon_check_button_apply_style):
4074 New "checkbox-size" style property.
4076 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4077 larger / configurable size)
4079 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4081 * configure.ac: post release version bump.
4082 * debian/changelog: version bump
4084 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4089 * configure.ac: bump version
4090 * debian/changelog: updates
4092 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4094 * doc/hildon-sections.txt
4095 * src/hildon-pannable-area.c
4096 * src/hildon-program.c
4097 * src/hildon-time-editor.c
4098 * src/hildon-touch-selector-entry.c:
4100 More documentation updates.
4102 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4104 * doc/hildon-sections.txt
4105 * src/hildon-caption.c
4106 * src/hildon-code-dialog.c
4107 * src/hildon-color-button.c
4108 * src/hildon-controlbar.c
4109 * src/hildon-date-editor.c
4110 * src/hildon-date-selector.c
4111 * src/hildon-edit-toolbar.c
4112 * src/hildon-find-toolbar.c
4113 * src/hildon-font-selection-dialog.c
4115 * src/hildon-program.c
4116 * src/hildon-range-editor.c
4117 * src/hildon-seekbar.c
4118 * src/hildon-time-editor.c
4119 * src/hildon-time-selector.c
4120 * src/hildon-volumebar-range.c
4121 * src/hildon-volumebar.c
4122 * src/hildon-vvolumebar.c
4123 * src/hildon-weekday-picker.c
4124 * src/hildon-window.c
4125 * src/hildon-wizard-dialog.c:
4127 Lots of documentation fixes.
4129 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4131 Patch contributed by Iván Gómez (igomez@igalia.com)
4133 * src/hildon-check-button.c:
4134 * src/hildon-date-button.c:
4135 * src/hildon-date-selector.c:
4136 * src/hildon-dialog.c:
4137 * src/hildon-edit-toolbar.c:
4138 * src/hildon-entry.c:
4139 * src/hildon-picker-button.c:
4140 * src/hildon-program.c:
4141 * src/hildon-text-view.c:
4142 * src/hildon-time-button.c:
4143 * src/hildon-touch-selector-entry.c:
4144 * src/hildon-window-stack.c:
4146 Add more "since" tags to the new API.
4148 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4150 * doc/hildon-sections.txt: Add below method.
4151 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4152 version for the hildonized scale.
4153 * src/hildon-gtk.h: Add the definition.
4155 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4157 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4159 * doc/hildon-sections.txt: Add missing entries for new methods.
4161 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4163 Added API to pannable are in order to get its adjustments. We
4164 added two properties to manage the values we had in the private
4167 * src/hildon-pannable-area.c:
4168 (hildon_pannable_area_class_init): Added hadjustment and
4169 vadjustment properties in order to expose horizontal and vertical
4171 (hildon_pannable_area_get_property),
4172 (hildon_pannable_area_set_property): Added code to handle the new
4174 (hildon_pannable_area_get_hadjustment),
4175 (hildon_pannable_area_get_vadjustment): API functions to get the
4177 * src/hildon-pannable-area.h:
4178 (hildon_pannable_area_get_hadjustment),
4179 (hildon_pannable_area_get_vadjustment): API functions to get the
4182 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4184 Fixed some leaks, after valgrinding.
4186 * src/hildon-touch-selector.c:
4187 (_default_print_func): Fixed a leak.
4188 (hildon_touch_selector_append_column): Fixed a leak.
4189 * src/hildon-date-button.c:
4190 (hildon_date_button_init): Fixed a leak.
4191 * src/hildon-date-selector.c
4192 (hildon_date_selector_finalize): Fixed a leak.
4194 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4196 Based on a patch by Christian Dywan (christian@imendio.com)
4198 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4200 * src/hildon-gtk.h: Add definition.
4202 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4204 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4206 * src/hildon-picker-button.c: (hildon_picker_button_init),
4207 (hildon_picker_button_new): Set the HildonButton::style property
4208 in the init method, to propagate the value to the derived classes.
4210 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4212 * src/hildon-button.c: (hildon_button_class_init): Do not make
4213 the "style" property a construct property.
4215 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4217 * src/hildon-wizard-dialog.h
4218 * src/hildon-wizard-dialog.c
4219 (hildon_wizard_dialog_set_forward_page_func)
4220 * src/hildon-pannable-area.h
4221 * src/hildon-pannable-area.c
4222 (hildon_pannable_area_set_size_request_policy):
4223 Documentation fixes.
4225 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4227 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4229 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4231 * doc/hildon-sections.txt: Added sections file.
4233 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4236 * src/*.[ch]: Updates.
4238 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4240 * examples/hildon-progress-indicator-example.c: new file
4241 * examples/Makefile.am: include the new example program
4243 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4245 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4247 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4249 * configure.ac: post release version bump
4250 * debian/changelog: version bump
4252 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4257 * configure.ac: bump version
4258 * debian/changelog: updates
4259 * debian/control: bump gtk+ dependency
4261 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4263 * src/hildon-dialog.c: Mark as deprecated.
4264 * src/hildon-dialog.h: Mark as deprecated.
4265 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4266 from HildonDialog and still work, even if
4267 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4268 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4270 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4271 maemo changes) instead)
4273 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4275 * src/hildon-pannable_area.h:
4276 * src/hildon-pannable_area.c:
4277 (hildon_pannable_area_class_init),
4278 (hildon_pannable_area_set_property),
4279 (hildon_pannable_area_get_property),
4280 (hildon_pannable_area_size_request),
4281 (hildon_pannable_area_get_size_request_policy),
4282 (hildon_pannable_area_set_size_request_policy): Added new API
4283 allowing applications to control the request policy. Now they can
4284 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4285 children allocation (HILDON_MOVEMENT_CHILDREN).
4287 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4291 (hildon_gtk_tree_view_set_ui_mode)
4292 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4293 mode of treeviews and iconviews.
4295 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4297 * src/hildon-touch-selector-entry.c:
4298 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4299 of a GtkEntry to get proper theming.
4301 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4302 widget, not GtkEntry)
4304 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4306 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4307 no HildonWizardDialogPageFunc.
4309 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4311 Patch contributed by Iván Gómez (igomez@igalia.com)
4313 * src/hildon-app-menu.c:
4314 * src/hildon-button.c:
4315 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4316 * src/hildon-stackable-window.c:
4317 * src/hildon-time-selector.c:
4318 * src/hildon-touch-selector.c:
4319 * src/hildon-window.c:
4321 Add more "since" tags to the new API in hildon 2.2.
4323 2008-12-05 Tim Janik <timj@imendio.com>
4325 Patch contributed by Christian Dywan (christian@imendio.com)
4327 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4328 HildonSizeType, which are supplied by Gtk+ now.
4330 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4332 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4333 (with maemo changes) instead)
4335 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4337 Patch contributed by Iván Gómez (igomez@igalia.com)
4339 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4342 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4344 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4345 (some_page_func), (main): Update the example to use a
4346 HildonWizardDialogPageFunc function.
4348 * src/hildon-wizard-dialog-private.h: Add private data for
4349 the HildonWizardDialogPageFunc function usage.
4351 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4352 (destroy), (hildon_wizard_dialog_init), (response),
4353 (hildon_wizard_dialog_set_forward_page_func):
4354 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4355 that applications can use to stop a HildonWizardDialog to jump to
4358 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4361 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4363 * src/hildon-program.h
4364 * src/hildon-program-private.h
4365 * src/hildon-program.c (hildon_program_init)
4366 (hildon_program_set_common_app_menu)
4367 (hildon_program_get_common_app_menu):
4368 New API for setting a common HildonAppMenu for all
4369 HildonStackableWindows registered with the HildonProgram.
4371 * src/hildon-stackable-window.c
4372 (hildon_stackable_window_toggle_menu):
4373 Use the common HildonAppMenu if a window doesn't have a specific
4376 * src/hildon-app-menu-private.h
4377 * src/hildon-app-menu.c
4378 (hildon_app_menu_get_parent_window):
4379 Function to obtain the window a HildonAppMenu is attached to.
4380 (hildon_app_menu_set_parent_window):
4381 Hide the menu if the parent window is set to NULL.
4383 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4385 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4386 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4387 search widget to popup.
4389 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4391 * configure.ac: post release version bump
4392 * debian/changelog: version bump
4394 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4399 * configure.ac: bump version
4400 * debian/changelog: updates
4402 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4404 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4406 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4407 (hildon_window_stack_window_realized)
4408 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4409 Set the leader GdkWindow when a window is stacked and realized,
4410 unset it when it's unstacked.
4411 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4413 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4415 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4417 * src/hildon-stackable-window.h
4418 * src/hildon-window-stack.h:
4419 Protect definition of HildonWindowStack using the preprocessor.
4421 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4424 Fix warning if all menu items are hidden.
4426 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4428 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4430 * src/hildon-controlbar.c:
4431 * src/hildon-hvolumebar.c:
4432 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4433 Multiple scale size defines updates.
4435 Fixes: NB#94322 (Scale Updates)
4437 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4439 * examples/hildon-app-menu-example.c (create_menu)
4440 Show items after adding them to the menu, as in the future the
4441 menu will no longer call gtk_widget_show() on the added items.
4443 * src/hildon-app-menu.c:
4444 Update example as explained above.
4446 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4448 * src/hildon-app-menu.c
4449 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4450 Make sure that all menu items have finger height.
4452 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4454 * src/hildon-picker-dialog.c:
4455 (_on_dialog_response), (_save_current_selection),
4456 (_restore_current_selection), (_clean_current_selection),
4457 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4458 Defined new functions in order to save the current internal selector
4459 selection previous open the dialog, in case that the use cancel the
4460 interaction, so the widget restores the previous selection.
4462 Fixes: NB#92032 (In calendar application, date values in 'new event'
4465 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4467 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4469 * src/hildon-button.c: Add a reference to the button examples in
4470 hildon-button-example.c
4472 * examples/hildon-button-example.c: Added examples of the most
4473 common button layouts.
4475 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4477 * src/hildon-app-menu.c (hildon_app_menu_show)
4478 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4480 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4482 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4484 * src/hildon-picker-dialog.c:
4485 (hildon_picker_dialog_init): Initialize the signal id for
4486 HildonTouchSelector::columns-changed.
4487 (+on_selector_columns_changed): Set up the interaction mode everytime a
4488 column is added or removed from the HildonTouchSelector.
4489 (_hildon_picker_dialog_set_selector): Connect to
4490 HildonTouchSelector::columns-changed and keep track of it.
4492 Make sure to update the interaction mode of the dialog everytime a
4493 column is added or removed in the HildonTouchSelector.
4495 Fixes: NB#93228 (Done button is not shown always in listpicker)
4497 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4499 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4500 a new ::columns-changed signal.
4501 (hildon_touch_selector_append_column): Emit ::columns-changed.
4502 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4504 Add a ::columns-changed signal, emitted when the number of columns in a
4505 HildonTouchSelector changes.
4507 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4509 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4510 (_hildon_picker_dialog_set_selector): Factor out the code
4511 to set up the dialog interaction mode.
4513 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4515 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4516 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4517 to signal_changed_id.
4519 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4521 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4524 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4526 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4527 Updated the logical ids related to ampm format, as now it is required to
4528 show it correctly localized even on languages with no default
4529 abbreviations for am or pm
4530 (_check_am_pm_format): check correctly the 24h format gconf property
4532 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4534 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4536 * src/hildon-button.c: Documentation updates.
4538 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4540 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4541 * src/hildon-caption.c: (hildon_caption_class_init):
4542 * src/hildon-color-button.c: (hildon_color_button_class_init):
4543 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4544 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4545 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4546 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4548 Remove deprecated GTK+ marshalers and replace them with the ones
4549 provided by GLib, for those available, add a marshaler for
4550 BOOLEAN:VOID, which is not available in GLib, and use it.
4552 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4554 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4555 the text from the previous column if there is no
4556 HildonTouchSelectorColumn::text-property set.
4558 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4560 * src/hildon-button.h
4561 * src/hildon-button.c (hildon_button_set_property)
4562 (hildon_button_get_property, hildon_button_class_init)
4563 (hildon_button_set_style, hildon_button_get_style):
4564 New "style" property to change the visual appearance of the
4567 * src/hildon-picker-button.c (hildon_picker_button_new):
4568 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4570 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4571 HildonButton look like PickerButton)
4573 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4575 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4576 column while building the default string.
4578 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4580 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4581 scroll indicator by default.
4583 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4585 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4587 * src/hildon-main.c: Fix the documentation for hildon_init()
4589 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4591 * doc/hildon-docs.sgml
4595 * src/hildon-window-stack-private.h
4596 * src/hildon-window-stack.h
4597 * src/hildon-window-stack.c:
4598 New HildonWindowStack object, that adds support for multiple
4599 stacks of windows per process.
4601 * src/hildon-stackable-window-private.h
4602 * src/hildon-stackable-window.h
4603 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4604 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4605 (hildon_stackable_window_show, hildon_stackable_window_hide)
4606 (hildon_stackable_window_class_init)
4607 (hildon_stackable_window_init):
4608 Use HildonWindowStack for stack management.
4610 * src/hildon-program.c (hildon_program_pop_window_stack)
4611 (hildon_program_peek_window_stack)
4612 (hildon_program_go_to_root_window):
4613 Add a fallback implementation to the deprecated functions using
4616 * examples/hildon-stackable-window-example.c:
4617 Use the new HildonWindowStack API.
4619 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4621 * src/hildon-stackable-window-private.h
4622 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4623 (hildon_stackable_window_hide, hildon_stackable_window_init):
4624 Remove all window stack management.
4626 * src/hildon-program-private.h
4627 * src/hildon-program.h
4628 * src/hildon-program.c (hildon_program_init)
4629 (hildon_program_pop_window_stack)
4630 (hildon_program_peek_window_stack)
4631 (hildon_program_go_to_root_window):
4632 Remove all window stack management and mark functions as
4635 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4637 * src/hildon-app-menu.c (hildon_app_menu_realize):
4638 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4640 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4642 * configure.ac: post release version bump
4643 * debian/changelog: version bump
4645 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4650 * configure.ac: bump version
4651 * debian/changelog: updates
4653 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4655 Based on initial code by Christian Dywan (christian@imendio.com)
4657 * doc/hildon-docs.sgml: Add section for hildon-main.
4658 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4659 * src/Makefile.am: Add new hildon-main.[ch]
4660 * src/hildon-defines.h: Update the icon sizes.
4661 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4662 new library initialization files and register icon sizes.
4663 * src/hildon-main.h: New declarations.
4664 * src/hildon.h: Include hildon-main.h
4666 Add new initialization functions to the library. These methods
4667 will register the hildon specific icon sizes and can be used in the
4668 future for other hildon specific bits.
4670 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4672 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4674 * src/hildon-window.c: (hildon_window_realize),
4675 (hildon_window_notify), (-hildon_window_update_title): Do not set
4676 the application name in the window title.
4678 Fixes: NB#89754 (Applications shouldn't display their names in the
4681 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4683 * src/hildon-note-private.h:
4684 * src/hildon-note.c: (hildon_note_set_property),
4685 (hildon_note_get_property), (hildon_note_class_init),
4686 (hildon_note_init), (hildon_note_finalize),
4687 (hildon_note_new_confirmation_with_icon_name),
4688 (hildon_note_new_information_with_icon_name):
4690 No need to mark as deprecated the actual code. Revert
4691 to avoid missing symbols in widgets using deprecated API.
4693 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4695 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4697 * src/hildon-volumebar.h
4698 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4699 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4701 * src/hildon-helper.h
4702 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4703 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4705 * examples/Makefile.am:
4706 Deprecate hildon-insensitive-example
4708 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4710 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4712 * examples/hildon-pannable-area-buttons-scroll-example.c:
4713 Make all buttons finger height
4715 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4717 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4719 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4720 update the day model only if it is really required, and to avoid the
4721 full-reconstruction aproach. Now it only add or remove the required days.
4723 The purpose of this is avoid superfluous HildonTouchSelector::changed
4726 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4727 with strange parameters)
4729 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4731 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4733 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4734 the WINDOW_TYPE property.
4736 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4738 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4741 Fix dependency to allow parallel compilation with make -jX
4743 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4745 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4746 color frame and some minor tweaks to make it more consistent with
4749 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4750 highlighted but not visible)
4752 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4754 * examples/Makefile.am: Fixed typo in the Makefile.am.
4756 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4758 Reviewed the use of MAEMO_GTK define, now we add the define in the
4759 compilation line, and we also add it to the pc file.
4761 * configure.ac: Added MAEMO_GTK define to the compilation command
4762 and removed it from the config.h.
4764 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4765 do not have to take care about this define if the library was
4769 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4771 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4773 * examples/Makefile.am,
4774 * examples/hildon-pannable-area-buttons-scroll-example.c,
4775 * examples/hildon-pannable-area-gesture-signals-example.c,
4776 * examples/hildon-pannable-area-scroll-jump-example.c,
4777 * examples/hildon-pannable-area-tree-view-example.c:
4778 Renamed the pannable area examples, now they have more meaningful
4781 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4783 * src/hildon-touch-selector.c:
4784 (hildon_touch_selector_set_column_selection_mode): Used of
4785 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4786 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4787 to avoid re-seting the same selection mode.
4789 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4790 breaks HildonPickerDialog)
4792 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4794 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4795 conditional in the Makefile.am
4797 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4799 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4800 Remove unused methods.
4802 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4804 * src/hildon-button.c (hildon_button_init):
4805 Make button images center-aligned by default
4807 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4810 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4811 activated, we have to think about how to deal with both defines
4812 MAEMO_GTK and MAEMO_CHANGES.
4814 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4816 * examples/hildon-app-menu-example.c (create_menu): Make all
4817 buttons finger size.
4819 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4821 Fixed the compilation without maemo gtk adding ifdefs with
4822 MAEMO_GTK define to the code, we have to check this version more
4825 * examples/Makefile.am: Added control to avoid some examples that
4826 just make sense with maemo gtk.
4829 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4830 hildon modes with the define.
4832 * examples/hildon-edit-toolbar-example.c,
4833 (create_icon_view): Create the icon view without hildon-gtk
4834 helpers if we are not using maemo gtk.
4836 * src/hildon-touch-selector.c,
4837 (_create_new_column): Create the treeview without hildon-gtk
4838 helpers if we are not using maemo gtk.
4840 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4842 * src/hildon-pnnable-area.c,
4843 (hildon_pannable_area_dispose),
4844 (hildon_pannable_area_button_press_cb),
4845 (hildon_pannable_area_child_mapped),
4846 (hildon_pannable_area_add),
4847 (hildon_pannable_area_remove): Added code to control the position
4848 of the event_window when adding and removing children from the
4849 pannable. We have to raise the event window when the child is
4852 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4853 selection mode using custom widget inside pannable)
4855 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4857 * configure.ac: post release version bump
4858 * debian/changelog: version bump
4860 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4865 * configure.ac: bump version
4866 * debian/changelog: updates
4868 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4870 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4871 search mode, in order to avoid lose the focus on the treeview when
4872 a hw key (like enter) is pressed.
4874 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4875 in HildonDateSelector dialog)
4877 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4879 * debian/rules: Added --enable-maintainer-mode
4880 * Makefile.am: Added ACLOCAL_AMFLAGS
4882 This allows to properly regenerate the Makefiles if you modify the
4883 configure.ac or any Makefile.am.
4885 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4887 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4888 properties, not needed at all.
4890 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4892 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4894 * src/hildon-note.c: (hildon_note_set_property),
4895 (hildon_note_get_property), (hildon_note_class_init),
4896 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4897 (hildon_note_new_confirmation_add_buttons): Remove icons.
4898 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4899 (hildon_note_new_information_with_icon_name): Deprecate.
4900 (hildon_note_new_confirmation): Act directly, without calling
4901 the deprecated constructor.
4902 (hildon_note_new_information): Act directly, without calling
4903 the deprecated constructor.
4904 * src/hildon-note.h: Mark deprecate methods as such.
4905 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4906 not run tests on the deprecated methods if built with deprecation
4909 Fixes: NB#91688 (Never show icons in information notes/confirmation
4912 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4914 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4915 (hildon_app_menu_key_press): Remove leftover usage of the
4916 private structure in HildonAppMenu struct.
4917 * src/hildon-app-menu.h: Remove leftover private structure
4918 from the HildonAppMenu struct.
4920 Fixes a crasher when using the HildonAppMenu.
4922 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4924 * src/hildon-picker-dialog.c: Use appropriate logical id
4925 for the default "Done" text.
4927 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4929 * configure.ac: post release version bump
4930 * debian/changelog: version bump
4932 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4934 Modified the way to scroll to the current selection just when the touch
4935 selector is shown on the screen, avoiding a g_idle. Added too a property
4936 to configure this behaviour. See hildon_pannable_area_jump_to_child
4937 documentation for more information.
4939 * src/hildon-touch-selector.c
4940 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4941 Added 'initial-scroll' property
4942 (hildon_touch_selector_set_property): Added
4943 (hildon_touch_selector_map): Removed as not required anymore
4944 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4945 only a concrete column, instead of iterate along all the columns
4947 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4952 * configure.ac: bump version
4953 * debian/changelog: updates
4955 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4957 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4958 compilation time warnings.
4960 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4962 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4963 the default value for HildonPannableArea::mov-mode to
4964 HILDON_PANNABLE_AREA_MODE_VERT.
4966 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4968 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4970 Reverting following commit:
4972 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4974 * src/hildon-app-menu-private.h
4975 * src/hildon-app-menu.[ch]
4976 * src/hildon-button.[ch]
4977 * src/hildon-check-button.[ch]
4978 * src/hildon-entry.[ch]
4979 * src/hildon-pannable-area.[ch]
4980 * src/hildon-text-view.[ch]:
4981 Added private field to the object's structure.
4983 because it causes an ABI breakage. We will need to introduce these
4984 changes later at some point. See NB#91636 for an extensive
4985 explanation and status.
4987 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4989 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4991 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4992 remove special cases that are no longer necessary.
4994 Fixes: NB#91016 (Change toolbar sizes, simplification)
4996 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4998 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4999 is shown in the cancel note.
5001 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5003 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5004 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5005 (hildon_seekbar_init): Remove steppers, remove expose event.
5006 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5008 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5010 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5012 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5013 label font to "SmallSystemFont" for vertically arranged buttons.
5015 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5018 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5020 * src/hildon-check-button.c
5021 (hildon_check_button_set_active, hildon_check_button_clicked):
5022 Don't access private parts directly, use getters instead.
5024 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5026 * src/hildon-check-button.c (hildon_check_button_new):
5027 Align the contents of the check button to the left.
5029 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5031 * src/hildon-pannable-area.c,
5032 (hildon_pannable_area_scroll_to),
5033 (hildon_pannable_area_jump_to),
5034 (hildon_pannable_area_scroll_to_child),
5035 (hildon_pannable_area_jump_to_child): Replace the mapped
5036 precondition of these functions with the realized, it is the
5037 correct state of the widget in this case. Changed the
5038 documentation according to this modification.
5040 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5042 Added a new EXTRA_CFLAGS option to add the deprecated define to
5043 the compilation command. This way we can avoid using the define in
5044 the documentation compilation.
5046 * configure.ac: Defined EXTRA_CFLAGS.
5048 * examples/Makefile.am:
5050 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5052 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5054 * src/hildon-picker-dialog.c:
5055 Defined a utility macro with the desired touch selector height
5056 Removed currently unused separator, and title_label variables from
5058 (hildon_picker_dialog_init): Removed code related to the creation
5059 of unused private variables title_label and separator.
5060 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5061 to ensure correct visualization of the touch selector inside the dialog.
5062 * src/hildon-touch-selector.c
5063 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5064 ensure a concrete height of the widget.
5066 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5069 * tests/Makefile.am:
5071 Remove spurious whitespaces.
5073 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5075 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5076 compilation warning after the cancel button removal.
5078 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5080 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5082 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5083 Makefile.am, that way we can choose not to compile some examples
5084 and tests of the deprecated widgets.
5086 * examples/Makefile.am: Divided the sources in deprecated and
5089 * src/Makefile.am: Added undef statement of the deprecated
5090 symbol to the enums file generation process.
5092 * src/hildon-color-chooser-dialog.c
5093 * src/hildon-color-chooser-dialog.h
5094 * src/hildon-color-button.c
5095 * src/hildon-color-button.h
5096 * src/hildon-color-chooser.c
5097 * src/hildon-color-chooser.h
5098 * src/hildon-controlbar.c
5099 * src/hildon-controlbar.h
5100 * src/hildon-date-editor.c
5101 * src/hildon-date-editor.h
5102 * src/hildon-hvolumebar.c
5103 * src/hildon-hvolumebar.h
5104 * src/hildon-private.c
5105 * src/hildon-private.h
5106 * src/hildon-range-editor.c
5107 * src/hildon-range-editor.h
5108 * src/hildon-seekbar.c
5109 * src/hildon-seekbar.h
5110 * src/hildon-time-editor.c
5111 * src/hildon-time-editor.h
5112 * src/hildon-time-picker.c
5113 * src/hildon-time-picker.h
5114 * src/hildon-volumebar.c
5115 * src/hildon-volumebar.h
5116 * src/hildon-vvolumebar.c
5117 * src/hildon-vvolumebar.h
5118 * src/hildon-bread-crumb-trail.h
5119 * src/hildon-bread-crumb-trail.c
5120 * src/hildon-calendar-popup.c
5121 * src/hildon-calendar-popup.h
5122 * src/hildon-weekday-picker.c:
5123 * src/hildon-weekday-picker.h:
5124 * src/hildon-bread-crumb-widget.c:
5125 * src/hildon-bread-crumb-widget.h:
5126 * src/hildon-bread-crumb.c:
5127 * src/hildon-bread-crumb.h:
5128 * src/hildon-calendar.c:
5129 * src/hildon-calendar.h:
5130 * src/hildon-caption.c:
5131 * src/hildon-code-dialog.c:
5132 * src/hildon-code-dialog.h:
5133 * src/hildon-font-selection-dialog.c:
5134 * src/hildon-font-selection-dialog.h:
5135 * src/hildon-get-password-dialog.c:
5136 * src/hildon-get-password-dialog.h:
5137 * src/hildon-login-dialog.c:
5138 * src/hildon-login-dialog.h:
5139 * src/hildon-number-editor.c:
5140 * src/hildon-number-editor.h:
5141 * src/hildon-set-password-dialog.c:
5142 * src/hildon-set-password-dialog.h:
5143 * src/hildon-sort-dialog.c:
5144 * src/hildon-sort-dialog.h: This is the list of deprecated
5147 * src/hildon-touch-selector.c:
5148 * src/hildon-window.c: Added undef statement to avoid compilation
5151 * tests/Makefile.am: Divided the sources in deprecated and
5154 * tests/check_test.c,
5155 (configure_tests): Marked the deprecated code that was adding
5156 suites with deprecated tests.
5158 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5160 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5162 * src/hildon-touch-selector.c: (_default_print_func): Do not
5163 duplicate a string returned by gtk_tree_model_get(), it is already
5166 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5169 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5171 * src/hildon-pannable-area.c
5172 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5173 method, it had problems when adding a widget with viewport the
5174 second time. Now checks if it already has a viewport and uses it.
5176 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5179 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5181 * src/hildon-pannable-area.c,
5182 (hildon_pannable_area_scroll_to),
5183 (hildon_pannable_area_jump_to),
5184 (hildon_pannable_area_scroll_to_child),
5185 (hildon_pannable_area_jump_to_child): Added a precondition to the
5186 scroll and jump to functions: the widget must be mapped before we
5187 can safely call these functions. We have also added documentation
5188 to the functions to explain how to use them in this situation.
5191 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5193 Reviewed the threading handling of the pannable widget, we have
5194 used the gdk_threads_add_timeout function instead of the usual
5195 glib handlers. This avoids some problems with the threads.
5197 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5198 (hildon_pannable_area_initial_effect),
5199 (hildon_pannable_area_scroll_indicator_fade),
5200 (hildon_pannable_area_button_press_cb),
5201 (hildon_pannable_area_timeout),
5202 (hildon_pannable_area_motion_notify_cb),
5203 (hildon_pannable_area_button_release_cb),
5204 (hildon_pannable_area_scroll_cb),
5205 (hildon_pannable_area_scroll_to): Removed the
5206 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5207 gdk_threads_add_timeout.
5209 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5211 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5216 * configure.ac: bump version
5217 * debian/changelog: updates
5219 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5221 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5222 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5223 * src/hildon-color-chooser-dialog.c:
5224 (hildon_color_chooser_dialog_init):
5225 * src/hildon-font-selection-dialog.c:
5226 (hildon_font_selection_dialog_init):
5227 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5229 Remove all cancel/close-like dialogs, as these are not going to be
5232 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5234 * src/hildon-note.c: (hildon_note_rebuild),
5235 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5238 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5240 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5242 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5243 sure all buttons are shown, even the Cancel/Close-like ones.
5245 Fixes: NB#90861 (Custom Confirmation dialogs should be
5246 protected from cancel button removal)
5248 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5250 * debian/control: Change libhildon1-examples dependency from libhildon1
5252 * debian/libhildon1-examples.install
5254 * Makefile.am: Modified the final install directory for the examples on
5255 package libhildon1-examples
5256 * Makefile.static: Update clean target in order to remove all the binary
5259 Changes suggested by Claudio after review new libhildon1-examples package
5261 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5263 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5264 * src/hildon-touch-selector.c: Ditto.
5266 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5268 * debian/control: Added new package libhildon1-examples, in order to pack
5269 the current hildon examples as documentation
5270 * debian/rules: Not to compress .c files, modify some includes on the
5271 examples (as normally are compiled locally, but when installed it will
5272 require to include the installed libhildon1 library), and rename
5274 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5275 install all the example files on the new example package
5276 * examples/Makefile.static: Added static makefile that can be used to
5277 compile the examples, once installed the new example package
5278 * examples: Most of the examples were modified in order to grant that
5279 all use only '#include "hildon.h"', in order to be easy to prepare
5280 it on the example package
5282 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5285 * debian/libhildon1-dev.install
5286 * debian/libhildon1-doc.install:
5287 Move all gtk-doc files to a separate libhildon1-doc package.
5289 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5291 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5293 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5295 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5297 * debian/rules: Fixed a error in order to avoid unnecessary calls
5298 to autogen.sh on package building
5300 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5302 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5304 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5306 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5309 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5311 * src/hildon-picker-button.c
5312 (hildon_picker_button_finalize):
5313 Free priv->done_button_text
5315 * src/hildon-time-button.c
5316 (hildon_time_button_set_time)
5317 * src/hildon-picker-button.c
5318 (hildon_picker_button_clicked)
5319 (hildon_picker_button_selector_selection_changed)
5320 (hildon_picker_button_set_selector)
5321 * src/hildon-date-button.c
5322 (hildon_date_button_set_date):
5323 Free strings returned by hildon_touch_selector_get_current_text()
5325 * src/hildon-button.c (hildon_button_construct_child):
5326 Fix leaks in priv->image and priv->label_box
5328 Fixes: NB#90535 (Memory leak in picker button)
5330 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5332 * src/hildon-button.c: (hildon_button_get_property): Do not access
5333 private elements directly, use getters instead.
5335 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5337 * src/hildon-app-menu-private.h
5338 * src/hildon-app-menu.c
5339 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5340 Store the menu's parent window.
5342 * src/hildon-stackable-window.c
5343 (hildon_stackable_window_toggle_menu)
5344 (hildon_stackable_window_finalize):
5345 Set the menu's parent window when the menu is shown, unset it when
5348 * src/hildon-app-menu.c
5349 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5350 (hildon_app_menu_class_init):
5351 Send unhandled keyboard accelerators to the parent window.
5353 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-stackable-window.c
5356 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5358 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5360 * configure.ac: post release version bump
5362 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5365 * configure.ac: Bump version
5366 * debian/changelog: Updates
5367 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5370 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5372 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5375 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5376 GtkMenu with Hildon style.
5378 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5380 * src/hildon-picker-button.c:
5381 (hildon_picker_button_set_done_button_text): Set the dialog's
5382 done button text here as well.
5384 Fixes: NB#90232 (Picker button does not set the label on done button
5385 for the second time)
5387 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5389 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5392 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5394 * src/hildon-app-menu.c (hildon_app_menu_insert)
5395 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5396 the HildonAppMenu to be activatable using keyboard accelerators
5397 when the menu is not being shown.
5399 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5401 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5403 * src/hildon-stackable-window.c
5404 (hildon_stackable_window_show):
5405 Don't hide old windows automatically when new windows are shown:
5406 this is now a task for the window manager.
5407 (hildon_stackable_window_class_init)
5408 (hildon_stackable_window_hide):
5409 Remove windows from the stack everytime they're hidden.
5410 (hildon_stackable_window_realize):
5411 Don't change the _NET_WM_WINDOW_TYPE property. Use
5412 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5413 it as a stackable window.
5415 * src/hildon-program.c
5416 (hildon_program_pop_window_stack):
5417 Just hide the window to remove it from the stack.
5418 (hildon_program_go_to_root_window):
5419 Don't call gtk_widget_show(), this is now a task for the window
5422 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5424 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5426 * src/hildon-button.c
5427 (hildon_button_construct_child):
5428 Don't pack anything in the button until text or image are
5429 set. This allows adding a custom child after creating the button
5430 with hildon_button_new().
5431 (hildon_button_finalize, hildon_button_class_init)
5432 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5433 alignment and the label box even when they're not packed in the
5436 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5438 * src/hildon-touch-selector.h:
5439 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5440 currently the type definition was using GTK_TYPE_VBOX
5441 * src/hildon-touch-selector.c:
5442 Added some implementation notes in order to clarify that any other widget
5443 added without the column related API will not be included on the
5444 selection logic, and how the widget is freed, as some people ask about
5446 (hildon_touch_selector_remove): Reimplemented in order to free properly
5447 the column related data when you remove the private hbox.
5448 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5449 to get a proper HildonTouchSelectorColumn documentation
5451 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5453 * src/hildon-touch-selector-entry.c:
5454 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5455 text in the GtkEntry and there is no item selected. Fixes a
5458 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5460 * src/hildon-app-menu-private.h
5461 * src/hildon-app-menu.[ch]
5462 * src/hildon-button.[ch]
5463 * src/hildon-check-button.[ch]
5464 * src/hildon-entry.[ch]
5465 * src/hildon-pannable-area.[ch]
5466 * src/hildon-text-view.[ch]:
5467 Added private field to the object's structure.
5469 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5471 * configure.ac: post-release version bump
5473 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5477 * configure.ac: pre-release version bump
5479 * debian/changelog: updates.
5481 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5483 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5484 Disconnect the handler for HildonTouchSelector::changed.
5486 (hildon_picker_button_selector_selection_changed): Update the button
5487 value if the selection change was not triggered by the
5490 (hildon_picker_button_set_selector): connect to
5491 HildonTouchSelector::changed.
5493 Fixes: NB#89650 (Picker button is not updated, when selection in
5494 selector has changed)
5496 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5498 * src/hildon-picker-dialog.c
5499 (hildon_picker_dialog_realize): Removed as not required
5500 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5501 * src/hildon-picker-button.c
5502 (_current_selector_empty): New function, checks if the selector is empty
5503 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5504 if the current selector is empty, in order to avoid to show the dialog
5505 close the dialog in this case (and shows a g_warning).
5507 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5509 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5511 * src/hildon-pannable-area.c,
5512 (hildon_pannable_area_scroll): Added clause to stop movement when
5513 the child of pannable is smaller than one page.
5514 (hildon_pannable_area_scroll_to): Added conditions to avoid
5515 starting the scrolling movement if the child is smaller than one
5516 page, the complete child is in the screen, we do not have to move.
5518 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5520 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5522 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5523 this is managed automatically by the widget when the size of the
5526 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5528 * src/hildon-picker-button.c
5529 (hildon_picker_button_set_done_button_text): Make a copy of the
5530 text, and free the previous value.
5532 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5534 * src/hildon-touch-selector-entry.c:
5535 (hildon_touch_selector_entry_print_func): Return the selected row's
5536 text if the entry is empty.
5538 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5541 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5543 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5545 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5548 * src/hildon-check-button.h
5549 * src/hildon-check-button.c
5550 * examples/hildon-check-button-example.c:
5551 HildonCheckButton is now a new widget. 'toggled' signal added.
5553 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5555 * src/hildon-program-private.h
5556 * src/hildon-program.c (hildon_program_init)
5557 (hildon_program_finalize): Removed unused variables group_leader
5558 and name from HildonProgramPrivate.
5560 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5562 * src/hildon-check-button.c (hildon_check_button_set_active)
5563 (hildon_check_button_get_active, hildon_check_button_new): Use
5564 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5566 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5568 * src/hildon-touch-selector.h
5569 (hildon_touch_selector_set_column_attributes): added deprecation
5570 guard HILDON_DISABLE_DEPRECATED
5571 * src/hildon-time-selector.c
5572 (hildon_time_selector_set_time)
5573 (hildon_time_selector_get_time): Fixed a typo on documentation
5574 * src/hildon-touch-selector.c: update HildonTouchSelector and
5575 HildonTouchSelectorColumn documentation
5576 * src/hildon-touch-selector-entry.c: update "text-column" property
5578 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5579 to be added to the general documentation.
5581 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5583 * examples/hildon-pannable-area-example-4.c,
5585 * examples/hildon-pannable-area-example.c,
5586 (main): Modified the code in order to use the container add, with
5587 viewport treeviews could have problems if they are really big.
5589 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5591 * src/hildon-weekday-picker.c,
5592 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5593 the agreement regarding deprecation in the library.
5595 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5597 * examples/hildon-picker-button-multicolumn-example.c:
5598 (main): Use custom "done" button text.
5600 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5601 (hildon_picker_button_set_property),
5602 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5603 (hildon_picker_button_init),
5604 (+hildon_picker_button_get_done_button_text),
5605 (+hildon_picker_button_set_done_button_text): New methods to customize
5606 the "done" button label in the launched HildonPickerDialog. Also,
5609 * src/hildon-picker-button.h: add the public API.
5611 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5613 * src/hildon-date-selector.h:
5614 * src/hildon-picker-dialog.h:
5615 * src/hildon-time-selector.h:
5616 * src/hildon-touch-selector-column.h:
5617 * src/hildon-touch-selector.h:
5619 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5620 declarations. Fixes gtk-doc warnings.
5622 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5624 * src/hildon-picker-dialog.h
5625 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5626 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5628 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5629 long text is set as label for done button)
5631 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5633 * src/hildon-dialog.c (hildon_dialog_add_button):
5634 Set fixed width to all buttons in the HildonDialog.
5636 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5638 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5640 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5641 Set widget name using class name plus "-finger" or "-thumb".
5643 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5645 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5646 'clicked' when the state of the button is manually changed.
5648 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5650 * src/hildon-app-menu.c (hildon_app_menu_realize)
5651 (hildon_app_menu_unrealize, hildon_app_menu_init)
5652 (hildon_app_menu_class_init, item_visibility_changed):
5653 Change the menu layout when the size of the screen changes.
5654 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5655 Show warning only when changing the number of colums using the
5658 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5660 * debian/compat: Set to 5
5661 * debian/control: Update dependencies.
5662 * debian/libhildon1-dbg.install: Remove.
5663 * debian/libhildon1-dev.install: Update according to cdbs paths.
5664 * debian/libhildon1.install: Update according to cdbs paths.
5665 * debian/rules: Switch to cdbs.
5667 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5669 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5670 'item' variable renamed to 'filter'
5672 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5674 * src/hildon-app-menu.c (hildon_app_menu_insert)
5675 (hildon_app_menu_add_filter, remove_item_from_list)
5676 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5677 Don't leak hidden items when the menu is destroyed.
5679 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5681 * src/hildon-app-menu.c (hildon_app_menu_insert)
5682 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5683 (hildon_app_menu_set_columns, item_visibility_changed)
5684 (filter_visibility_changed, hildon_app_menu_repack_filters)
5685 (hildon_app_menu_repack_items):
5686 Repack items and filters separately.
5688 Don't repack all items, change only the ones that are needed to
5691 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5693 * src/Makefile.am: added hildon-touch-selector-column.h
5695 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5697 * src/hildon-touch-selector.c: added the property "text-column" to the
5698 class HildonTouchSelectorColumn, and related get/set functions
5699 (_default_printf_func): updated to use "text-column" property
5700 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5701 "text-column" in his documentation, as this is now included on
5702 HildonTouchSelectorColumn. The get/set_property can still be used,
5703 working as a wrapper to the concrete column "text-column" property
5704 (_text_column_modified): callback added in order to handle the signal
5705 "notify::text-column" of the concrete HildonTouchSelectorColumn
5706 (hildon_touch_selector_entry_get_text_column)
5707 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5708 modified in order to use the HildonTouchSelectorColumn "text-column"
5710 * src/hildon-time-selector.c:
5711 * src/hildon-date-selector.c:
5712 * examples/hildon-touch-selector-example.c
5713 * examples/hildon-touch-selector-multi-cells-example.c
5714 * examples/hildon-picker-button-multicolumn-example.c
5715 Set the right value to "text-column" property on the creation of a new
5716 column using hildon_touch_selector_append_column()
5718 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5720 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5722 * src/hildon-app-menu.c
5723 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5724 updating the layout of the menu, don't create all widgets again,
5725 just repack the items in their new places.
5727 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5729 * src/hildon-time-selector.c
5730 (hildon_time_selector_get_time)
5731 (hildon_time_selector_set_time)
5732 Added documentation of these public methods
5734 * src/hildon-date-button.h
5735 * src/hildon-touch-selector-column.h
5736 * src/hildon-time-button.h
5737 * src/hildon-picker-dialog.h
5738 * src/hildon-time-selector.h
5739 * src/hildon-picker-button.h
5740 * src/hildon-touch-selector.h
5741 * src/hildon-time-picker.h
5742 * src/hildon-date-selector.h
5743 * src/hildon-touch-selector-entry.h
5744 Modified in order to use hildon-widgets code style
5746 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5748 Added deprecated support to the compilation process using
5749 HILDON_DISABLE_DEPRECATED
5751 * configure.ac: Added the --disable-deprecated to the configure
5754 * src/hildon-weekday-picker.c:
5755 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5756 to use the deprecated support. We will update the other deprecated
5757 widgets status in a new patch.
5759 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5761 * configure.ac: Fixed typo with fatal warnings support, the
5762 variable name was not correct
5764 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5766 * src/hildon-app-menu.c
5767 * src/hildon-program.c: Update documentation.
5769 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5771 * configure.ac: Post-release version bump.
5773 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5778 * configure.ac: Pre-release version bump.
5779 * debian/changelog: Updates.
5781 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5783 * NEWS: Update news for previous releases.
5785 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5787 * examples/hildon-touch-selector-multi-cells-example.c:
5788 (create_selector): Update the example to use
5789 hildon_touch_selector_append_column() with a NULL renderer and set
5790 the renderers later.
5791 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5792 passed a NULL renderer. This is documented behavior now.
5794 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5795 This must be used if the developer wants full control on the layout of
5796 the renderers to be added to the column.
5798 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5800 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5802 * src/hildon-touch-selector.c: Documentation fixes.
5804 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5806 * src/hildon-wizard-dialog-private.h: Remove image and box.
5807 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5808 (hildon_wizard_dialog_set_property), (response): Completely remove
5809 image/icon support, and the containers required for the layout.
5811 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5813 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5815 * src/hildon-app-menu.c: Updated documentation.
5817 * src/hildon-stackable-window.c
5818 (hildon_stackable_window_set_main_menu): Unref the old menu after
5819 ref'ing the new one.
5821 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-stackable-window.c
5824 (hildon_stackable_window_set_main_menu): Unref the previous menu
5825 instead of destroying it.
5827 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5828 floating reference and set has_user_ref_count to FALSE to make
5829 HildonAppMenu act like a normal ref-counted widget and not a
5832 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5835 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5837 * src/hildon-touch-selector-column.h: new file
5838 * src/hildon-touch-selector.h
5839 * src/hildon-touch-selector.c
5840 Implemented GtkCellLayout interface, in order to allow to configure
5841 the cell layout on each individual selector column
5842 (hildon_touch_selector_set_column_attributes): marked as deprecated
5843 * examples/hildon-touch-selector-multi-cells-example.c
5844 Example of how to use the GtkCellLayout interface on the selector
5846 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5848 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5850 * src/hildon-app-menu.h
5851 * src/hildon-app-menu.c
5852 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5853 (hildon_app_menu_append, hildon_app_menu_prepend):
5854 New methods to prepend, insert and move items in the menu.
5856 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5858 * src/hildon-wizard-dialog.c:
5860 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5862 (create_title): Update logical IDs and related code.
5863 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5865 * src/hildon-wizard-dialog.h: Note that
5866 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5867 point, as it is not used anymore.
5869 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5871 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5873 * src/hildon-note.c:
5874 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5875 shown. Do not display an icon in confirmation notes nor information
5877 (hildon_note_set_button_text): Update logical ID for cancel button.
5879 Fixes: NB#88850 (Update HildonNote button strings + signals)
5881 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5883 * src/hildon-stackable-window.c
5884 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5886 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5888 * src/hildon-app-menu-private.h
5889 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5890 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5891 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5892 temporary property 'columns' to change the number of columns.
5894 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5896 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5898 * examples/hildon-note-example.c: (on_information_clicked),
5899 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5900 debugging information.
5901 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5903 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5904 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5905 in order to close: this will be handled by the WM from now on.
5907 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5909 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5911 * src/hildon-app-menu-private.h
5912 * src/hildon-app-menu.c
5913 (hildon_app_menu_append, hildon_app_menu_add_filter)
5914 (button_visibility_changed, hildon_app_menu_apply_style)
5915 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5916 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5917 layout everytime a button (item or filter) is shown or hidden.
5919 * src/hildon-stackable-window.c
5920 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5923 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5925 * src/hildon-touch-selector.c:
5926 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5927 that the treeview inside the touch selector is in fremantle hildon mode
5928 * examples/hildon-date-button-example.c
5929 * examples/hildon-picker-button-multicolumn-example.c
5930 * examples/hildon-touch-selector-entry-example.c
5931 * examples/hildon-touch-selector-example.c
5932 * examples/hildon-time-button-example.c
5933 * examples/hildon-picker-button-example.c:
5934 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5936 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5938 * examples/hildon-text-view-example.c: (main): Remove the
5939 gtkrc bits, now handled by the theme.
5941 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5943 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5946 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5948 * po/Makefile.am: Install properly the mo files.
5949 * po/en_GB.po: Update translation, to ease testing purposes.
5951 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5953 * examples/hildon-picker-button-example.c: (main): Select an item
5954 in the selector before setting it to the button.
5956 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5958 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5959 Update button's value if the selector has an item active.
5961 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5962 'value' with the selector)
5964 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5966 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5967 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5968 (hildon_picker_button_class_init): Plug the finalize method.
5969 (hildon_picker_button_set_selector): If there's a previously set
5970 selector, unref'it before setting a new one.
5972 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5973 HildonTouchSelector)
5975 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5977 * src/hildon-touch-selector-entry.c:
5978 (hildon_touch_selector_entry_changed): Check if there is no text
5979 selected before setting the entry text.
5982 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5984 * src/hildon-touch-selector.h
5985 * src/hildon-touch-selector.c
5986 (hildon_touch_selector_get_active)
5987 (hildon_touch_selector_set_active): New methods to set/get the
5988 index of the selected item.
5990 * src/hildon-picker-button.h
5991 * src/hildon-picker-button.c
5992 (hildon_picker_button_get_active)
5993 (hildon_picker_button_set_active): New methods to set/get the
5994 index of the selected item.
5996 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5998 * configure.ac: post-release version bump.
6000 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6004 * configure.ac: Pre-release version bump.
6005 * debian/changelog: Updates.
6006 * debian/control: Add myself as maintainer and depend on l10n
6009 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6011 * src/hildon-window.c
6012 (hildon_window_set_main_menu)
6013 * src/hildon-stackable-window.c
6014 (hildon_stackable_window_set_main_menu):
6015 Updated documentation.
6017 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6019 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6020 Don't free selector->priv manually.
6023 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6026 (hildon_gtk_window_set_progress_indicator):
6027 * src/hildon-gtk.h: Added the new API
6028 hildon_gtk_window_set_progress_indicator, it changes the state of
6029 the window progress hint.
6031 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6033 * src/hildon-button.c
6034 * src/hildon-stackable-window.c: Minor documentation updates.
6036 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6038 * src/hildon-stackable-window.c: Updated documentation.
6040 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6042 * src/hildon-defines.h: Update margins definitions
6043 to the Fremantle sizes.
6046 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6048 * src/hildon-touch-selector.c,
6049 (_hildon_touch_selector_set_model): Cleaning the code after
6050 review, removed g_print and #if 0 from the code.
6052 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-edit-toolbar.c: Update documentation.
6056 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6058 * src/hildon-check-button.h
6059 * src/hildon-check-button.c
6060 (hildon_check_button_set_label, hildon_check_button_get_label)
6061 * examples/hildon-check-button-example.c
6062 (button_clicked_cb):
6063 Removed deprecated methods.
6065 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6067 * src/hildon-text-view.c:
6068 Add sample code to the documentation.
6070 * src/hildon-entry.h
6071 * src/hildon-text-view.h:
6072 Minor cosmetic changes.
6074 * src/hildon-entry.c:
6075 Add sample code to the documentation.
6076 (hildon_entry_init, hildon_entry_refresh_contents):
6077 Don't allow NULL values in the placeholder.
6079 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6081 * doc/hildon-docs.sgml
6083 * examples/Makefile.am
6084 * examples/hildon-text-view-example.c
6086 * src/hildon-text-view.c
6087 * src/hildon-text-view.h
6089 New HildonTextView widget, with example.
6091 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6093 * po/POTFILES.in: Add missing files with translatable strings.
6094 Partially fixes NB#88287.
6096 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6098 * examples/hildon-pannable-area-example-2.c: (main): No need to
6099 set the cellrenderer height inside hildon touch lists, the theme does
6102 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6104 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6105 they are integrated in the theme.
6107 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6109 * examples/hildon-entry-example.c: Update the example adding
6110 widgets to modify the text and the placeholder of the HildonEntry.
6112 * src/hildon-entry.c: Show the placeholder everytime the widget
6113 is empty and loses the focus.
6115 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6117 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6119 * src/hildon-pannable-area.c,
6120 (hildon_pannable_area_size_request): Fixed bug in height
6121 requisition, avoid increasing size and add border twice.
6123 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6125 * configure.ac: postrelease version bump.
6127 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6131 * configure.ac: Prerelease version bump.
6132 * debian/changelog: update.
6133 * debian/rules: make -dbg package contain useful debugging symbols.
6135 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6137 * src/hildon-dialog.h
6138 * src/hildon-dialog.c
6139 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6140 New methods to add buttons with finger size.
6141 (hildon_dialog_new_with_buttons):
6142 Create buttons with finger size.
6144 * examples/hildon-dialog-example.c (main): Use HildonDialog
6145 methods to add buttons.
6147 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6149 * src/hildon-entry.c: Updated HildonButton documentation.
6151 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6153 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6154 button value label with (FALSE, FALSE) to prevent NB#88126 from
6157 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6159 * examples/hildon-pannable-area-example.c,
6160 (main): Removed examples panning a vbox inside a pannable
6161 area. Check bug NB#87965
6163 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6165 Patch contributed by Kris Rietveld (kris@imendio.com)
6167 * src/hildon-pannable-area.c,
6168 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6169 get_size and get_position, this saves an X server roundtrip.
6171 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6173 * doc/hildon-docs.sgml
6175 * examples/Makefile.am
6176 * examples/hildon-entry-example.c
6178 * src/hildon-entry.c
6179 * src/hildon-entry.h
6181 New HildonEntry widget, with example.
6183 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6185 * src/hildon-button.c (hildon_button_construct_child): Pack the
6186 image with expand == fill == FALSE. This is a workaround for a bug
6189 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6191 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6192 labels for the text column, to make it more look more dynamic.
6194 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6196 * src/hildon-time-selector.c
6197 Define gettext auxiliar macro N_
6198 (_create_minutes_model)
6199 (_create_hours_model)
6200 (_create_ampm_model): use of strftime in order to fill the model
6201 * src/hildon-date-selector.c
6202 (hildon_date_selector_finalize):
6203 (_locales_init): remove the logic related to get the name of the months
6204 using nl_langinfo, as it is not required anymore
6206 (_create_year_model)
6207 (_create_month_model)
6208 (_update_day_model): use of strftime in order to fill the model properly
6211 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-button.h
6214 * src/hildon-button.c (hildon_button_get_image): New method to
6217 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6219 * src/hildon-touch-selector.c:
6220 (hildon_touch_selector_remove_column): Remove from the correct parent
6221 and also remove the list element and free it.
6224 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6226 * src/hildon-time-selector.c
6227 (_create_hours_model): change the range on 12h ampm format in order to use
6228 a 12-11 range instead of previous 01-12 range
6229 (hildon_time_selector_set_time): change the way to select the current time
6230 on 12h ampm format, due the change on the range
6231 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6234 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6236 * src/hildon-touch-selector.c
6237 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6238 in order to allow use this function on multiple row selection mode if
6239 the column is different that the first one
6242 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6244 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6245 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6247 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6249 * src/hildon-date-selector.h: clean some comments, now on the .c
6250 * src/hildon-date-selector.c
6251 (hildon_date_selector_select_month): first implementation
6252 (hildon_date_selector_select_day): added documentation, reimplemented
6253 using hildon_date_selector_select_current_date to avoid repeat code
6256 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6258 Reviewed interaction logic based on device experiences, refactored
6261 * src/hildon-pannable-area.c,
6262 (hildon_pannable_area_class_init): Updated default vmax speed.
6263 (hildon_pannable_area_calculate_velocity): Added this function, it
6264 avoids duplicate valocity calculation. Adjusted calculation to
6265 avoid problems with zero dist events.
6267 (hildon_pannable_area_motion_notify_cb): Now we use the
6268 calculate_velocity function.
6270 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6272 * src/hildon-date-selector.c
6273 (hildon_date_selector_select_current_date): fix the day range check
6274 as it failed using the last day of the current month
6277 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6279 * src/hildon-touch-selector.c
6280 (hildon_touch_selector_get_num_columns): added a parameter validation
6283 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6285 * examples/Makefile.am
6286 * examples/hildon-edit-toolbar-example.c: Example of the
6287 HildonEditToolbar widget.
6289 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6291 * configure.ac: postrelease version bump.
6293 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6297 * configure.ac: prerelease version bump.
6298 * debian/changelog: update.
6300 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6302 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6303 renderer to display stock icons in the touch list. Also, set the sizes
6304 to the recommended in the style guide.
6306 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6307 * src/hildon-touch-selector.h
6308 (hildon_touch_selector_set_active_iter): renamed, now is
6309 hildon_touch_selector_select_iter
6310 (hildon_touch_selector_get_active_iter): renamed, now is
6311 hildon_touch_selector_get_selected
6312 (hildon_touch_selector_unselect_iter): added
6313 * src/hildon-touch-selector.c
6314 Update after API modification (methods renamed)
6315 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6316 order to avoid problems selecting multiple elements on the column
6317 (hildon_touch_selector_unselect_iter): added the implementation
6318 * src/hildon-time-selector.c
6319 * src/hildon-date-selector.c
6320 * src/hildon-touch-selector-entry.c
6321 Update methods calls after hildon-touch-selector.h API modification (methods
6324 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6326 * src/hildon-stackable-window.c
6327 (hildon_stackable_window_finalize): Call the parent class's finalize.
6329 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6331 * examples/hildon-touch-selector-example.c: (create_selector): Use
6332 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6335 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6337 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6338 set a cell background color, to respect theming.
6340 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6342 * doc/hildon-docs.sgml
6345 * src/hildon-edit-toolbar.c
6346 * src/hildon-edit-toolbar.h
6347 * src/hildon.h: New HildonEditToolbar widget.
6349 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6351 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6354 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6355 * src/hildon-touch-selector.c
6356 (_create_new_column): use g_object_set instead of two g_object_set_property
6358 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6359 * src/hildon-touch-selector.c
6360 (_create_new_column): use of hildon_gtk_tree_view_new to create
6361 the treeview, instead of use directly g_object_new
6362 (_create_new_column): update the property name "vindicator-mode" for the
6363 new one "vscrollbar-policy"
6364 * examples/hildon-date-button-example.c
6365 * examples/hildon-picker-button-multicolumn-example.c
6366 * examples/hildon-touch-selector-entry-example.c
6367 * examples/hildon-touch-selector-example.c
6368 * examples/hildon-time-button-example.c
6369 * examples/hildon-picker-button-example.c
6370 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6371 to all the treeviews inside a pannable area.
6373 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6375 * src/hildon-button.h
6376 * src/hildon-button.c (hildon_button_init)
6377 (hildon_button_set_arrangement, hildon_button_set_alignment)
6378 (hildon_button_set_title_alignment)
6379 (hildon_button_set_value_alignment)
6380 (hildon_button_set_image_alignment)
6381 (hildon_button_construct_child): New methods to set the alignment
6382 of the individual components of the button (title, value,
6383 image). Also, new method to alter the xscale and yscale properties
6384 of the GtkAlignment inside the button, so more complex layouts can
6387 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6389 * src/hildon-button.c (hildon_button_style_set)
6390 (hildon_button_class_init, hildon_button_set_arrangement)
6391 (hildon_button_construct_child): Apply style properties
6392 correctly. Use the 'image-spacing' style property too.
6394 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6396 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6397 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6400 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6402 * src/hildon-pannable-area.c,
6403 (hildon_pannable_area_size_request): Fixed problem with
6404 pannable-area size_request.
6406 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6408 Added management for the grab-focus to a child widget, like a
6409 range, we need to fade out the scrollbar when releasing.
6411 * src/hildon-pannable-area.c,
6412 (hildon_pannable_area_init): Connected the grab-focus signal to
6414 (hildon_pannable_area_grab_notify): Added this function in order
6415 to manage the situation when the grab-focus ends. We have to
6416 fade-out the scrollbar.
6418 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6420 * src/hildon-app-menu.c: Minor documentation update.
6422 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6424 * src/hildon-app-menu.c
6425 * examples/hildon-app-menu-example.c (create_menu): Update
6426 examples and documentation to explain how to connect callbacks.
6428 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6430 * examples/hildon-button-example.c
6431 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6432 hildon_stackable_window_new instead of gtk_window_new
6434 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6436 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6437 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6438 (hildon_pannable_area_set_property),
6439 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6440 (hildon_pannable_area_unrealize),
6441 (hildon_pannable_area_size_request),
6442 (hildon_pannable_area_size_allocate),
6443 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6444 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6445 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6446 (hildon_pannable_area_initial_effect),
6447 (hildon_pannable_area_redraw),
6448 (hildon_pannable_area_scroll_indicator_fade),
6449 (hildon_pannable_area_expose_event),
6450 (hildon_pannable_area_get_topmost), (synth_crossing),
6451 (hildon_pannable_area_button_press_cb),
6452 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6453 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6454 (hildon_pannable_area_motion_notify_cb),
6455 (hildon_pannable_area_button_release_cb),
6456 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6457 (hildon_pannable_area_remove),
6458 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6459 chage the code layout to a more GtkWidget like. Review the use of
6462 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6464 * examples/hildon-pannable-area-example-4.c,
6465 (main): Modified the name of the hindicator_mode to
6468 * src/hildon-pannable-area.c,
6469 (hildon_pannable_area_class_init),
6470 (hildon_pannable_area_motion_notify_cb),
6471 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6472 we have reduced the amount of signals and managed reviewed its
6473 rationale. Changed the default decelerate value.
6475 (hildon_pannable_area_add),
6476 (hildon_pannable_area_redraw): Refactored functions.
6478 (hildon_pannable_area_init),
6479 (hildon_pannable_area_get_property),
6480 (hildon_pannable_area_set_property):
6481 (hildon_pannable_draw_vscroll),
6482 (hildon_pannable_draw_hscroll),
6483 (hildon_pannable_area_initial_effect),
6484 (hildon_pannable_area_expose_event),
6485 (hildon_pannable_area_scroll),
6486 (hildon_pannable_area_button_press_cb),
6487 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6488 and vindicator_mode with hscrollbar_policy and
6489 vscrollbar_policy. Replaced hscroll and vscroll with
6490 hscroll_visible and vscroll_visible.
6492 (hildon_pannable_area_refresh): Refactor the function, remove
6493 variables and check the calls to this function, added resize
6494 conditions in case the children change their layout.
6496 (hildon_pannable_area_size_request): Added more detailed
6497 size_request calculation.
6500 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6502 * src/hildon-color-chooser.c
6503 (init_borders): use the correct gtk_border_free instead of g_free, to
6504 avoid a crash when this widget is used (ie: the three color selection
6507 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6509 * src/hildon-check-button.c,
6510 (hildon_check_button_set_active): Fixed problem when setting the
6511 active value, the widget was not redrawn.
6513 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6515 * src/hildon-pannable-area.c,
6516 (hildon_pannable_area_refresh),
6517 (hildon_pannable_area_scroll),
6518 (hildon_pannable_area_motion_notify_cb): Small code style change.
6520 (hildon_pannable_area_class_init): Default initial_hint set to
6521 FALSE, it is not in the specs.
6523 (hildon_pannable_area_initial_effect),
6524 (hildon_pannable_area_expose_event),
6525 (hildon_pannable_area_map),
6526 (hildon_pannable_area_init): Moved the launching point of the
6527 initial effect, it was in map but the sizes where not correct in
6528 that method so we do not know if we have the reproduce it. Now it
6529 is placed in the expose_event method and uses a variable to
6530 reproduce it just once.
6532 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6534 * src/hildon-pannable-area.c,
6535 (hildon_pannable_draw_vscroll),
6536 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6537 position allowed for the scrollbars.
6539 (hildon_pannable_area_size_allocate): Small style change.
6541 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6543 * src/hildon-pannable-area.c,
6544 (hildon_pannable_area_scroll_indicator_fade),
6545 (hildon_pannable_area_button_press_cb),
6546 (hildon_pannable_area_button_release_cb),
6547 (hildon_pannable_area_scroll_cb),
6548 (hildon_pannable_area_expose_event),
6549 (hildon_pannable_area_init): Added the define parameter
6550 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6551 and refactor the fade variable.
6553 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6555 * src/hildon-pannable-area.c,
6556 (hildon_pannable_area_redraw),
6557 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6558 lines, we were reimplemeting the redraw code.
6560 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6562 * src/hildon-pannable-area.c,
6563 (hildon_pannable_area_scroll_cb),
6564 (hildon_pannable_area_realize),
6565 (hildon_pannable_area_class_init): Added scroll_event management
6566 for pannable area, now we can scroll the usual desktop method.
6568 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6569 initialization of the parameters should depend on idle_id.
6571 (hildon_pannable_area_init),
6572 (hildon_pannable_area_map): Small code style modifications
6574 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6576 * src/hildon-pannable-area.c
6577 (hildon_pannable_area_button_press_cb),
6578 (hildon_pannable_area_motion_notify_cb),
6579 (hildon_pannable_area_button_release_cb),
6580 (hildon_pannable_area_size_allocate),
6581 (hildon_pannable_area_scroll_to): Improved the timeouts
6582 management, we avoid creating them each time.
6584 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6586 * src/hildon-pannable-area.c:
6587 (hildon_pannable_area_refresh),
6588 (hildon_pannable_area_motion_notify_cb),
6589 (hildon_pannable_area_class_init):
6590 * src/hildon-pannable-area.h:
6591 * src/hildon-touch-selector.c
6592 (_create_new_column):
6593 * examples/hildon-pannable-area-example-4.c:
6594 (horizontal_movement),
6595 (vertical_movement),
6597 Replaced the names of enums in the HildonPannableArea:
6598 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6599 HILDON_MOVEMENT_MODE_*
6600 - HILDON_PANNABLE_AREA_MOV_* ->
6602 - Removed HildonPannableAreaIndicatorMode, now we
6605 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6607 * examples/hildon-pannable-area-touch-grid-example.c
6608 * examples/hildon-pannable-area-touch-list-example.c: Fix
6609 compilation warnings.
6611 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6613 * src/hildon-gtk.c (hildon_gtk_button_new)
6614 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6615 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6616 images overriding the value of the "gtk-button-images" setting.
6618 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6620 * src/hildon-check-button.c (hildon_check_button_new):
6621 Instead of using a custom container, display the label and the
6622 checkbox using the standard GtkButton API.
6624 * examples/hildon-check-button-example.c (main): Don't use
6625 hildon_check_button_set_label() anymore
6627 * src/hildon-check-button.h
6628 * src/hildon-check-button.c
6629 (hildon_check_button_set_label, hildon_check_button_get_label):
6630 Set as deprecated, now we're using gtk_button_{get,set}_label()
6632 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6634 * src/hildon-pannable-area.c,
6635 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6636 GtkTreeview first line we detected it after the inclusion of the
6637 GtkWindowImpl in gtk+. We now check if the window is visible, not
6638 just if the pointer is over the window.
6639 (hildon_pannable_axis_scroll),
6640 (hildon_pannable_area_expose_event): Small style changes.
6642 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6644 * src/hildon-button.c: Update documentation.
6646 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6648 * examples/hildon-button-example.c: Add a switch to show images in
6651 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6653 * doc/hildon-docs.sgml: Some docs reorganization.
6655 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6657 * examples/hildon-pannable-area-touch-list-example.c
6659 * examples/hildon-pannable-area-touch-grid-example.c
6660 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6661 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6662 Fix memory leak when setting the tree model.
6664 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6668 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6670 * doc/hildon.types: Remove duplicated hildon_window_get_type
6671 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6672 documentation comment.
6674 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6676 * doc/Makefile.am: Complete list of private headers.
6678 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6680 * doc/hildon-docs.sgml
6681 * src/hildon-app-menu.c
6682 * src/hildon-bread-crumb.c
6683 * src/hildon-button.c
6685 * src/hildon-program.c
6686 * src/hildon-stackable-window.c
6687 * src/hildon-window.c: Lots of documentation updates.
6689 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6691 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6693 * configure.ac: Require Gtk+ 2.12.9 at least
6695 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6697 * src/hildon-pannable-area.c
6698 (hildon_pannable_area_scroll_indicator_fade),
6699 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6700 to protect the return of this timeout callbacks, avoiding deadlocks.
6702 2008-08-12 Christian Dywan <christian@imendio.com>
6705 * src/hildon-*.h: Ensure a consistent include order,
6706 include <gtk/gtk.h> instead of particular files and
6707 only include the topmost header in the gtk stack. See NB #39857
6709 2008-08-12 Christian Dywan <christian@imendio.com>
6711 * src/hildon-picker-dialog.c
6712 * src/hildon-touch-selector.c: Fix warnings about unused and
6713 uninitialized variables.
6715 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6717 * examples/Makefile.am
6718 * examples/hildon-check-button-example.c: Example of the hildon
6721 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6723 * src/hildon-window.h
6724 * src/hildon-window.c (hildon_window_class_init)
6725 (hildon_window_unset_program): Don't make
6726 hildon_window_unset_program a virtual function anymore.
6728 * src/hildon-stackable-window.c: Update documentation
6730 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6733 * doc/hildon-docs.sgml
6734 * doc/visual_index.xml
6735 * src/hildon-defines.c
6737 * src/hildon-helper.c
6738 * src/hildon-range-editor.c: Lots of documentation fixes.
6740 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6742 * examples/hildon-picker-button-multicolumn-example.c
6743 (create_touch_selector): Fix compilation warning.
6745 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6747 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6748 (hildon_pannable_area_button_release_cb)
6749 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6751 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6753 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6756 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6758 * src/hildon-bread-crumb-trail.h
6759 * src/hildon-date-editor.c
6760 * src/hildon-date-selector.c
6761 * src/hildon-pannable-area.c
6762 * src/hildon-picker-dialog.c
6763 * src/hildon-time-selector.c
6764 * src/hildon-touch-selector-entry.c
6765 * src/hildon-touch-selector.c
6766 * src/hildon-touch-selector.h: Misc documentation fixes
6768 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6770 * examples/hildon-date-editor-example.c (main): Updated date
6773 * examples/hildon-note-example.c (on_confirmation_clicked):
6774 Updated confirmation note example.
6776 * src/hildon-date-editor.c
6777 * src/hildon-note.c: Updated sample programs in documentation.
6780 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6782 * src/hildon-date-button.h:
6783 * src/hildon-picker-button.h:
6784 * src/hildon-time-button.c:
6785 * src/hildon-time-button.h:
6787 Some declarations changes to allow gtk-doc to document the widgets
6790 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6792 * src/hildon-date-button.c: Document the widget.
6793 * src/hildon-time-button.c: Document the widget.
6795 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6797 * src/hildon-picker-button.c: Document the widget.
6798 * src/hildon-touch-selector-entry.c: Document the widget.
6800 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6802 * doc/hildon-docs.sgml
6805 * src/hildon-check-button.h
6806 * src/hildon-check-button.c: New functions to create the Hildon
6810 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6812 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6814 * src/hildon-button.h
6815 * src/hildon-button.c
6816 (hildon_button_add_title_size_group)
6817 (hildon_button_add_value_size_group)
6818 (hildon_button_add_image_size_group)
6819 (hildon_button_add_size_groups): New functions to set size groups
6820 for the button labels and image.
6821 (hildon_button_new_full): Removed
6823 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6825 * src/hildon-time-selector.c
6826 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6827 in order to avoid a crash if gconf is not available
6829 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6831 * src/hildon-button.c (hildon_button_set_arrangement)
6832 (hildon_button_construct_child): Don't construct the button child
6833 before setting the arrangement.
6835 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6837 * src/hildon-program-private.h
6838 * src/hildon-program.c
6839 * src/hildon-program.h
6840 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6841 (hildon_program_peek_window_stack)
6842 (hildon_program_pop_window_stack)
6843 (hildon_program_go_to_root_window): HildonProgram now has a
6844 separate list for stackable windows. Functions are provided to
6845 manage that list with a stack-like API.
6847 * src/hildon-stackable-window.c: Stackable window management is
6848 now much simpler with the new HildonProgram API. Windows no
6849 longer need to be manually added to the program, they're
6850 automatically pushed to the top of the stack when shown.
6852 * examples/hildon-stackable-window-example.c: Updated example to
6853 reflect the API changes.
6855 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6857 * src/hildon-touch-selector.c: Comment out unimplemented
6858 hildon_touch_selector_insert_column() to avoid a compile warning.
6860 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6862 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6863 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6864 (hildon_touch_selector_set_column_selection_mode),
6865 (_hildon_touch_selector_set_model),
6866 (hildon_touch_selector_set_model):
6868 Complete review of HildonTouchSelector documentation.
6870 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6872 * doc/hildon-docs.sgml
6876 * src/hildon-gtk.c: Convenience functions for standard Gtk
6877 widgets, used to easily perform frequent operations.
6879 * src/hildon-button-helpers.h
6880 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6882 * src/hildon-helper.h
6883 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6884 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6886 * src/hildon-button.h
6887 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6889 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6891 * src/hildon-button.c (hildon_button_init)
6892 (hildon_button_set_arrangement, hildon_button_construct_child):
6893 Pack the image and the labels inside the same GtkAlignment so
6894 gtk_button_set_alignment() can be used
6896 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6898 * src/hildon-button.h
6899 * src/hildon-button.c
6900 (hildon_button_init, hildon_button_set_image)
6901 (hildon_button_set_image_position)
6902 (hildon_button_construct_child): New functions to add an image to
6905 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6907 * src/hildon-date-button.c
6908 * src/hildon-picker-button.c
6909 * src/hildon-time-button.c
6910 * src/hildon-button.c:
6911 (hildon_button_class_init): "size-flags" renamed to "size"
6912 (hildon_button_set_title): Hide the title label if set to NULL.
6914 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6916 HildonButtonFlags split into HildonButtonArrangement (to set the
6917 button layout) and HildonSizeType (which can be used for any
6920 * src/hildon-button.h
6921 * src/hildon-button.c
6922 (hildon_button_class_init)
6923 (hildon_button_set_arrangement)
6924 (hildon_button_set_property): New "size-flags"
6925 property. "arrangement-flags" renamed to "arrangement".
6926 (hildon_button_new, hildon_button_new_with_text)
6927 (hildon_button_new_full): Constructors updated to reflect type changes.
6929 * src/hildon-helper.h
6930 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6931 to set the size of a widget.
6935 * src/hildon-button-helpers.c
6936 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6938 * src/hildon-date-button.c
6939 * src/hildon-date-button.h
6940 * src/hildon-picker-button.c
6941 * src/hildon-picker-button.h
6942 * src/hildon-time-button.c
6943 * src/hildon-time-button.h: Updated widgets to reflect
6944 HildonButton API changes.
6946 * examples/hildon-button-example.c
6947 * examples/hildon-date-button-example.c
6948 * examples/hildon-picker-button-example.c
6949 * examples/hildon-picker-button-multicolumn-example.c
6950 * examples/hildon-time-button-example.c
6951 * examples/hildon-touch-selector-entry-example.c
6952 * examples/hildon-touch-selector-example.c: Updated examples to
6953 reflect HildonButton API changes.
6955 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6957 * doc/hildon-docs.sgml:
6959 * examples/Makefile.am:
6960 * examples/hildon-touch-selector-entry-example.c:
6962 * src/hildon-touch-selector-entry.c:
6963 * src/hildon-touch-selector-entry.h:
6966 Moved HildonTouchSelectorEntry from sandbox. Added its
6967 documentation and examples.
6969 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6971 * src/hildon-touch-selector.h:
6972 * examples/hildon-picker-button-multicolumn-example.c:
6973 (hildon_touch_selector_append_text_column): Add a gboolean
6974 parameter to determine if text must be centered in the column.
6976 * src/hildon-date-selector.c: (hildon_date_selector_init):
6977 * src/hildon-time-selector.c: (hildon_time_selector_init):
6978 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6979 (create_touch_selector): Update widgets and example to reflect
6982 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6984 * src/hildon-touch-selector.c:
6985 (hildon_touch_selector_set_active_iter): Set also the cursor in
6988 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6990 * doc/hildon-docs.sgml
6993 * src/hildon-toggle-button.c
6994 * src/hildon-toggle-button.h
6995 * src/hildon.h: Removed HildonToggleButton widget, a derived
6996 class is not necessary for this.
6998 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7000 * src/hildon-pannable-area.c,
7001 (hildon_pannable_area_realize),
7002 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7005 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7007 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7008 "done" button the default widget for the dialog.
7010 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7012 * src/hildon-touch-selector.c:
7013 (hildon_touch_selector_class_init),
7014 (hildon_touch_selector_get_property),
7015 (_hildon_touch_selector_set_model),
7016 (_hildon_touch_selector_has_multiple_selection),
7017 (hildon_touch_selector_has_multiple_selection):
7018 Add a "has-multiple-selection" property with a virtual
7019 has_multiple_selection() method to allow derived classes to
7020 override the default value for it. See the method and property
7021 documentation for details.
7023 * src/hildon-touch-selector.h: Add the new API.
7025 * src/hildon-picker-dialog.c: (requires_done_button): Call
7026 hildon_touch_selector_has_multiple_selection() instead of
7027 determining the need for a button itself.
7029 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7031 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7032 (_hildon_touch_selector_set_model),
7033 (hildon_touch_selector_set_model): Move working code to
7034 _hildon_touch_selector_set_mode(). Call the class method instead.
7036 * src/hildon-touch-selector.h: Add (*set_model) to
7037 HildonTouchSelectorClass.
7039 Make hildon_touch_selector_set_model() a virtual method, so that
7040 derived classes can extend it and do fancy stuff with the model.
7042 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7044 * configure.ac: Set back the tarname in AC_INIT to hildon.
7046 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7050 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7051 instead of libesd (NB#86876). Volume handling is still an open issue.
7053 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7056 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7058 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7059 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7060 derived class to ease placement of an entry widget in
7061 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7062 end, where the selector columns are packed now.
7064 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7066 * src/hildon-picker-button.c: Removed the simple _text() API.
7067 * src/hildon-picker-button.h: Likewise.
7069 * src/hildon-touch-selector.h:
7070 * src/hildon-touch-selector.c:
7071 (hildon_touch_selector_new_text),
7072 (hildon_touch_selector_append_text),
7073 (hildon_touch_selector_prepend_text),
7074 (hildon_touch_selector_insert_text):
7076 Moved the simple _text() API from HildonPickerButton to
7077 HildonTouchPicker, to provide better escalability and not to tie
7078 that API to HildonPickerButton.
7080 * examples/hildon-picker-button-example.c: (main): Example updated.
7082 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7084 * src/hildon-button.c: Updated documentation.
7086 * examples/hildon-button-example.c: Add the posibility to create
7087 the buttons using horizontal layout for title and value.
7089 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7091 * src/hildon-app-menu-private.h
7092 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7093 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7094 GtkSizeGroup for the filters, use the 'homogeneous' property of
7097 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7099 * examples/hildon-button-example.c: Updated example.
7101 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7103 * doc/hildon-docs.sgml:
7106 Update documentation.
7108 * examples/Makefile.am: Update renamed examples.
7110 * examples/hildon-picker-button-multicolumn-example.c:
7111 (create_touch_selector), (main): Update after the rename.
7113 * examples/hildon-touch-picker-example.c: Removed.
7114 * examples/hildon-touch-selector-example.c: (value_changed),
7115 (create_selector), (get_visible_content), (main): Renamed from
7116 hildon-touch-picker-example.c
7118 * src/Makefile.am: Updated renamed files.
7120 * src/hildon-date-button.c: (hildon_date_button_init),
7121 (hildon_date_button_get_date), (hildon_date_button_set_date):
7122 * src/hildon-date-selector.c: (hildon_date_selector_init),
7123 (_custom_print_func), (_update_day_model),
7124 (_manage_selector_change_cb),
7125 (hildon_date_selector_select_current_date),
7126 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7127 * src/hildon-date-selector.h:
7128 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7129 (hildon_picker_button_set_property),
7130 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7131 (hildon_picker_button_init), (hildon_picker_button_new_text),
7132 (hildon_picker_button_append_text),
7133 (hildon_picker_button_prepend_text),
7134 (hildon_picker_button_insert_text),
7135 (hildon_picker_button_set_selector),
7136 (hildon_picker_button_get_selector):
7137 * src/hildon-picker-button.h:
7138 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7139 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7140 (_update_title_on_selector_changed_cb), (requires_done_button),
7141 (_hildon_picker_dialog_set_selector),
7142 (hildon_picker_dialog_set_selector),
7143 (hildon_picker_dialog_get_selector):
7144 * src/hildon-picker-dialog.h:
7145 * src/hildon-time-button.c: (hildon_time_button_init),
7146 (hildon_time_button_get_time), (hildon_time_button_set_time):
7147 * src/hildon-time-selector.c: (hildon_time_selector_init),
7148 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7149 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7150 * src/hildon-time-selector.h:
7153 Massive code updates after the rename.
7155 * src/hildon-touch-picker.c: Removed.
7156 * src/hildon-touch-picker.h: Removed.
7158 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7159 (hildon_touch_selector_init), (hildon_touch_selector_map),
7160 (hildon_touch_selector_remove), (_default_print_func),
7161 (_selection_changed_cb), (_create_new_column),
7162 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7163 (hildon_touch_selector_append_text_column),
7164 (hildon_touch_selector_remove_column),
7165 (hildon_touch_selector_set_column_attributes),
7166 (hildon_touch_selector_insert_column),
7167 (hildon_touch_selector_get_num_columns),
7168 (hildon_touch_selector_get_column_selection_mode),
7169 (hildon_touch_selector_set_column_selection_mode),
7170 (hildon_touch_selector_set_print_func),
7171 (hildon_touch_selector_get_print_func),
7172 (hildon_touch_selector_get_active_iter),
7173 (hildon_touch_selector_set_active_iter),
7174 (hildon_touch_selector_get_selected_rows),
7175 (hildon_touch_selector_get_model),
7176 (hildon_touch_selector_set_model),
7177 (hildon_touch_selector_get_current_text),
7178 (_hildon_touch_selector_center_on_selected_items):
7179 * src/hildon-touch-selector.h: Renamed from
7180 hildon-touch-picker.[ch]
7182 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7183 references, code examples, and related documentation.
7185 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7187 * doc/hildon-docs.sgml
7190 * src/hildon-toggle-button.c
7191 * src/hildon-toggle-button.h
7192 * src/hildon.h: New HildonToggleButton widget.
7194 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7196 * src/hildon-button.c: Add API documentation.
7197 (hildon_button_set_size_groups): Check input parameters
7199 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7201 * src/hildon-pannable-area.c
7202 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7203 effect after reaching the movement thredshold. This way we start
7204 using the distance after passing the thredshold.
7206 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7208 * src/hildon-button.c: (hildon_button_set_property): Use the
7209 appropriate g_value_get_flags() method.
7211 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7213 * doc/hildon-docs.sgml:
7216 Add the touch pickers, picker dialogs, and picker button widgets
7217 to the documentation.
7219 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7221 * src/hildon-button.c: (hildon_button_set_property),
7222 (hildon_button_class_init): Make "arrangement-flags" a proper
7223 G_TYPE_FLAGS derived property.
7225 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7227 * examples/Makefile.am: Add below examples.
7228 * examples/hildon-date-button-example.c:
7229 * examples/hildon-picker-button-example.c:
7230 * examples/hildon-picker-button-multicolumn-example.c:
7231 * examples/hildon-time-button-example.c:
7232 * examples/hildon-touch-picker-example.c:
7234 Add examples for the recently added touch pickers,
7235 picker dialogs, and picker button widgets.
7237 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7239 * src/hildon-button.c: Add some API documentation
7241 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7243 * src/hildon-button.h
7244 * src/hildon-button.c
7246 (hildon_button_new_with_text): New constructor to create a button
7247 with no text at all.
7248 (hildon_button_init, hildon_button_set_arrangement)
7249 (hildon_button_set_title, hildon_button_set_value)
7250 (hildon_button_set_text)
7251 (hildon_button_construct_child): Hide the value when it's not used
7252 so the rest of the text is properly aligned.
7253 Allow creating buttons with arbitrary widgets inside (not just
7254 title/value labels).
7256 * examples/hildon-button-example.c (vertical_buttons_window)
7257 (horizontal_buttons_window): Update example to use new API.
7259 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7261 * src/Makefile.am: Added HildonTimeButton.
7262 * src/hildon-time-button.c: Added missing LGPL header.
7263 * src/hildon-time-button.h: Added missing LGPL header.
7264 * src/hildon.h: Add hildon-time-button.h
7266 Copied HildonTimeButton from sandbox to trunk. Future work on this
7267 widget must take place in trunk.
7269 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7271 * src/Makefile.am: Added HildonDateButton.
7272 * src/hildon-date-button.c: Update includes.
7273 * src/hildon.h: Add hildon-date-button.h
7275 Copied HildonDateButton from sandbox to trunk. Future work on this
7276 widget must take place in trunk.
7278 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7280 * src/Makefile.am: Added HildonPickerButton.
7281 * src/hildon-picker-button.h: Update includes.
7282 * src/hildon.h: Add hildon-picker-button.h
7284 Copied HildonPickerButton from sandbox to trunk. Future work on
7285 this widget must take place in trunk.
7287 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7289 * src/Makefile.am: Added HildonPickerDialog.
7290 * src/hildon-picker-dialog.c: Update includes.
7291 * src/hildon.h: Add hildon-picker-dialog.h
7293 Copied HildonPickerDialog from sandbox to trunk. Future work
7294 on this widget must take place in trunk.
7296 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7298 * src/Makefile.am: Added HildonTimeSelector.
7299 * src/hildon.h: Add hildon-time-selector.h
7301 Copied HildonTimeSelector widget from sandbox to trunk. Future
7302 work on this widget must happen in trunk.
7304 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7306 * src/Makefile.am: Added HildonDateSelector.
7307 * src/hildon.h: Add hildon-date-selector.h
7309 Copied HildonDateSelector widget from sandbox to trunk. Future
7310 work on this widget must happen in trunk.
7312 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7314 * src/Makefile.am: Added HildonTouchPicker.
7315 * src/hildon-touch-picker.c: Update includes.
7316 * src/hildon.h: Add hildon-touch-picker.h
7318 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7319 on this widget must happen in trunk.
7321 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7323 * src/hildon-pannable-area.c:
7324 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7326 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7328 * examples/hildon-app-menu-example.c (main): Let the window
7331 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7333 * src/hildon-pannable-area.c
7334 (hildon_pannable_area_class_init): Set the min value of the
7335 overshoot properties to zero, which points out that not
7336 overshooting allowed.
7338 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7340 Modified the procedure to get the widget at a point inside the
7341 pannable area when using the movement type signals. Now the user
7342 has to call a function to get the child, that way we just
7343 calculate the child in case the user really want to use it and not
7346 * src/hildon-marshalers.list: Modified the marshallers, now we do
7347 not have the widget as a parameter.
7349 * src/hildon-pannable-area.c
7350 (hildon_pannable_area_motion_notify_cb),
7351 (hildon_pannable_area_class_init),
7352 (hildon_pannable_get_child_widget_at): Removed the widget
7353 parameter from the signal callback. We have also refactored the
7354 emission of the signals.
7356 * src/hildon-pannable-area.h: Added a new method to the API to
7357 calculate a widget at a point inside the pannable area,
7358 hildon_pannable_get_child_widget_at.
7360 * examples/hildon-pannable-area-example-4.c
7361 (horizontal_movement): Modified the example to use the new API,
7362 added condition to control which widget is under the event. This
7363 way we can avoid scrolling laterally over other widgets.
7365 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7367 * src/hildon-pannable-area.c
7368 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7369 modes, we stop getting the pointer events due to returning the
7370 callback without properly calling the get pointer again. Fixed
7371 also an error using the hscroll and vscroll.
7373 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7375 * src/hildon-app-menu-private.h
7376 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7377 (hildon_app_menu_button_release, hildon_app_menu_init)
7378 (hildon_app_menu_class_init): Don't hide the menu on button
7379 release if the user didn't press outside first.
7381 * src/hildon-window.h
7382 * src/hildon-window.c (hildon_window_toggle_menu)
7383 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7384 hildon_window_toggle_menu a virtual function for the stackable
7385 window to override it.
7387 * src/hildon-stackable-window.h
7388 * src/hildon-stackable-window-private.h
7389 * src/hildon-stackable-window.c
7390 (hildon_stackable_window_realize)
7391 (hildon_stackable_window_finalize)
7392 (hildon_stackable_window_class_init)
7393 (hildon_stackable_window_init)
7394 (hildon_stackable_window_set_main_menu): New function to set the
7395 app menu of a HildonStackableWindow.
7397 * examples/hildon-app-menu-example.c: Remove the button to show
7398 the app menu, now it'll be shown when clicking on the title bar
7401 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7403 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7404 set the widget name if the arrangement flags do not specify
7407 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7409 * src/hildon-button.c: (hildon_button_set_property),
7410 (hildon_button_class_init), (hildon_button_new_full),
7411 (hildon_button_set_arrangement): Added "arrangement-flags"
7414 Make the HildonButtonFlags a construction-only property, to allow
7415 subclasses to set them properly.
7417 2008-07-21 Tim Janik <timj@imendio.com>
7419 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7420 insertion position after backspace, so additional digits are appended,
7423 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7425 * src/hildon-pannable-area.c,
7426 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7427 TODO list, it was complete and removed the g_debug and g_print
7430 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7432 Added the movement modes to the hildon-pannable-area, with this
7433 modes the developers can control in which directions the widget
7434 can scroll. They can also connect to signals in order to do
7435 something when that happens, allowing applications scroll. There
7436 is an example uploaded showing how to use it.
7438 * examples/Makefile.am:
7439 * examples/hildon-pannable-area-example-4.c: Added this example of
7440 an application using the modes.
7442 * src/hildon-marshalers.list: Added a new marshaller for the new
7445 * src/hildon-pannable-area.h: Added new enumerations and flags in
7446 order to control the movement modes and the new signals to warn
7447 about the movements in the area.
7449 * src/hildon-pannable-area.c:
7450 (hildon_pannable_axis_scroll),
7451 (hildon_pannable_area_scroll),
7452 (hildon_pannable_area_motion_notify_cb),
7453 (hildon_pannable_area_get_property),
7454 (hildon_pannable_area_set_property),
7455 (hildon_pannable_area_map),
7456 (hildon_pannable_area_class_init),
7457 (hildon_pannable_area_init),
7458 (hildon_pannable_area_jump_to): Added the modes to control the
7459 movement in the widget. We have added properties to control it,
7460 signals to warn about the movements and refactored some code.
7462 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7464 Changes required in order to allow vfast_factor set to zero to
7467 * src/hildon-pannable-area.c:
7468 (hildon_pannable_area_button_press_cb): Changed the condition, it
7469 is required for not allowing click when vfast_factor is zero.
7470 (hildon_pannable_area_timeout): Initialized velocity variables
7471 when we stop moving, it was less than 1 but not zero and we need
7472 to check zero in some situations.
7473 (hildon_pannable_area_class_init): Changed the default value of
7474 the speed factor, now the button_press is just sent in case the
7475 speed is 2 per cent of the max speed.
7476 (hildon_pannable_area_init): Initialization with 0.
7478 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7480 * src/hildon-pannable-area.c,
7481 (hildon_pannable_area_get_topmost): replaced
7482 gdk_window_get_children with gdk_window_peek_children, this way we
7483 do not have to free the list because it is not a copy.
7485 (hildon_pannable_axis_scroll),
7486 (hildon_pannable_area_scroll),
7487 (hildon_pannable_area_timeout),
7488 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7489 two parameters that were only used inside the
7490 hildon_pannable_area_scroll function.
7492 * examples/hildon-pannable-area-example.c,
7493 (get_sawtooth_label): Fixed small memory leak.
7495 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7497 More checks for the case where the overshoot is bigger than the
7500 * src/hildon-pannable-area.c:
7501 (hildon_pannable_draw_vscroll),
7502 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7503 to draw the slider of the scrollbar under the other scrollbar.
7504 (hildon_pannable_area_expose_event): added new checks to control
7505 the drawing of the overshooting area rectangle, in case it is too
7506 big for the area of the widget.
7507 (hildon_pannable_area_size_allocate): add more checks to avoid
7508 setting a position to the child widget outside the area.
7510 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7512 * src/hildon-pannable-area.c
7513 (hildon_pannable_area_size_allocate): Added conditions to control
7514 when overshooting is bigger than the allocated space for the
7515 children, this avoids negative allocations.
7517 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7519 * doc/hildon-docs.sgml
7521 * examples/Makefile.am
7522 * examples/hildon-button-example.c
7524 * src/hildon-button.c
7525 * src/hildon-button.h
7526 * src/hildon.h: Initial version of the new HildonButton widget,
7529 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7531 * src/hildon-pannable-area.c:
7532 (hildon_pannable_area_button_press_cb),
7533 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7534 (hildon_pannable_area_motion_notify_cb),
7535 (hildon_pannable_area_button_release_cb),
7536 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7537 (hildon_pannable_area_jump_to_child):
7539 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7541 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7543 * examples/Makefile.am
7544 * examples/hildon-pannable-area-touch-grid-example.c
7545 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7546 the Hildon Touch List and Hildon Touch Grid using the
7547 HildonPannableArea widget.
7549 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7551 * src/hildon-pannable-area.c,
7552 (hildon_pannable_area_button_press_cb),
7553 (hildon_pannable_area_refresh),
7554 (hildon_pannable_area_scroll),
7555 (hildon_pannable_area_motion_notify_cb),
7556 (hildon_pannable_area_button_release_cb),
7557 (hildon_pannable_area_expose_event),
7558 (hildon_pannable_area_add),
7559 (hildon_pannable_area_remove),
7560 (hildon_pannable_area_realize),
7561 (hildon_pannable_area_size_allocate),
7562 (hildon_pannable_area_class_init),
7563 (hildon_pannable_area_init),
7564 (hildon_pannable_area_scroll_to_child),
7565 (hildon_pannable_area_jump_to_child): Fixed the problem of
7566 removing the child from the GtkBin, we have rearranged the widget
7567 hierarchy, now there is no GtkAlignment which was not doing
7568 anything interesting but breaking some of the assumptions of
7569 GtkContainer. Now developers if they want to add a GtkAlignment
7570 they could, but it is not inside the area.
7572 We had to review the whole allocation/expose process, now it is
7573 improved and we save at least three signals which would be saving
7574 some time when rendering the widget. The allocation of the
7575 scrollbars is now made in the allocate method as usual.
7577 We have also added some conditions in order to control when there
7578 is no child of the pannable area. Maybe we will need more work
7581 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7583 * src/hildon-pannable-area.c,
7584 (hildon_pannable_area_dispose): Released the fade-out timeout when
7585 disposing the widget.
7587 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7589 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7590 zero, we are going to use that property in order to deactivate the
7592 (hildon_pannable_axis_scroll),
7593 (hildon_pannable_area_size_allocate): Added conditions to control
7594 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7595 call, now it is called in all situations and we can remove calls
7596 in the allocate method.
7597 (hildon_pannable_area_map): Control the situation when
7598 overshoot_max is zero, we do not need the timeout.
7599 (hildon_pannable_area_class_init): Added documentation in order to
7600 point out that setting zero to overshoot_max means deactivate
7603 NOTE: removed trailing whitespaces from my previous comments of
7606 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7608 * src/hildon-pannable-area.c
7609 (hildon_pannable_area_get_property),
7610 (hildon_pannable_area_set_property),
7611 (hildon_pannable_area_map),
7612 (hildon_pannable_area_class_init),
7613 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7614 to cause the widget give a hint about its panning abilities upon
7617 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7619 * src/hildon-pannable-area.c: Several documentation improvements.
7621 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7623 * src/hildon-program.c
7624 * src/hildon-stackable-window.c: Update documentation.
7626 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7628 * src/hildon-stackable-window.c (get_previous_window_if_last):
7629 Renamed get_last_window()
7630 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7631 (hildon_stackable_window_unset_program):
7633 (get_previous_window_if_last):
7634 Detect if the window hasn't been added to a HildonProgram.
7636 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7638 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7640 * src/hildon-pannable-area.c
7641 (hildon_pannable_area_button_press_cb),
7642 (hildon_pannable_axis_scroll),
7643 (hildon_pannable_area_scroll),
7644 (hildon_pannable_area_timeout),
7645 (hildon_pannable_calculate_vel_factor),
7646 (hildon_pannable_area_get_property),
7647 (hildon_pannable_area_set_property),
7648 (hildon_pannable_area_class_init),
7649 (hildon_pannable_area_init),
7650 (hildon_pannable_area_scroll_to),
7651 (hildon_pannable_area_jump_to),
7652 (hildon_pannable_area_scroll_to_child),
7653 (hildon_pannable_area_jump_to_child):
7654 * src/hildon-pannable-area.h: Added the new API functions:
7655 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7656 hildon_pannable_area_scroll_to_child,
7657 hildon_pannable_area_jump_to_child
7660 * examples/Makefile.am
7661 * examples/hildon-pannable-area-example-2.c
7662 * examples/hildon-pannable-area-example-3.c: Added these two new
7663 examples in order to test and show how the new APIs work.
7665 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7667 * examples/hildon-stackable-window-example.c (new_window):
7668 * src/Makefile.am (noinst_HEADERS):
7669 * src/hildon-program.c (hildon_program_go_to_root_window):
7670 * src/hildon-program.h:
7671 * src/hildon-stackable-window-private.h:
7672 * src/hildon-stackable-window.c:
7673 * src/hildon-stackable-window.h:
7674 Create hildon-stackable-window-private.h
7675 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7677 * examples/hildon-app-menu-example.c (create_menu):
7678 * examples/hildon-hvolumebar-insensitive-example.c (main):
7679 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7680 * examples/hildon-toolbar-seekbar-example.c (main):
7681 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7682 * src/hildon-banner.c (hildon_banner_set_property):
7683 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7684 Fix compilation warnings
7686 * src/hildon-window.c:
7689 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7691 * src/hildon-stackable-window.c
7692 (hildon_stackable_window_unset_program):
7693 Calculate correctly whether to show the previous window if the
7694 last one is removed from the stack.
7695 (hildon_stackable_window_go_to_root_window):
7696 Send delete events starting from the topmost window.
7697 Stop if one of the windows is not destroyed.
7699 (hildon_stackable_window_delete_event)
7700 (hildon_stackable_window_class_init):
7701 Ignore the delete event if the window is not the topmost one.
7703 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7705 * src/hildon-pannable-area.c
7706 (hildon_pannable_area_expose_event): Fixed a problem when
7707 selecting the background color of the scrollbars.
7709 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7711 * examples/hildon-stackable-window-example.c
7712 * src/hildon-stackable-window.c
7713 * src/hildon-stackable-window.h
7714 hildon_stackable_window_go_home() renamed to
7715 hildon_stackable_window_go_to_root_window()
7716 Send delete events to windows rather than closing them with
7717 gtk_widget_destroy()
7719 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7721 * src/hildon-pannable-area.c
7722 (hildon_pannable_area_button_release_cb): Fix overshooting in
7725 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7727 * src/hildon-pannable-area.c
7728 (hildon_pannable_area_init): Initially show the scroll indicators.
7729 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7731 Add initial effect showing the widget is pannable.
7733 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7735 * src/hildon-pannable-area.c
7736 (hildon_pannable_area_class_init)
7737 (hildon_pannable_area_set_property)
7738 (hildon_pannable_area_get_property)
7739 (hildon_pannable_area_button_press_cb):
7740 New 'velocity_fast_factor' property to decide which velocity is
7743 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7745 * src/hildon-pannable-area.c
7746 (hildon_pannable_draw_hscroll)
7747 (hildon_pannable_draw_vscroll):
7748 Use float variables to calculate the size of the scrollbars to
7749 avoid error propagation and resizing during scrolling.
7751 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7753 * src/hildon-pannable-area.c
7754 (hildon_pannable_draw_vscroll)
7755 (hildon_pannable_draw_hscroll):
7756 Define a minimum size for the scroll bars
7758 * src/hildon-stackable-window.c
7759 (hildon_stackable_window_go_home): Fix compilation warning
7760 (get_last_window): Minor optimizations
7761 (hildon_stackable_window_class_init): Fix initialization of
7764 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7766 * src/hildon-stackable-window.c: Fixed typos in doc
7768 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7770 * src/hildon-pannable-area.c
7771 (hildon_pannable_area_scroll):
7772 Calculate here whether we need to scroll instead of using the booleans
7773 that tell us whether to /draw/ the scrolling bars.
7775 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7777 * src/hildon-app-menu.h
7779 * src/hildon-app-menu.c
7780 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7781 multiple filter groups related code and API. Now we support only
7783 * examples/hildon-app-menu-example.c:
7785 Update to reflect API changes.
7787 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7789 * src/hildon-stackable-window.c
7790 (hildon_stackable_window_class_init):
7791 Add hildon_stackable_window_realize.
7792 (hildon_stackable_window_realize):
7793 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7794 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7795 to apply theming and behavior specific to HildonStackableWindow
7798 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7800 * src/hildon-note.c (hildon_note_button_release):
7801 Close information notes also when tapping on them
7803 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7805 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7806 ELASTICITY, refactor and review, fix some issues with drawing
7809 * src/hildon-pannable-area.c:
7810 (hildon_pannable_area_button_press_cb): removed the conditions to
7811 avoid clicks when overshooting. It is not required
7813 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7814 define. Refatored and reviewed the code, now we do not need to
7815 manage velocity in motion_notify.
7817 (hildon_pannable_area_motion_notify_cb): We have moved the code
7818 that controls the area_scroll to the axis_scroll function and get
7819 rid of duplicated code.
7821 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7823 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7825 (hildon_pannable_draw_vscroll),
7826 (hildon_pannable_draw_hscroll): Fixed the problems with the
7827 scrollbar drawing, now we do not use two surfaces, it is easier
7828 and saves resources.
7830 (hildon_pannable_area_get_property): Style modification.
7832 (hildon_pannable_area_class_init): Changed some default values.
7834 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7836 * src/hildon-stackable-window.c: Fix some typos in the
7839 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7841 * src/hildon-dialog.c:
7842 Change indentation style
7845 (hildon_note_button_release):
7846 Use root coordinates to check if the release event happened
7849 * src/hildon-app-menu.c
7850 (hildon_app_menu_button_release):
7851 Remove unnecessary check
7853 * examples/hildon-app-menu-example.c
7855 Add cast to fix warning
7857 * src/hildon-app-menu.c
7858 (hildon_app_menu_class_init):
7859 New inner-border style property.
7860 Set all default spacings to 16
7861 (hildon_app_menu_init):
7862 Use vertical-spacing to set the space between filter buttons and
7863 regular menu buttons.
7864 Set the default container border using the inner-border value.
7866 * examples/hildon-app-menu-example.c
7868 Don't set the menu border explicitly, now we have the inner-border
7869 style property for that.
7871 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7873 * src/hildon-app-menu.c (hildon_app_menu_init):
7874 Make the window modal
7876 * src/hildon-note.c (hildon_note_map)
7877 * src/hildon-app-menu.c (hildon_app_menu_map):
7878 Destroy the grab window if we're unable to grab the pointer
7880 * src/hildon-app-menu-private.h
7881 * src/hildon-app-menu.c
7882 (hildon_app_menu_init, hildon_app_menu_finalize)
7883 (hildon_app_menu_map, hildon_app_menu_unmap)
7884 (hildon_app_menu_button_release)
7885 (grab_transfer_window_get):
7886 Bring back the grab window
7887 (hildon_app_menu_realize):
7888 Decorate the window, set WM hint for Matchbox
7890 * src/hildon-note.c (hildon_note_realize):
7891 * src/hildon-banner.c (hildon_banner_realize):
7892 Add WM hints for Matchbox
7894 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7896 * src/hildon-app-menu-private.h
7897 * src/hildon-app-menu.c
7898 (hildon_app_menu_init, hildon_app_menu_finalize)
7899 (hildon_app_menu_map, hildon_app_menu_unmap)
7900 (hildon_app_menu_button_release):
7901 Remove the grab window, it's not needed anymore
7903 * src/hildon-program.c
7904 Fixed typo in documentation
7906 * src/hildon-app-menu.h
7907 * src/hildon-app-menu.c
7908 * examples/hildon-app-menu-example.c
7909 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7911 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7914 Added new transfer_window and close_if_pressed_outside private
7916 (hildon_note_rebuild):
7917 Don't add a cancel button to the information note. It will be
7918 closed when tapping outside
7919 Remove the comment about the OK button in the documentation
7920 (hildon_note_realize):
7921 Set the notification type hint
7922 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7923 Grab/ungrab pointer and keyboard if the note has to be closed when
7925 (hildon_note_button_release):
7926 Close the note when tapping outside (if applicable)
7928 * src/hildon-app-menu.c
7929 Grab/ungrab pointer and keyboard on map/unmap
7930 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7931 Close the menu on button release, not button press
7933 * src/hildon-banner.c
7934 (hildon_banner_set_property)
7935 (hildon_banner_check_position):
7936 Make the banner use the full width of the screen
7937 (hildon_banner_show_information)
7938 (hildon_banner_show_information_with_markup):
7939 Don't display an icon by default
7941 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7943 Added fading scrollbars and adapted all the overshooting code to
7944 horizontal scrolling. We have also fixed bugs with overshooting
7945 and current fading implementation.
7947 * src/hildon-pannable-area.c
7948 (hildon_pannable_area_scroll_indicator_fade): Time out function
7949 used to change the transparency of the scrollbars.
7951 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7952 control and fixed a problem with fading, we now remove the fade
7953 timeout before adding a new one.
7955 (hildon_pannable_axis_scroll):
7956 (hildon_pannable_area_scroll):
7957 (hildon_pannable_area_timeout): Added this functions so we can use
7958 the scroll code both for vertical and horizontal.
7960 (hildon_pannable_area_motion_notify_cb):
7961 (hildon_pannable_area_button_release_cb): Added the horizontal
7962 scrolling control, fixed a problem with the overshooting timeout.
7964 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7965 painting of the scrolls.
7967 (hildon_pannable_draw_vscroll):
7968 (hildon_pannable_draw_hscroll):
7969 (hildon_pannable_area_expose_event):
7970 Draw both scrollbars and rectangles in the overshooting area.
7972 (hildon_pannable_area_get_property):
7973 (hildon_pannable_area_set_property):
7974 Modified the overshoot property to overshoot_max
7976 (hildon_pannable_area_map):
7977 Replaced the comments symbols.
7979 (hildon_pannable_area_size_allocate):
7980 (hildon_pannable_area_class_init):
7981 (hildon_pannable_area_init): Added horizontal scroll, fading
7982 effect properties, fixed a problem when overshooting in the bottom
7985 * examples/hildon-pannable-area-example.c:
7986 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7987 looks better in the example.
7989 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7991 * src/hildon-window.c
7992 * src/hildon-window.h
7993 (hildon_window_class_init)
7994 (hildon_window_unset_program)
7995 (hildon_window_unset_program_real):
7996 Make unset_program a virtual function
7998 * src/hildon-stackable-window.c
7999 * src/hildon-stackable-window.h
8000 Added hildon_stackable_window_go_home()
8002 * examples/Makefile.am
8003 * examples/hildon-stackable-window-example.c
8004 HildonStackableWindow example
8006 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8008 * hildon-pannable-area.c: Added the overshoot property and removed
8009 the OVERSHOOT define. Fixed an indent style error.
8010 (hildon_pannable_area_motion_notify_cb):
8011 (hildon_pannable_area_get_property):
8012 (hildon_pannable_area_set_property): Add overshoot property.
8014 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8017 (hildon_pannable_area_class_init): Installed the new property.
8019 * hildon-pannable-area-example.c: Added a sawtooth function, this
8020 way it is easier to check the movement in the pannable.
8021 (get_sawtooth_label): Added this function.
8022 (main): Now we get the labels from the new get_sawtooth_label
8025 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8027 * src/hildon-app-menu.h
8028 * src/hildon-app-menu.c
8029 Renamed API variables for consistency
8031 (hildon_app_menu_popup): Use also the default window size to
8032 decide where to place the menu
8034 (hildon_app_menu_init, hildon_app_menu_class_init): New
8035 external-border style property
8037 2008-05-26 Michael Natterer <mitch@imendio.com>
8039 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8040 widget_class->tap_and_hold_setup signal slot doesn't exist any
8041 longer, stop overriding it.
8043 (hildon_time_editor_init): g_signal_connect() to the
8044 tap-and-hold-setup signal instead.
8046 (hildon_time_editor_entry_keypress): add cast to fix warning.
8048 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8050 * doc/hildon-docs.sgml
8052 * examples/Makefile.am
8053 * examples/hildon-app-menu-example.c
8055 * src/hildon-app-menu-private.h
8056 * src/hildon-app-menu.c
8057 * src/hildon-app-menu.h
8059 New HildonAppMenu widget
8061 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8063 Rearranged the inheritance of the pannable area, now it inherits
8064 from GtkBin. This will allow us to control the event_window and
8065 the allocation process of the widget, required for some effects.
8067 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8068 GtkBin structures. * src/hildon-pannable-area.c: Added the
8069 event_window variable.
8070 (hildon_pannable_area_button_press_cb):
8071 (hildon_pannable_area_button_release_cb):
8072 (hildon_pannable_area_motion_notify_cb):
8073 Changed the signature of the method, now we override the event
8074 callback instead of connecting to the signal.
8076 (hildon_pannable_area_realize):
8077 (hildon_pannable_area_unrealize):
8078 (hildon_pannable_area_map):
8079 (hildon_pannable_area_unmap):
8080 (hildon_pannable_area_size_allocate):
8081 Added functions to control the widget construction. We add a
8082 INPUT_ONLY window and we put it over the widgets inside the
8083 container, this event_window handles the events.
8085 (hildon_pannable_area_class_init):
8086 Replaced the signal connections with overrides of the event
8089 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8091 Bouncing effect added when touching the borders, you can change
8092 the elasticity of the border changing the ELASTICITY define.
8094 * src/hildon-pannable-area.c: Added ELASTICITY define.
8095 (hildon_pannable_area_timeout): Added inverse velocity when
8096 touching the border of the child widget, that causes a bounce.
8098 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8100 Improved performance, we now do not go to the X server in order to
8101 get the list of window children. Apparently the effect is the
8102 same, we have to be careful and check if this breaks something in
8105 * src/hildon-pannable-area.c:
8106 (get_ordered_children): Removed this function.
8107 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8108 the children windows function with gdk_window_get_children.
8110 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8112 * src/hildon-pannable-area.c:
8113 (hildon_pannable_area_dispose): Fixed a crash when closing the
8114 window and kinetics is activated.
8116 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8118 * src/hildon-pannable-area.h
8119 * src/hildon-pannable-area.c
8120 Changed indentation style to meet the one used in Hildon
8122 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8124 Reviewed the interaction of the AUTO mode, now we use the time
8125 attribute of the events and calculate the velocity in the motion,
8126 doing a gimp like calculation. The velocity is calculated in each
8127 motion event using the last velocity and the current one, the
8128 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8130 * src/hildon-pannable-area.c: Replaced the time based algorithm
8132 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8133 timeout for the AUTO mode when we are still moving the cursor. We
8134 added also the velocity calculation in this function.
8135 (hildon_pannable_area_button_release_cb): launch the timeout in
8136 case we are in AUTO mode. There are still some constants here that
8137 come from the old implementation that should be reviewed and
8140 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8142 * doc/hildon-docs.sgml
8145 * src/hildon-stackable-window.c
8146 * src/hildon-stackable-window.h
8148 New HildonStackableWindow widget
8150 * examples/hildon-dialog-example.c
8151 * examples/hildon-pannable-area-example.c
8154 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8156 * src/hildon-dialog.c
8157 (hildon_dialog_new_with_buttons): New constructor.
8159 * examples/hildon-dialog-example.c
8160 (main): Update the example to use the new
8161 hildon_dialog_new_with_buttons().
8163 * examples/hildon-pannable-area-example.c
8164 (main): Update example.
8166 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8168 * doc/hildon-docs.sgml
8170 Added HildonPannableArea to the documentation.
8172 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8174 * doc/visual_index.xml
8175 Fix reference to HildonLoginDialog in documentation
8177 * doc/hildon-docs.sgml
8179 * examples/Makefile.am
8180 * examples/hildon-dialog-example.c
8182 * src/hildon-dialog.c
8183 * src/hildon-dialog.h
8185 New HildonDialog widget.
8187 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8189 * src/hildon-pannable-area.c
8190 Merge latest changes (r4318, r4342) from libmokoui trunk
8192 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8194 * examples/Makefile.am
8195 * examples/hildon-pannable-area-example.c
8197 * src/hildon-pannable-area.c
8198 * src/hildon-pannable-area.h
8200 New HildonPannableArea widget.
8202 2008-04-15 18:05:19 <timj@imendio.com>
8204 * src/hildon-banner.c: revert the recent change, that introduced
8205 gtk_window_present() calls. this reopens:
8206 Bug 78481 - [freetest] information banners are hidden under browser menu
8207 But resolves another variant of:
8208 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8210 2008-04-15 13:21:13 <timj@imendio.com>
8212 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8213 recreated its layout, spotted by Kris. this fixes all remaining
8214 artefacts and stability issues with the banner code. in particular:
8215 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8217 2008-04-14 16:52:59 <timj@imendio.com>
8219 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8220 operating on unrealized widgets, fixes:
8221 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8223 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8225 2008-04-09 Kristian Rietveld <kris@imendio.com>
8227 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8228 makes banner disappear.
8229 Fixes: NB#79182: info banner flickering with certain message lengts.
8231 * src/hildon-banner.c (hildon_banner_constructor),
8232 (hildon_banner_init), (hildon_banner_set_text),
8233 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8234 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8235 FALSE, reset size requests of label and banner,
8236 (force_to_wrap_truncated): when the text is too wide, always enforce
8237 the maximum possible width instead of recalculating it from the
8238 layout; enforce the maximum banner height of 3 lines,
8239 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8240 nicer wrapping and no truncated chars if space gets tight.
8242 * src/hildon-banner-private.h: add has_been_wrapped and
8243 has_been_truncated fields.
8245 2008-04-07 Sven Herzberg <sven@imendio.com>
8247 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8248 local values in hildon_date_editor_size_allocate
8250 * src/hildon-date-editor.c: moved the real allocation code into the
8253 2008-04-07 Sven Herzberg <sven@imendio.com>
8255 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8256 local values in hildon_date_editor_size_allocate
8258 * src/hildon-date-editor.c: merged the two if() branches together
8260 2008-04-07 Sven Herzberg <sven@imendio.com>
8262 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8263 local values in hildon_date_editor_size_allocate
8265 * src/hildon-date-editor.c: changed the arguments of the if()
8268 2008-04-07 Sven Herzberg <sven@imendio.com>
8270 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8271 local values in hildon_date_editor_size_allocate
8273 * src/hildon-date-editor.c: split the calculation of the allocation
8274 from the real allocation
8276 2008-03-27 Michael Natterer <mitch@imendio.com>
8278 Fixes: NB#81696: The passcode is not overwritten even after
8281 * src/hildon-code-dialog.c
8282 (hildon_code_dialog_button_clicked)
8283 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8284 because that doesn't overwrite selected text. Instead, emit the
8285 "commit" signal on the entry's im_context so the entry's normal
8286 insert logic is triggered. Set the cursor to the end of the entry
8287 after each insert operation so that we *only* insert in the middle
8288 of the text if something was selected.
8290 2008-03-27 Michael Natterer <mitch@imendio.com>
8292 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8293 selector cannot be opened
8295 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8296 when the popup color selector is created. Please connect to this
8297 signal in order to set the dialog's help ID.
8299 2008-03-25 Sven Herzberg <sven@imendio.com>
8301 Fixes: MB#1212: Hide info banners (infoprints) on click
8303 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8304 extracted the close event simulation into an extra function
8305 (hildon_banner_button_press_event): simulate a close event and destroy
8306 the widget if the event wasn't handled
8307 (hildon_banner_class_init): added the button_press_event handler
8308 (hildon_banner_init): added button-press events to the widget
8310 2008-03-25 Sven Herzberg <sven@imendio.com>
8312 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8313 Patch from: Mohammad Anwari <mdamt@maemo.org>
8315 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8316 instead of the right in RTL mode
8317 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8318 breadcrumb button list in RTL mode
8319 * src/hildon-caption.c: mirror the appearance of the caption widget in
8321 * src/hildon-date-editor.c: mirror appearance of the date editor in
8323 * src/hildon-time-editor.c: mirror appearance of the time editor in
8325 * src/hildon-window.c: fix the position of the popup in RTL mode
8327 2008-03-25 Sven Herzberg <sven@imendio.com>
8329 Amendment to the fix of NB#22072. Fix compilation.
8331 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8333 2008-03-19 Sven Herzberg <sven@imendio.com>
8335 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8338 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8339 timeout id properly when the timeout will disappear this leaves no
8340 artifacts around in the destroy(); there will only be the timeout
8341 created by hildon_banner_ensure_timeout() and adding a new timeout
8342 will also work if the timeout gets removed because the timeout_handler
8345 2008-03-19 Michael Natterer <mitch@imendio.com>
8347 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8349 * src/hildon-volumebar.c
8350 * src/hildon-vvolumebar.c
8351 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8352 the widget becomes focussable at all.
8354 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8355 set the focus to wither the mute button or the volumebar.
8357 Remove own "can-focus" property and instead listen to
8358 notify::can-focus in order to update the widget's state.
8360 Implement GtkWidget::focus() and make sure we can also *leave* the
8361 widget, not only enter it, depending on volumebar orientation and
8362 requested focus direction.
8364 Clean up set_mute() to cooperate nicely with all the above.
8366 2008-03-04 Michael Natterer <mitch@imendio.com>
8368 Fixes: NB#78481: information banners are hidden under browser menu
8370 * src/hildon-banner.c: call gtk_window_present() on the banners so
8371 they are risen if they are already visible.
8373 2008-03-03 Sven Herzberg <sven@imendio.com>
8375 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8377 * examples/hildon-window-menu-example.c: (main): extended the window
8378 menu example to serve as a testcase for automatically added
8379 accelerator groups, too
8380 * src/hildon-window.c: (hildon_window_add_accel_group),
8381 (hildon_window_set_menu): added patch by Tommi Komulainen
8383 2008-03-03 Sven Herzberg <sven@imendio.com>
8385 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8387 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8388 knowledge about the border allocators used within GTK+
8390 2008-02-26 Sven Herzberg <sven@imendio.com>
8392 Fixes: MB#2981: Build with asserts broken
8394 * src/hildon-date-editor.c,
8395 * src/hildon-number-editor.c,
8396 * src/hildon-time-editor.c,
8397 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8398 the proper GType instance check
8400 2008-02-25 Sven Herzberg <sven@imendio.com>
8402 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8404 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8405 * examples/hildon-window-menu-example.c: (main): explicitly show
8407 * src/hildon-window.c:
8408 (hildon_window_set_main_menu): moved most of the code from set_menu()
8409 to this place; skipped the call to gtk_widget_show_all(); also didn't
8410 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8411 (hildon_window_set_menu): removed most of the code, just keep the
8412 questionable gtk_widget_show_all()
8413 * src/hildon-window.h: added the new function and deprecate the old
8416 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8422 * debian/changelog: Updating.
8424 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8427 * pkgconfig/Makefile.am:
8428 * pkgconfig/hildon.pc.in:
8431 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8432 use newly created API_MAJOR_VERSION.
8434 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8440 * debian/changelog: Updating.
8442 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8444 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8446 Add outer_border style property, we use it but don't define it (!).
8450 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8452 * examples/hildon-bread-crumb-trail-example.c (main):
8456 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8458 Fix logic for the bread crumb trail node removal.
8462 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8468 * debian/changelog: Updating.
8470 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8472 Patch by Alejandro to get/set passwords dialogs accesibility.
8474 * hildon-1/src/hildon-get-password-dialog.c:
8475 * hildon-1/src/hildon-set-password-dialog.c:
8476 Set atk_set_name to the passwd entries in order to allow
8477 accessibility by name on this entries.
8479 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8484 * debian/control: Updating gtk dep.
8486 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8488 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8489 USE_MAEMO_GTK is enabled.
8491 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8493 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8494 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8496 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8502 * debian/changelog: Updating.
8504 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8506 * examples/Makefile.am:
8507 * examples/hildon-logical-color-example.c:
8508 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8509 applied + adding a test case. Fixes: NB#71660.
8511 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8513 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8514 to be visible, fixes warning on map for windows without toolbars.
8516 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8518 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8519 2.11.0, add a check for that besides the MAEMO_GTK check.
8521 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8527 * debian/changelog: Updating.
8529 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8531 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8532 visibility. Fixes: NB#70842 and MB#615.
8534 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8536 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8537 set the separator as no-show-all so it doesn't unintentionally appear when
8538 someone does a show_all.
8540 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8542 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8543 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8544 toplevel item. Fixes: NB#62031
8546 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8548 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8549 fix the name of the function in the docs.
8551 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8557 * debian/changelog: Updating.
8559 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8561 * examples/hildon-banner-long-example.c: Adding a test-case for long
8564 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8566 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * src/hildon-color-chooser-dialog.c:
8569 * src/hildon-color-chooser.c:
8570 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8571 memory leaks in font selector and color selector. Fixes: NB#70499 and
8574 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8576 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8578 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8580 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8581 little bit bigger. Fixes: #NB63694.
8583 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8589 * debian/changelog: Updating.
8591 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8594 * doc/hildon-docs.sgml:
8595 * doc/images/bread-crumb-trail.png:
8596 * doc/images/calendar-popup.png:
8597 * doc/images/caption.png:
8598 * doc/images/code-dialog.png:
8599 * doc/images/color-button.png:
8600 * doc/images/color-chooser-dialog.png:
8601 * doc/images/color-chooser.png:
8602 * doc/images/controlbar.png:
8603 * doc/images/date-editor.png:
8604 * doc/images/font-selection-dialog.png:
8605 * doc/images/get-password-dialog.png:
8606 * doc/images/hvolumebar.png:
8607 * doc/images/login-dialog.png:
8608 * doc/images/note.png:
8609 * doc/images/number-editor.png:
8610 * doc/images/range-editor.png:
8611 * doc/images/seekbar.png:
8612 * doc/images/set-password-dialog.png:
8613 * doc/images/sort-dialog.png:
8614 * doc/images/time-editor.png:
8615 * doc/images/time-picker.png:
8616 * doc/images/vvolumebar.png:
8617 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8618 Adding the bread-crumb-trial and helpers to the documentation.
8620 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8622 * examples/hildon-find-toolbar-example.c:
8623 * src/hildon-find-toolbar.c:
8624 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8625 actually continue firing the other handlers if connected. Adding a new
8627 hildon_find_toolbar_get_last_index that gets the index of the most
8628 recently added (last) item. Fixes: NB#52301.
8630 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8632 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8633 behaviour. Fixes: NB#68610.
8635 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8637 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8640 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8642 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8643 when realizing the banner. Should make the infonbanner effect a bit more
8646 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8648 * src/hildon-volumebar.c:
8649 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8650 hildon_volumebar_set_range_insensitive_message and
8651 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8653 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8655 * src/hildon-window.c: Fixing the border freeing on destroy.
8657 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8659 * src/hildon-code-dialog-private.h:
8660 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8661 kw keyboard support in HildonCodeDialog.
8663 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8669 * debian/changelog: Updating.
8671 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8673 * src/hildon-date-editor.c:
8674 * src/hildon-number-editor.c:
8675 * src/hildon-private.c:
8676 * src/hildon-private.h:
8677 * src/hildon-time-editor.c:
8678 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8679 handling in subclassed composite widgets. Fixes: NB#66628.
8681 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8683 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8684 from destroy_ callback as it introduces problems in async dbus signal
8685 handlers. Fixes NB#66673.
8687 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8689 * examples/hildon-hvolumebar-example.c:
8690 * src/hildon-volumebar.c: Improving the focus handling in the
8691 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8692 set_property accessor so that "mute" property can be actually set. I'm
8693 scared that nobody noticed it's totally broken.
8695 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8697 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8700 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8702 * src/hildon-calendar.c:
8703 * src/hildon-number-editor.c:
8704 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8705 matches the spec of 6 chars per second. Fixes: NB#60489.
8707 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8709 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8710 gtk_style_lookup_color sometime returns FALSE even though color was
8711 found and values were filled properly. Weird. Removing the warning for the
8714 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8716 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8717 expand vertically. Adding some extra space to the find toolbar buttons to
8718 make them thumbable. Fixes NB#66060.
8720 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8723 popup with "Ok" and "Cancel". Fixes NB#59299.
8725 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8727 * src/hildon-calendar.c: Process all window updates before executing next
8728 timeout. Fixes: NB#54146.
8730 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8736 * debian/changelog: Updating.
8738 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8740 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8741 the client event and ignore it, since we use the delete event to close
8744 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8746 * src/hildon-helper.c: Remove the bogus warning about color not being
8747 found. Fixes NB#58352.
8749 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8751 * examples/Makefile.am:
8752 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8753 HildonSeekbar widget inside a toolbar.
8755 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8757 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8758 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8759 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8760 don't want to be closed by non-temporary windows on map.
8762 Also use G_DEFINE_TYPE instead of manually typed code.
8764 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8771 * debian/rules: Updating.
8773 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8775 * examples/Makefile.am:
8776 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8777 bug NB#61128. Strangely it works.
8779 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * src/hildon-date-editor.c: When the date editor entry has been changed
8782 but the numbers of characters < max, turn off the skip validation flag.
8783 Prevents a situation when we enter first a valid year and later re-write
8784 it with an invalid one. Fixes NB#60154.
8786 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8788 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8789 code dialog. Fixes NB#64355.
8791 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8793 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8794 switching the page. Fixes NB#49374.
8796 * examples/Makefile.am:
8797 * examples/hildon-wizard-dialog-example.c: Adding an example for
8798 HildonWizardDialog that shows how to handle manual sensitivity setting on
8801 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8805 * src/hildon-version.h.in:
8806 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8808 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8810 * src/hildon-volumebar.c: Updating the docs.
8812 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8818 * debian/changelog: Updating.
8820 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8822 * src/hildon-find-toolbar.c:
8823 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8824 selected item: hildon_find_toolbar_set_active,
8825 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8826 hildon_find_toolbar_get_active_iter . They correspond to respective
8827 GtkComboBox functions.
8829 * examples/Makefile.am:
8830 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8833 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * examples/Makefile.am:
8836 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8839 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8840 when font size > 32 and we pack a focusable widget inside. Actually using
8841 the default response would work too, but since we don't show default
8842 response state in any way (no theming) it would not be visible to the
8843 user. Fixes NB#63430.
8845 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8847 * src/hildon-date-editor.c: Adding the missing variable setter in the
8848 set_property handler. Fixes NB#54182.
8850 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8852 * src/hildon-window.h: Changing the long key press time from 1500ms to
8853 800ms as requested in NB#63700. I have a bad feeling about this, let's
8854 see... Fixes NB#63700.
8856 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8858 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8859 hildon_time_picker_map, hildon_time_picker_realize,
8860 hildon_time_picker_style_set): Split the contents of map to more
8861 appropriate functions; set window decorations on realize and update
8862 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8864 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8869 * debian/changelog: Updating.
8871 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8873 * src/Makefile.am: fixed installation of the header files
8875 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8881 * debian/changelog: Updating.
8883 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8885 * configure.ac: Removing some remaining of --enable-xan.
8887 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8889 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8890 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8892 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8893 2.10.12-osso6 because the move-focus signal needs to be available in
8896 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8898 * examples/Makefile.am:
8899 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8900 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8901 fine. Prolly NB#61128 is fixed now.
8903 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8905 * src/hildon-volumebar.c:
8906 * src/hildon-volumebar.h: Adding the
8907 hildon_volumebar_set_range_insensitive_message and
8908 hildon_volumebar_set_range_insensitive_messagef functions to set
8909 insensitive message on the slider of the volumebar. Fixes NB#61129.
8911 * examples/Makefile.am:
8912 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8913 test the new insensitive messsage functionality on HildonVolumebar.
8915 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8917 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8920 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8922 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8923 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8924 button on after clearing the trail.
8926 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8928 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8930 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8932 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8933 by splitting the installed headers in generated and non-generated groups. Use
8934 only the non-generated headers to create the hildon-enum-types.h file.
8936 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8938 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8940 * src/hildon-window.c: Hide the window before performing the destroy.
8941 Should make the app closing a little tiny bit more snappy.
8943 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8945 * src/hildon-seekbar.c: add gtkrange.h header
8946 * src/hildon-caption.c: remove unused variable
8948 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8950 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8953 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8959 * debian/changelog: Updating.
8961 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8963 * src/hildon-window.c (hildon_window_window_state_event,
8964 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8965 escape timeout on focus-out-event rather than notify::is-topmost; the
8966 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8968 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8971 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8973 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8975 * src/hildon-window: actually, you need to use the macro always, there's
8976 no private pointer in the instance structure. We should have cleaned this up
8977 when we had the chance...
8979 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8981 * src/hildon-window.c: do not get the private date from HildonWindow before
8982 it passes the g_return_if_fail check. Once it's passed the test, there's no
8983 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8984 if you are only going to access the data once. Whitespace cleanups.
8986 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8988 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8989 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8991 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8997 * debian/changelog: Updating.
8999 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9001 * src/hildon-window.c: When destroying the window, remove (if exists) the
9002 escape timeout handler. Fixes #NB59276.
9004 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9006 * src/hildon-banner.c: When realizing the widget, set the window
9007 transiency. Setting the transiency in the gobject constructor is not
9008 good, as the widget is not realized at that point. Fixes: #NB56624.
9010 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9012 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9013 Add padding for future expansions.
9015 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9017 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9018 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9019 will fake an activation on the previous to the last item of the trail, so
9020 the effect can be overrided by the developer as usual.
9021 Also change the callback for the back button to do the same thing, so its
9022 effect can be overrided too. Fixes: NB#58982
9024 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9026 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9027 HildonCaption. Fixes NB#52379.
9029 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9031 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9032 the internal state of the trail after the user has had the chance of executing
9033 his handler for the signal. Specifically, it may happen that the activated button
9034 is removed and the user still lets the default handler run. This would segfault
9037 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9039 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9040 scrollbar to the preview dialog. Fixes NB#54147.
9042 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9044 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9045 max/min year properties can be altered, so the client can modify it
9046 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9048 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9050 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9051 hildonlike by default. Fixing a problem with disappearing arrows when
9052 scrolling through months and years. Fixes NB#54127.
9054 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9056 * examples/hildon-date-editor-example.c: Adding error callback to the date
9059 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * configure.ac: Updating.
9067 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9069 * configure.ac: Adding a special '--enable-xan' configure option that
9070 turns off the -Werror compilation setting. Usefull for development.
9072 * src/hildon-calendar.c:
9073 * src/hildon-number-editor.c:
9074 * src/hildon-time-picker.c: Adding the 5* multiplier to
9077 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9079 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9080 instead of g_object_ref + gtk_object_sink.
9082 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 * debian/changelog: Updating.
9090 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9092 * src/hildon-color-chooser-dialog.c:
9093 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9094 straight from Tommi labs.
9096 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9098 * examples/hildon-finger-example.c: Correcting the header file path.
9100 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9101 the changed signal. Fixes a small memory leak.
9103 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9107 * src/hildon-banner.c: Importing several usefull fixes from the
9108 ubuntu-mobile branch.
9110 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9112 * examples/Makefile.am:
9113 * examples/hildon-finger-example.c: Adding a finger-checking code
9116 * src/hildon-font-selection-dialog.c: Do not allocate the color
9117 structure using the g_new. Fixes NB#54061.
9119 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9121 * src/hildon-helper.c: Correcting tabs in file.
9123 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9125 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9126 control the visibility of the children.
9128 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9130 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9136 * debian/changelog: Updating.
9138 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9140 * src/hildon-bread-crumb-trail.c:
9141 (hildon_bread_crumb_trail_size_allocate):
9143 Make the back button always a square.
9145 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9147 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9148 from the .c file as it's a private file.
9150 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9153 uses slightly bigger height.
9155 * src/hildon-font-selection-dialog.c: Adding some checks before
9156 freeing memory in the font selection dialog.
9158 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9160 * src/hildon-font-selection-dialog.c: Adding a small check when
9163 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9164 buttons sensitivity on page switching.
9166 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9168 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9169 internal details of adding a bread crumb to the trail.
9171 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9177 * debian/changelog: Updating.
9179 * src/hildon-bread-crumb-trail.h:
9180 * src/hildon-bread-crumb.h: Changing the API guard to
9181 HILDON_ENABLE_UNSTABLE_API.
9183 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9191 * src/hildon-helper.h: Updating.
9193 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9201 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9205 * src/hildon-helper.h: Small fix to make the package actually compile.
9207 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9209 * src/hildon-bread-crumb-trail.h:
9210 * src/hildon-bread-crumb.h:
9212 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9213 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9215 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9217 * examples/hildon-bread-crumb-trail-example.c:
9219 * src/hildon-bread-crumb-trail.c:
9220 * src/hildon-bread-crumb-trail.h:
9221 * src/hildon-bread-crumb.c:
9222 * src/hildon-bread-crumb.h:
9223 * src/hildon-marshalers.list:
9224 * src/hildon-bread-crumb-widget.c:
9225 * src/hildon-bread-crumb-widget.h:
9227 Slight change in the widget design. The bread crumb trail API is
9228 unchanged, but HildonBreadCrumb is now an interface. A *private*
9229 implementation, hildon-bread-crumb-widget, is provided and used
9230 internally by the trail for the push_text/push_icon functions.
9232 The generic push API is still available, so anyone can implement
9233 and use its own bread crumb widget.
9235 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9237 * debian/rules: Fixing the shlibs.
9239 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9241 * src/hildon-banner.c: Fixing a problem with timed banners having
9242 their parrent destroyed before they are.
9244 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9246 * src/hildon-bread-crumb.c:
9247 * src/hildon-bread-crumb.h:
9249 Make the get_natural_size function a vfunc.
9251 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9253 * src/hildon-bread-crumb.c:
9254 * src/hildon-bread-crumb-trail.c:
9258 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * debian/changelog: Updating for release.
9267 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9269 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9270 don't leak the pango layout.
9272 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9275 * examples/hildon-bread-crumb-trail-example.c:
9279 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9281 * debian/changelog: Removing the bug-fixed entries that were actually
9282 resolved as WONTFIX.
9284 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9287 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9289 * src/hildon-bread-crumb-trail.c:
9290 * src/hildon-bread-crumb-trail.h:
9291 * src/hildon-bread-crumb.c:
9292 * src/hildon-bread-crumb.h:
9296 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9298 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9299 until it's passed the type check.
9301 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9303 * examples/hildon-bread-crumb-trail-example.c
9307 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9309 * examples/Makefile.am
9310 * examples/hildon-bread-crumb-trail-example.c
9312 * src/hildon-bread-crumb-trail.c
9313 * src/hildon-bread-crumb-trail.h
9314 * src/hildon-bread-crumb.c
9315 * src/hildon-bread-crumb.h
9317 New HildonBreadCrumbTrail widget.
9319 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9321 * src/hildon-range-editor.c (hildon_range_editor_init),
9322 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9323 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9324 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9325 hildon_time_editor_class_init, hildon_time_editor_init),
9326 src/hildon-get-password-dialog.c (invalid_input,
9327 hildon_get_password_set_property, hildon_get_password_get_property,
9328 create_contents, hildon_get_password_dialog_set_max_characters),
9329 src/hildon-set-password-dialog.c (create_contents),
9330 src/hildon-date-editor.c (hildon_date_editor_init),
9331 src/hildon-login-dialog.c (hildon_login_dialog_init),
9332 src/hildon-number-editor.c (hildon_number_editor_init),
9333 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9334 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9335 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9336 configure option and adding the respective checks in the code.
9337 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9338 hildon_calendar_drag_data_received): fixed some build warnings.
9340 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9342 * debian/changelog: A 1.0.0 release notes.