1 2009-08-05 Alberto Garcia <agarcia@igalia.com>
3 * doc/hildon-sections.txt: Add new functions
5 2009-08-05 Alberto Garcia <agarcia@igalia.com>
7 * hildon/hildon-text-view.[ch]
8 * hildon/hildon-entry.[ch]:
9 Add deprecation guards around deprecated functions.
11 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
13 * hildon/hildon-app-menu.c: Remove leftover function declaration.
15 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
17 Remove the grab from HildonAppMenu
19 * hildon/hildon-app-menu.c:
20 Now hildon-desktop places a blocker window behind the menu to handle
21 its closing, so the grab is no longer needed. This simplifies its
22 implementation and allows the system blanking to succeed.
24 Fixes: NB#130910 (Screen gets unlocked when menu is open)
26 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
30 * configure.ac: bump version
32 * debian/changelog: updates
33 * debian/control: raise debian dependency on GTK+
35 2009-08-04 Alberto Garcia <agarcia@igalia.com>
37 * hildon/hildon-text-view.c
38 * hildon/hildon-entry.c:
39 Remove all placeholder code from HildonEntry and HildonTextView
40 and use the API in GtkEntry and GtkTextView instead.
42 * examples/hildon-entry-example.c
43 * examples/hildon-text-view-example.c
44 * examples/hildon-wizard-dialog-example.c
45 * hildon/hildon-get-password-dialog.c
46 * hildon/hildon-login-dialog.c
47 * hildon/hildon-picker-dialog.c
48 * hildon/hildon-set-password-dialog.c
49 * hildon/hildon-touch-selector-entry.c:
50 Replace all deprecated calls to HildonEntry and HildonTextView
51 with their Gtk counterparts.
53 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
56 2009-08-03 Alejandro G. Castro <alex@igalia.com>
58 * hildon/hildon-pannable-area.c,
59 (hildon_pannable_area_check_move),
60 (hildon_pannable_area_button_release_cb),
61 (hildon_pannable_area_scroll_to): Reverted the priority change of
62 the timeout, in some situations, slow renderers, the click do not
63 make it to the mainloop on time.
65 Fixes NB#131013 (unable to stop panning file manager by tapping on
68 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
70 * configure.ac: bump version
72 * debian/changelog: updates
74 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
76 * hildon/hildon-touch-selector.[ch]
77 (hildon_touch_selector_center_on_index): New method that allows to center
78 on a item not selected
80 Fixes NB#130291 (New HildonTouchSelector API is required to center on
83 2009-07-29 Alberto Garcia <agarcia@igalia.com>
85 * hildon/hildon-text-view.c
86 (+set_logical_color, +hildon_text_view_style_set)
87 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
88 (hildon_text_view_init)
89 * hildon/hildon-entry.c
90 (+set_logical_color, +hildon_entry_style_set)
91 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
92 (hildon_entry_class_init, hildon_entry_init)
93 * hildon/hildon-button.c
94 (+set_logical_font, +set_logical_color)
95 (hildon_button_style_set, hildon_button_init)
96 (hildon_button_set_arrangement, hildon_button_set_style):
97 Remove all calls to hildon_helper_set_logical_font() and
98 hildon_helper_set_logical_color(), which are recursive, from
101 Fixes: NB#123409 (Showing dialog consumes significant amount of
104 2009-07-29 Alejandro G. Castro <alex@igalia.com>
106 * hildon/hildon-pannable-area.c,
107 (hildon_pannable_area_timeout): Added the process updates of the
108 scrollbars window in the pannable.
110 Fixes: NB#130043 (scrollindicator not smooth while panning)
112 2009-07-23 Alejandro G. Castro <alex@igalia.com>
114 * hildon/hildon-pannable-area.c,
115 (hildon_pannable_area_check_move),
116 (hildon_pannable_area_button_release_cb),
117 (hildon_pannable_area_scroll_to): Increased the priority of the
118 timeout this way it is going to be handled before the events.
120 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
124 * configure.ac: bump version
125 * debian/changelog: updates
127 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
129 * hildon/hildon-entry.c: (set_property): Do not allow to set
130 automatic height and use finger height instead, to prevent an to
131 have a smaller size than than its theme pixbuf.
133 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
135 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
137 * configure.ac: postrelease version bump.
138 * debian/changelog: post release version bump
140 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
145 * configure.ac: Bump version.
146 * debian/changelog: Updates.
148 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
150 * hildon/hildon-note.c: (label_size_request): Take the note
151 padding into account when setting the size request.
153 Fixes: NB#127896 (Information notes text truncated)
155 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
157 * configure.ac: postrelease version bump.
158 * debian/changelog: post release version bump
160 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
165 * configure.ac: Bump version.
166 * debian/changelog: Updates.
168 2009-07-16 Alejandro G. Castro <alex@igalia.com>
171 * hildon/hildon-text-view.c,
172 (hildon_text_view_button_press_event): Grabbed the focus in button
173 press, this way we are sure the widget has the focus in the
174 release event, required for HIM.
176 Fixes: NB#121445 (Virtual keyboard opening is not working in same
177 way for each text entry field)
179 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
181 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
182 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
183 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
184 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
185 (hildon_pannable_area_[gs]et_center_on_child_focus)
186 Redefined GtkContainer set-focus-child signal, in order to center
187 properly on a child when it receives the focus. Defined a new property
188 "center-on-child-focus" in order to activate this feature (deactivated
189 by default). Public get/set methods defined to manage the property.
191 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
193 2009-07-14 László Pere <lpere@blumsoft.eu>
195 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
196 the new size is applied.
198 Fixes: NB#124510 (The Application Menu is distorted when switched
199 between portrait and landscape mode)
200 Fixes: NB#115388 (Power key menu does not resize itself)
202 2009-07-01 Alberto Garcia <agarcia@igalia.com>
204 * hildon/hildon-banner.c (hildon_banner_map):
205 Set banner position after mapping.
207 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
209 * configure.ac: postrelease version bump.
210 * debian/changelog: post release version bump
212 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
217 * configure.ac: Bump version.
218 * debian/changelog: Updates.
220 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
222 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
225 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
227 * tests/check-hildon-banner.c
229 * tests/test_suites.h
230 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
231 were testing deprecated functions.
232 * examples/hildon-banner-example.c: typo on button3 type, that causes
233 a fail compiling with --with-examples but without --disable-deprecated
235 Missed commit in order to fix compilation using '--enable-fatal' and
236 '--disable-deprecated' (see previous commit)
238 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
240 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
241 functions with #ifndef HILDON_DISABLE_DEPRECATED
242 * examples/hildon-find-toolbar.c: Protect deprecated
243 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
244 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
245 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
246 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
248 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
249 to allow proper compilation of deprecated functions defined on the header
251 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
253 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
255 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
256 Cache the panning indicator color.,
257 (hildon_pannable_area_style_set): Query the color on style changes.
258 (hildon_pannable_draw_vscroll),
259 (hildon_pannable_draw_hscroll),
260 (hildon_pannable_area_expose_event): Use the cached panning indicator
261 color instead of looking it up on every expose and more.
263 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
265 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
266 (hildon_pannable_draw_hscroll),
267 (hildon_pannable_area_expose_event): Fix the panning indicator color,
268 so that it's "SecondaryTextColor", as desired.
270 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
272 * hildon/hildon-picker-dialog.c:
273 (selection_completed): take into account HILDON_UI_MODE_NORMAL
274 * hildon/hildon-touch-selector.c
275 (hildon_touch_selector_init): Initialize hildon-ui-mode
276 (hildon_touch_selector_row_activated): new callback for the
277 "row-activated" signal, in order to save the last activated
278 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
279 if the current hildon-ui-mode is coherent with the touch selector
280 (hildon_touch_selector_class_init)
281 (hildon_touch_selector_get_property)
282 (hildon_touch_selector_set_property)
283 Added "hildon-ui-mode" property
284 (disconnect_model_handlers): renamed to clean_column
285 (hildon_touch_selector_remove): use clean_column function
286 (_create_new_column): use the hildon-ui-mode to create the treeview, and
287 only select the first element on HILDON_UI_MODE_EDIT
288 (hildon_touch_selector_column_init): Initialize last_activate
289 (hildon_touch_selector_append_column): check that the touch selector
290 is coherent with the current hildon-ui-mode
291 (hildon_touch_selector_get_hildon_ui_mode)
292 (hildon_touch_selector_set_hildon_ui_mode)
293 Added a getter/setter for the hildon-ui-mode property
294 (hildon_touch_selector_get_last_activated_row): Added this method in
295 order to get the last activated row.
296 * examples/hildon-touch-selector-normal-mode-example.c
297 New example, that shows how to use the HildonTouchSelector in
298 HILDON_UI_MODE_NORMAL
300 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
301 Kristian Rietveld <kris@lanedo.com> advices
303 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
305 * hildon/hildon-time-selector.c: (update_format_policy): Do
306 not call update_format_dependant_columns() if not necessary.
307 (update_format_dependant_columns): Remove unnecessary check for
308 the number of columns.
310 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
312 * hildon/hildon-note.c (+hildon_note_constructor),
313 (hildon_note_class_init), (+hildon_note_set_padding),
314 (hildon_note_rebuild): Install a constructor where to set the
315 padding properties in the note, so that it actually works fine.
316 Use hildon_note_set_padding() for this, and also to set it during
319 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
321 * configure.ac: Bump GTK+ requirement to 2.14.3.
322 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
323 when using maemo-gtk to define proper margins for the notes.
325 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
326 with the dialog edge)
328 2009-06-24 Alberto Garcia <agarcia@igalia.com>
330 * hildon/hildon-banner.c
331 (hildon_banner_class_init):
333 (+hildon_banner_size_request):
334 Request always the full width of the screen.
335 (hildon_banner_realize)
336 (-hildon_banner_check_position, hildon_banner_map):
337 hildon_banner_check_position() is not needed in Hildon 2.2.
338 (-hildon_banner_reset_wrap_state)
339 (hildon_banner_constructor, hildon_banner_init):
340 Remove unnecessary calls to hildon_banner_reset_wrap_state()
341 (+banner_do_set_text)
342 (force_to_wrap_truncated):
343 Remove has_been_wrapped and has_been_truncated attributes.
344 (+reshow_banner, hildon_banner_real_show_information)
345 (hildon_banner_show_information_with_markup)
346 (hildon_banner_show_animation, hildon_banner_show_progress)
347 (hildon_banner_set_text, hildon_banner_set_markup):
348 Refactor code. Shrink banner vertically to use the minimum space
349 necessary everytime the text of the label is updated.
350 (screen_size_changed):
351 Call force_to_wrap_truncated() when the size of the screen
354 Fixes: NB#120500 (only device memory connect mmc in use info
355 banner is left aligned)
357 Fixes: NB#120613 (Size of HildonBanner varies depending on
358 previously opened banners)
360 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
362 * hildon/hildon-color-chooser.c
363 (hildon_color_chooser_pointer_motion): Take the widget allocation
366 Fixes: NB#124385 (Unable to select exact point in color mixing box
367 in color palette dialog)
369 2009-06-23 Alejandro G. Castro <alex@igalia.com>
371 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
372 (hildon_pannable_area_dispose)
373 (hildon_pannable_area_button_press_cb)
374 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
375 (hildon_pannable_area_button_release_cb)
376 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
377 New 'panning-started' and 'panning-finished' signals.
379 Fixes: NB#121732 (New feature request: Signal to pannable area
380 that informs when panning is stopped.)
382 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
384 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
385 instead of hardcoded colon.
387 Fixes: NB#124090 (New calendar wizard title is not using
388 ecdg_ti_caption_separator)
390 2009-06-22 David King <davidk@openismus.com>
392 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
393 constants and functions, as well as correct many typos throughout the
396 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
399 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
401 * configure.ac: postrelease version bump.
402 * debian/changelog: post release version bump
404 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
409 * configure.ac: Bump version.
410 * debian/changelog: Updates.
412 2009-06-18 Alberto Garcia <agarcia@igalia.com>
414 * hildon/hildon-window-stack.c
415 (hildon_window_stack_pop_and_push_list):
416 Prevent windows from having the same stack index
418 2009-06-18 Alberto Garcia <agarcia@igalia.com>
420 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
421 Use the index of the previous window rather than the stack length
422 to calculate the new index.
426 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
428 * hildon/hildon-date-selector.c
429 (hildon_date_selector_select_current_date)
430 (hildon_date_selector_get_date)
431 (hildon_date_selector_select_day):
432 Update the documentation: uses always the range (1-31), as it is obvious
433 that the final one will depend on the month and the year, but globally
434 the range is this, in a similar GtkCalendar approach
435 (hildon_date_selector_get_date):
436 Update the documentation: add NULL as a valid value for the day, month
439 Fix some details, after talk with David King on bug MB#4698
441 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
443 * hildon/hildon-touch-selector-entry.c
444 * hildon/hildon-touch-selector.c
445 Update the documentation of the "text-column" property
447 2009-06-18 David King <davidk@openismus.com>
449 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
450 several typos and errors throughout the documentation.
452 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
455 2009-06-18 Alberto Garcia <agarcia@igalia.com>
457 * hildon/hildon-note.c (hildon_note_realize):
458 Make HildonNote support portrait mode.
460 Fixes: NB#123448 (HildonNote is not portrait-friendly)
462 2009-06-17 Alberto Garcia <agarcia@igalia.com>
464 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
465 Document this function
467 2009-06-17 David King <davidk@openismus.com>
469 * hildon/hildon-date-selector.c
470 (hildon_date_selector_select_current_date)
471 (hildon_date_selector_get_date): Update documentation regarding days,
472 as the day of the month is dependent on both the month and the year.
473 (hildon_date_selector_get_date): Fix documentation of output arguments.
475 Fixes: MB#4698 (DateSelector documentation has bad output argument
476 description, and the day depends on both the month and the year)
478 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
480 * hildon/hildon-caption.c: Other documentation fixes to
483 2009-06-17 David King <davidk@openismus.com>
485 * hildon/hildon-caption.c: Minor documentation updates for
486 HildonCaption. Fixes MB#4697.
488 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
490 * doc/hildon-docs.sgml: Add hildon-version section.
491 * doc/hildon-sections.txt:
492 * hildon/hildon-version.h.in: Document versioning macros and
495 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
497 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
498 from HildonPickerDialog section.
500 2009-06-16 Alberto Garcia <agarcia@igalia.com>
502 * hildon/hildon-banner.c (hildon_banner_bind_style)
503 (screen_size_changed, hildon_banner_init)
504 (hildon_banner_real_show_information)
505 (hildon_banner_show_information_with_markup)
506 (hildon_banner_show_animation, hildon_banner_show_progress):
507 Set a different widget name to banners in portrait mode, for them
508 to be themed correctly.
510 2009-06-16 Alberto Garcia <agarcia@igalia.com>
512 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
513 Set a different widget name to notes in portrait mode, for them to
516 Partially fixes: NB#118401 (HildonNote causes unnecessary
519 2009-06-16 Alberto Garcia <agarcia@igalia.com>
521 * hildon/hildon-note.c (hildon_note_class_init)
522 (+hildon_note_size_request, screen_size_changed):
523 Always request the full width of the screen.
525 Fixes: NB#118375 (unnecessary rescaling of images)
527 2009-06-16 Alejandro G. Castro <alex@igalia.com>
529 * hildon/hildon-pannable-area.c,
530 (hildon_pannable_area_init),
531 (hildon_pannable_area_realize): Replaced old code adding flags in
532 the object init, now we add it with the other flags in the realize
535 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
537 * hildon/hildon-note.c: (hildon_note_class_init): Several
538 documentation improvements to the HildonNote widget.
540 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
542 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
544 Fixes: MB#4556 (HildonNoteType is undocumented)
546 2009-06-15 Alberto Garcia <agarcia@igalia.com>
548 * hildon/hildon-picker-button.c:
549 Explain how HildonPickerButton sets the title of its dialog
551 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
552 the title of its dialog)
554 2009-06-15 Alberto Garcia <agarcia@igalia.com>
556 * hildon/hildon-check-button.c:
557 Documentation updates
559 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
562 2009-06-15 Alberto Garcia <agarcia@igalia.com>
565 * hildon/hildon-edit-toolbar-private.h
566 * hildon/hildon-edit-toolbar.c
567 (+hildon_edit_toolbar_set_progress_indicator)
568 (hildon_edit_toolbar_init): Add progress indicator to the
571 * hildon/hildon-gtk.c
572 (hildon_gtk_window_set_progress_indicator):
573 If the window contains a HildonEditToolbar, enable the progress
576 * hildon/hildon-private.h
577 * hildon/hildon-private.c
578 (+hildon_private_create_animation)
579 * hildon/hildon-banner.c
580 (-hildon_banner_create_animation):
581 Moved to hildon-private.c
583 Fixes: NB#102373 (Progress indicator also for the Edit mode
586 2009-06-15 Alberto Garcia <agarcia@igalia.com>
588 * hildon/hildon-app-menu-private.h
589 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
590 (hildon_app_menu_add_filter, +menu_item_button_event)
591 (hildon_app_menu_button_release, hildon_app_menu_init):
592 Make sure that buttons receive 'button-release-event' in spite of
593 the grab held by HildonAppMenu
595 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
597 2009-06-15 Alberto Garcia <agarcia@igalia.com>
599 * hildon/hildon-app-menu.c
600 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
601 New style property to set the size of the group of filter buttons.
603 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
605 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
610 * configure.ac: Bump version.
611 * debian/changelog: Updates.
613 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
615 * hildon/hildon-main.c: Minor documentation fixes.
617 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
619 * doc/hildon-sections.txt:
620 * hildon/hildon-defines.h: Document the defines, organize them,
621 and mark deprecations as such.
623 Fixes: MB#4463 (Hildon size #defines are undocumented)
625 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
627 * hildon/hildon-animation-actor.c:
628 * hildon/hildon-app-menu.c:
629 * hildon/hildon-button.c:
630 * hildon/hildon-date-editor.c:
631 * hildon/hildon-dialog.c:
632 * hildon/hildon-edit-toolbar.c:
633 * hildon/hildon-entry.c:
634 * hildon/hildon-program.c:
635 * hildon/hildon-remote-texture.c:
636 * hildon/hildon-stackable-window.c:
637 * hildon/hildon-text-view.c:
638 * hildon/hildon-touch-selector.c:
639 * hildon/hildon-window-stack.c:
640 * hildon/hildon-window.c:
642 Remove redundant "represents" wording from most of the documentation.
644 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
646 2009-06-12 Alberto Garcia <agarcia@igalia.com>
651 * hildon/hildon-banner-private.h
652 * hildon/hildon-banner.c:
653 Move HildonBannerPrivate to hildon-banner.c and remove
654 hildon-banner-private.h
655 Use a bit field to store private booleans.
657 2009-06-12 Alberto Garcia <agarcia@igalia.com>
659 * hildon/hildon-app-menu.c (hildon_app_menu_map):
660 Don't install a new idle function if there's already one
665 2009-06-11 Alberto Garcia <agarcia@igalia.com>
667 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
668 (+legacy_menu_realized, +legacy_menu_unmapped)
669 (+set_legacy_menu_type):
670 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
671 they can be identified by the window manager.
673 Fixes: NB#101437 (Invoking CSM on the left side of page area is
674 displayed in wrong location)
676 Fixes: MB#4563 (Popup menu won't locate at the left side of the
679 2009-06-11 Alberto Garcia <agarcia@igalia.com>
681 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
683 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
686 2009-06-11 Alberto Garcia <agarcia@igalia.com>
688 * hildon/hildon-code-dialog.c
689 * hildon/hildon-date-editor.c
690 * hildon/hildon-number-editor.c
691 * hildon/hildon-seekbar.c
692 * hildon/hildon-stackable-window.c
693 * hildon/hildon-window.c:
694 Misc documentation updates
696 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
698 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
699 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
701 Fixes: NB#117931 (Theming issues in accounts dialogs)
703 2009-06-09 Alejandro G. Castro <alex@igalia.com>
705 * hildon/hildon-pannable-area.c,
706 (hildon_pannable_area_button_release_cb): Changed the coordinates
707 of the original release in case we want to discard the release,
708 some widgets in Fremantle do not handle the leave-notify.
710 2009-06-09 Alejandro G. Castro <alex@igalia.com>
712 * hildon/hildon-pannable-area.c,
713 (hildon_pannable_area_button_release_cb): Reviewed the logic of
714 the release using the last refactored functions and avoiding the
715 movement if an element was selected.
717 2009-06-09 Alejandro G. Castro <alex@igalia.com>
719 * hildon/hildon-pannable-area.c,
720 (hildon_pannable_area_check_move),
721 (hildon_pannable_area_handle_move),
722 (hildon_pannable_area_motion_notify_cb): Refactored the
723 motion_notify method using a couple of new functions.
725 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
727 * hildon/hildon-date-selector.c:
728 (hildon_date_selector_construct_ui):
729 * hildon/hildon-time-selector.c:
730 (hildon_time_selector_constructor):
731 * hildon/hildon-touch-selector-entry.c:
732 (hildon_touch_selector_entry_set_text_column),
733 (hildon_touch_selector_entry_get_text_column):
734 * hildon/hildon-touch-selector.c: (_default_print_func),
735 (hildon_touch_selector_new_text): Use
736 hildon_touch_selector_set/get_text_column() instead of
737 setting/getting the "text-column" property.
739 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
741 * doc/hildon-sections.txt: Add the new public methods below.
743 * examples/hildon-picker-button-multicolumn-example.c:
744 (create_touch_selector):
745 * examples/hildon-touch-selector-example.c: (create_selector):
746 * examples/hildon-touch-selector-multi-cells-example.c:
748 Use hildon_touch_selector_column_set_text_column()
750 * hildon/hildon-touch-selector-column.h:
751 * hildon/hildon-touch-selector.c:
752 (hildon_touch_selector_column_set_text_column),
753 (hildon_touch_selector_column_get_text_column):
754 Make hildon_touch_selector_column_set/get_column() public, use
755 them in the inline example, document them, and reference to them
758 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
760 * hildon/hildon-time-selector.c: Fix the docs for
761 hildon_time_selector_new_step().
763 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
765 * hildon/hildon-touch-selector.c: Improve the documentation for
766 hildon_touch_selector_append_column().
768 Fixes MB#4641 (Documentation:
769 hildon_touch_selector_append_column() ref-counting)
771 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
773 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
774 Comment out test 5, since the hildon_controlbar_set_range() range
775 check is broken and fixing it would have side effects. Also,
776 this finally fixes make distcheck.
778 Fixes: NB#101420 (Update unit tests and fix make distcheck)
780 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
782 * tests/TEST-CASES.txt: Remove other bogus test.
783 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
784 Remove bogus test that was setting/retrieving a valid value.
786 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
788 * tests/TEST-CASES.txt: Remove bogus tests.
789 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
790 Remove three bogus tests that were actually setting valid colors.
792 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
794 * configure.ac: post release version bump
795 * debian/changelog: post release version bump
797 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
802 * configure.ac: Bump version.
803 * debian/changelog: Updates.
805 2009-06-08 Christian Dywan <christian@lanedo.com>
809 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
810 Correct errors in hildon_format_file-size_for_display and use
811 translations from the hildon-fm package instead of osso-filemanager.
813 2009-06-08 Alejandro G. Castro <alex@igalia.com>
815 * hildon/hildon-pannable-area.c,
816 (hildon_pannable_area_init): Initialized new values to handle the
818 (hildon_pannable_area_adjust_value_changed): Check if the values
819 changed before even call the redraw function.
820 (hildon_pannable_area_size_allocate),
821 (hildon_pannable_axis_scroll),
822 (hildon_pannable_area_scroll),
823 (hildon_pannable_area_jump_to): Improved the diagonal movement
826 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
829 2009-06-08 Alberto Garcia <agarcia@igalia.com>
831 * examples/hildon-banner-example.c:
832 Several style updates
833 (on_animation_clicked, on_animation_idle)
834 (on_progress_clicked, on_progress_idle):
835 Add additional reference for the cases when the parent window is
838 2009-06-08 Alberto Garcia <agarcia@igalia.com>
840 * doc/hildon-sections.txt
841 * hildon/hildon-pannable-area.c
842 * hildon/hildon-banner.h
843 * hildon/hildon-banner.c: Documentation updates.
845 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
848 2009-06-05 Alejandro G. Castro <alex@igalia.com>
850 * hildon/hildon-calendar-popup.h:
851 * hildon/hildon-caption.h:
852 * hildon/hildon-code-dialog.h:
853 * hildon/hildon-controlbar.h:
854 * hildon/hildon-date-editor.h:
855 * hildon/hildon-dialog.h:
856 * hildon/hildon-get-password-dialog.h:
857 * hildon/hildon-hvolumebar.h:
858 * hildon/hildon-login-dialog.h:
859 * hildon/hildon-note.h:
860 * hildon/hildon-number-editor.h:
861 * hildon/hildon-range-editor.h:
862 * hildon/hildon-seekbar.h:
863 * hildon/hildon-set-password-dialog.h:
864 * hildon/hildon-sort-dialog.h:
865 * hildon/hildon-time-editor.h:
866 * hildon/hildon-time-picker.h:
867 * hildon/hildon-volumebar-range.h:
868 * hildon/hildon-volumebar.h:
869 * hildon/hildon-vvolumebar.h:
870 * hildon/hildon-weekday-picker.h:
871 * hildon/hildon-window.h:
872 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
873 macros with the current replacements
875 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
877 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
879 * hildon/hildon-color-button.c (hildon_color_button_init): Use
880 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
881 itself, to make it fit better with Fremantle style.
883 Fixes: NB#109878 (height and width of focus on color icon is not
884 consistent with other item in the application tool bar)
886 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
888 * hildon/hildon-touch-selector.c:
889 (hildon_touch_selector_optimal_size_request): use the current requisition
890 as the base, in order to include any possible extra widget, like the
891 hildon entry on HildonTouchSelectorEntry
893 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
895 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
897 * configure.ac: post release version bump
898 * debian/changelog: post release version bump
900 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
905 * configure.ac: Bump version.
906 * debian/changelog: Updates.
908 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
910 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
912 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
913 to ensure the banner contents are centered, instead of relying on
914 the expand and fill properties in GtkHBox.
915 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
917 Fixes: NB#108265 (Animation banner not properly centered)
919 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
921 * hildon/hildon-pannable-area.c
922 (hildon_pannable_area_initial_effect): Remove the initial_effect
923 management, check initial_hint
924 (hildon_pannable_are_expose_event): Remove the initial_hint management,
925 set initial_effect to FALSE
926 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
927 by launching the fade_timeout if the scrollbars state has changed and are
929 * examples/hildon-pannable-area-initial-hint-example.c
930 Modified to allow to remove rows too. Add and remove rows one by one.
932 2009-05-28 Alberto Garcia <agarcia@igalia.com>
934 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
935 Don't close the menu if there's an animation actor below it.
937 Fixes: NB#117927 (Application menu not usable with animation
940 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
942 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
943 "focus-on-click" from the dialog button, to avoid stealing the
944 focus from the entry.
946 Fixes: NB#118903 (Account setup wizard: Text in Search field
947 should be focused when "Region" touch list picker is reopened
950 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
952 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
953 (prepare_action_area): Completely hide the dialog separator.
955 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
957 * hildon/hildon-touch-selector-entry.c
958 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
959 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
960 now that the entry is exposed.
962 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
964 * hildon/hildon-touch-selector-entry.c
965 (hildon_touch_selector_entry_init): Change the entry's size
966 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
968 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
970 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
971 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
972 avoid unnecessary scaling.
974 2009-05-27 Alberto Garcia <agarcia@igalia.com>
976 * hildon/hildon-app-menu.c (hildon_app_menu_map):
977 Create grab transfer window before calling parent's map function.
979 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
980 "crushed" button(s) in the top left corner)
982 2009-05-26 Alberto Garcia <agarcia@igalia.com>
984 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
985 Check if the window is already realized when pushing it.
987 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
989 * configure.ac: post release version bump
990 * debian/changelog: post release version bump
992 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
997 * configure.ac: Bump version.
998 * debian/changelog: Updates.
1000 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1002 * hildon/hildon-app-menu.c: Doc updates.
1004 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1006 * hildon/hildon-banner.c: Remove leftover macro.
1008 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1010 * hildon/hildon-pannable-area.c,
1011 (hildon_pannable_area_scroll_indicator_fade),
1012 (hildon_pannable_area_button_release_cb): Reviewed vmin
1013 conditions, it could cause problems in the fadeout procedure.
1015 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1017 * hildon/hildon-pannable-area.c
1018 (hildon_pannable_area_button_release_cb): Added a threshold to
1019 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1021 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1023 * hildon/hildon-pannable-area.c,
1024 (hildon_pannable_area_set_property): Added code to sync the gtk
1025 dnd threshold with the panning threshold.
1027 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1029 * hildon/hildon-pannable-area.c,
1030 (hildon_pannable_area_class_init): Changed some of the default
1031 values, now it should be less responsive and more accurate.
1033 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1035 * hildon/hildon-pannable-area.c,
1036 (hildon_pannable_area_init),
1037 (hildon_pannable_area_scroll_indicator_fade),
1038 (hildon_pannable_area_button_press_cb),
1039 (hildon_pannable_axis_scroll),
1040 (hildon_pannable_area_timeout),
1041 (hildon_pannable_area_motion_notify_cb),
1042 (hildon_pannable_area_button_release_cb): Changed the name of the
1043 clicked attribute to button_pressed, it is more clear about its use.
1045 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1047 * src/hildon-pannable-area.c
1048 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1050 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1051 vertical scrollbar visibility, and use the data on private section instead,
1052 remove the initial_hint check
1053 (hildon_pannable_area_expose_event): add the initial_hint check here
1055 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1057 * src/hildon-pannable-area.c
1058 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1059 if the fadeout effect was used
1060 (hildon_pannable_area_expose_event): check if it is required to
1061 manage the initial effect on the begining of the function. Previously
1062 it was made at the end, but this doesn't ensure that the scrollbars
1063 will be painted on the first show. Do not set to FALSE initial_effect,
1064 to ensure that the initial hint is showed the first time the pannable
1066 * examples/Makefile.am
1067 * examples/hildon-pannable-area-initial-hint-example.c:
1068 New example, to show that the initial-hint is showed when the widget
1071 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1072 initially if the application can be scrolled)
1074 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1076 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1077 Resize table before adding new items to make sure that
1078 gtk_table_resize() is called just once.
1080 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1082 * hildon/hildon-app-menu-private.h
1083 * hildon/hildon-app-menu.c (item_visibility_changed)
1084 (filter_visibility_changed, hildon_app_menu_show_all)
1085 (hildon_app_menu_hide_all, hildon_app_menu_init):
1086 Rearrange items just once when gtk_widget_show_all()/hide_all()
1089 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1091 * hildon/hildon-app-menu.c
1092 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1093 Don't call gtk_widget_show() on added items.
1095 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1096 automatically when they're added)
1098 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1100 * hildon/hildon-banner.c
1101 (hildon_banner_realize, +hildon_banner_unrealize)
1102 (+screen_size_changed, hildon_banner_class_init):
1103 Redisplay the banner if the screen is rotated.
1105 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1106 on transition from landscape to portrait)
1108 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1110 * hildon/hildon-banner.[ch]:
1111 (hildon_banner_show_information_override_dnd): remove icon_name from the
1112 method definition as it is ignored.
1113 * examples/hildon-banner-dnd-example.c: updated with the change on
1116 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1118 * hildon/hildon-banner-private.h: new require_override_dnd and
1119 overrides_dnd variables
1120 * hildon/hildon-banner.h:
1121 (hildon_banner_show_information_override_dnd): new method, that shows
1122 the information but sets the override flag, in order to show important
1124 * hildon/hildon-banner.c
1125 (hildon_banner_show_information_override_dnd): new method
1126 (hildon_banner_set_override_flag): new utility function
1127 (hildon_banner_real_show_information): new utility function, in order to
1128 generalize the current hildon_banner_show_information_override_dnd and
1129 hildon_banner_show_information_override_dnd
1130 * examples/Makefile.am
1131 * examples/hildon-banner-dnd-example.c: New example that show how to
1132 use the new hildon_banner_show_information_override_dnd
1134 Fixes: NB#114874 (There is no possibility to show hildon banners with
1137 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1139 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1140 behind hildon_pannable_calculate_vel_factor().
1142 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1144 * hildon/hildon-pannable-area.c
1145 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1146 deceleration factors.
1148 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1150 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1151 Reduce the default value for 'scroll_time' to 1 second, since the
1152 current initial scrolling takes too much time.
1154 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1156 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1157 calculate velocity factor during initialization, since the properties
1160 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1162 * hildon/hildon-pannable-area.c
1163 (hildon_pannable_area_set_property): Calculate the velocity factor
1164 after setting the deceleration property and not after.
1166 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1168 * hildon/hildon-entry.c
1169 (hildon_entry_class_init, +set_property, hildon_entry_new)
1170 * hildon/hildon-check-button.c
1171 (hildon_check_button_class_init)
1172 (+set_property, hildon_check_button_new):
1173 Make the theme size a property.
1175 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1176 others) do too much in the _new function)
1178 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1180 * configure.ac: post release version bump
1181 * debian/changelog: post release version bump
1183 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1188 * configure.ac: Bump version.
1189 * debian/changelog: Updates.
1191 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1193 * hildon/hildon-gtk.h
1194 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1195 New API function to take a screenshot of a window
1197 Fixes: NB#106374 (Need API to take a loading screenshot)
1199 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1201 * hildon/hildon-time-selector.c
1202 (update_format_policy): prevent to use hours and minutes unitialized
1204 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1206 * hildon/hildon-window.c (hildon_window_size_request):
1207 Always request the full size of the screen (minus the title bar if
1208 not in fullscreen mode).
1210 Fixes: NB#107486 (HildonWindow should size itself properly)
1212 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1214 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1215 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1216 (on_show_cb), (sound_handling): Disconnect the idle handler for
1217 the sound when the note is finalized to avoid possible crashes.
1219 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1222 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1224 * src/hildon-animation-actor.c,
1225 * src/hildon-remote-texture.c:
1226 Added proper object cleanup to remove signal handler and object
1227 references as HildonAnimationActor and HildonRemoteTexture
1228 objects get destroyed.
1230 Fixes: NB#116682 (Destroying parented animation actors when
1231 parent in unmapped leads to crash)
1233 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1235 Based on a patch by Christian Dywan (christian@imendio.com)
1237 * doc/hildon-sections.txt:
1238 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1239 * hildon/hildon-helper.h: New file size formatting method.
1241 * debian/control: Depend on osso-filemanager l10n package for
1242 proper localization strings.
1244 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1246 * tests/Makefile.am: Include top_srcdir to make possible to build
1247 tests in a different builddir.
1248 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1249 on a different builddir.
1251 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1253 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1254 (hildon_touch_selector_remove): Disconnect model's signal handler
1257 Fixes: NB#116289 (Hildon home crashes while adding task
1260 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1262 * hildon/hildon-button.c
1263 (hildon_button_set_title, hildon_button_set_value):
1264 Hide labels containing an empty string.
1266 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1268 * configure.ac: post release version bump
1269 * debian/changelog: post release version bump
1271 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1276 * configure.ac: Bump version.
1277 * debian/changelog: Updates.
1279 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1281 * hildon/hildon-note-private.h: Removed sound_signal_handler
1282 * hildon/hildon-note.c
1283 (on_show_cb): new callback on note "show" event, this simply adds
1284 a idle, with the function sound_handling
1285 (sound_handling): removed the sound_signal_handler management
1286 (hildon_note_init): connect note "show" event to on_show_cb
1287 (hildon_note_realize): remove the connection to "expose-event"
1289 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1290 device?' confirmation note)
1292 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1294 * hildon/hildon-note.c
1295 (hildon_note_new_information_with_icon_name)
1296 (hildon_note_new_confirmation_with_icon_name):
1297 Terminate the list of parameters in g_object_set() calls
1299 Fixes: NB#115166 (Formatting memory card is not taking place)
1301 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1303 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1304 "dialog-information" role for the sound being played.
1306 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1308 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1309 Don't make the menu a modal window, it causes strange interactions
1310 with the pointer grab and it's not really needed.
1312 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1314 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1316 * hildon/hildon-touch-selector.[ch]
1317 (hildon_touch_selector_optimal_size_request): function added to get a
1318 optimal size request from the touch selector, when you want a dialog to
1319 show as much of the selector
1320 * hildon/hildon-picker-dialog.c:
1321 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1322 (hildon_app_menu_class_init):
1323 New "max-height-landscape" and "max-height-portrait" style properties
1324 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1325 (hildon_picker_dialog_get_max_height): returns the maximum height using
1326 the style properties defined and checking the current portrait/landscape
1328 (_hildon_picker_dialog_set_selector): removed the set_size_request
1330 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1332 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1334 * hildon/hildon-bread-crumb-trail.c:
1335 * hildon/hildon-bread-crumb.c:
1336 * hildon/hildon-seekbar.c:
1337 Add reference to replacements for these deprecated widgets.
1339 Fixes: MB#4461 (Documentation: All deprecations should mention
1342 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1344 * examples/hildon-remote-texture-example.c
1346 Change the include to the hildon-remote-texture in order to compile
1347 properly the examples on the installed libhildon1-examples package
1349 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1351 * tests/Makefile.am: Add check for HildonPickerButton.
1352 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1353 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1354 checks for the HildonPickerButton.
1355 * tests/check_test.c (configure_tests): Add the test suite.
1356 * tests/test_suites.h: likewise.
1358 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1360 * hildon/hildon-touch-selector.c
1361 (+on_row_changed): Emit HildonTouchSelector:changed when the
1362 contents of a selected row change.
1363 (_create_new_column), (_hildon_touch_selector_set_model): connect
1364 to GtkTreeModel:row-changed on a newly set model.
1366 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1368 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1370 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1372 * hildon/hildon-banner.c (hildon_banner_destroy)
1373 (hildon_banner_show_progress, hildon_banner_set_fraction):
1374 Remove the progress bar from HildonBanner and use a progress
1377 Fixes: NB#113761 (Update progress banner to use progress
1380 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1382 * hildon/hildon-banner.c:
1383 Calculate size of the banner label using the actual screen width
1384 rather than using a fixed value.
1386 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1389 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1391 * hildon/hildon-pannable-area.c,
1392 (hildon_pannable_area_class_init): Fixed signals documentation
1395 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1397 * configure.ac: post release version bump
1398 * debian/changelog: post release version bump
1400 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1405 * configure.ac: Bump version.
1406 * debian/changelog: Updates.
1408 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1410 * hildon/hildon-edit-toolbar.c
1411 (hildon_edit_toolbar_init):
1412 Don't let buttons in HildonEditToolbar receive focus.
1414 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1415 typing on an HW arrows key)
1417 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1419 * doc/Makefile.am: Fix build.
1421 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1423 * doc/Makefile.am: Do not redefine content_files.
1425 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1433 Renamed src/ to hildon/
1438 Include <hildon/hildon.h> directly in all examples.
1440 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1442 * src/hildon-sort-dialog.c
1443 (hildon_sort_dialog_add_sort_key_with_sorting)
1447 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1449 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1450 make distcheck passes.
1452 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1454 * Makefile.am: Enable gtk-doc during distcheck.
1456 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1458 * Makefile.am: Do not distribute the debian/ directory.
1460 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1462 * doc/Makefile.am: Add the extra SGML files to content_files,
1463 so that they are distributed properly.
1465 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1467 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1470 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1472 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1473 (hildon_note_new_information_with_icon_name): Set the "icon" property
1474 to preserve soundness.
1476 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1478 * src/hildon-font-selection-dialog.c
1479 (hildon_font_selection_dialog_set_property): Fail when the "family"
1480 property is set to NULL.
1482 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1484 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1487 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1489 * src/hildon-time-selector.h:
1490 Added HildonTimeSelectorFormatPolicy
1491 * src/hildon-time-selector.c:
1492 Added PROP_TIME_FORMAT_POLICY
1493 (_check_ampm_format): renamed to check_automatic_ampm_format
1494 (update_format_policy), (update_format_dependant_columns): new functions
1495 (hildon_time_selector_class_init)
1496 (hildon_time_selector_contructor)
1497 (hildon_time_selector_init)
1498 (hildon_time_selector_get_property)
1499 (hildon_time_selector_set_property)
1500 (hildon_time_selector_get_time)
1501 (hildon_time_selector_set_time)
1502 * src/hildon-touch-selector.h: new file
1503 * src/hildon-touch-selector.c
1504 (hildon_touch_selector_emit_changed)
1505 (hildon_touch_selector_block_changed)
1506 (hildon_touch_selector_unblock_changed)
1507 Added functions to allow to block the emission of the "changed" signal
1508 * src/hildon-picker-dialog.c
1509 (hildon_picker_dialog_show): call the parent show before the custom code
1510 * examples/hildon-time-button-example.c
1511 Modified, so now you can configure the time format using the new property
1513 Added a new property "time-format-policy" that allow to choose the time
1514 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1515 case it uses gconf in order to check if the time selector must use
1518 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1521 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1523 * src/hildon-note.c (hildon_note_init):
1524 Label in HildonNote must be left aligned, not centered. This
1525 reverts the last commit in HildonNote.
1527 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1528 is connectivity dialog)
1530 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1535 * doc/hildon-sections.txt:
1536 Added hildon_gtk_window_set_do_not_disturb()
1538 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1540 * src/hildon-note.c (hildon_note_init): Center label.
1542 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1545 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1550 * configure.ac: Bump version.
1551 * debian/changelog: Updates.
1553 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1555 * src/hildon-note-private.h: Add button-width to the private data.
1556 * src/hildon-note.c (+resize_button),
1557 (+hildon_note_orientation_update): methods to repack widgets on orientation
1559 (screen_size_changed): Call above method for confirmation notes.
1560 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1561 (hildon_note_rebuild): Store the original width request from buttons.
1563 Fixes: NB#109635 (Confirmation notes do not support portrait)
1565 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1567 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1568 when it is a progress note.
1570 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1572 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1573 in the note, since there are no horizontally arranged contents.
1575 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1577 * src/hildon-gtk.c (+set_flag): new generic method to
1578 set/delay a flag setting in a window.
1579 (hildon_gtk_window_set_progress_indicator):
1580 (hildon_gtk_window_set_do_not_disturb),
1581 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1582 avoid code redundance.
1584 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1586 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1588 * src/hildon-gtk.c (set_clear_window_flag),
1589 (do_set_progress_indicator), (do_set_do_not_disturb),
1590 (do_set_portrait_flags),
1591 (hildon_gtk_window_set_progress_indicator),
1592 (hildon_gtk_window_set_do_not_disturb),
1593 (hildon_gtk_window_set_portrait_flags):
1594 Allow setting dnd-flag, progress indicator, and portrait flags
1595 when the window is not realized.
1597 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1599 * src/hildon-pannable-area.c,
1600 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1601 the size request policy function and defines.
1603 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1605 * doc/hildon-sections.txt: Add the new API.
1606 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1607 method to set the portrait flags.
1608 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1610 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1612 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1614 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1615 to allow using this method with other flags.
1616 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1617 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1619 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1621 * src/hildon-touch-selector.c
1622 (hildon_touch_selector_append_text_column):
1623 Make the cell renderer use the smallest width possible.
1625 Fixes: NB#108470 (Selected items in multiple selection are either
1626 having a tick that is cut or not visible at all.)
1628 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1630 * src/hildon-touch-selector.c
1631 (hildon_touch_selector_append_text_column):
1634 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1637 Use g_strdup_printf() instead of a fixed size buffer.
1639 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1641 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1642 Close banners when a HildonAppMenu is popped up.
1644 Fixes: NB#111027 (Title menu closed immediately if activated when
1645 "Invalid e-mail address" banner is shown)
1647 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1652 * configure.ac: Bump version.
1653 * debian/changelog: Updates.
1655 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1657 * src/hildon-banner.c (hildon_banner_realize):
1658 Mark HildonBanner as supporting portrait mode.
1659 Use GDK to set window properties insetad of direct Xlib calls.
1661 Fixes: NB#111830 (HildonBanner should be marked as supporting
1664 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1666 * src/hildon-note.c (hildon_note_rebuild):
1667 Hide action area in information notes. Prevents text from being
1668 slightly aligned to the left.
1670 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1673 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1675 Patch by Mox Soini (ext-mox.soini@nokia.com)
1677 * src/hildon-banner.c (hildon_banner_create_animation):
1678 Use stylus-sized icons in animation banner.
1680 Fixes: NB#111206 (stylus sized icon for animation banner)
1682 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1686 (+hildon_gtk_window_set_do_not_disturb):
1687 New API to set the do-not-disturb flag.
1689 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1691 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1693 * examples/hildon-progress-indicator-example.c: Fix example
1695 * src/hildon-gtk.c (set_clear_window_flag)
1696 (hildon_gtk_window_set_progress_indicator):
1697 Create a generic function for setting flags to a window.
1698 Use GDK instead of direct Xlib calls.
1700 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1702 * src/hildon-button.c (hildon_button_set_arrangement):
1703 Due to NB#88126, if one of the labels is too long it will be
1704 painted outside the button. The 'value' label is more likely to be
1705 the longest one, so we change its packing options in order to
1706 truncate it if necessary. As a side effect, the 'title' label will
1707 no longer be truncated.
1709 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1711 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1716 * configure.ac: Bump version.
1717 * debian/changelog: Updates.
1719 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1721 Deprecation of the hildon_pannable_area_set_size_request_policy
1722 API, the only policy properly supported in gtk+ nowadays is the
1725 * src/hildon-pannable-area.c,
1726 (hildon_pannable_area_size_request): Added a workaround for the
1727 size_request to avoid the problems of huge pixmaps in case someone
1728 is still using the function.
1729 * src/hildon-pannable-area.h: Deprecated the enum with the
1732 Fixes: NB#110244 (Problems with the
1733 hildon_pannable_area_set_size_request_policy API)
1735 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1737 * src/hildon-pannable-area.c,
1738 (hildon_pannable_area_init),
1739 (hildon_pannable_area_size_request),
1740 (hildon_pannable_area_style_set),
1741 (hildon_pannable_draw_vscroll),
1742 (hildon_pannable_draw_hscroll),
1743 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1744 indicator_width to clarify the use of the attribute.
1746 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1751 * configure.ac: Bump version.
1752 * debian/changelog: Updates.
1754 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1756 * src/hildon-picker-dialog.c
1757 * src/hildon-touch-selector.c
1758 Reverting the change that tried to avoid the hardcoded height on
1759 the picker dialog, as causes problems on the hildon-touch-selector
1762 Fixes: NB#110029 (selectors not scrolling to selected value)
1764 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1766 * src/hildon-touch-selector.c: Fix typos
1768 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1770 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1771 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1772 request more motions after using it.
1774 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1776 * src/hildon-calendar.c (hildon_calendar_expose),
1777 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1778 Remove unused variables.
1780 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1782 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1783 variable assignment.
1785 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1787 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1788 Check the return value of gtk_tree_selection_get_selected()
1791 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1793 * src/hildon-animation-actor.c
1794 * src/hildon-button.c
1796 * src/hildon-pannable-area.c
1797 * src/hildon-picker-button.c
1798 * src/hildon-program.c
1799 * src/hildon-remote-texture.c
1800 * src/hildon-text-view.c
1801 * src/hildon-touch-selector.c
1802 * src/hildon-window-stack.c
1803 * src/hildon-window.c:
1804 Add missing 'Since: 2.2' tags.
1806 * doc/hildon-sections.txt:
1807 Add some missing symbols.
1809 * doc/hildon-docs.sgml:
1810 New 'Other' section for HildonAnimationActor and
1813 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1815 Patch by Iván Gómez (igomez@igalia.com)
1818 * doc/compiling.sgml
1819 * doc/hildon-docs.sgml
1820 * doc/hildon-sections.txt
1821 * doc/migration.sgml
1822 * doc/resources.sgml
1824 New chapters on using the Hildon library.
1825 Updated the general structure of the reference manual.
1826 Other minor documentation fixes.
1828 * src/hildon-calendar-popup.c
1829 * src/hildon-calendar.c
1830 * src/hildon-controlbar.c
1831 * src/hildon-date-editor.c
1832 * src/hildon-dialog.c
1833 * src/hildon-hvolumebar.c
1834 * src/hildon-number-editor.c
1835 * src/hildon-range-editor.c
1836 * src/hildon-sort-dialog.c
1837 * src/hildon-time-editor.c
1838 * src/hildon-time-picker.c
1839 * src/hildon-volumebar-range.c
1840 * src/hildon-volumebar.c
1841 * src/hildon-vvolumebar.c
1842 * src/hildon-weekday-picker.c:
1843 Add deprecation notes
1845 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1846 Document 'horizontal-movement' and 'vertical-movement' signals.
1848 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1853 * configure.ac: Bump version.
1854 * debian/changelog: Updates.
1856 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1858 * src/hildon-pannable-area.c,
1859 (hildon_pannable_area_class_init): increased the minimum velocity.
1860 (hildon_pannable_area_button_release_cb): Updated the
1861 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1862 setup. Review the code to control that last event.
1864 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1867 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1869 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1871 * src/hildon-get-password-dialog.c
1872 (hildon_get_password_set_property),
1873 (hildon_get_password_get_property), (create_contents):
1874 * src/hildon-login-dialog-private.h:
1875 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1876 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1877 (hildon_login_dialog_get_password):
1878 * src/hildon-set-password-dialog-private.h:
1879 * src/hildon-set-password-dialog.c
1880 (hildon_set_password_set_property),
1881 (hildon_set_password_get_property), (create_contents),
1882 (hildon_set_password_response_change),
1883 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1885 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1886 instead and look more Fremantle style.
1888 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1890 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1892 * doc/hildon-sections.txt
1893 * src/hildon-window-stack.h
1894 * src/hildon-window-stack.c
1895 (+hildon_window_stack_get_windows):
1896 New API to obtain the list of windows on a stack.
1898 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1900 * src/hildon-app-menu.c (hildon_app_menu_popup)
1901 (hildon_app_menu_class_init, -hildon_app_menu_show):
1902 Remove hildon_app_menu_show() and move all its checks to
1903 hildon_app_menu_popup()
1905 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1907 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1908 (_hildon_picker_dialog_set_selector): removed call to
1909 gtk_widget_set_size_request
1910 * src/hildon-touch-selector.c
1911 (_create_new_column): change the pannable size request policy
1913 Avoid to use a hardcoded height for the hildon picker dialog. In order
1914 to get that, we needed to change the hildon pannable size request
1916 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1918 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1920 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1921 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1924 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1926 * debian/control: Depend on osso-system-lock localization package.
1927 * src/hildon-code-dialog.c: Obtain the secu_application_title
1928 translation from osso-system-lock.
1929 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1930 for translation the atk related strings, that's not necessary.
1931 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1932 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1933 cancel button, it is not required.
1935 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1937 * src/hildon-pannable-area.c,
1938 (hildon_pannable_area_class_init): Modified the default value of
1939 the overshooting max speed, we have reduced it.
1941 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1943 * doc/hildon-sections.txt
1944 * src/hildon-window-private.h
1945 * src/hildon-window.h
1946 * src/hildon-window.c (hildon_window_class_init)
1947 (hildon_window_init, hildon_window_finalize)
1948 (hildon_window_realize, hildon_window_get_property)
1949 (hildon_window_set_property, hildon_window_update_markup)
1950 (hildon_window_get_markup, hildon_window_set_markup):
1951 New "markup" property and hildon_window_{get,set}_markup() methods.
1953 * examples/hildon-stackable-window-example.c (new_window):
1954 Update example to use hildon_window_set_markup()
1956 Fixes: NB#106375 (Need API to retitle a window with a title
1959 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1961 * src/hildon-pannable-area.c,
1962 (hildon_pannable_area_class_init): Changed the default value of
1963 the initial_hint to TRUE.
1964 (hildon_pannable_area_initial_effect): Changed the initial effect,
1965 not the effect is just the fade-out of the scrollbars.
1967 Fixes: NB#107775 (No scrollbars can be seen when several items are
1968 available in a dialog)
1970 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1972 * src/hildon-program.c (hildon_program_update_top_most):
1975 Fixes: NB#109179 (Memory leak in Hildon program)
1977 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1979 * src/hildon-banner.c (-get_current_app_window):
1980 Remove unused function.
1982 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1984 * src/hildon-pannable-area.c: Modified the documentation of the
1985 get adjustments functions to explain the problem of using the
1986 adjustment directly.
1987 (hildon_pannable_area_class_init): Improved the explanation about
1990 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1992 * src/hildon-app-menu-private.h
1993 * src/hildon-app-menu.c
1994 (hildon_app_menu_class_init):
1995 Bring back the 'external-border' style property
1996 (hildon_app_menu_class_init, hildon_app_menu_init)
1997 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1998 Set a fixed width-request for the menu, independent of the number
2001 Fixes: NB#94957 (Smoothly opened application menu)
2003 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2005 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2007 * src/hildon-banner.c
2008 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2010 Make sure that the banner is correctly placed the first time it's
2012 (hildon_banner_check_position, -check_fullscreen_state):
2013 Show the banner in the same place no matter if the window is in
2014 fullscreen mode or not.
2016 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2018 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2020 * src/hildon-touch-selector.c (_default_print_func): reorder
2021 concatenation for clarity.
2023 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2025 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2026 for multicolumn selectors.
2028 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2030 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2035 * configure.ac: Bump version.
2036 * debian/changelog: Updates.
2038 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2043 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2045 * configure.ac: removed libcangerra-gtk dependency
2046 * debian/control: removed libcanberra-gtk dependency
2047 * src/Makefile.am: removed libcanberra gtk related flags
2048 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2049 context, and manage a global canberra context instead
2051 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2053 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2055 Patch by Daniel Borgmann (danielb@openismus.com)
2057 * src/hildon-edit-toolbar.c:
2058 Adjust the left padding.
2059 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2060 Paint background of the edit toolbar.
2062 Fixes: NB#107897 (Patch to make editmodetoolbar background
2063 themeable and adjust margin)
2065 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2067 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2069 * src/hildon-program.c (hildon_program_update_top_most):
2070 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2072 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2073 change when the user tasks in/out of an application)
2075 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2077 * configure.ac: added libcangerra-gtk dependency
2078 * debian/control: added libcanberra-gtk dependency
2079 * src/Makefile.am: added libcanberra gtk related flags
2080 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2083 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2085 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-program.c (hildon_program_remove_window)
2088 (hildon_program_add_window): Add checks for the window
2089 parameter. Don't decrease the window counter if the window is not
2092 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2094 * src/hildon-pannable-area.c,
2095 (hildon_pannable_area_realize): Fixed position of the event_window
2096 in the realize method.
2098 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2100 * src/hildon-app-menu-private.h
2101 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2102 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2103 (hildon_app_menu_key_press, hildon_app_menu_init)
2104 (hildon_app_menu_finalize):
2105 Make sure that all idle functions are removed when the widget is
2108 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2110 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2115 * configure.ac: Bump version.
2116 * debian/changelog: Updates.
2118 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2120 * src/hildon-entry.c
2121 (+hildon_entry_show_placeholder),
2122 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2123 that replace hildon_entry_update_contents().
2124 (hildon_entry_set_text),
2125 (hildon_entry_set_placeholder),
2126 (hildon_entry_focus_in_event),
2127 (hildon_entry_focus_out_event): Determine when it is needed
2128 either to show or hide the placeholder and call the above methods.
2130 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2131 when the placeholder text is already set)
2133 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2135 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2136 simple GdkPixbufAnim using the new icons for the banner.
2137 (hildon_banner_show_animation): Use the above mentioned method to
2138 create the animation widget.
2140 Fixes: NB#103564 (Make hildon animation banner use individual
2141 image files as the animation)
2143 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2145 * src/hildon-pannable-area.c,
2146 (hildon_pannable_leave_notify_event): Check if the child is NULL
2147 to avoid sending the leave.
2149 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2151 * src/hildon-pannable-area.c,
2152 (hildon_pannable_area_class_init),
2153 (hildon_pannable_leave_notify_event): Added a handler of the
2154 leave-notify-signal to consider when no motion notify before
2157 Fixes: NB#107494 (Items stay selected when clicking and moving
2158 away when inside pannable area)
2160 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2165 * configure.ac: Bump version.
2166 * debian/changelog: Updates.
2168 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2170 Patch by Alberto Garcia (agarcia@igalia.com)
2172 * src/hildon-date-button.c,
2173 (hildon_date_button_class_init),
2174 (hildon_date_button_init): Removed the construct property handling
2175 and created a default selector in the init method.
2176 * src/hildon-picker-button.c,
2177 (hildon_picker_button_class_init): Removed the construct flag of the
2180 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2182 * src/hildon-main.c (hildon_init):
2183 Don't allow hildon_init() to be called more than once.
2185 Fixes: NB#106607 (hildon_init should issue error message upon
2188 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2190 * examples/hildon-pannable-area-touch-list-example.c
2191 * examples/hildon-pannagle-area-touch-grid-example.c
2192 * examples/hildon-edit-toolbar-example.c
2193 * examples/hildon-touch-selector-multi-cells-example.c
2194 Removed the call to gtk_rc_parse_string, as it is not required since
2197 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2199 * src/hildon-pannable-area.c,
2200 (hildon_pannable_area_class_init): Modified the default panning
2201 threshold of the widget to 6px.
2203 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2204 than the threshold value ) within the button is not sending the
2207 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2209 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2210 for the treeview in the new column. This way, the touch list will never
2213 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2214 be selected manually for the HW keys to work)
2216 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2218 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2219 comparison instead of using strcmp(). Fixes a compiler warning as well.
2221 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2223 * doc/hildon-docs.sgml: Do not set the library version in the
2224 document title, use the releaseinfo tag for that purpose instead.
2226 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2228 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2229 Do not jump to the first item if the text in the entry is removed.
2231 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2236 * configure.ac: Bump version.
2237 * debian/changelog: Updates.
2239 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2241 * src/hildon-entry.c (hildon_entry_refresh_contents):
2242 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2243 Use "ReversedSecondaryTextColor" for the placeholder text.
2245 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2247 * src/hildon-text-view.c: Fix compilation warning.
2249 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2251 * src/hildon-button.c (hildon_button_class_init): Don't make
2252 "title" and "value" construction properties, to prevent them from
2253 overwriting labels set from derived classes.
2255 * src/hildon-picker-button.c
2256 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2257 (hildon_picker_button_class_init): Make touch-selector a
2258 construction property.
2260 * src/hildon-date-button.c (hildon_date_button_class_init)
2261 (+hildon_date_button_constructed): Add a default date selector if
2264 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2266 * src/hildon-touch-selector.c: Small documentation fixes.
2268 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2270 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2272 * src/hildon-entry.c (hildon_entry_refresh_contents),
2273 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2274 widget name, set the logical color directly instead and a boolean
2275 showing_placeholder instead.
2276 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2277 use the widget name here either.
2279 Fixes: NB#105678 (HildonTextView should use logical colours
2280 instead of setting widget name)
2282 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2284 Patch by Daniel Elster (danielk@openismus.com)
2286 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2287 Add user_data parameter.
2288 (hildon_touch_selector_set_print_func_full): New function akin
2289 hildon_touch_selector_set_print_func() but with support for user
2290 data and a destroy callback.
2291 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2292 to clean up the print function user data.
2293 (hildon_touch_selector_class_init): Install dispose function.
2294 (HildonTouchSelectorPrivate::print_user_data),
2295 (HildonTouchSelectorPrivate::print_destroy_func): New private
2297 (hildon_touch_selector_init): Initialize new private members.
2298 (hildon_touch_selector_get_current_text): Pass along user data
2299 to the print function.
2300 (_default_print_func): Add dummy user_data to parameter list.
2301 * hildon-date-selector.c (_custom_print_func): ditto,
2302 * hildon-time-selector.c (_custom_print_func): ditto,
2303 * hildon-touch-selector-entry.c
2304 (hildon_touch_selector_entry_print_func): ditto.
2306 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2308 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2310 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2312 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2314 * src/hildon-pannable-area.c,
2315 (hildon_pannable_area_init),
2316 (hildon_pannable_area_button_press_cb),
2317 (hildon_pannable_area_motion_notify_cb): We have added code to
2318 handle the leave and enter events when using the motion events.
2320 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2322 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2324 * src/hildon-date-button.c (hildon_date_button_get_date)
2325 (hildon_date_button_set_date): Make sure that the button has a
2328 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2330 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2332 * src/hildon-pannable-area.c,
2333 (hildon_pannable_area_class_init),
2334 (hildon_pannable_area_calculate_velocity): Modify the use of the
2335 force and adapt the value.
2337 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2339 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2340 (hildon_app_menu_class_init): Hide the menu if it receives a
2341 delete-event, but don't destroy it
2343 Fixes: NB#104485 (Not able to address the call when application
2344 menu is opened at background)
2346 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2348 * src/hildon-app-menu.c
2349 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2350 Remove the "external-border" style property, let the menu take its
2351 natural size (or the one set by the window manager)
2352 (hildon_app_menu_repack_items):
2353 Don't reshow the menu, avoid flickers.
2355 Partially fixes NB#94957 (Smoothly opened application menu)
2357 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2362 * configure.ac: Bump version.
2363 * debian/changelog: Updates.
2365 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2367 * src/hildon-pannable-area.c,
2368 (hildon_pannable_area_motion_notify_cb): We control that the
2369 direction error margin is used just in case the movement is
2370 allowed in the other direction.
2372 Fixes: NB#105012 (buttons inside a pannable area not getting
2373 release event when dragging/releasing)
2375 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2377 * src/hildon-pannable-area.c,
2378 (hildon_pannable_area_class_init),
2379 (hildon_pannable_area_get_property),
2380 (hildon_pannable_area_set_property),
2381 (hildon_pannable_area_initial_effect),
2382 (hildon_pannable_axis_scroll),
2383 (hildon_pannable_area_button_release_cb): Reviewed the
2384 overshooting effect, now it has its own max
2385 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2386 speed when bouncing.
2388 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2393 * configure.ac: Bump version.
2394 * debian/changelog: Updates.
2396 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2398 * src/hildon-pannable-area.c,
2399 (hildon_pannable_area_class_init): Changed the max speed, now
2400 users can launch the widget very fast. Reduced the default force,
2401 that way it is easier to control the launch speed.
2403 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2405 * src/hildon-pannable-area.c,
2406 (hildon_pannable_area_button_release_cb): Removed this check
2407 because it causes problems when the device is overloaded.
2409 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2412 add a current_text field to store the text entered in the
2413 touch selector entry.
2414 (_clean_current_selection): clean up the current text as well.
2415 (_save_current_selection), (_restore_current_selection):
2416 Save/restore the text in the entry if the selector is a
2417 HildonTouchSelectorEntry.
2419 Fixes: NB#102541 (value entered in the touch selector entry is not
2420 shown when opened for second time)
2422 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2424 * doc/hildon-sections.txt:
2425 * src/hildon-touch-selector-entry.c
2426 (+hildon_touch_selector_entry_get_entry):
2427 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2429 Fixes: NB#104815 (I need accessor to the entry inside
2430 HildonTouchSelectorEntry)
2432 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2434 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2435 (hildon_app_menu_class_init):
2436 New "filter-vertical-spacing" style property.
2438 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2440 * src/hildon-find-toolbar.c
2441 (hildon_find_toolbar_emit_close)
2442 (hildon_find_toolbar_emit_invalid_input)
2443 (hildon_find_toolbar_entry_activate):
2444 Use g_signal_emit() instead of g_signal_emit_by_name()
2446 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2448 Patch by Mox Soini (ext-mox.soini@nokia.com)
2450 * tests/TEST-CASES.txt
2451 * tests/check-hildon-banner.c
2452 * tests/check-hildon-note.c
2453 * src/hildon-banner.c
2454 * src/hildon-code-dialog.c
2455 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2456 * src/hildon-time-editor.c
2457 * examples/hildon-lookup-example.c (main):
2458 Replace obsolete icon names with new ones.
2460 * src/hildon-find-toolbar-private.h:
2461 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2462 (-hildon_find_toolbar_emit_search):
2463 Remove find button and change icon of close button.
2465 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2467 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2469 * src/hildon-time-button.c (hildon_time_button_new_step):
2470 Use the "touch-selector" property to set the selector directly
2471 when creating the object.
2473 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2475 Added a new example application that allows tuning the pannable
2476 area and replaced defines with properties in order to simplify the
2477 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2478 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2479 PROP_DIRECTION_ERROR_MARGIN.
2481 * examples/hildon-pannable-area-tuning-example.c: New example
2483 * src/hildon-pannable-area.c,
2484 (hildon_pannable_area_class_init),
2485 (hildon_pannable_area_init),
2486 (hildon_pannable_area_get_property),
2487 (hildon_pannable_area_set_property),
2488 (hildon_pannable_area_launch_fade_timeout),
2489 (hildon_pannable_area_adjust_value_changed),
2490 (hildon_pannable_axis_scroll),
2491 (hildon_pannable_area_motion_notify_cb),
2492 (hildon_pannable_area_scroll_cb),
2493 (hildon_pannable_area_button_release_cb): We have converted some
2494 of the defines that control the widget to properties to simplify
2497 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2499 * src/hildon-app-menu.c (hildon_app_menu_map)
2500 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2501 so it's closed if a new window appears.
2503 Fixes: NB#104485 (Not able to address the call when application
2504 menu is opened at background)
2506 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2509 missing 'break' statement in in 'case' construct to avoid
2512 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2514 * src/hildon-touch-selector-entry.c
2515 (hildon_touch_selector_entry_get_property),
2516 (hildon_touch_selector_entry_set_property): Add missing 'break'
2517 statements in in 'case' constructs to avoid incorrect warnings.
2519 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2521 * src/hildon-time-editor.c
2522 (hildon_time_editor_get_time_separators): Do not crash if
2523 the first label is NULL.
2525 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2527 * src/hildon-date-selector.c (_month_days): Check for month to be
2528 strictly less than 12, since otherwise we may overrun the array.
2530 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2532 * src/hildon-date-button.c (+hildon_date_button_new_full)
2533 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2534 (hildon_date_button_init): Set the date selector using a
2535 construction property, to make it happen after HildonButton's
2536 "value" property is set.
2538 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2539 current date by default)
2541 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2543 * doc/hildon-sections.txt
2544 * src/hildon-program.c
2545 * src/hildon-stackable-window.c
2546 * src/hildon-window.c:
2547 Documentation updates
2549 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2551 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2552 (hildon_window_stack_new, +hildon_window_stack_set_property)
2553 (+hildon_window_stack_get_property)
2554 (hildon_window_stack_class_init)
2555 (+hildon_window_stack_set_window_group)
2556 (+hildon_window_stack_get_window_group):
2557 Make the window group a construction property.
2559 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2561 * doc/hildon-sections.txt
2562 * src/hildon-stackable-window-private.h
2563 * src/hildon-stackable-window.h
2564 * src/hildon-stackable-window.c
2565 (-hildon_stackable_window_set_app_menu)
2566 (-hildon_stackable_window_get_app_menu)
2567 (-hildon_stackable_window_toggle_menu)
2568 (-hildon_stackable_window_finalize)
2569 (hildon_stackable_window_class_init)
2570 (hildon_stackable_window_init)
2571 * src/hildon-window-private.h
2572 * src/hildon-window.h
2573 * src/hildon-window.c (hildon_window_init)
2574 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2575 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2576 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2577 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2578 Moved all HildonAppMenu code to HildonWindow. The menu does not
2579 require a HildonStackableWindow anymore.
2581 * src/hildon-app-menu.c
2582 * src/hildon-program.c
2583 * examples/hildon-app-menu-example.c (main):
2584 Update examples and documentation to reflect HildonAppMenu
2587 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2589 * src/hildon-remote-texture.c
2590 * src/hildon-animation-actor.c:
2591 Don't include unused private headers.
2593 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2595 * src/hildon-program-private.h
2596 * src/hildon-program.c
2597 (hildon_program_set_common_menu)
2598 (hildon_program_get_common_menu)
2599 (hildon_program_set_common_app_menu)
2600 (hildon_program_get_common_app_menu):
2601 Change common menu pointers from GtkWidget* to GtkMenu* and
2602 HildonAppMenu* to avoid unnecessary casts.
2604 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-window.c (hildon_window_set_main_menu):
2607 Removed incorrect 'Since:' tag
2609 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2611 * src/hildon-pannable-area.c,
2612 (hildon_pannable_area_calculate_velocity): We use now the
2613 RATIO_TOLERANCE here to check the distance, fixed typo in the
2615 (hildon_pannable_area_motion_notify_cb): We have to set the type
2616 and time even if we are not sending the motion.
2618 2009-03-02 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_get_items)
2623 (+hildon_app_menu_get_filters): New methods to get the contents of
2626 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2629 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2631 * src/hildon-app-menu.c (hildon_app_menu_popup):
2634 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2636 * src/hildon-window.h
2637 * src/hildon-window.c (+hildon_window_get_main_menu)
2638 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2639 and deprecated hildon_window_get_menu().
2641 * src/hildon-stackable-window.h
2642 * src/hildon-stackable-window.c
2643 (+hildon_stackable_window_set_app_menu)
2644 (+hildon_stackable_window_get_app_menu)
2645 (hildon_stackable_window_set_main_menu): Created
2646 hildon_stackable_window_{get,set}_app_menu() and deprecated
2647 hildon_stackable_window_set_main_menu().
2649 * doc/hildon-sections.txt
2650 * examples/hildon-app-menu-example.c (main)
2651 * src/hildon-app-menu.c
2652 * src/hildon-program.c:
2653 Updated examples and documentation.
2655 Fixes: NB#103758 (No way to obtain a menu from a
2656 HildonStackableWindow)
2658 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2663 * configure.ac: Bump version.
2664 * debian/changelog: Updates.
2666 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2668 * examples/hildon-remote-texture-example.c: Include
2669 hildon-remote-texture.h explicitely.
2670 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2671 applications not defining _XOPEN_SOURCE which don't require this header.
2673 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2675 * doc/hildon-sections.txt
2676 * src/hildon-app-menu.h
2677 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2678 New function to pop up a HildonAppMenu
2680 * src/hildon-stackable-window.c
2681 (hildon_stackable_window_toggle_menu):
2682 Use hildon_app_menu_popup() to show the menu.
2684 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2686 * src/hildon-app-menu.c (hildon_app_menu_show)
2687 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2688 menu if there's another window between it and its parent window.
2690 Fixes: NB#100468 (Application menu window is launched even when a
2691 new secondary-window/dialog is pending to be shown/realized)
2693 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2695 * src/hildon-window-stack.c (hildon_window_stack_push)
2696 (hildon_window_stack_pop_and_push):
2697 Don't forget to push/pop the first window.
2698 Reverse the window list before calling _push_list()
2700 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2702 * src/hildon-picker-button.h
2703 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2704 Remove "value_changed" slot to avoid ABI breakage
2706 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2708 * src/hildon-pannable-area.c,
2709 (hildon_pannable_area_realize),
2710 (hildon_pannable_area_unrealize),
2711 (hildon_pannable_draw_vscroll),
2712 (hildon_pannable_draw_hscroll): Changed the method to handle the
2713 GC used to draw the transparent scrollbar, this way we avoid
2714 creating the GC all the time when drawing the scrollbars.
2716 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2718 * src/hildon-pannable-area.c,
2719 (hildon_pannable_area_init),
2720 (hildon_pannable_area_remove): Removed some unnecessary casts.
2721 (hildon_pannable_area_dispose): Disconnected some signals before
2722 releasing the adjustments.
2724 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2726 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2727 Make sure that all widgets contained in the toolbar are shown.
2729 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2731 * doc/hildon-sections.txt
2732 * src/hildon-picker-button.h
2733 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2734 (_selection_changed, hildon_picker_button_on_dialog_response)
2735 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2736 New hildon_picker_button_value_changed() method.
2739 * src/hildon-picker-button-private.h
2740 * src/hildon-picker-button.c (hildon_picker_button_init)
2741 (+hildon_picker_button_disable_value_changed): Add protected
2742 function for disabling the "value-changed" signal.
2744 * src/hildon-date-button.c (hildon_date_button_set_date):
2745 Don't emit "value-changed" for each one of the three columns.
2747 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2748 before actual change of values)
2750 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2752 * src/hildon-pannable-area.c,
2753 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2754 for the treeview overshooting.
2756 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2758 * src/hildon-banner.c (+hildon_banner_bind_style):
2759 Renamed from hildon_banner_bind_label_style(), now naming the
2760 banner itself as well.
2761 (hildon_banner_show_information),
2762 (hildon_banner_show_information_with_markup),
2763 (hildon_banner_show_animation), (hildon_banner_show_progress):
2764 Name the widgets and labels, based on their type.
2766 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2769 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2771 * src/hildon-note.c (hildon_note_set_property): call
2772 hildon_note_rename() on HildonNote:note-type set.
2773 (hildon_note_rename): Name the note and its label, based on the
2774 HildonNote:note-type property.
2776 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2779 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2781 * src/hildon-pannable-area.c,
2782 (hildon_pannable_area_class_init),
2783 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2784 panning parameters, increased SPS and deceleration factor. Added
2785 also a margin to control fake directions.
2787 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2789 Patch by Sven Herzberg (sven@imendio.com)
2791 * configure.ac: Add missing AM_PROG_CC_C_0
2792 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2794 See NB#101420 (Update unit tests and fix make check)
2796 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2798 This patch was applied before but reverted because it caused
2799 problems, we have changed the main condition and tested the
2800 regressions we detected before and they work ok. We have done a
2801 complete review of the topmost algorithm in order to get a more
2804 * src/hildon-pannable-area.c,
2805 (hildon_pannable_area_get_topmost): Added a new parameter to
2806 filter the the windows that do not include those events.
2807 (hildon_pannable_area_button_press_cb),
2808 (hildon_pannable_area_button_release_cb),
2809 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2810 topmost function, we have added the new parameter.
2812 Fixes: NB#97458 (Pannable area prevents propagation of button
2815 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2817 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2818 if all columns in the selector have an item selected.
2819 (_on_dialog_response): Stop "response" signal emission if there is
2820 any selector column without selected items.
2822 Fixes: NB#101889 (Picker dialog should not close when nothing is
2823 selected in multiple selection list)
2825 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2827 * src/hildon-font-selection-dialog.c
2828 (hildon_font_selection_dialog_class_init),
2829 (hildon_font_selection_dialog_init): Remove the preview
2830 button and dialog, since previewing with default theming is likely
2831 to be overcomplicated. The :preview property has now no effect.
2832 Update documentation blurbs to inform about this.
2834 Fixes: NB#92297 (Preview content is not clearly visible for
2835 default colour text)
2837 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2839 Reviewed the geometry that handles the children size and
2840 scrollbar, now it tries a size and reviews the results depending
2841 on the scrollbars visibility.
2843 * src/hildon-pannable-area.c,
2844 (hildon_pannable_area_realize): Fixed a typo.
2845 (hildon_pannable_area_child_allocate_calculate): Added this
2846 function to calculate the child allocation.
2847 (hildon_pannable_area_size_allocate): Reviewed the allocation
2849 (hildon_pannable_area_check_scrollbars),
2850 (hildon_pannable_area_refresh): Refactored refresh function, this
2851 way we can call the code handling the scrollbars without causing a
2852 size_request, it is interesting in the allocate.
2853 (hildon_pannable_area_init): Replace the callbacks of the
2854 value_changed and changed signals to propertly deal with the
2856 (hildon_pannable_area_grab_notify),
2857 (hildon_pannable_area_initial_effect),
2858 (hildon_pannable_area_launch_fade_timeout),
2859 (hildon_pannable_area_adjust_changed),
2860 (hildon_pannable_area_adjust_value_changed),
2861 (hildon_pannable_area_redraw),
2862 (hildon_pannable_area_button_press_cb),
2863 (hildon_pannable_area_button_release_cb),
2864 (hildon_pannable_area_scroll_cb),
2865 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2866 code and use the new functions adjust_changed and
2867 adjust_value_changed.
2869 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2870 Contact editor dialog)
2872 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2877 * configure.ac: Bump version.
2878 * debian/changelog: Updates.
2880 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2882 * src/hildon-pannable-area.c,
2883 (hildon_pannable_area_get_topmost),
2884 (hildon_pannable_area_button_press_cb),
2885 (hildon_pannable_area_button_release_cb),
2886 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2887 topmost function adding the event mask. We have to try a
2888 differente approach because it is still causing problems (NB#9745,
2891 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2893 * src/hildon-banner.c:
2894 Update the maximum width of timed banners.
2895 (force_to_wrap_truncated): Enforce the maximum text width if the
2898 Fixes: NB#102413 (The text margins (wrapping) in information
2899 banner should be HILDON_MARGIN_TRIPLE)
2901 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2903 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2905 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2906 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2907 bound when calculating the scroll indicator position.
2909 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2910 treat ->lower correctly)
2912 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2914 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2915 expose event handling, since it is not necessary to draw the focus
2918 Fixes: NB#102467 (Do not show highlight on the text in
2921 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2924 full height of the toolbar for the button and the label.
2926 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2928 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2929 padding before the label and after the button.
2931 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2933 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2935 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2936 Add a GtkVSeparator between the button and the back arrow.
2937 Let the button have automatic size.
2938 Set a name to the widget for theming handling.
2940 Fixes: NB#101793 (Make edit toolbar the same height as window
2941 title bar (use title area theming))
2943 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-helper.c (attach_new_color_element): Fix memory
2948 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2950 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2952 * examples/hildon-button-example.c (common_buttons_window): Don't
2955 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2957 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2958 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2960 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2962 * src/hildon-gtk.c: Check that the window is realized.
2964 Fixes: NB#102225 (Crash setting the progress indicator to a non
2967 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2969 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2970 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2971 instead of modifying the one in the widget style.
2973 Fixes: NB#101043 (Second row of all the command button are
2974 displayed in transparent mode.)
2976 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2978 * src/hildon-date-button.c
2979 * src/hildon-time-button.c: Add gettext macros
2981 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2983 * src/hildon-date-button.c (hildon_date_button_new):
2984 * src/hildon-time-button.c (hildon_time_button_new_step):
2985 Use new logical strings to set the button default title.
2987 Fixes: NB#99915 (Date and Time options are not localised in Date
2990 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2992 * src/hildon-pannable-area.c
2993 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2994 the PANNING_THRESHOLD.
2996 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2998 * src/hildon-pannable-area.c,
2999 (hildon_pannable_area_class_init): Increased the maximum speed.
3000 (hildon_pannable_area_get_property),
3001 (hildon_pannable_area_set_property),
3002 (hildon_pannable_area_timeout): Added a new low friction mode, it
3003 allows the user avoid friction when launching the widget fast
3004 enough. It is interesting to traverse long lists.
3006 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3008 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3009 (+hildon_stackable_window_delete_event): Ignore delete events if
3010 the window is not the topmost one.
3012 Fixes: NB#101698 (Back button long press and delete-event handling)
3014 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3016 * src/hildon-pannable-area.c,
3017 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3018 gtk-dnd-drag-threshold, it was too big. We have defined our own
3019 dnd define and set a smaller value: PANNIG_THRESHOLD.
3021 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3023 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3024 user-defined icons, use always the default one.
3026 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3028 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3030 This patch was applied before but reverted because it caused
3031 problems, we have changed the main condition and tested the
3032 regressions we detected before and they work ok.
3034 * src/hildon-pannable-area.c,
3035 (hildon_pannable_area_get_topmost): Added a new parameter to
3036 filter the the windows that do not include those events. Added
3037 also a condition when finding the window to filter windows that do
3038 not ask for those events.
3039 (hildon_pannable_area_button_press_cb),
3040 (hildon_pannable_area_button_release_cb),
3041 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3042 topmost function, we have added the new parameter.
3044 Fixes: NB#97458 (Pannable area prevents propagation of button
3047 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3049 * tests/check-hildon-color-button.c (START_TEST): do not leak
3052 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3054 * src/hildon-font-selection-dialog.c
3055 (hildon_font_selection_dialog_get_preview_text): Return NULL
3056 instead of FALSE on the g_return_val_if_fail().
3058 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3060 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3061 * src/hildon-date-selector.c
3062 (hildon_date_selector_select_current_date):
3063 Do not compare unsigned integers to be greater than or equal 0,
3064 because it's always TRUE.
3066 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3068 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3069 (hildon_date_selector_constructor): Do not select the current
3070 date until we are handle the "changed" signal, to avoid having bogus
3071 elements in the days model.
3073 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3075 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3076 for num_days, since _month_days() can return a negative value.
3078 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3080 * src/hildon-caption.c (hildon_caption_size_allocate):
3081 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3082 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3084 Initialize allocation variables to 0, to avoid eventually using
3085 unitialized variables.
3087 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-bread-crumb-trail.c
3090 (hildon_bread_crumb_trail_size_allocate):
3091 * src/hildon-calendar.c (hildon_calendar_set_background):
3092 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3093 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3094 * src/hildon-seekbar.c (hildon_seekbar_init):
3095 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3096 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3097 * src/hildon-touch-selector-entry.c
3098 (hildon_touch_selector_get_text_from_model):
3099 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3100 * src/hildon-window.c (hildon_window_finalize):
3102 Remove many unused variables.
3104 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3106 * src/hildon-seekbar.c: (hildon_seekbar_init),
3107 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3109 Remove unnecessary g_assert() calls.
3111 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3113 * src/hildon-caption.c: (hildon_caption_expose),
3114 (hildon_caption_set_property), (hildon_caption_init),
3115 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3116 (hildon_caption_size_request), (hildon_caption_size_allocate),
3117 (hildon_caption_forall), (hildon_caption_set_separator),
3118 (hildon_caption_activate), (hildon_caption_set_child_expand),
3119 (hildon_caption_set_label_text),
3120 (hildon_caption_get_label_alignment):
3122 Remove unnecessary g_assert() calls.
3124 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3126 * src/hildon-banner.c
3127 (hildon_banner_map, hildon_banner_init): Make banner temporary
3128 before mapping it to avoid closing other temporary windows, but
3129 make it non-temporary afterwards to avoid being closed by other
3130 non-temporary windows.
3131 (-hildon_banner_client_event, hildon_banner_init):
3132 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3134 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3137 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3139 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3142 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3144 * src/hildon-remote-texture.c
3145 * src/hildon-remote-texture.h
3146 * src/hildon-remote-texture-private.h
3147 * examples/hildon-remote-texture-example.c:
3148 Updates/fixes to remote-texture and its example.
3150 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3152 Patch by Mox Soini (ext-mox.soini@nokia.com)
3154 * src/hildon-code-dialog.c: Update logical id.
3155 * src/hildon-set-password-dialog.c: Update logical id.
3157 Fixes: NB#100646 (Logical strings is shown for ok in set
3158 password,Password needed dialogs)
3160 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3163 * src/hildon-remote-texture.c
3164 * src/hildon-remote-texture.h
3165 * src/hildon-remote-texture-private.h
3167 Added remote texture widget (for Clutter shared memory textures)
3169 * examples/hildon-remote-texture-example.c
3170 * examples/Makefile.am
3171 Added example file for remote texture usage
3173 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3175 * configure.ac: post release version bump.
3176 * debian/changelog: version bump.
3178 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3183 * configure.ac: Bump version.
3184 * debian/changelog: Updates.
3186 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3188 * src/hildon-date-selector.c (hildon_date_selector_init)
3189 (hildon_date_selector_constructor): Don't connect to the "changed"
3190 signal until the selector is completely constructed.
3192 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3194 * src/hildon-touch-selector.c: (_create_new_column),
3195 (hildon_touch_selector_append_column),
3196 (hildon_touch_selector_set_column_selection_mode),
3197 (hildon_touch_selector_set_active),
3198 (hildon_touch_selector_select_iter):
3199 Emit the HildonTouchSelector::changed signal every time selection
3200 is changed in any of the methods above. This behavior was already
3201 documented but not fully functional.
3203 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3204 selection is programmatically changed)
3206 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3208 * doc/hildon-sections.txt: Remove obsolete icon
3209 sizes from here as well.
3211 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3213 * examples/hildon-stackable-window-example.c (add_window): Remove
3216 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3218 * src/hildon-app-menu.c
3219 (hildon_app_menu_show): Check whether the parent window of a menu
3220 is topmost before popping it up.
3222 Fixes: NB#100468 (Application menu window is launched even when a
3223 new secondary-window/dialog is pending to be shown/realized.)
3225 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3227 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3230 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3232 Patch by Mox Soini (ext-mox.soini@nokia.com)
3234 * src/hildon-banner.c: (hildon_banner_show_animation):
3235 use stylus size instead of obsolete note size.
3236 * src/hildon-defines.h: Update icon sizes.
3238 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3240 * src/hildon-touch-selector-entry.c:
3241 (hildon_touch_selector_entry_init): Disable unsupported
3243 (hildon_touch_selector_entry_get_text_column): Emit a warning
3244 if an unsupported input modes is used and explicitile state
3245 these modes in the documentation.
3247 Fixes: NB#99802 (Hildon touch selector entry not working properly
3248 for some of the input modes)
3250 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3252 * src/hildon-pannable-area.c,
3253 (hildon_pannable_area_init): Added the changed signal handlers of
3256 Fixes: NB#100320 (HildonPannableArea does not listen to
3257 GtkAdjustment "change" signals)
3259 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3261 * doc/hildon-sections.txt
3262 * src/hildon-window-private.h
3263 * src/hildon-window.h
3264 * src/hildon-window.c (hildon_window_init)
3265 (hildon_window_realize, hildon_window_unrealize)
3266 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3267 (hildon_window_size_request, hildon_window_size_allocate)
3268 (hildon_window_forall, hildon_window_show_all)
3269 (hildon_window_destroy, +paint_edit_toolbar)
3270 (+hildon_window_set_edit_toolbar):
3271 New hildon_window_set_edit_toolbar() method, to add a
3272 HildonEditToolbar to a window without having to pack it manually.
3274 Reorganize hildon_window_size_allocate()
3276 * src/hildon-edit-toolbar.c: Update documentation.
3278 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3279 example to use the new API.
3281 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3283 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3285 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3286 Remove from stack before calling parent's hide.
3288 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3290 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3291 window is removed from the middle of the stack, update the
3292 transiency of the previous one.
3294 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3297 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3299 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3300 block/unblock the signal handler if it's not actually being used.
3301 Fixes some critical warnings.
3303 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3305 Based on a patch by Iván Gómez (igomez@igalia.com)
3307 * src/hildon-banner.c
3311 * src/hildon-pannable-area.c
3312 * src/hildon-picker-dialog.c
3313 * src/hildon-wizard-dialog.h
3314 * src/hildon-wizard-dialog.c: Documentation updates.
3316 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3317 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3319 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3321 * configure.ac: post release version bump.
3322 * debian/changelog: version bump.
3324 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3329 * configure.ac: Bump version.
3330 * debian/changelog: Updates.
3332 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3334 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3335 a stock icon nor change the relief of the back arrow.
3337 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3338 graphics from theme)
3340 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3342 * src/hildon-button.c (hildon_button_set_alignment): Use
3343 priv->alignment if the button has no child yet.
3345 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3347 * src/hildon-button.c: (hildon_button_init): Set the
3348 button style during initialization to give it the proper
3351 Fixes: NB#99713 (HildonButton value label color is wrong)
3353 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3355 * src/hildon-touch-selector.c: Document
3356 hildon_touch_selector_center_on_selected()
3358 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3360 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3361 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3362 all menu items, but not the menu itself.
3363 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3364 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3365 items after adding them to the menu so keyboard accelerators work.
3366 (hildon_app_menu_show): Don't show the menu if it contains items
3367 but none of them are visible.
3369 * examples/hildon-app-menu-example.c (create_menu): Use
3370 gtk_widget_show_all() to show all menu items.
3372 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3374 * src/hildon-picker-dialog.c:
3375 (-_update_title_on_selector_changed_cb),
3376 (-_dialog_update_title): Removed.
3377 (_select_on_selector_changed_cb), (_on_dialog_response),
3378 (on_selector_columns_changed): Do not update the dialog title.
3379 (setup_interaction_mode): Do not connect to
3380 HildonTouchSelector::changed signal if there's a "done" button, as
3381 the dialog title doesn't need to be updated.
3383 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3386 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3388 Patch by Kristian Rietveld (kris@imendio.com)
3390 * src/hildon-touch-selector.c: (_create_new_column): Use new
3391 GtkTreeView::hildon-row-tapped signal to react to user interactions
3392 instead of ::changed.
3394 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3395 with some dynamic tree model)
3397 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3399 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3400 (+screen_size_changed, +label_size_request)
3401 (hildon_note_class_init): Make the Hildon information note have a
3402 minimum height, and make its text hvae a maximum width.
3404 Fixes: NB#98614 (Hildon information note (background) should have
3405 minimum height and maximum text width)
3407 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-banner.h
3410 * src/hildon-banner.c (hildon_banner_show_information)
3411 (hildon_banner_show_informationf)
3412 (hildon_banner_show_information_with_markup): Update documentation
3413 to reflect that the icon_name parameter is not used anymore.
3414 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3415 Remove all code from these functions and mark them as deprecated.
3416 (hildon_banner_show_progress): Mark as deprecated.
3418 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3420 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3422 * src/hildon-pannable-area.c,
3423 (hildon_pannable_area_class_init),
3424 (tranparency_color),
3425 (hildon_pannable_draw_vscroll),
3426 (hildon_pannable_draw_hscroll),
3427 (hildon_pannable_area_expose_event): Added a new way to render the
3428 scrollbars of the pannable area avoiding using cairo at all. This
3429 way we improve the performance of the pannable area rendering. The
3430 cairo rendering procedure is still in the code, we can control
3431 which one to use changing the value of the define
3432 USE_CAIRO_SCROLLBARS.
3434 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3436 * configure.ac: post release version bump.
3437 * debian/changelog: version bump.
3439 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3444 * configure.ac: Bump version.
3445 * debian/changelog: Updates.
3447 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3450 banners instead of destroying them when they receive a button
3453 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3455 Reverted commit 34028, it was causing regressions, probably the
3456 topmost condition is not correct, we have to check it in more
3457 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3458 propagation of button press events)
3460 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3462 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3463 that the selection is not empty before attempting to retrieve the
3464 current ampm selection.
3466 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3468 * src/hildon-picker-button.c:
3469 (hildon_picker_button_on_dialog_response): Directly update the
3470 button contents when required instead of calling _selection_changed.
3472 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3474 * src/hildon-program.c (hildon_program_update_top_most): Update
3475 'is-topmost' property also when wm_hints is not set.
3477 Fixes: NB#98383 (is-topmost signal is not emitted when task
3478 switcher is clicked.)
3480 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3482 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3486 * src/hildon-animation-actor.c,
3487 * src/hildon-animation-actor.h: Added the animation actor class,
3488 this widget represents an animation actor for WM-assisted
3489 animation effects in the Hildon framework.
3491 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3493 * src/hildon-window-stack-private.h
3494 * src/hildon-window-stack.c
3495 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3496 Avoid calling gtk_widget_show() again indirectly from
3497 hildon_stackable_window_show()
3499 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3501 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3504 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3506 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3507 (hildon_time_selector_init): Move the construction of the hours and
3508 ampm columns to the constructor to preserve the order the columns
3511 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3513 * src/hildon-picker-dialog.c:
3514 (hildon_picker_dialog_class_init): Connect a realize method.
3515 (+hildon_picker_dialog_realize): Setup the interaction mode here
3517 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3518 yet, do it during the realize instead.
3519 (_on_dialog_response):
3520 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3521 if the widget is not realized, to avoid the dialog response before it
3524 Avoid premature responses in the HildonPickerDialog that can cause it
3525 to be hidden before it's even shown.
3527 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3529 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3530 (on_selector_columns_changed), (requires_done_button),
3531 (+prepare_action_area), (setup_interaction_mode),
3532 (_hildon_picker_dialog_set_selector):
3534 Split the interaction mode setup into preparation of the
3535 action area (prepare_action_area()) and the connection of
3536 the signals in setup_interaction_mode() and update the code to
3539 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3541 * src/hildon-pannable-area.c,
3542 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3543 per second to 15, we will check if this is ok regarding
3546 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3548 * src/hildon-pannable-area.c,
3549 (hildon_pannable_axis_scroll): Avoid resize if we already have
3550 reached overshoot_max.
3552 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3554 * src/hildon-pannable-area.c,
3555 (hildon_pannable_area_init),
3556 (hildon_pannable_area_realize),
3557 (hildon_pannable_area_size_allocate),
3558 (hildon_pannable_area_map),
3559 (hildon_pannable_area_unmap),
3560 (hildon_pannable_draw_vscroll),
3561 (hildon_pannable_draw_hscroll),
3562 (hildon_pannable_area_expose_event),
3563 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3564 pannable are to avoid the expose events go to the window and
3565 redraw the window. We save this way that part of the stack and the
3566 paint_boxes. We had to change the positions of the elements when
3569 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3571 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3572 * src/hildon-color-chooser-dialog.c:
3573 (hildon_color_chooser_dialog_init):
3574 * src/hildon-font-selection-dialog.c:
3575 (hildon_font_selection_dialog_init),
3576 (hildon_font_selection_dialog_show_preview):
3577 * src/hildon-get-password-dialog.c:
3578 * src/hildon-login-dialog.c:
3579 * src/hildon-set-password-dialog.c:
3580 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3581 * src/hildon-time-picker.c: (hildon_time_picker_init):
3583 Remove obsolete logical string IDs and update to the appropriate ones.
3585 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3587 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3589 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3590 that happens if the window hasn't been realized yet.
3592 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3593 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3595 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3597 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3598 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3601 Fixes: NB#98537 (Device hangs in account settings dialog)
3603 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3605 * configure.ac: post release version bump.
3606 * debian/changelog: version bump
3608 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3613 * configure.ac: Bump version.
3614 * debian/changelog: Updates.
3616 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3618 Added a new function to the HildonTimeButton widget that allows to
3619 change the step of the minutes in the selector associated with the
3620 button: hildon_time_button_new_step
3622 * src/hildon-time-button.c,
3623 (hildon_time_button_init),
3624 (hildon_time_button_new),
3625 (hildon_time_button_new_step):
3626 * src/hildon-time-button.h: Added the new function and refactored
3628 * examples/hildon-time-button-example.c,
3629 (main): We have replaced the function without parameters with the
3630 function with the steps set to 5
3632 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3634 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3636 * src/hildon-time-selector.c,
3637 (hildon_time_selector_class_init),
3638 (hildon_time_selector_constructor),
3639 (hildon_time_selector_get_property),
3640 (hildon_time_selector_set_property),
3641 (_create_minutes_model),
3642 (hildon_time_selector_new_step),
3643 (hildon_time_selector_set_time),
3644 * src/hildon-time-selector.h: Added a new property to the
3645 HildonTimeSelector (minutes-step), we use that property to control
3646 the steps between the minutes in the list of the selector. We have
3647 added a new function to the API to create a widget changing the
3648 step: hildon_time_selector_new_step.
3650 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3652 * src/hildon-time-selector.c,
3653 (hildon_time_selector_class_init),
3654 (hildon_time_selector_constructor),
3655 (hildon_time_selector_init): Overrided the construct function when
3656 creating the time selector object. We have moved the minutes model
3657 handling code from the init to the new construction function:
3658 hildon_time_selector_constructor.
3660 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3662 * examples/hildon-date-button-example.c: (main): Use the new
3663 hildon_date_button_new_with_year_range() method in the example.
3664 * src/hildon-date-button.c:
3665 (+hildon_date_button_new_with_year_range): New public method
3666 to conveniently create a HildonDateButton with a custom year range
3667 in its HildonDateSelector.
3668 * src/hildon-date-button.h: Add the new public method definition.
3670 Fixes: NB#97908 (Not possible to change the year range in
3671 HildonDateSelector/HildonDateButton)
3673 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3675 * src/hildon-date-selector.c:
3676 (+hildon_date_selector_set_property),
3677 (+hildon_date_selector_get_property),
3678 (hildon_date_selector_class_init): Install new properties "min-year"
3679 and "max-year" to define boundaries for the year column.
3680 (_create_year_model): Use the boundary properties to populate the model.
3681 (+hildon_date_selector_new_with_year_range): New public method to
3682 create a HildonDateSelector with a user defined year range.
3683 (hildon_date_selector_select_current_date): Use the new boundaries to
3684 calculate the iterator of current year.
3685 * src/hildon-date-selector.h: Add the new public method definition.
3687 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3690 Install a constructor method.
3691 (+hildon_date_selector_construct_ui): construct the widget.
3692 (+hildon_date_selector_constructor): new constructor.
3693 (+hildon_date_selector_init): move out widget construction code to
3694 the new constructor.
3696 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3698 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3699 that there's actually a month or year selected before obtaining them.
3700 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3701 of the HildonTouchSelector::changed signal, as it was emitted on every
3702 single item selection.
3704 Fix some warnings and possible crashers due to the selection restoring.
3706 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3708 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3709 the signal handlers only after creating the dialog instead of on every
3712 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3714 * src/hildon-button.c (hildon_button_init)
3715 * src/hildon-check-button.c (hildon_check_button_init)
3716 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3717 focus when clicked by default.
3719 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3721 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3724 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3726 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3727 Alejandro G. Castro (alex@igalia.com)
3729 * src/hildon-picker-dialog.c:
3730 (hildon_picker_dialog_class_init): install new "center-on-show"
3732 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3733 (hildon_picker_dialog_set_property): add setter code for the new
3735 (hildon_picker_dialog_get_property): add getter code for the new
3737 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3738 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3741 Fixes: NB#92849 (Selected item is not always visible when
3742 HildonTouchSelector is shown)
3744 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3746 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3747 Alejandro G. Castro (alex@igalia.com)
3749 * src/hildon-touch-selector.c:
3750 (_create_new_column): Do not connect to the "realize" signal of the
3752 (hildon_touch_selector_append_column): center on the selected items
3753 when a new column is appended.
3754 (hildon_touch_selector_select_iter): Factor out the code to select a
3755 column to hildon_touch_selector_scroll_to().
3756 (+search_nearest_element): Method to retrieve the nearest selected
3757 element to the visible area of the pannable area in a column.
3758 (+on_realize_cb): scroll to the initially selected item.
3759 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3760 the pannable area is realized, otherwise delay this until it is.
3761 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3762 selected items of a given column.
3763 (+hildon_touch_selector_center_on_selected): Public method to center
3764 all columns on the nearest selected item.
3765 * src/hildon-touch-selector.h: Add definition for
3766 hildon_touch_selector_center_on_selected().
3768 Implement public API to ensure visibility of all selected items in
3769 a HildonTouchSelector.
3771 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3773 Fixed a problem in the fading when calling the scroll_to API, and
3774 improve scrollbar fading handling.
3776 * src/hildon-pannable-area.c,
3777 (hildon_pannable_area_grab_notify): avoid the timeout when the
3779 (hildon_pannable_area_button_press_cb),
3780 (hildon_pannable_area_motion_notify_cb): Code style changes.
3781 (hildon_pannable_area_button_release_cb): Review the conditions
3782 when releasing the mouse button to avoid unrequired fading
3784 (hildon_pannable_area_scroll_to): Do not calculate and set the
3785 velocity if the scroll is not required.
3787 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3789 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3790 Don't check whether the new selector is NULL: it cannot be.
3791 Hold a reference to the selector while doing the replacement.
3793 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3795 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3796 unnecessary size_request in a removed widget.
3798 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3800 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3801 an unnecessary reference tracking that was leaking.
3803 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3805 Added delayed motion notify event handling, this way we can
3806 discard redrawing if more than 25 events arrive per second.
3808 * src/hildon-pannable-area.c,
3809 (hildon_pannable_area_init): Initialized the new private atributes
3810 controlling this timeout
3811 (hildon_pannable_area_dispose): Remove the timeout that controls
3812 the motion notify events.
3813 (hildon_pannable_area_scroll): Added a condition to control the
3814 use of the acceleration.
3815 (hildon_pannable_area_motion_event_scroll_timeout),
3816 (hildon_pannable_area_motion_event_scroll): Added this two
3817 functions, they handle the motion notify events inside the
3819 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3820 to the scroll method with the new function.
3821 (hildon_pannable_area_button_release_cb): We have to remove the
3822 timeout handler and move to the last position if the last motion
3823 events were not handled.
3825 Fixes: NB#97028 (Pannable area updates on every motion event)
3827 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3829 * src/hildon-pannable-area.c,
3830 (hildon_pannable_area_get_topmost): Added a new parameter to
3831 filter the the windows that do not include those events. Added
3832 also a condition when finding the window to filter windows that do
3833 not ask for those events.
3834 (hildon_pannable_area_button_press_cb),
3835 (hildon_pannable_area_button_release_cb),
3836 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3837 topmost function, we have added the new parameter.
3839 Fixes: NB#97458 (Pannable area prevents propagation of button
3842 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3844 * src/hildon-pannable-area.c,
3845 (hildon_pannable_area_initial_effect): Added controls before
3846 launching the timeout and the idle functions.
3847 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3848 of the method, in some situations it can return with TRUE and 0 in
3850 (hildon_pannable_area_button_press_cb): We do not need to set
3851 DELAY for fading out here.
3853 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3855 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3857 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3858 post-cleaning if the selection is not NULL.
3860 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3862 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3863 all items before restoring the selection.
3865 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3867 * src/hildon-touch-selector.c:
3868 (+hildon_touch_selector_unselect_all):
3869 * src/hildon-touch-selector.h: New API to unselect all items in a
3870 column of the touch selector.
3872 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3874 * src/hildon-pannable-area.c,
3875 (hildon_pannable_area_redraw): Added a call to the refresh
3876 function inside the redraw because apparently in some cases the
3877 change in the adjustment does not imply a size allocate.
3879 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3880 despite the view not being scrollable)
3882 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3884 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3885 leak. Check for NULL before attempting to set the window title.
3887 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3889 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3890 whether to show or not the 'Done' button each time the dialog is
3891 shown, as it depends on the HildonTouchSelector selection mode.
3893 Fixes: NB#96226 (In multiple selection mode Done button is shown
3894 sometimes in listpicker)
3896 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3898 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3899 for the number of columns in the HildonTouchSelector more than once.
3901 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3903 * src/hildon-touch-selector.c: Minor documentation fixes.
3905 * src/hildon-picker-dialog.c (+_dialog_update_title)
3906 (_select_on_selector_changed_cb)
3907 (_update_title_on_selector_changed_cb)
3908 (on_selector_columns_changed): Update dialog title when there's no
3909 'Done' button and also when the number of columns in the selector
3913 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3914 (+_selection_changed, hildon_picker_button_on_dialog_response)
3915 (hildon_picker_button_selector_selection_changed)
3916 (+hildon_picker_button_selector_columns_changed)
3917 (hildon_picker_button_set_selector): Update button value and emit
3918 'value-changed' when the number of columns in the selector
3922 Fixes: NB#96225 (Dialog titles are not shown according to the
3923 values selected in the list picker)
3925 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3927 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3928 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3929 New "arrow-width" and "arrow-height" style properties to set the
3930 size of the arrow button.
3931 Set name of arrow button ("hildon-edit-toolbar-arrow").
3933 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3934 graphics from theme)
3936 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3938 * src/hildon-picker-button.c:
3939 (hildon_picker_button_selector_selection_changed): Use
3940 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3941 the dialog is present.
3943 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3944 the selection is accepted in the dialog)
3946 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3948 * src/hildon-color-chooser.h
3949 * src/hildon-color-chooser-dialog.h:
3950 Added G_BEGIN_DECLS and G_END_DECLS
3952 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3954 (_clean_current_selection): plug a leak in the list.
3956 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3958 * src/hildon-picker-dialog.c:
3959 (+free_path_list): Method to free a GList of GtkTreePaths.
3960 (_clean_current_selection), (_save_current_selection),
3961 (_restore_current_selection): Save the current selection in
3962 as a list of lists, to support multiple selection properly.
3964 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3966 patch by Claudio Saavedra (csaavedra@igalia.com)
3968 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3969 Store the press position.
3970 (+hildon_text_view_button_release_event): If the release position is
3971 close enough to the press position, move the cursor here. Otherwise,
3973 (hildon_text_view_class_init): Override GtkTextView press, release, and
3974 motion event handlers, disabling this way text selection through
3975 pointer interaction, and allowing the container widget to handle the
3978 Fixes: NB#95828 (HildonTextView functionality)
3980 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3982 Based on a patch by Iván Gómez (igomez@igalia.com)
3984 * src/hildon-button.[ch]
3985 * src/hildon-calendar.c
3986 * src/hildon-check-button.c
3987 * src/hildon-date-editor.c
3988 * src/hildon-date-selector.c
3989 * src/hildon-picker-button.c
3990 * src/hildon-time-editor.c
3991 * src/hildon-time-selector.c
3992 * src/hildon-touch-selector.[ch]:
3993 Documentation updates
3995 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3997 * src/hildon-pannable-area.c,
3998 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3999 threshold, it was required due to X events handling.
4001 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4003 * src/hildon-pannable-area.c,
4004 (hildon_pannable_area_grab_notify),
4005 (hildon_pannable_area_initial_effect),
4006 (hildon_pannable_area_button_press_cb),
4007 (hildon_pannable_area_button_release_cb),
4008 (hildon_pannable_area_scroll_cb),
4009 (hildon_pannable_area_scroll_to): Review the timeout management of
4010 the scrollbar, the frecuency was incorrectly set.
4012 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4014 * src/hildon-picker-button.c:
4015 (+hildon_picker_button_on_dialog_response),
4016 (hildon_picker_button_clicked): Present the dialog instead of
4017 running it with gtk_dialog_run().
4019 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4022 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4024 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4025 (hildon_app_menu_finalize): When a window is hidden it doesn't
4026 emit notify::is-topmost, so make sure than the menu also
4027 disappears in that case.
4028 (parent_window_topmost_notify): Renamed from parent_window_hidden
4030 Fixes: NB#94460 (stackable window's menu is not closed when its
4033 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4035 * src/hildon-touch-selector-entry.c:
4036 (+hildon_touch_selector_entry_set_input_mode),
4037 (+hildon_touch_selector_entry_get_input_mode):
4038 * src/hildon-touch-selector-entry.h: New methods to access the input
4039 mode in the selector's entry.
4041 Fixes: NB#93410 (API required for setting IM mode in
4042 HildonTouchSelectorEntry)
4044 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4046 * configure.ac: post release version bump.
4047 * debian/changelog: version bump
4049 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4054 * configure.ac: Bump version.
4055 * debian/changelog: Updates.
4057 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4059 * src/hildon-touch-selector.c:
4060 (_hildon_touch_selector_has_multiple_selection): No need
4061 to initialize the variables here.
4063 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4065 * src/hildon-note-private.h
4066 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4067 (hildon_note_finalize, hildon_note_rebuild): Close information
4068 notes when they receive a button press.
4070 Fixes: NB#89890 (Information notes does not get disappeared after
4073 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4075 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4076 mark from the wizard title, as it's not really necessary. Also,
4077 do not display the page title if not set.
4079 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4081 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4082 (parent_window_hidden): Use the window's "is-topmost" property to
4083 detect when to hide the menu.
4085 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4087 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4088 (hildon_app_menu_finalize): If the parent window of the menu is
4089 hidden, hide the menu too.
4091 Fixes: NB#94460 (stackable window's menu is not closed when its
4094 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4097 * debian/libhildon1-examples.install
4099 * examples/Makefile.am:
4100 Use dh_install to install all examples.
4101 Use DEB_SRCDIR instead of defining SOURCE_DIR
4103 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4105 * configure.ac: post release version bump.
4106 * debian/changelog: version bump
4108 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4113 * configure.ac: bump version
4114 * debian/changelog: updates
4115 * debian/control: bump gtk+ dependency
4117 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4119 patch by Christian Dywan (christian@imendio.com)
4121 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4122 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4124 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4126 * src/hildon-check-button.c (hildon_check_button_init)
4127 (hildon_check_button_class_init, hildon_check_button_style_set)
4128 (hildon_check_button_apply_style):
4129 New "checkbox-size" style property.
4131 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4132 larger / configurable size)
4134 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4136 * configure.ac: post release version bump.
4137 * debian/changelog: version bump
4139 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4144 * configure.ac: bump version
4145 * debian/changelog: updates
4147 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4149 * doc/hildon-sections.txt
4150 * src/hildon-pannable-area.c
4151 * src/hildon-program.c
4152 * src/hildon-time-editor.c
4153 * src/hildon-touch-selector-entry.c:
4155 More documentation updates.
4157 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4159 * doc/hildon-sections.txt
4160 * src/hildon-caption.c
4161 * src/hildon-code-dialog.c
4162 * src/hildon-color-button.c
4163 * src/hildon-controlbar.c
4164 * src/hildon-date-editor.c
4165 * src/hildon-date-selector.c
4166 * src/hildon-edit-toolbar.c
4167 * src/hildon-find-toolbar.c
4168 * src/hildon-font-selection-dialog.c
4170 * src/hildon-program.c
4171 * src/hildon-range-editor.c
4172 * src/hildon-seekbar.c
4173 * src/hildon-time-editor.c
4174 * src/hildon-time-selector.c
4175 * src/hildon-volumebar-range.c
4176 * src/hildon-volumebar.c
4177 * src/hildon-vvolumebar.c
4178 * src/hildon-weekday-picker.c
4179 * src/hildon-window.c
4180 * src/hildon-wizard-dialog.c:
4182 Lots of documentation fixes.
4184 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4186 Patch contributed by Iván Gómez (igomez@igalia.com)
4188 * src/hildon-check-button.c:
4189 * src/hildon-date-button.c:
4190 * src/hildon-date-selector.c:
4191 * src/hildon-dialog.c:
4192 * src/hildon-edit-toolbar.c:
4193 * src/hildon-entry.c:
4194 * src/hildon-picker-button.c:
4195 * src/hildon-program.c:
4196 * src/hildon-text-view.c:
4197 * src/hildon-time-button.c:
4198 * src/hildon-touch-selector-entry.c:
4199 * src/hildon-window-stack.c:
4201 Add more "since" tags to the new API.
4203 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4205 * doc/hildon-sections.txt: Add below method.
4206 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4207 version for the hildonized scale.
4208 * src/hildon-gtk.h: Add the definition.
4210 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4212 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4214 * doc/hildon-sections.txt: Add missing entries for new methods.
4216 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4218 Added API to pannable are in order to get its adjustments. We
4219 added two properties to manage the values we had in the private
4222 * src/hildon-pannable-area.c:
4223 (hildon_pannable_area_class_init): Added hadjustment and
4224 vadjustment properties in order to expose horizontal and vertical
4226 (hildon_pannable_area_get_property),
4227 (hildon_pannable_area_set_property): Added code to handle the new
4229 (hildon_pannable_area_get_hadjustment),
4230 (hildon_pannable_area_get_vadjustment): API functions to get the
4232 * src/hildon-pannable-area.h:
4233 (hildon_pannable_area_get_hadjustment),
4234 (hildon_pannable_area_get_vadjustment): API functions to get the
4237 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4239 Fixed some leaks, after valgrinding.
4241 * src/hildon-touch-selector.c:
4242 (_default_print_func): Fixed a leak.
4243 (hildon_touch_selector_append_column): Fixed a leak.
4244 * src/hildon-date-button.c:
4245 (hildon_date_button_init): Fixed a leak.
4246 * src/hildon-date-selector.c
4247 (hildon_date_selector_finalize): Fixed a leak.
4249 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4251 Based on a patch by Christian Dywan (christian@imendio.com)
4253 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4255 * src/hildon-gtk.h: Add definition.
4257 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4259 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4261 * src/hildon-picker-button.c: (hildon_picker_button_init),
4262 (hildon_picker_button_new): Set the HildonButton::style property
4263 in the init method, to propagate the value to the derived classes.
4265 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4267 * src/hildon-button.c: (hildon_button_class_init): Do not make
4268 the "style" property a construct property.
4270 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-wizard-dialog.h
4273 * src/hildon-wizard-dialog.c
4274 (hildon_wizard_dialog_set_forward_page_func)
4275 * src/hildon-pannable-area.h
4276 * src/hildon-pannable-area.c
4277 (hildon_pannable_area_set_size_request_policy):
4278 Documentation fixes.
4280 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4282 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4284 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4286 * doc/hildon-sections.txt: Added sections file.
4288 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4291 * src/*.[ch]: Updates.
4293 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4295 * examples/hildon-progress-indicator-example.c: new file
4296 * examples/Makefile.am: include the new example program
4298 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4300 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4302 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4304 * configure.ac: post release version bump
4305 * debian/changelog: version bump
4307 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4312 * configure.ac: bump version
4313 * debian/changelog: updates
4314 * debian/control: bump gtk+ dependency
4316 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-dialog.c: Mark as deprecated.
4319 * src/hildon-dialog.h: Mark as deprecated.
4320 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4321 from HildonDialog and still work, even if
4322 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4323 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4325 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4326 maemo changes) instead)
4328 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4330 * src/hildon-pannable_area.h:
4331 * src/hildon-pannable_area.c:
4332 (hildon_pannable_area_class_init),
4333 (hildon_pannable_area_set_property),
4334 (hildon_pannable_area_get_property),
4335 (hildon_pannable_area_size_request),
4336 (hildon_pannable_area_get_size_request_policy),
4337 (hildon_pannable_area_set_size_request_policy): Added new API
4338 allowing applications to control the request policy. Now they can
4339 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4340 children allocation (HILDON_MOVEMENT_CHILDREN).
4342 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4346 (hildon_gtk_tree_view_set_ui_mode)
4347 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4348 mode of treeviews and iconviews.
4350 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4352 * src/hildon-touch-selector-entry.c:
4353 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4354 of a GtkEntry to get proper theming.
4356 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4357 widget, not GtkEntry)
4359 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4361 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4362 no HildonWizardDialogPageFunc.
4364 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4366 Patch contributed by Iván Gómez (igomez@igalia.com)
4368 * src/hildon-app-menu.c:
4369 * src/hildon-button.c:
4370 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4371 * src/hildon-stackable-window.c:
4372 * src/hildon-time-selector.c:
4373 * src/hildon-touch-selector.c:
4374 * src/hildon-window.c:
4376 Add more "since" tags to the new API in hildon 2.2.
4378 2008-12-05 Tim Janik <timj@imendio.com>
4380 Patch contributed by Christian Dywan (christian@imendio.com)
4382 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4383 HildonSizeType, which are supplied by Gtk+ now.
4385 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4387 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4388 (with maemo changes) instead)
4390 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4392 Patch contributed by Iván Gómez (igomez@igalia.com)
4394 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4397 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4399 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4400 (some_page_func), (main): Update the example to use a
4401 HildonWizardDialogPageFunc function.
4403 * src/hildon-wizard-dialog-private.h: Add private data for
4404 the HildonWizardDialogPageFunc function usage.
4406 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4407 (destroy), (hildon_wizard_dialog_init), (response),
4408 (hildon_wizard_dialog_set_forward_page_func):
4409 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4410 that applications can use to stop a HildonWizardDialog to jump to
4413 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4416 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4418 * src/hildon-program.h
4419 * src/hildon-program-private.h
4420 * src/hildon-program.c (hildon_program_init)
4421 (hildon_program_set_common_app_menu)
4422 (hildon_program_get_common_app_menu):
4423 New API for setting a common HildonAppMenu for all
4424 HildonStackableWindows registered with the HildonProgram.
4426 * src/hildon-stackable-window.c
4427 (hildon_stackable_window_toggle_menu):
4428 Use the common HildonAppMenu if a window doesn't have a specific
4431 * src/hildon-app-menu-private.h
4432 * src/hildon-app-menu.c
4433 (hildon_app_menu_get_parent_window):
4434 Function to obtain the window a HildonAppMenu is attached to.
4435 (hildon_app_menu_set_parent_window):
4436 Hide the menu if the parent window is set to NULL.
4438 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4440 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4441 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4442 search widget to popup.
4444 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4446 * configure.ac: post release version bump
4447 * debian/changelog: version bump
4449 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4454 * configure.ac: bump version
4455 * debian/changelog: updates
4457 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4459 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4461 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4462 (hildon_window_stack_window_realized)
4463 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4464 Set the leader GdkWindow when a window is stacked and realized,
4465 unset it when it's unstacked.
4466 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4468 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4470 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4472 * src/hildon-stackable-window.h
4473 * src/hildon-window-stack.h:
4474 Protect definition of HildonWindowStack using the preprocessor.
4476 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4478 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4479 Fix warning if all menu items are hidden.
4481 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4483 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4485 * src/hildon-controlbar.c:
4486 * src/hildon-hvolumebar.c:
4487 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4488 Multiple scale size defines updates.
4490 Fixes: NB#94322 (Scale Updates)
4492 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4494 * examples/hildon-app-menu-example.c (create_menu)
4495 Show items after adding them to the menu, as in the future the
4496 menu will no longer call gtk_widget_show() on the added items.
4498 * src/hildon-app-menu.c:
4499 Update example as explained above.
4501 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4503 * src/hildon-app-menu.c
4504 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4505 Make sure that all menu items have finger height.
4507 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4509 * src/hildon-picker-dialog.c:
4510 (_on_dialog_response), (_save_current_selection),
4511 (_restore_current_selection), (_clean_current_selection),
4512 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4513 Defined new functions in order to save the current internal selector
4514 selection previous open the dialog, in case that the use cancel the
4515 interaction, so the widget restores the previous selection.
4517 Fixes: NB#92032 (In calendar application, date values in 'new event'
4520 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4522 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4524 * src/hildon-button.c: Add a reference to the button examples in
4525 hildon-button-example.c
4527 * examples/hildon-button-example.c: Added examples of the most
4528 common button layouts.
4530 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4532 * src/hildon-app-menu.c (hildon_app_menu_show)
4533 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4535 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4537 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4539 * src/hildon-picker-dialog.c:
4540 (hildon_picker_dialog_init): Initialize the signal id for
4541 HildonTouchSelector::columns-changed.
4542 (+on_selector_columns_changed): Set up the interaction mode everytime a
4543 column is added or removed from the HildonTouchSelector.
4544 (_hildon_picker_dialog_set_selector): Connect to
4545 HildonTouchSelector::columns-changed and keep track of it.
4547 Make sure to update the interaction mode of the dialog everytime a
4548 column is added or removed in the HildonTouchSelector.
4550 Fixes: NB#93228 (Done button is not shown always in listpicker)
4552 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4554 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4555 a new ::columns-changed signal.
4556 (hildon_touch_selector_append_column): Emit ::columns-changed.
4557 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4559 Add a ::columns-changed signal, emitted when the number of columns in a
4560 HildonTouchSelector changes.
4562 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4564 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4565 (_hildon_picker_dialog_set_selector): Factor out the code
4566 to set up the dialog interaction mode.
4568 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4570 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4571 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4572 to signal_changed_id.
4574 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4576 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4579 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4581 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4582 Updated the logical ids related to ampm format, as now it is required to
4583 show it correctly localized even on languages with no default
4584 abbreviations for am or pm
4585 (_check_am_pm_format): check correctly the 24h format gconf property
4587 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4589 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4591 * src/hildon-button.c: Documentation updates.
4593 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4595 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4596 * src/hildon-caption.c: (hildon_caption_class_init):
4597 * src/hildon-color-button.c: (hildon_color_button_class_init):
4598 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4599 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4600 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4601 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4603 Remove deprecated GTK+ marshalers and replace them with the ones
4604 provided by GLib, for those available, add a marshaler for
4605 BOOLEAN:VOID, which is not available in GLib, and use it.
4607 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4609 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4610 the text from the previous column if there is no
4611 HildonTouchSelectorColumn::text-property set.
4613 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4615 * src/hildon-button.h
4616 * src/hildon-button.c (hildon_button_set_property)
4617 (hildon_button_get_property, hildon_button_class_init)
4618 (hildon_button_set_style, hildon_button_get_style):
4619 New "style" property to change the visual appearance of the
4622 * src/hildon-picker-button.c (hildon_picker_button_new):
4623 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4625 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4626 HildonButton look like PickerButton)
4628 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4630 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4631 column while building the default string.
4633 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4635 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4636 scroll indicator by default.
4638 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4640 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4642 * src/hildon-main.c: Fix the documentation for hildon_init()
4644 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4646 * doc/hildon-docs.sgml
4650 * src/hildon-window-stack-private.h
4651 * src/hildon-window-stack.h
4652 * src/hildon-window-stack.c:
4653 New HildonWindowStack object, that adds support for multiple
4654 stacks of windows per process.
4656 * src/hildon-stackable-window-private.h
4657 * src/hildon-stackable-window.h
4658 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4659 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4660 (hildon_stackable_window_show, hildon_stackable_window_hide)
4661 (hildon_stackable_window_class_init)
4662 (hildon_stackable_window_init):
4663 Use HildonWindowStack for stack management.
4665 * src/hildon-program.c (hildon_program_pop_window_stack)
4666 (hildon_program_peek_window_stack)
4667 (hildon_program_go_to_root_window):
4668 Add a fallback implementation to the deprecated functions using
4671 * examples/hildon-stackable-window-example.c:
4672 Use the new HildonWindowStack API.
4674 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4676 * src/hildon-stackable-window-private.h
4677 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4678 (hildon_stackable_window_hide, hildon_stackable_window_init):
4679 Remove all window stack management.
4681 * src/hildon-program-private.h
4682 * src/hildon-program.h
4683 * src/hildon-program.c (hildon_program_init)
4684 (hildon_program_pop_window_stack)
4685 (hildon_program_peek_window_stack)
4686 (hildon_program_go_to_root_window):
4687 Remove all window stack management and mark functions as
4690 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4692 * src/hildon-app-menu.c (hildon_app_menu_realize):
4693 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4695 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4697 * configure.ac: post release version bump
4698 * debian/changelog: version bump
4700 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4705 * configure.ac: bump version
4706 * debian/changelog: updates
4708 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4710 Based on initial code by Christian Dywan (christian@imendio.com)
4712 * doc/hildon-docs.sgml: Add section for hildon-main.
4713 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4714 * src/Makefile.am: Add new hildon-main.[ch]
4715 * src/hildon-defines.h: Update the icon sizes.
4716 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4717 new library initialization files and register icon sizes.
4718 * src/hildon-main.h: New declarations.
4719 * src/hildon.h: Include hildon-main.h
4721 Add new initialization functions to the library. These methods
4722 will register the hildon specific icon sizes and can be used in the
4723 future for other hildon specific bits.
4725 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4727 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4729 * src/hildon-window.c: (hildon_window_realize),
4730 (hildon_window_notify), (-hildon_window_update_title): Do not set
4731 the application name in the window title.
4733 Fixes: NB#89754 (Applications shouldn't display their names in the
4736 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4738 * src/hildon-note-private.h:
4739 * src/hildon-note.c: (hildon_note_set_property),
4740 (hildon_note_get_property), (hildon_note_class_init),
4741 (hildon_note_init), (hildon_note_finalize),
4742 (hildon_note_new_confirmation_with_icon_name),
4743 (hildon_note_new_information_with_icon_name):
4745 No need to mark as deprecated the actual code. Revert
4746 to avoid missing symbols in widgets using deprecated API.
4748 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4750 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4752 * src/hildon-volumebar.h
4753 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4754 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4756 * src/hildon-helper.h
4757 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4758 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4760 * examples/Makefile.am:
4761 Deprecate hildon-insensitive-example
4763 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4765 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4767 * examples/hildon-pannable-area-buttons-scroll-example.c:
4768 Make all buttons finger height
4770 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4772 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4774 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4775 update the day model only if it is really required, and to avoid the
4776 full-reconstruction aproach. Now it only add or remove the required days.
4778 The purpose of this is avoid superfluous HildonTouchSelector::changed
4781 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4782 with strange parameters)
4784 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4786 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4788 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4789 the WINDOW_TYPE property.
4791 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4793 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4796 Fix dependency to allow parallel compilation with make -jX
4798 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4800 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4801 color frame and some minor tweaks to make it more consistent with
4804 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4805 highlighted but not visible)
4807 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4809 * examples/Makefile.am: Fixed typo in the Makefile.am.
4811 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4813 Reviewed the use of MAEMO_GTK define, now we add the define in the
4814 compilation line, and we also add it to the pc file.
4816 * configure.ac: Added MAEMO_GTK define to the compilation command
4817 and removed it from the config.h.
4819 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4820 do not have to take care about this define if the library was
4824 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4826 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4828 * examples/Makefile.am,
4829 * examples/hildon-pannable-area-buttons-scroll-example.c,
4830 * examples/hildon-pannable-area-gesture-signals-example.c,
4831 * examples/hildon-pannable-area-scroll-jump-example.c,
4832 * examples/hildon-pannable-area-tree-view-example.c:
4833 Renamed the pannable area examples, now they have more meaningful
4836 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4838 * src/hildon-touch-selector.c:
4839 (hildon_touch_selector_set_column_selection_mode): Used of
4840 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4841 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4842 to avoid re-seting the same selection mode.
4844 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4845 breaks HildonPickerDialog)
4847 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4849 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4850 conditional in the Makefile.am
4852 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4855 Remove unused methods.
4857 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4859 * src/hildon-button.c (hildon_button_init):
4860 Make button images center-aligned by default
4862 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4865 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4866 activated, we have to think about how to deal with both defines
4867 MAEMO_GTK and MAEMO_CHANGES.
4869 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4871 * examples/hildon-app-menu-example.c (create_menu): Make all
4872 buttons finger size.
4874 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4876 Fixed the compilation without maemo gtk adding ifdefs with
4877 MAEMO_GTK define to the code, we have to check this version more
4880 * examples/Makefile.am: Added control to avoid some examples that
4881 just make sense with maemo gtk.
4884 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4885 hildon modes with the define.
4887 * examples/hildon-edit-toolbar-example.c,
4888 (create_icon_view): Create the icon view without hildon-gtk
4889 helpers if we are not using maemo gtk.
4891 * src/hildon-touch-selector.c,
4892 (_create_new_column): Create the treeview without hildon-gtk
4893 helpers if we are not using maemo gtk.
4895 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4897 * src/hildon-pnnable-area.c,
4898 (hildon_pannable_area_dispose),
4899 (hildon_pannable_area_button_press_cb),
4900 (hildon_pannable_area_child_mapped),
4901 (hildon_pannable_area_add),
4902 (hildon_pannable_area_remove): Added code to control the position
4903 of the event_window when adding and removing children from the
4904 pannable. We have to raise the event window when the child is
4907 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4908 selection mode using custom widget inside pannable)
4910 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4912 * configure.ac: post release version bump
4913 * debian/changelog: version bump
4915 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4920 * configure.ac: bump version
4921 * debian/changelog: updates
4923 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4925 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4926 search mode, in order to avoid lose the focus on the treeview when
4927 a hw key (like enter) is pressed.
4929 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4930 in HildonDateSelector dialog)
4932 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4934 * debian/rules: Added --enable-maintainer-mode
4935 * Makefile.am: Added ACLOCAL_AMFLAGS
4937 This allows to properly regenerate the Makefiles if you modify the
4938 configure.ac or any Makefile.am.
4940 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4942 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4943 properties, not needed at all.
4945 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4947 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4949 * src/hildon-note.c: (hildon_note_set_property),
4950 (hildon_note_get_property), (hildon_note_class_init),
4951 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4952 (hildon_note_new_confirmation_add_buttons): Remove icons.
4953 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4954 (hildon_note_new_information_with_icon_name): Deprecate.
4955 (hildon_note_new_confirmation): Act directly, without calling
4956 the deprecated constructor.
4957 (hildon_note_new_information): Act directly, without calling
4958 the deprecated constructor.
4959 * src/hildon-note.h: Mark deprecate methods as such.
4960 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4961 not run tests on the deprecated methods if built with deprecation
4964 Fixes: NB#91688 (Never show icons in information notes/confirmation
4967 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4969 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4970 (hildon_app_menu_key_press): Remove leftover usage of the
4971 private structure in HildonAppMenu struct.
4972 * src/hildon-app-menu.h: Remove leftover private structure
4973 from the HildonAppMenu struct.
4975 Fixes a crasher when using the HildonAppMenu.
4977 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4979 * src/hildon-picker-dialog.c: Use appropriate logical id
4980 for the default "Done" text.
4982 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4984 * configure.ac: post release version bump
4985 * debian/changelog: version bump
4987 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4989 Modified the way to scroll to the current selection just when the touch
4990 selector is shown on the screen, avoiding a g_idle. Added too a property
4991 to configure this behaviour. See hildon_pannable_area_jump_to_child
4992 documentation for more information.
4994 * src/hildon-touch-selector.c
4995 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4996 Added 'initial-scroll' property
4997 (hildon_touch_selector_set_property): Added
4998 (hildon_touch_selector_map): Removed as not required anymore
4999 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5000 only a concrete column, instead of iterate along all the columns
5002 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5007 * configure.ac: bump version
5008 * debian/changelog: updates
5010 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5012 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5013 compilation time warnings.
5015 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5017 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5018 the default value for HildonPannableArea::mov-mode to
5019 HILDON_PANNABLE_AREA_MODE_VERT.
5021 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5023 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5025 Reverting following commit:
5027 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5029 * src/hildon-app-menu-private.h
5030 * src/hildon-app-menu.[ch]
5031 * src/hildon-button.[ch]
5032 * src/hildon-check-button.[ch]
5033 * src/hildon-entry.[ch]
5034 * src/hildon-pannable-area.[ch]
5035 * src/hildon-text-view.[ch]:
5036 Added private field to the object's structure.
5038 because it causes an ABI breakage. We will need to introduce these
5039 changes later at some point. See NB#91636 for an extensive
5040 explanation and status.
5042 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5044 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5046 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5047 remove special cases that are no longer necessary.
5049 Fixes: NB#91016 (Change toolbar sizes, simplification)
5051 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5053 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5054 is shown in the cancel note.
5056 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5058 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5059 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5060 (hildon_seekbar_init): Remove steppers, remove expose event.
5061 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5063 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5065 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5067 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5068 label font to "SmallSystemFont" for vertically arranged buttons.
5070 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5073 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5075 * src/hildon-check-button.c
5076 (hildon_check_button_set_active, hildon_check_button_clicked):
5077 Don't access private parts directly, use getters instead.
5079 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-check-button.c (hildon_check_button_new):
5082 Align the contents of the check button to the left.
5084 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5086 * src/hildon-pannable-area.c,
5087 (hildon_pannable_area_scroll_to),
5088 (hildon_pannable_area_jump_to),
5089 (hildon_pannable_area_scroll_to_child),
5090 (hildon_pannable_area_jump_to_child): Replace the mapped
5091 precondition of these functions with the realized, it is the
5092 correct state of the widget in this case. Changed the
5093 documentation according to this modification.
5095 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5097 Added a new EXTRA_CFLAGS option to add the deprecated define to
5098 the compilation command. This way we can avoid using the define in
5099 the documentation compilation.
5101 * configure.ac: Defined EXTRA_CFLAGS.
5103 * examples/Makefile.am:
5105 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5107 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5109 * src/hildon-picker-dialog.c:
5110 Defined a utility macro with the desired touch selector height
5111 Removed currently unused separator, and title_label variables from
5113 (hildon_picker_dialog_init): Removed code related to the creation
5114 of unused private variables title_label and separator.
5115 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5116 to ensure correct visualization of the touch selector inside the dialog.
5117 * src/hildon-touch-selector.c
5118 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5119 ensure a concrete height of the widget.
5121 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5124 * tests/Makefile.am:
5126 Remove spurious whitespaces.
5128 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5130 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5131 compilation warning after the cancel button removal.
5133 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5135 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5137 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5138 Makefile.am, that way we can choose not to compile some examples
5139 and tests of the deprecated widgets.
5141 * examples/Makefile.am: Divided the sources in deprecated and
5144 * src/Makefile.am: Added undef statement of the deprecated
5145 symbol to the enums file generation process.
5147 * src/hildon-color-chooser-dialog.c
5148 * src/hildon-color-chooser-dialog.h
5149 * src/hildon-color-button.c
5150 * src/hildon-color-button.h
5151 * src/hildon-color-chooser.c
5152 * src/hildon-color-chooser.h
5153 * src/hildon-controlbar.c
5154 * src/hildon-controlbar.h
5155 * src/hildon-date-editor.c
5156 * src/hildon-date-editor.h
5157 * src/hildon-hvolumebar.c
5158 * src/hildon-hvolumebar.h
5159 * src/hildon-private.c
5160 * src/hildon-private.h
5161 * src/hildon-range-editor.c
5162 * src/hildon-range-editor.h
5163 * src/hildon-seekbar.c
5164 * src/hildon-seekbar.h
5165 * src/hildon-time-editor.c
5166 * src/hildon-time-editor.h
5167 * src/hildon-time-picker.c
5168 * src/hildon-time-picker.h
5169 * src/hildon-volumebar.c
5170 * src/hildon-volumebar.h
5171 * src/hildon-vvolumebar.c
5172 * src/hildon-vvolumebar.h
5173 * src/hildon-bread-crumb-trail.h
5174 * src/hildon-bread-crumb-trail.c
5175 * src/hildon-calendar-popup.c
5176 * src/hildon-calendar-popup.h
5177 * src/hildon-weekday-picker.c:
5178 * src/hildon-weekday-picker.h:
5179 * src/hildon-bread-crumb-widget.c:
5180 * src/hildon-bread-crumb-widget.h:
5181 * src/hildon-bread-crumb.c:
5182 * src/hildon-bread-crumb.h:
5183 * src/hildon-calendar.c:
5184 * src/hildon-calendar.h:
5185 * src/hildon-caption.c:
5186 * src/hildon-code-dialog.c:
5187 * src/hildon-code-dialog.h:
5188 * src/hildon-font-selection-dialog.c:
5189 * src/hildon-font-selection-dialog.h:
5190 * src/hildon-get-password-dialog.c:
5191 * src/hildon-get-password-dialog.h:
5192 * src/hildon-login-dialog.c:
5193 * src/hildon-login-dialog.h:
5194 * src/hildon-number-editor.c:
5195 * src/hildon-number-editor.h:
5196 * src/hildon-set-password-dialog.c:
5197 * src/hildon-set-password-dialog.h:
5198 * src/hildon-sort-dialog.c:
5199 * src/hildon-sort-dialog.h: This is the list of deprecated
5202 * src/hildon-touch-selector.c:
5203 * src/hildon-window.c: Added undef statement to avoid compilation
5206 * tests/Makefile.am: Divided the sources in deprecated and
5209 * tests/check_test.c,
5210 (configure_tests): Marked the deprecated code that was adding
5211 suites with deprecated tests.
5213 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5215 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5217 * src/hildon-touch-selector.c: (_default_print_func): Do not
5218 duplicate a string returned by gtk_tree_model_get(), it is already
5221 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5224 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5226 * src/hildon-pannable-area.c
5227 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5228 method, it had problems when adding a widget with viewport the
5229 second time. Now checks if it already has a viewport and uses it.
5231 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5234 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5236 * src/hildon-pannable-area.c,
5237 (hildon_pannable_area_scroll_to),
5238 (hildon_pannable_area_jump_to),
5239 (hildon_pannable_area_scroll_to_child),
5240 (hildon_pannable_area_jump_to_child): Added a precondition to the
5241 scroll and jump to functions: the widget must be mapped before we
5242 can safely call these functions. We have also added documentation
5243 to the functions to explain how to use them in this situation.
5246 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5248 Reviewed the threading handling of the pannable widget, we have
5249 used the gdk_threads_add_timeout function instead of the usual
5250 glib handlers. This avoids some problems with the threads.
5252 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5253 (hildon_pannable_area_initial_effect),
5254 (hildon_pannable_area_scroll_indicator_fade),
5255 (hildon_pannable_area_button_press_cb),
5256 (hildon_pannable_area_timeout),
5257 (hildon_pannable_area_motion_notify_cb),
5258 (hildon_pannable_area_button_release_cb),
5259 (hildon_pannable_area_scroll_cb),
5260 (hildon_pannable_area_scroll_to): Removed the
5261 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5262 gdk_threads_add_timeout.
5264 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5266 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5271 * configure.ac: bump version
5272 * debian/changelog: updates
5274 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5276 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5277 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5278 * src/hildon-color-chooser-dialog.c:
5279 (hildon_color_chooser_dialog_init):
5280 * src/hildon-font-selection-dialog.c:
5281 (hildon_font_selection_dialog_init):
5282 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5284 Remove all cancel/close-like dialogs, as these are not going to be
5287 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5289 * src/hildon-note.c: (hildon_note_rebuild),
5290 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5293 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5295 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5297 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5298 sure all buttons are shown, even the Cancel/Close-like ones.
5300 Fixes: NB#90861 (Custom Confirmation dialogs should be
5301 protected from cancel button removal)
5303 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5305 * debian/control: Change libhildon1-examples dependency from libhildon1
5307 * debian/libhildon1-examples.install
5309 * Makefile.am: Modified the final install directory for the examples on
5310 package libhildon1-examples
5311 * Makefile.static: Update clean target in order to remove all the binary
5314 Changes suggested by Claudio after review new libhildon1-examples package
5316 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5318 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5319 * src/hildon-touch-selector.c: Ditto.
5321 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5323 * debian/control: Added new package libhildon1-examples, in order to pack
5324 the current hildon examples as documentation
5325 * debian/rules: Not to compress .c files, modify some includes on the
5326 examples (as normally are compiled locally, but when installed it will
5327 require to include the installed libhildon1 library), and rename
5329 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5330 install all the example files on the new example package
5331 * examples/Makefile.static: Added static makefile that can be used to
5332 compile the examples, once installed the new example package
5333 * examples: Most of the examples were modified in order to grant that
5334 all use only '#include "hildon.h"', in order to be easy to prepare
5335 it on the example package
5337 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5340 * debian/libhildon1-dev.install
5341 * debian/libhildon1-doc.install:
5342 Move all gtk-doc files to a separate libhildon1-doc package.
5344 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5346 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5348 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5350 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5352 * debian/rules: Fixed a error in order to avoid unnecessary calls
5353 to autogen.sh on package building
5355 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5357 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5359 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5361 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5364 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5366 * src/hildon-picker-button.c
5367 (hildon_picker_button_finalize):
5368 Free priv->done_button_text
5370 * src/hildon-time-button.c
5371 (hildon_time_button_set_time)
5372 * src/hildon-picker-button.c
5373 (hildon_picker_button_clicked)
5374 (hildon_picker_button_selector_selection_changed)
5375 (hildon_picker_button_set_selector)
5376 * src/hildon-date-button.c
5377 (hildon_date_button_set_date):
5378 Free strings returned by hildon_touch_selector_get_current_text()
5380 * src/hildon-button.c (hildon_button_construct_child):
5381 Fix leaks in priv->image and priv->label_box
5383 Fixes: NB#90535 (Memory leak in picker button)
5385 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5387 * src/hildon-button.c: (hildon_button_get_property): Do not access
5388 private elements directly, use getters instead.
5390 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5392 * src/hildon-app-menu-private.h
5393 * src/hildon-app-menu.c
5394 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5395 Store the menu's parent window.
5397 * src/hildon-stackable-window.c
5398 (hildon_stackable_window_toggle_menu)
5399 (hildon_stackable_window_finalize):
5400 Set the menu's parent window when the menu is shown, unset it when
5403 * src/hildon-app-menu.c
5404 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5405 (hildon_app_menu_class_init):
5406 Send unhandled keyboard accelerators to the parent window.
5408 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5410 * src/hildon-stackable-window.c
5411 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5413 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5415 * configure.ac: post release version bump
5417 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5420 * configure.ac: Bump version
5421 * debian/changelog: Updates
5422 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5425 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5427 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5430 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5431 GtkMenu with Hildon style.
5433 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5435 * src/hildon-picker-button.c:
5436 (hildon_picker_button_set_done_button_text): Set the dialog's
5437 done button text here as well.
5439 Fixes: NB#90232 (Picker button does not set the label on done button
5440 for the second time)
5442 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5444 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5447 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5449 * src/hildon-app-menu.c (hildon_app_menu_insert)
5450 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5451 the HildonAppMenu to be activatable using keyboard accelerators
5452 when the menu is not being shown.
5454 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5456 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5458 * src/hildon-stackable-window.c
5459 (hildon_stackable_window_show):
5460 Don't hide old windows automatically when new windows are shown:
5461 this is now a task for the window manager.
5462 (hildon_stackable_window_class_init)
5463 (hildon_stackable_window_hide):
5464 Remove windows from the stack everytime they're hidden.
5465 (hildon_stackable_window_realize):
5466 Don't change the _NET_WM_WINDOW_TYPE property. Use
5467 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5468 it as a stackable window.
5470 * src/hildon-program.c
5471 (hildon_program_pop_window_stack):
5472 Just hide the window to remove it from the stack.
5473 (hildon_program_go_to_root_window):
5474 Don't call gtk_widget_show(), this is now a task for the window
5477 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5479 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5481 * src/hildon-button.c
5482 (hildon_button_construct_child):
5483 Don't pack anything in the button until text or image are
5484 set. This allows adding a custom child after creating the button
5485 with hildon_button_new().
5486 (hildon_button_finalize, hildon_button_class_init)
5487 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5488 alignment and the label box even when they're not packed in the
5491 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5493 * src/hildon-touch-selector.h:
5494 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5495 currently the type definition was using GTK_TYPE_VBOX
5496 * src/hildon-touch-selector.c:
5497 Added some implementation notes in order to clarify that any other widget
5498 added without the column related API will not be included on the
5499 selection logic, and how the widget is freed, as some people ask about
5501 (hildon_touch_selector_remove): Reimplemented in order to free properly
5502 the column related data when you remove the private hbox.
5503 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5504 to get a proper HildonTouchSelectorColumn documentation
5506 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5508 * src/hildon-touch-selector-entry.c:
5509 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5510 text in the GtkEntry and there is no item selected. Fixes a
5513 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5515 * src/hildon-app-menu-private.h
5516 * src/hildon-app-menu.[ch]
5517 * src/hildon-button.[ch]
5518 * src/hildon-check-button.[ch]
5519 * src/hildon-entry.[ch]
5520 * src/hildon-pannable-area.[ch]
5521 * src/hildon-text-view.[ch]:
5522 Added private field to the object's structure.
5524 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5526 * configure.ac: post-release version bump
5528 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5532 * configure.ac: pre-release version bump
5534 * debian/changelog: updates.
5536 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5538 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5539 Disconnect the handler for HildonTouchSelector::changed.
5541 (hildon_picker_button_selector_selection_changed): Update the button
5542 value if the selection change was not triggered by the
5545 (hildon_picker_button_set_selector): connect to
5546 HildonTouchSelector::changed.
5548 Fixes: NB#89650 (Picker button is not updated, when selection in
5549 selector has changed)
5551 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5553 * src/hildon-picker-dialog.c
5554 (hildon_picker_dialog_realize): Removed as not required
5555 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5556 * src/hildon-picker-button.c
5557 (_current_selector_empty): New function, checks if the selector is empty
5558 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5559 if the current selector is empty, in order to avoid to show the dialog
5560 close the dialog in this case (and shows a g_warning).
5562 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5564 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5566 * src/hildon-pannable-area.c,
5567 (hildon_pannable_area_scroll): Added clause to stop movement when
5568 the child of pannable is smaller than one page.
5569 (hildon_pannable_area_scroll_to): Added conditions to avoid
5570 starting the scrolling movement if the child is smaller than one
5571 page, the complete child is in the screen, we do not have to move.
5573 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5575 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5577 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5578 this is managed automatically by the widget when the size of the
5581 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5583 * src/hildon-picker-button.c
5584 (hildon_picker_button_set_done_button_text): Make a copy of the
5585 text, and free the previous value.
5587 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5589 * src/hildon-touch-selector-entry.c:
5590 (hildon_touch_selector_entry_print_func): Return the selected row's
5591 text if the entry is empty.
5593 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5596 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5598 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5600 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5603 * src/hildon-check-button.h
5604 * src/hildon-check-button.c
5605 * examples/hildon-check-button-example.c:
5606 HildonCheckButton is now a new widget. 'toggled' signal added.
5608 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5610 * src/hildon-program-private.h
5611 * src/hildon-program.c (hildon_program_init)
5612 (hildon_program_finalize): Removed unused variables group_leader
5613 and name from HildonProgramPrivate.
5615 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5617 * src/hildon-check-button.c (hildon_check_button_set_active)
5618 (hildon_check_button_get_active, hildon_check_button_new): Use
5619 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5621 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5623 * src/hildon-touch-selector.h
5624 (hildon_touch_selector_set_column_attributes): added deprecation
5625 guard HILDON_DISABLE_DEPRECATED
5626 * src/hildon-time-selector.c
5627 (hildon_time_selector_set_time)
5628 (hildon_time_selector_get_time): Fixed a typo on documentation
5629 * src/hildon-touch-selector.c: update HildonTouchSelector and
5630 HildonTouchSelectorColumn documentation
5631 * src/hildon-touch-selector-entry.c: update "text-column" property
5633 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5634 to be added to the general documentation.
5636 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5638 * examples/hildon-pannable-area-example-4.c,
5640 * examples/hildon-pannable-area-example.c,
5641 (main): Modified the code in order to use the container add, with
5642 viewport treeviews could have problems if they are really big.
5644 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5646 * src/hildon-weekday-picker.c,
5647 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5648 the agreement regarding deprecation in the library.
5650 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5652 * examples/hildon-picker-button-multicolumn-example.c:
5653 (main): Use custom "done" button text.
5655 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5656 (hildon_picker_button_set_property),
5657 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5658 (hildon_picker_button_init),
5659 (+hildon_picker_button_get_done_button_text),
5660 (+hildon_picker_button_set_done_button_text): New methods to customize
5661 the "done" button label in the launched HildonPickerDialog. Also,
5664 * src/hildon-picker-button.h: add the public API.
5666 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5668 * src/hildon-date-selector.h:
5669 * src/hildon-picker-dialog.h:
5670 * src/hildon-time-selector.h:
5671 * src/hildon-touch-selector-column.h:
5672 * src/hildon-touch-selector.h:
5674 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5675 declarations. Fixes gtk-doc warnings.
5677 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5679 * src/hildon-picker-dialog.h
5680 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5681 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5683 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5684 long text is set as label for done button)
5686 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5688 * src/hildon-dialog.c (hildon_dialog_add_button):
5689 Set fixed width to all buttons in the HildonDialog.
5691 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5693 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5695 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5696 Set widget name using class name plus "-finger" or "-thumb".
5698 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5700 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5701 'clicked' when the state of the button is manually changed.
5703 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5705 * src/hildon-app-menu.c (hildon_app_menu_realize)
5706 (hildon_app_menu_unrealize, hildon_app_menu_init)
5707 (hildon_app_menu_class_init, item_visibility_changed):
5708 Change the menu layout when the size of the screen changes.
5709 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5710 Show warning only when changing the number of colums using the
5713 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5715 * debian/compat: Set to 5
5716 * debian/control: Update dependencies.
5717 * debian/libhildon1-dbg.install: Remove.
5718 * debian/libhildon1-dev.install: Update according to cdbs paths.
5719 * debian/libhildon1.install: Update according to cdbs paths.
5720 * debian/rules: Switch to cdbs.
5722 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5724 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5725 'item' variable renamed to 'filter'
5727 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5729 * src/hildon-app-menu.c (hildon_app_menu_insert)
5730 (hildon_app_menu_add_filter, remove_item_from_list)
5731 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5732 Don't leak hidden items when the menu is destroyed.
5734 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5736 * src/hildon-app-menu.c (hildon_app_menu_insert)
5737 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5738 (hildon_app_menu_set_columns, item_visibility_changed)
5739 (filter_visibility_changed, hildon_app_menu_repack_filters)
5740 (hildon_app_menu_repack_items):
5741 Repack items and filters separately.
5743 Don't repack all items, change only the ones that are needed to
5746 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5748 * src/Makefile.am: added hildon-touch-selector-column.h
5750 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5752 * src/hildon-touch-selector.c: added the property "text-column" to the
5753 class HildonTouchSelectorColumn, and related get/set functions
5754 (_default_printf_func): updated to use "text-column" property
5755 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5756 "text-column" in his documentation, as this is now included on
5757 HildonTouchSelectorColumn. The get/set_property can still be used,
5758 working as a wrapper to the concrete column "text-column" property
5759 (_text_column_modified): callback added in order to handle the signal
5760 "notify::text-column" of the concrete HildonTouchSelectorColumn
5761 (hildon_touch_selector_entry_get_text_column)
5762 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5763 modified in order to use the HildonTouchSelectorColumn "text-column"
5765 * src/hildon-time-selector.c:
5766 * src/hildon-date-selector.c:
5767 * examples/hildon-touch-selector-example.c
5768 * examples/hildon-touch-selector-multi-cells-example.c
5769 * examples/hildon-picker-button-multicolumn-example.c
5770 Set the right value to "text-column" property on the creation of a new
5771 column using hildon_touch_selector_append_column()
5773 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5775 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5777 * src/hildon-app-menu.c
5778 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5779 updating the layout of the menu, don't create all widgets again,
5780 just repack the items in their new places.
5782 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5784 * src/hildon-time-selector.c
5785 (hildon_time_selector_get_time)
5786 (hildon_time_selector_set_time)
5787 Added documentation of these public methods
5789 * src/hildon-date-button.h
5790 * src/hildon-touch-selector-column.h
5791 * src/hildon-time-button.h
5792 * src/hildon-picker-dialog.h
5793 * src/hildon-time-selector.h
5794 * src/hildon-picker-button.h
5795 * src/hildon-touch-selector.h
5796 * src/hildon-time-picker.h
5797 * src/hildon-date-selector.h
5798 * src/hildon-touch-selector-entry.h
5799 Modified in order to use hildon-widgets code style
5801 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5803 Added deprecated support to the compilation process using
5804 HILDON_DISABLE_DEPRECATED
5806 * configure.ac: Added the --disable-deprecated to the configure
5809 * src/hildon-weekday-picker.c:
5810 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5811 to use the deprecated support. We will update the other deprecated
5812 widgets status in a new patch.
5814 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5816 * configure.ac: Fixed typo with fatal warnings support, the
5817 variable name was not correct
5819 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5821 * src/hildon-app-menu.c
5822 * src/hildon-program.c: Update documentation.
5824 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5826 * configure.ac: Post-release version bump.
5828 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5833 * configure.ac: Pre-release version bump.
5834 * debian/changelog: Updates.
5836 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5838 * NEWS: Update news for previous releases.
5840 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5842 * examples/hildon-touch-selector-multi-cells-example.c:
5843 (create_selector): Update the example to use
5844 hildon_touch_selector_append_column() with a NULL renderer and set
5845 the renderers later.
5846 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5847 passed a NULL renderer. This is documented behavior now.
5849 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5850 This must be used if the developer wants full control on the layout of
5851 the renderers to be added to the column.
5853 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5855 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5857 * src/hildon-touch-selector.c: Documentation fixes.
5859 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5861 * src/hildon-wizard-dialog-private.h: Remove image and box.
5862 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5863 (hildon_wizard_dialog_set_property), (response): Completely remove
5864 image/icon support, and the containers required for the layout.
5866 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5868 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5870 * src/hildon-app-menu.c: Updated documentation.
5872 * src/hildon-stackable-window.c
5873 (hildon_stackable_window_set_main_menu): Unref the old menu after
5874 ref'ing the new one.
5876 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5878 * src/hildon-stackable-window.c
5879 (hildon_stackable_window_set_main_menu): Unref the previous menu
5880 instead of destroying it.
5882 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5883 floating reference and set has_user_ref_count to FALSE to make
5884 HildonAppMenu act like a normal ref-counted widget and not a
5887 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5890 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5892 * src/hildon-touch-selector-column.h: new file
5893 * src/hildon-touch-selector.h
5894 * src/hildon-touch-selector.c
5895 Implemented GtkCellLayout interface, in order to allow to configure
5896 the cell layout on each individual selector column
5897 (hildon_touch_selector_set_column_attributes): marked as deprecated
5898 * examples/hildon-touch-selector-multi-cells-example.c
5899 Example of how to use the GtkCellLayout interface on the selector
5901 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5903 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5905 * src/hildon-app-menu.h
5906 * src/hildon-app-menu.c
5907 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5908 (hildon_app_menu_append, hildon_app_menu_prepend):
5909 New methods to prepend, insert and move items in the menu.
5911 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5913 * src/hildon-wizard-dialog.c:
5915 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5917 (create_title): Update logical IDs and related code.
5918 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5920 * src/hildon-wizard-dialog.h: Note that
5921 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5922 point, as it is not used anymore.
5924 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5926 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5928 * src/hildon-note.c:
5929 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5930 shown. Do not display an icon in confirmation notes nor information
5932 (hildon_note_set_button_text): Update logical ID for cancel button.
5934 Fixes: NB#88850 (Update HildonNote button strings + signals)
5936 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5938 * src/hildon-stackable-window.c
5939 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5941 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5943 * src/hildon-app-menu-private.h
5944 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5945 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5946 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5947 temporary property 'columns' to change the number of columns.
5949 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5951 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5953 * examples/hildon-note-example.c: (on_information_clicked),
5954 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5955 debugging information.
5956 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5958 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5959 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5960 in order to close: this will be handled by the WM from now on.
5962 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5964 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5966 * src/hildon-app-menu-private.h
5967 * src/hildon-app-menu.c
5968 (hildon_app_menu_append, hildon_app_menu_add_filter)
5969 (button_visibility_changed, hildon_app_menu_apply_style)
5970 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5971 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5972 layout everytime a button (item or filter) is shown or hidden.
5974 * src/hildon-stackable-window.c
5975 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5978 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5980 * src/hildon-touch-selector.c:
5981 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5982 that the treeview inside the touch selector is in fremantle hildon mode
5983 * examples/hildon-date-button-example.c
5984 * examples/hildon-picker-button-multicolumn-example.c
5985 * examples/hildon-touch-selector-entry-example.c
5986 * examples/hildon-touch-selector-example.c
5987 * examples/hildon-time-button-example.c
5988 * examples/hildon-picker-button-example.c:
5989 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5991 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5993 * examples/hildon-text-view-example.c: (main): Remove the
5994 gtkrc bits, now handled by the theme.
5996 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5998 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6001 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6003 * po/Makefile.am: Install properly the mo files.
6004 * po/en_GB.po: Update translation, to ease testing purposes.
6006 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6008 * examples/hildon-picker-button-example.c: (main): Select an item
6009 in the selector before setting it to the button.
6011 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6013 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6014 Update button's value if the selector has an item active.
6016 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6017 'value' with the selector)
6019 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6021 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6022 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6023 (hildon_picker_button_class_init): Plug the finalize method.
6024 (hildon_picker_button_set_selector): If there's a previously set
6025 selector, unref'it before setting a new one.
6027 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6028 HildonTouchSelector)
6030 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6032 * src/hildon-touch-selector-entry.c:
6033 (hildon_touch_selector_entry_changed): Check if there is no text
6034 selected before setting the entry text.
6037 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6039 * src/hildon-touch-selector.h
6040 * src/hildon-touch-selector.c
6041 (hildon_touch_selector_get_active)
6042 (hildon_touch_selector_set_active): New methods to set/get the
6043 index of the selected item.
6045 * src/hildon-picker-button.h
6046 * src/hildon-picker-button.c
6047 (hildon_picker_button_get_active)
6048 (hildon_picker_button_set_active): New methods to set/get the
6049 index of the selected item.
6051 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6053 * configure.ac: post-release version bump.
6055 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6059 * configure.ac: Pre-release version bump.
6060 * debian/changelog: Updates.
6061 * debian/control: Add myself as maintainer and depend on l10n
6064 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6066 * src/hildon-window.c
6067 (hildon_window_set_main_menu)
6068 * src/hildon-stackable-window.c
6069 (hildon_stackable_window_set_main_menu):
6070 Updated documentation.
6072 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6074 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6075 Don't free selector->priv manually.
6078 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6081 (hildon_gtk_window_set_progress_indicator):
6082 * src/hildon-gtk.h: Added the new API
6083 hildon_gtk_window_set_progress_indicator, it changes the state of
6084 the window progress hint.
6086 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-button.c
6089 * src/hildon-stackable-window.c: Minor documentation updates.
6091 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6093 * src/hildon-stackable-window.c: Updated documentation.
6095 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6097 * src/hildon-defines.h: Update margins definitions
6098 to the Fremantle sizes.
6101 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6103 * src/hildon-touch-selector.c,
6104 (_hildon_touch_selector_set_model): Cleaning the code after
6105 review, removed g_print and #if 0 from the code.
6107 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6109 * src/hildon-edit-toolbar.c: Update documentation.
6111 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6113 * src/hildon-check-button.h
6114 * src/hildon-check-button.c
6115 (hildon_check_button_set_label, hildon_check_button_get_label)
6116 * examples/hildon-check-button-example.c
6117 (button_clicked_cb):
6118 Removed deprecated methods.
6120 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6122 * src/hildon-text-view.c:
6123 Add sample code to the documentation.
6125 * src/hildon-entry.h
6126 * src/hildon-text-view.h:
6127 Minor cosmetic changes.
6129 * src/hildon-entry.c:
6130 Add sample code to the documentation.
6131 (hildon_entry_init, hildon_entry_refresh_contents):
6132 Don't allow NULL values in the placeholder.
6134 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6136 * doc/hildon-docs.sgml
6138 * examples/Makefile.am
6139 * examples/hildon-text-view-example.c
6141 * src/hildon-text-view.c
6142 * src/hildon-text-view.h
6144 New HildonTextView widget, with example.
6146 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6148 * po/POTFILES.in: Add missing files with translatable strings.
6149 Partially fixes NB#88287.
6151 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6153 * examples/hildon-pannable-area-example-2.c: (main): No need to
6154 set the cellrenderer height inside hildon touch lists, the theme does
6157 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6159 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6160 they are integrated in the theme.
6162 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6164 * examples/hildon-entry-example.c: Update the example adding
6165 widgets to modify the text and the placeholder of the HildonEntry.
6167 * src/hildon-entry.c: Show the placeholder everytime the widget
6168 is empty and loses the focus.
6170 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6172 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6174 * src/hildon-pannable-area.c,
6175 (hildon_pannable_area_size_request): Fixed bug in height
6176 requisition, avoid increasing size and add border twice.
6178 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6180 * configure.ac: postrelease version bump.
6182 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6186 * configure.ac: Prerelease version bump.
6187 * debian/changelog: update.
6188 * debian/rules: make -dbg package contain useful debugging symbols.
6190 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6192 * src/hildon-dialog.h
6193 * src/hildon-dialog.c
6194 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6195 New methods to add buttons with finger size.
6196 (hildon_dialog_new_with_buttons):
6197 Create buttons with finger size.
6199 * examples/hildon-dialog-example.c (main): Use HildonDialog
6200 methods to add buttons.
6202 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6204 * src/hildon-entry.c: Updated HildonButton documentation.
6206 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6208 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6209 button value label with (FALSE, FALSE) to prevent NB#88126 from
6212 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6214 * examples/hildon-pannable-area-example.c,
6215 (main): Removed examples panning a vbox inside a pannable
6216 area. Check bug NB#87965
6218 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6220 Patch contributed by Kris Rietveld (kris@imendio.com)
6222 * src/hildon-pannable-area.c,
6223 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6224 get_size and get_position, this saves an X server roundtrip.
6226 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6228 * doc/hildon-docs.sgml
6230 * examples/Makefile.am
6231 * examples/hildon-entry-example.c
6233 * src/hildon-entry.c
6234 * src/hildon-entry.h
6236 New HildonEntry widget, with example.
6238 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6240 * src/hildon-button.c (hildon_button_construct_child): Pack the
6241 image with expand == fill == FALSE. This is a workaround for a bug
6244 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6246 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6247 labels for the text column, to make it more look more dynamic.
6249 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6251 * src/hildon-time-selector.c
6252 Define gettext auxiliar macro N_
6253 (_create_minutes_model)
6254 (_create_hours_model)
6255 (_create_ampm_model): use of strftime in order to fill the model
6256 * src/hildon-date-selector.c
6257 (hildon_date_selector_finalize):
6258 (_locales_init): remove the logic related to get the name of the months
6259 using nl_langinfo, as it is not required anymore
6261 (_create_year_model)
6262 (_create_month_model)
6263 (_update_day_model): use of strftime in order to fill the model properly
6266 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-button.h
6269 * src/hildon-button.c (hildon_button_get_image): New method to
6272 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6274 * src/hildon-touch-selector.c:
6275 (hildon_touch_selector_remove_column): Remove from the correct parent
6276 and also remove the list element and free it.
6279 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6281 * src/hildon-time-selector.c
6282 (_create_hours_model): change the range on 12h ampm format in order to use
6283 a 12-11 range instead of previous 01-12 range
6284 (hildon_time_selector_set_time): change the way to select the current time
6285 on 12h ampm format, due the change on the range
6286 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6289 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6291 * src/hildon-touch-selector.c
6292 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6293 in order to allow use this function on multiple row selection mode if
6294 the column is different that the first one
6297 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6299 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6300 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6302 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6304 * src/hildon-date-selector.h: clean some comments, now on the .c
6305 * src/hildon-date-selector.c
6306 (hildon_date_selector_select_month): first implementation
6307 (hildon_date_selector_select_day): added documentation, reimplemented
6308 using hildon_date_selector_select_current_date to avoid repeat code
6311 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6313 Reviewed interaction logic based on device experiences, refactored
6316 * src/hildon-pannable-area.c,
6317 (hildon_pannable_area_class_init): Updated default vmax speed.
6318 (hildon_pannable_area_calculate_velocity): Added this function, it
6319 avoids duplicate valocity calculation. Adjusted calculation to
6320 avoid problems with zero dist events.
6322 (hildon_pannable_area_motion_notify_cb): Now we use the
6323 calculate_velocity function.
6325 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6327 * src/hildon-date-selector.c
6328 (hildon_date_selector_select_current_date): fix the day range check
6329 as it failed using the last day of the current month
6332 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6334 * src/hildon-touch-selector.c
6335 (hildon_touch_selector_get_num_columns): added a parameter validation
6338 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6340 * examples/Makefile.am
6341 * examples/hildon-edit-toolbar-example.c: Example of the
6342 HildonEditToolbar widget.
6344 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6346 * configure.ac: postrelease version bump.
6348 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6352 * configure.ac: prerelease version bump.
6353 * debian/changelog: update.
6355 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6357 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6358 renderer to display stock icons in the touch list. Also, set the sizes
6359 to the recommended in the style guide.
6361 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6362 * src/hildon-touch-selector.h
6363 (hildon_touch_selector_set_active_iter): renamed, now is
6364 hildon_touch_selector_select_iter
6365 (hildon_touch_selector_get_active_iter): renamed, now is
6366 hildon_touch_selector_get_selected
6367 (hildon_touch_selector_unselect_iter): added
6368 * src/hildon-touch-selector.c
6369 Update after API modification (methods renamed)
6370 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6371 order to avoid problems selecting multiple elements on the column
6372 (hildon_touch_selector_unselect_iter): added the implementation
6373 * src/hildon-time-selector.c
6374 * src/hildon-date-selector.c
6375 * src/hildon-touch-selector-entry.c
6376 Update methods calls after hildon-touch-selector.h API modification (methods
6379 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6381 * src/hildon-stackable-window.c
6382 (hildon_stackable_window_finalize): Call the parent class's finalize.
6384 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6386 * examples/hildon-touch-selector-example.c: (create_selector): Use
6387 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6390 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6392 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6393 set a cell background color, to respect theming.
6395 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6397 * doc/hildon-docs.sgml
6400 * src/hildon-edit-toolbar.c
6401 * src/hildon-edit-toolbar.h
6402 * src/hildon.h: New HildonEditToolbar widget.
6404 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6406 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6409 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6410 * src/hildon-touch-selector.c
6411 (_create_new_column): use g_object_set instead of two g_object_set_property
6413 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6414 * src/hildon-touch-selector.c
6415 (_create_new_column): use of hildon_gtk_tree_view_new to create
6416 the treeview, instead of use directly g_object_new
6417 (_create_new_column): update the property name "vindicator-mode" for the
6418 new one "vscrollbar-policy"
6419 * examples/hildon-date-button-example.c
6420 * examples/hildon-picker-button-multicolumn-example.c
6421 * examples/hildon-touch-selector-entry-example.c
6422 * examples/hildon-touch-selector-example.c
6423 * examples/hildon-time-button-example.c
6424 * examples/hildon-picker-button-example.c
6425 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6426 to all the treeviews inside a pannable area.
6428 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6430 * src/hildon-button.h
6431 * src/hildon-button.c (hildon_button_init)
6432 (hildon_button_set_arrangement, hildon_button_set_alignment)
6433 (hildon_button_set_title_alignment)
6434 (hildon_button_set_value_alignment)
6435 (hildon_button_set_image_alignment)
6436 (hildon_button_construct_child): New methods to set the alignment
6437 of the individual components of the button (title, value,
6438 image). Also, new method to alter the xscale and yscale properties
6439 of the GtkAlignment inside the button, so more complex layouts can
6442 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-button.c (hildon_button_style_set)
6445 (hildon_button_class_init, hildon_button_set_arrangement)
6446 (hildon_button_construct_child): Apply style properties
6447 correctly. Use the 'image-spacing' style property too.
6449 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6451 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6452 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6455 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6457 * src/hildon-pannable-area.c,
6458 (hildon_pannable_area_size_request): Fixed problem with
6459 pannable-area size_request.
6461 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6463 Added management for the grab-focus to a child widget, like a
6464 range, we need to fade out the scrollbar when releasing.
6466 * src/hildon-pannable-area.c,
6467 (hildon_pannable_area_init): Connected the grab-focus signal to
6469 (hildon_pannable_area_grab_notify): Added this function in order
6470 to manage the situation when the grab-focus ends. We have to
6471 fade-out the scrollbar.
6473 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6475 * src/hildon-app-menu.c: Minor documentation update.
6477 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6479 * src/hildon-app-menu.c
6480 * examples/hildon-app-menu-example.c (create_menu): Update
6481 examples and documentation to explain how to connect callbacks.
6483 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6485 * examples/hildon-button-example.c
6486 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6487 hildon_stackable_window_new instead of gtk_window_new
6489 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6491 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6492 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6493 (hildon_pannable_area_set_property),
6494 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6495 (hildon_pannable_area_unrealize),
6496 (hildon_pannable_area_size_request),
6497 (hildon_pannable_area_size_allocate),
6498 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6499 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6500 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6501 (hildon_pannable_area_initial_effect),
6502 (hildon_pannable_area_redraw),
6503 (hildon_pannable_area_scroll_indicator_fade),
6504 (hildon_pannable_area_expose_event),
6505 (hildon_pannable_area_get_topmost), (synth_crossing),
6506 (hildon_pannable_area_button_press_cb),
6507 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6508 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6509 (hildon_pannable_area_motion_notify_cb),
6510 (hildon_pannable_area_button_release_cb),
6511 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6512 (hildon_pannable_area_remove),
6513 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6514 chage the code layout to a more GtkWidget like. Review the use of
6517 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6519 * examples/hildon-pannable-area-example-4.c,
6520 (main): Modified the name of the hindicator_mode to
6523 * src/hildon-pannable-area.c,
6524 (hildon_pannable_area_class_init),
6525 (hildon_pannable_area_motion_notify_cb),
6526 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6527 we have reduced the amount of signals and managed reviewed its
6528 rationale. Changed the default decelerate value.
6530 (hildon_pannable_area_add),
6531 (hildon_pannable_area_redraw): Refactored functions.
6533 (hildon_pannable_area_init),
6534 (hildon_pannable_area_get_property),
6535 (hildon_pannable_area_set_property):
6536 (hildon_pannable_draw_vscroll),
6537 (hildon_pannable_draw_hscroll),
6538 (hildon_pannable_area_initial_effect),
6539 (hildon_pannable_area_expose_event),
6540 (hildon_pannable_area_scroll),
6541 (hildon_pannable_area_button_press_cb),
6542 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6543 and vindicator_mode with hscrollbar_policy and
6544 vscrollbar_policy. Replaced hscroll and vscroll with
6545 hscroll_visible and vscroll_visible.
6547 (hildon_pannable_area_refresh): Refactor the function, remove
6548 variables and check the calls to this function, added resize
6549 conditions in case the children change their layout.
6551 (hildon_pannable_area_size_request): Added more detailed
6552 size_request calculation.
6555 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6557 * src/hildon-color-chooser.c
6558 (init_borders): use the correct gtk_border_free instead of g_free, to
6559 avoid a crash when this widget is used (ie: the three color selection
6562 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6564 * src/hildon-check-button.c,
6565 (hildon_check_button_set_active): Fixed problem when setting the
6566 active value, the widget was not redrawn.
6568 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6570 * src/hildon-pannable-area.c,
6571 (hildon_pannable_area_refresh),
6572 (hildon_pannable_area_scroll),
6573 (hildon_pannable_area_motion_notify_cb): Small code style change.
6575 (hildon_pannable_area_class_init): Default initial_hint set to
6576 FALSE, it is not in the specs.
6578 (hildon_pannable_area_initial_effect),
6579 (hildon_pannable_area_expose_event),
6580 (hildon_pannable_area_map),
6581 (hildon_pannable_area_init): Moved the launching point of the
6582 initial effect, it was in map but the sizes where not correct in
6583 that method so we do not know if we have the reproduce it. Now it
6584 is placed in the expose_event method and uses a variable to
6585 reproduce it just once.
6587 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6589 * src/hildon-pannable-area.c,
6590 (hildon_pannable_draw_vscroll),
6591 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6592 position allowed for the scrollbars.
6594 (hildon_pannable_area_size_allocate): Small style change.
6596 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6598 * src/hildon-pannable-area.c,
6599 (hildon_pannable_area_scroll_indicator_fade),
6600 (hildon_pannable_area_button_press_cb),
6601 (hildon_pannable_area_button_release_cb),
6602 (hildon_pannable_area_scroll_cb),
6603 (hildon_pannable_area_expose_event),
6604 (hildon_pannable_area_init): Added the define parameter
6605 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6606 and refactor the fade variable.
6608 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6610 * src/hildon-pannable-area.c,
6611 (hildon_pannable_area_redraw),
6612 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6613 lines, we were reimplemeting the redraw code.
6615 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6617 * src/hildon-pannable-area.c,
6618 (hildon_pannable_area_scroll_cb),
6619 (hildon_pannable_area_realize),
6620 (hildon_pannable_area_class_init): Added scroll_event management
6621 for pannable area, now we can scroll the usual desktop method.
6623 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6624 initialization of the parameters should depend on idle_id.
6626 (hildon_pannable_area_init),
6627 (hildon_pannable_area_map): Small code style modifications
6629 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6631 * src/hildon-pannable-area.c
6632 (hildon_pannable_area_button_press_cb),
6633 (hildon_pannable_area_motion_notify_cb),
6634 (hildon_pannable_area_button_release_cb),
6635 (hildon_pannable_area_size_allocate),
6636 (hildon_pannable_area_scroll_to): Improved the timeouts
6637 management, we avoid creating them each time.
6639 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6641 * src/hildon-pannable-area.c:
6642 (hildon_pannable_area_refresh),
6643 (hildon_pannable_area_motion_notify_cb),
6644 (hildon_pannable_area_class_init):
6645 * src/hildon-pannable-area.h:
6646 * src/hildon-touch-selector.c
6647 (_create_new_column):
6648 * examples/hildon-pannable-area-example-4.c:
6649 (horizontal_movement),
6650 (vertical_movement),
6652 Replaced the names of enums in the HildonPannableArea:
6653 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6654 HILDON_MOVEMENT_MODE_*
6655 - HILDON_PANNABLE_AREA_MOV_* ->
6657 - Removed HildonPannableAreaIndicatorMode, now we
6660 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6662 * examples/hildon-pannable-area-touch-grid-example.c
6663 * examples/hildon-pannable-area-touch-list-example.c: Fix
6664 compilation warnings.
6666 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6668 * src/hildon-gtk.c (hildon_gtk_button_new)
6669 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6670 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6671 images overriding the value of the "gtk-button-images" setting.
6673 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6675 * src/hildon-check-button.c (hildon_check_button_new):
6676 Instead of using a custom container, display the label and the
6677 checkbox using the standard GtkButton API.
6679 * examples/hildon-check-button-example.c (main): Don't use
6680 hildon_check_button_set_label() anymore
6682 * src/hildon-check-button.h
6683 * src/hildon-check-button.c
6684 (hildon_check_button_set_label, hildon_check_button_get_label):
6685 Set as deprecated, now we're using gtk_button_{get,set}_label()
6687 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6689 * src/hildon-pannable-area.c,
6690 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6691 GtkTreeview first line we detected it after the inclusion of the
6692 GtkWindowImpl in gtk+. We now check if the window is visible, not
6693 just if the pointer is over the window.
6694 (hildon_pannable_axis_scroll),
6695 (hildon_pannable_area_expose_event): Small style changes.
6697 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6699 * src/hildon-button.c: Update documentation.
6701 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6703 * examples/hildon-button-example.c: Add a switch to show images in
6706 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6708 * doc/hildon-docs.sgml: Some docs reorganization.
6710 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6712 * examples/hildon-pannable-area-touch-list-example.c
6714 * examples/hildon-pannable-area-touch-grid-example.c
6715 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6716 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6717 Fix memory leak when setting the tree model.
6719 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6723 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6725 * doc/hildon.types: Remove duplicated hildon_window_get_type
6726 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6727 documentation comment.
6729 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6731 * doc/Makefile.am: Complete list of private headers.
6733 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6735 * doc/hildon-docs.sgml
6736 * src/hildon-app-menu.c
6737 * src/hildon-bread-crumb.c
6738 * src/hildon-button.c
6740 * src/hildon-program.c
6741 * src/hildon-stackable-window.c
6742 * src/hildon-window.c: Lots of documentation updates.
6744 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6746 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6748 * configure.ac: Require Gtk+ 2.12.9 at least
6750 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6752 * src/hildon-pannable-area.c
6753 (hildon_pannable_area_scroll_indicator_fade),
6754 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6755 to protect the return of this timeout callbacks, avoiding deadlocks.
6757 2008-08-12 Christian Dywan <christian@imendio.com>
6760 * src/hildon-*.h: Ensure a consistent include order,
6761 include <gtk/gtk.h> instead of particular files and
6762 only include the topmost header in the gtk stack. See NB #39857
6764 2008-08-12 Christian Dywan <christian@imendio.com>
6766 * src/hildon-picker-dialog.c
6767 * src/hildon-touch-selector.c: Fix warnings about unused and
6768 uninitialized variables.
6770 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6772 * examples/Makefile.am
6773 * examples/hildon-check-button-example.c: Example of the hildon
6776 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6778 * src/hildon-window.h
6779 * src/hildon-window.c (hildon_window_class_init)
6780 (hildon_window_unset_program): Don't make
6781 hildon_window_unset_program a virtual function anymore.
6783 * src/hildon-stackable-window.c: Update documentation
6785 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6788 * doc/hildon-docs.sgml
6789 * doc/visual_index.xml
6790 * src/hildon-defines.c
6792 * src/hildon-helper.c
6793 * src/hildon-range-editor.c: Lots of documentation fixes.
6795 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6797 * examples/hildon-picker-button-multicolumn-example.c
6798 (create_touch_selector): Fix compilation warning.
6800 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6802 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6803 (hildon_pannable_area_button_release_cb)
6804 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6806 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6808 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6811 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6813 * src/hildon-bread-crumb-trail.h
6814 * src/hildon-date-editor.c
6815 * src/hildon-date-selector.c
6816 * src/hildon-pannable-area.c
6817 * src/hildon-picker-dialog.c
6818 * src/hildon-time-selector.c
6819 * src/hildon-touch-selector-entry.c
6820 * src/hildon-touch-selector.c
6821 * src/hildon-touch-selector.h: Misc documentation fixes
6823 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6825 * examples/hildon-date-editor-example.c (main): Updated date
6828 * examples/hildon-note-example.c (on_confirmation_clicked):
6829 Updated confirmation note example.
6831 * src/hildon-date-editor.c
6832 * src/hildon-note.c: Updated sample programs in documentation.
6835 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6837 * src/hildon-date-button.h:
6838 * src/hildon-picker-button.h:
6839 * src/hildon-time-button.c:
6840 * src/hildon-time-button.h:
6842 Some declarations changes to allow gtk-doc to document the widgets
6845 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6847 * src/hildon-date-button.c: Document the widget.
6848 * src/hildon-time-button.c: Document the widget.
6850 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6852 * src/hildon-picker-button.c: Document the widget.
6853 * src/hildon-touch-selector-entry.c: Document the widget.
6855 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6857 * doc/hildon-docs.sgml
6860 * src/hildon-check-button.h
6861 * src/hildon-check-button.c: New functions to create the Hildon
6865 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6867 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6869 * src/hildon-button.h
6870 * src/hildon-button.c
6871 (hildon_button_add_title_size_group)
6872 (hildon_button_add_value_size_group)
6873 (hildon_button_add_image_size_group)
6874 (hildon_button_add_size_groups): New functions to set size groups
6875 for the button labels and image.
6876 (hildon_button_new_full): Removed
6878 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6880 * src/hildon-time-selector.c
6881 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6882 in order to avoid a crash if gconf is not available
6884 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6886 * src/hildon-button.c (hildon_button_set_arrangement)
6887 (hildon_button_construct_child): Don't construct the button child
6888 before setting the arrangement.
6890 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6892 * src/hildon-program-private.h
6893 * src/hildon-program.c
6894 * src/hildon-program.h
6895 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6896 (hildon_program_peek_window_stack)
6897 (hildon_program_pop_window_stack)
6898 (hildon_program_go_to_root_window): HildonProgram now has a
6899 separate list for stackable windows. Functions are provided to
6900 manage that list with a stack-like API.
6902 * src/hildon-stackable-window.c: Stackable window management is
6903 now much simpler with the new HildonProgram API. Windows no
6904 longer need to be manually added to the program, they're
6905 automatically pushed to the top of the stack when shown.
6907 * examples/hildon-stackable-window-example.c: Updated example to
6908 reflect the API changes.
6910 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6912 * src/hildon-touch-selector.c: Comment out unimplemented
6913 hildon_touch_selector_insert_column() to avoid a compile warning.
6915 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6917 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6918 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6919 (hildon_touch_selector_set_column_selection_mode),
6920 (_hildon_touch_selector_set_model),
6921 (hildon_touch_selector_set_model):
6923 Complete review of HildonTouchSelector documentation.
6925 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6927 * doc/hildon-docs.sgml
6931 * src/hildon-gtk.c: Convenience functions for standard Gtk
6932 widgets, used to easily perform frequent operations.
6934 * src/hildon-button-helpers.h
6935 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6937 * src/hildon-helper.h
6938 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6939 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6941 * src/hildon-button.h
6942 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6944 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6946 * src/hildon-button.c (hildon_button_init)
6947 (hildon_button_set_arrangement, hildon_button_construct_child):
6948 Pack the image and the labels inside the same GtkAlignment so
6949 gtk_button_set_alignment() can be used
6951 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6953 * src/hildon-button.h
6954 * src/hildon-button.c
6955 (hildon_button_init, hildon_button_set_image)
6956 (hildon_button_set_image_position)
6957 (hildon_button_construct_child): New functions to add an image to
6960 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6962 * src/hildon-date-button.c
6963 * src/hildon-picker-button.c
6964 * src/hildon-time-button.c
6965 * src/hildon-button.c:
6966 (hildon_button_class_init): "size-flags" renamed to "size"
6967 (hildon_button_set_title): Hide the title label if set to NULL.
6969 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6971 HildonButtonFlags split into HildonButtonArrangement (to set the
6972 button layout) and HildonSizeType (which can be used for any
6975 * src/hildon-button.h
6976 * src/hildon-button.c
6977 (hildon_button_class_init)
6978 (hildon_button_set_arrangement)
6979 (hildon_button_set_property): New "size-flags"
6980 property. "arrangement-flags" renamed to "arrangement".
6981 (hildon_button_new, hildon_button_new_with_text)
6982 (hildon_button_new_full): Constructors updated to reflect type changes.
6984 * src/hildon-helper.h
6985 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6986 to set the size of a widget.
6990 * src/hildon-button-helpers.c
6991 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6993 * src/hildon-date-button.c
6994 * src/hildon-date-button.h
6995 * src/hildon-picker-button.c
6996 * src/hildon-picker-button.h
6997 * src/hildon-time-button.c
6998 * src/hildon-time-button.h: Updated widgets to reflect
6999 HildonButton API changes.
7001 * examples/hildon-button-example.c
7002 * examples/hildon-date-button-example.c
7003 * examples/hildon-picker-button-example.c
7004 * examples/hildon-picker-button-multicolumn-example.c
7005 * examples/hildon-time-button-example.c
7006 * examples/hildon-touch-selector-entry-example.c
7007 * examples/hildon-touch-selector-example.c: Updated examples to
7008 reflect HildonButton API changes.
7010 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7012 * doc/hildon-docs.sgml:
7014 * examples/Makefile.am:
7015 * examples/hildon-touch-selector-entry-example.c:
7017 * src/hildon-touch-selector-entry.c:
7018 * src/hildon-touch-selector-entry.h:
7021 Moved HildonTouchSelectorEntry from sandbox. Added its
7022 documentation and examples.
7024 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7026 * src/hildon-touch-selector.h:
7027 * examples/hildon-picker-button-multicolumn-example.c:
7028 (hildon_touch_selector_append_text_column): Add a gboolean
7029 parameter to determine if text must be centered in the column.
7031 * src/hildon-date-selector.c: (hildon_date_selector_init):
7032 * src/hildon-time-selector.c: (hildon_time_selector_init):
7033 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7034 (create_touch_selector): Update widgets and example to reflect
7037 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7039 * src/hildon-touch-selector.c:
7040 (hildon_touch_selector_set_active_iter): Set also the cursor in
7043 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7045 * doc/hildon-docs.sgml
7048 * src/hildon-toggle-button.c
7049 * src/hildon-toggle-button.h
7050 * src/hildon.h: Removed HildonToggleButton widget, a derived
7051 class is not necessary for this.
7053 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7055 * src/hildon-pannable-area.c,
7056 (hildon_pannable_area_realize),
7057 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7060 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7062 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7063 "done" button the default widget for the dialog.
7065 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7067 * src/hildon-touch-selector.c:
7068 (hildon_touch_selector_class_init),
7069 (hildon_touch_selector_get_property),
7070 (_hildon_touch_selector_set_model),
7071 (_hildon_touch_selector_has_multiple_selection),
7072 (hildon_touch_selector_has_multiple_selection):
7073 Add a "has-multiple-selection" property with a virtual
7074 has_multiple_selection() method to allow derived classes to
7075 override the default value for it. See the method and property
7076 documentation for details.
7078 * src/hildon-touch-selector.h: Add the new API.
7080 * src/hildon-picker-dialog.c: (requires_done_button): Call
7081 hildon_touch_selector_has_multiple_selection() instead of
7082 determining the need for a button itself.
7084 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7086 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7087 (_hildon_touch_selector_set_model),
7088 (hildon_touch_selector_set_model): Move working code to
7089 _hildon_touch_selector_set_mode(). Call the class method instead.
7091 * src/hildon-touch-selector.h: Add (*set_model) to
7092 HildonTouchSelectorClass.
7094 Make hildon_touch_selector_set_model() a virtual method, so that
7095 derived classes can extend it and do fancy stuff with the model.
7097 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7099 * configure.ac: Set back the tarname in AC_INIT to hildon.
7101 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7105 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7106 instead of libesd (NB#86876). Volume handling is still an open issue.
7108 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7111 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7113 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7114 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7115 derived class to ease placement of an entry widget in
7116 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7117 end, where the selector columns are packed now.
7119 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7121 * src/hildon-picker-button.c: Removed the simple _text() API.
7122 * src/hildon-picker-button.h: Likewise.
7124 * src/hildon-touch-selector.h:
7125 * src/hildon-touch-selector.c:
7126 (hildon_touch_selector_new_text),
7127 (hildon_touch_selector_append_text),
7128 (hildon_touch_selector_prepend_text),
7129 (hildon_touch_selector_insert_text):
7131 Moved the simple _text() API from HildonPickerButton to
7132 HildonTouchPicker, to provide better escalability and not to tie
7133 that API to HildonPickerButton.
7135 * examples/hildon-picker-button-example.c: (main): Example updated.
7137 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7139 * src/hildon-button.c: Updated documentation.
7141 * examples/hildon-button-example.c: Add the posibility to create
7142 the buttons using horizontal layout for title and value.
7144 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7146 * src/hildon-app-menu-private.h
7147 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7148 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7149 GtkSizeGroup for the filters, use the 'homogeneous' property of
7152 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7154 * examples/hildon-button-example.c: Updated example.
7156 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7158 * doc/hildon-docs.sgml:
7161 Update documentation.
7163 * examples/Makefile.am: Update renamed examples.
7165 * examples/hildon-picker-button-multicolumn-example.c:
7166 (create_touch_selector), (main): Update after the rename.
7168 * examples/hildon-touch-picker-example.c: Removed.
7169 * examples/hildon-touch-selector-example.c: (value_changed),
7170 (create_selector), (get_visible_content), (main): Renamed from
7171 hildon-touch-picker-example.c
7173 * src/Makefile.am: Updated renamed files.
7175 * src/hildon-date-button.c: (hildon_date_button_init),
7176 (hildon_date_button_get_date), (hildon_date_button_set_date):
7177 * src/hildon-date-selector.c: (hildon_date_selector_init),
7178 (_custom_print_func), (_update_day_model),
7179 (_manage_selector_change_cb),
7180 (hildon_date_selector_select_current_date),
7181 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7182 * src/hildon-date-selector.h:
7183 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7184 (hildon_picker_button_set_property),
7185 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7186 (hildon_picker_button_init), (hildon_picker_button_new_text),
7187 (hildon_picker_button_append_text),
7188 (hildon_picker_button_prepend_text),
7189 (hildon_picker_button_insert_text),
7190 (hildon_picker_button_set_selector),
7191 (hildon_picker_button_get_selector):
7192 * src/hildon-picker-button.h:
7193 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7194 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7195 (_update_title_on_selector_changed_cb), (requires_done_button),
7196 (_hildon_picker_dialog_set_selector),
7197 (hildon_picker_dialog_set_selector),
7198 (hildon_picker_dialog_get_selector):
7199 * src/hildon-picker-dialog.h:
7200 * src/hildon-time-button.c: (hildon_time_button_init),
7201 (hildon_time_button_get_time), (hildon_time_button_set_time):
7202 * src/hildon-time-selector.c: (hildon_time_selector_init),
7203 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7204 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7205 * src/hildon-time-selector.h:
7208 Massive code updates after the rename.
7210 * src/hildon-touch-picker.c: Removed.
7211 * src/hildon-touch-picker.h: Removed.
7213 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7214 (hildon_touch_selector_init), (hildon_touch_selector_map),
7215 (hildon_touch_selector_remove), (_default_print_func),
7216 (_selection_changed_cb), (_create_new_column),
7217 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7218 (hildon_touch_selector_append_text_column),
7219 (hildon_touch_selector_remove_column),
7220 (hildon_touch_selector_set_column_attributes),
7221 (hildon_touch_selector_insert_column),
7222 (hildon_touch_selector_get_num_columns),
7223 (hildon_touch_selector_get_column_selection_mode),
7224 (hildon_touch_selector_set_column_selection_mode),
7225 (hildon_touch_selector_set_print_func),
7226 (hildon_touch_selector_get_print_func),
7227 (hildon_touch_selector_get_active_iter),
7228 (hildon_touch_selector_set_active_iter),
7229 (hildon_touch_selector_get_selected_rows),
7230 (hildon_touch_selector_get_model),
7231 (hildon_touch_selector_set_model),
7232 (hildon_touch_selector_get_current_text),
7233 (_hildon_touch_selector_center_on_selected_items):
7234 * src/hildon-touch-selector.h: Renamed from
7235 hildon-touch-picker.[ch]
7237 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7238 references, code examples, and related documentation.
7240 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7242 * doc/hildon-docs.sgml
7245 * src/hildon-toggle-button.c
7246 * src/hildon-toggle-button.h
7247 * src/hildon.h: New HildonToggleButton widget.
7249 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7251 * src/hildon-button.c: Add API documentation.
7252 (hildon_button_set_size_groups): Check input parameters
7254 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7256 * src/hildon-pannable-area.c
7257 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7258 effect after reaching the movement thredshold. This way we start
7259 using the distance after passing the thredshold.
7261 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7263 * src/hildon-button.c: (hildon_button_set_property): Use the
7264 appropriate g_value_get_flags() method.
7266 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7268 * doc/hildon-docs.sgml:
7271 Add the touch pickers, picker dialogs, and picker button widgets
7272 to the documentation.
7274 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7276 * src/hildon-button.c: (hildon_button_set_property),
7277 (hildon_button_class_init): Make "arrangement-flags" a proper
7278 G_TYPE_FLAGS derived property.
7280 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7282 * examples/Makefile.am: Add below examples.
7283 * examples/hildon-date-button-example.c:
7284 * examples/hildon-picker-button-example.c:
7285 * examples/hildon-picker-button-multicolumn-example.c:
7286 * examples/hildon-time-button-example.c:
7287 * examples/hildon-touch-picker-example.c:
7289 Add examples for the recently added touch pickers,
7290 picker dialogs, and picker button widgets.
7292 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7294 * src/hildon-button.c: Add some API documentation
7296 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7298 * src/hildon-button.h
7299 * src/hildon-button.c
7301 (hildon_button_new_with_text): New constructor to create a button
7302 with no text at all.
7303 (hildon_button_init, hildon_button_set_arrangement)
7304 (hildon_button_set_title, hildon_button_set_value)
7305 (hildon_button_set_text)
7306 (hildon_button_construct_child): Hide the value when it's not used
7307 so the rest of the text is properly aligned.
7308 Allow creating buttons with arbitrary widgets inside (not just
7309 title/value labels).
7311 * examples/hildon-button-example.c (vertical_buttons_window)
7312 (horizontal_buttons_window): Update example to use new API.
7314 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7316 * src/Makefile.am: Added HildonTimeButton.
7317 * src/hildon-time-button.c: Added missing LGPL header.
7318 * src/hildon-time-button.h: Added missing LGPL header.
7319 * src/hildon.h: Add hildon-time-button.h
7321 Copied HildonTimeButton from sandbox to trunk. Future work on this
7322 widget must take place in trunk.
7324 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7326 * src/Makefile.am: Added HildonDateButton.
7327 * src/hildon-date-button.c: Update includes.
7328 * src/hildon.h: Add hildon-date-button.h
7330 Copied HildonDateButton from sandbox to trunk. Future work on this
7331 widget must take place in trunk.
7333 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7335 * src/Makefile.am: Added HildonPickerButton.
7336 * src/hildon-picker-button.h: Update includes.
7337 * src/hildon.h: Add hildon-picker-button.h
7339 Copied HildonPickerButton from sandbox to trunk. Future work on
7340 this widget must take place in trunk.
7342 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7344 * src/Makefile.am: Added HildonPickerDialog.
7345 * src/hildon-picker-dialog.c: Update includes.
7346 * src/hildon.h: Add hildon-picker-dialog.h
7348 Copied HildonPickerDialog from sandbox to trunk. Future work
7349 on this widget must take place in trunk.
7351 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7353 * src/Makefile.am: Added HildonTimeSelector.
7354 * src/hildon.h: Add hildon-time-selector.h
7356 Copied HildonTimeSelector widget from sandbox to trunk. Future
7357 work on this widget must happen in trunk.
7359 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7361 * src/Makefile.am: Added HildonDateSelector.
7362 * src/hildon.h: Add hildon-date-selector.h
7364 Copied HildonDateSelector widget from sandbox to trunk. Future
7365 work on this widget must happen in trunk.
7367 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7369 * src/Makefile.am: Added HildonTouchPicker.
7370 * src/hildon-touch-picker.c: Update includes.
7371 * src/hildon.h: Add hildon-touch-picker.h
7373 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7374 on this widget must happen in trunk.
7376 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7378 * src/hildon-pannable-area.c:
7379 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7381 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7383 * examples/hildon-app-menu-example.c (main): Let the window
7386 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7388 * src/hildon-pannable-area.c
7389 (hildon_pannable_area_class_init): Set the min value of the
7390 overshoot properties to zero, which points out that not
7391 overshooting allowed.
7393 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7395 Modified the procedure to get the widget at a point inside the
7396 pannable area when using the movement type signals. Now the user
7397 has to call a function to get the child, that way we just
7398 calculate the child in case the user really want to use it and not
7401 * src/hildon-marshalers.list: Modified the marshallers, now we do
7402 not have the widget as a parameter.
7404 * src/hildon-pannable-area.c
7405 (hildon_pannable_area_motion_notify_cb),
7406 (hildon_pannable_area_class_init),
7407 (hildon_pannable_get_child_widget_at): Removed the widget
7408 parameter from the signal callback. We have also refactored the
7409 emission of the signals.
7411 * src/hildon-pannable-area.h: Added a new method to the API to
7412 calculate a widget at a point inside the pannable area,
7413 hildon_pannable_get_child_widget_at.
7415 * examples/hildon-pannable-area-example-4.c
7416 (horizontal_movement): Modified the example to use the new API,
7417 added condition to control which widget is under the event. This
7418 way we can avoid scrolling laterally over other widgets.
7420 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7422 * src/hildon-pannable-area.c
7423 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7424 modes, we stop getting the pointer events due to returning the
7425 callback without properly calling the get pointer again. Fixed
7426 also an error using the hscroll and vscroll.
7428 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7430 * src/hildon-app-menu-private.h
7431 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7432 (hildon_app_menu_button_release, hildon_app_menu_init)
7433 (hildon_app_menu_class_init): Don't hide the menu on button
7434 release if the user didn't press outside first.
7436 * src/hildon-window.h
7437 * src/hildon-window.c (hildon_window_toggle_menu)
7438 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7439 hildon_window_toggle_menu a virtual function for the stackable
7440 window to override it.
7442 * src/hildon-stackable-window.h
7443 * src/hildon-stackable-window-private.h
7444 * src/hildon-stackable-window.c
7445 (hildon_stackable_window_realize)
7446 (hildon_stackable_window_finalize)
7447 (hildon_stackable_window_class_init)
7448 (hildon_stackable_window_init)
7449 (hildon_stackable_window_set_main_menu): New function to set the
7450 app menu of a HildonStackableWindow.
7452 * examples/hildon-app-menu-example.c: Remove the button to show
7453 the app menu, now it'll be shown when clicking on the title bar
7456 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7458 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7459 set the widget name if the arrangement flags do not specify
7462 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7464 * src/hildon-button.c: (hildon_button_set_property),
7465 (hildon_button_class_init), (hildon_button_new_full),
7466 (hildon_button_set_arrangement): Added "arrangement-flags"
7469 Make the HildonButtonFlags a construction-only property, to allow
7470 subclasses to set them properly.
7472 2008-07-21 Tim Janik <timj@imendio.com>
7474 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7475 insertion position after backspace, so additional digits are appended,
7478 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7480 * src/hildon-pannable-area.c,
7481 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7482 TODO list, it was complete and removed the g_debug and g_print
7485 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7487 Added the movement modes to the hildon-pannable-area, with this
7488 modes the developers can control in which directions the widget
7489 can scroll. They can also connect to signals in order to do
7490 something when that happens, allowing applications scroll. There
7491 is an example uploaded showing how to use it.
7493 * examples/Makefile.am:
7494 * examples/hildon-pannable-area-example-4.c: Added this example of
7495 an application using the modes.
7497 * src/hildon-marshalers.list: Added a new marshaller for the new
7500 * src/hildon-pannable-area.h: Added new enumerations and flags in
7501 order to control the movement modes and the new signals to warn
7502 about the movements in the area.
7504 * src/hildon-pannable-area.c:
7505 (hildon_pannable_axis_scroll),
7506 (hildon_pannable_area_scroll),
7507 (hildon_pannable_area_motion_notify_cb),
7508 (hildon_pannable_area_get_property),
7509 (hildon_pannable_area_set_property),
7510 (hildon_pannable_area_map),
7511 (hildon_pannable_area_class_init),
7512 (hildon_pannable_area_init),
7513 (hildon_pannable_area_jump_to): Added the modes to control the
7514 movement in the widget. We have added properties to control it,
7515 signals to warn about the movements and refactored some code.
7517 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7519 Changes required in order to allow vfast_factor set to zero to
7522 * src/hildon-pannable-area.c:
7523 (hildon_pannable_area_button_press_cb): Changed the condition, it
7524 is required for not allowing click when vfast_factor is zero.
7525 (hildon_pannable_area_timeout): Initialized velocity variables
7526 when we stop moving, it was less than 1 but not zero and we need
7527 to check zero in some situations.
7528 (hildon_pannable_area_class_init): Changed the default value of
7529 the speed factor, now the button_press is just sent in case the
7530 speed is 2 per cent of the max speed.
7531 (hildon_pannable_area_init): Initialization with 0.
7533 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7535 * src/hildon-pannable-area.c,
7536 (hildon_pannable_area_get_topmost): replaced
7537 gdk_window_get_children with gdk_window_peek_children, this way we
7538 do not have to free the list because it is not a copy.
7540 (hildon_pannable_axis_scroll),
7541 (hildon_pannable_area_scroll),
7542 (hildon_pannable_area_timeout),
7543 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7544 two parameters that were only used inside the
7545 hildon_pannable_area_scroll function.
7547 * examples/hildon-pannable-area-example.c,
7548 (get_sawtooth_label): Fixed small memory leak.
7550 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7552 More checks for the case where the overshoot is bigger than the
7555 * src/hildon-pannable-area.c:
7556 (hildon_pannable_draw_vscroll),
7557 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7558 to draw the slider of the scrollbar under the other scrollbar.
7559 (hildon_pannable_area_expose_event): added new checks to control
7560 the drawing of the overshooting area rectangle, in case it is too
7561 big for the area of the widget.
7562 (hildon_pannable_area_size_allocate): add more checks to avoid
7563 setting a position to the child widget outside the area.
7565 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7567 * src/hildon-pannable-area.c
7568 (hildon_pannable_area_size_allocate): Added conditions to control
7569 when overshooting is bigger than the allocated space for the
7570 children, this avoids negative allocations.
7572 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7574 * doc/hildon-docs.sgml
7576 * examples/Makefile.am
7577 * examples/hildon-button-example.c
7579 * src/hildon-button.c
7580 * src/hildon-button.h
7581 * src/hildon.h: Initial version of the new HildonButton widget,
7584 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7586 * src/hildon-pannable-area.c:
7587 (hildon_pannable_area_button_press_cb),
7588 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7589 (hildon_pannable_area_motion_notify_cb),
7590 (hildon_pannable_area_button_release_cb),
7591 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7592 (hildon_pannable_area_jump_to_child):
7594 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7596 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7598 * examples/Makefile.am
7599 * examples/hildon-pannable-area-touch-grid-example.c
7600 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7601 the Hildon Touch List and Hildon Touch Grid using the
7602 HildonPannableArea widget.
7604 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7606 * src/hildon-pannable-area.c,
7607 (hildon_pannable_area_button_press_cb),
7608 (hildon_pannable_area_refresh),
7609 (hildon_pannable_area_scroll),
7610 (hildon_pannable_area_motion_notify_cb),
7611 (hildon_pannable_area_button_release_cb),
7612 (hildon_pannable_area_expose_event),
7613 (hildon_pannable_area_add),
7614 (hildon_pannable_area_remove),
7615 (hildon_pannable_area_realize),
7616 (hildon_pannable_area_size_allocate),
7617 (hildon_pannable_area_class_init),
7618 (hildon_pannable_area_init),
7619 (hildon_pannable_area_scroll_to_child),
7620 (hildon_pannable_area_jump_to_child): Fixed the problem of
7621 removing the child from the GtkBin, we have rearranged the widget
7622 hierarchy, now there is no GtkAlignment which was not doing
7623 anything interesting but breaking some of the assumptions of
7624 GtkContainer. Now developers if they want to add a GtkAlignment
7625 they could, but it is not inside the area.
7627 We had to review the whole allocation/expose process, now it is
7628 improved and we save at least three signals which would be saving
7629 some time when rendering the widget. The allocation of the
7630 scrollbars is now made in the allocate method as usual.
7632 We have also added some conditions in order to control when there
7633 is no child of the pannable area. Maybe we will need more work
7636 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7638 * src/hildon-pannable-area.c,
7639 (hildon_pannable_area_dispose): Released the fade-out timeout when
7640 disposing the widget.
7642 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7644 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7645 zero, we are going to use that property in order to deactivate the
7647 (hildon_pannable_axis_scroll),
7648 (hildon_pannable_area_size_allocate): Added conditions to control
7649 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7650 call, now it is called in all situations and we can remove calls
7651 in the allocate method.
7652 (hildon_pannable_area_map): Control the situation when
7653 overshoot_max is zero, we do not need the timeout.
7654 (hildon_pannable_area_class_init): Added documentation in order to
7655 point out that setting zero to overshoot_max means deactivate
7658 NOTE: removed trailing whitespaces from my previous comments of
7661 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7663 * src/hildon-pannable-area.c
7664 (hildon_pannable_area_get_property),
7665 (hildon_pannable_area_set_property),
7666 (hildon_pannable_area_map),
7667 (hildon_pannable_area_class_init),
7668 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7669 to cause the widget give a hint about its panning abilities upon
7672 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7674 * src/hildon-pannable-area.c: Several documentation improvements.
7676 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7678 * src/hildon-program.c
7679 * src/hildon-stackable-window.c: Update documentation.
7681 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7683 * src/hildon-stackable-window.c (get_previous_window_if_last):
7684 Renamed get_last_window()
7685 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7686 (hildon_stackable_window_unset_program):
7688 (get_previous_window_if_last):
7689 Detect if the window hasn't been added to a HildonProgram.
7691 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7693 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7695 * src/hildon-pannable-area.c
7696 (hildon_pannable_area_button_press_cb),
7697 (hildon_pannable_axis_scroll),
7698 (hildon_pannable_area_scroll),
7699 (hildon_pannable_area_timeout),
7700 (hildon_pannable_calculate_vel_factor),
7701 (hildon_pannable_area_get_property),
7702 (hildon_pannable_area_set_property),
7703 (hildon_pannable_area_class_init),
7704 (hildon_pannable_area_init),
7705 (hildon_pannable_area_scroll_to),
7706 (hildon_pannable_area_jump_to),
7707 (hildon_pannable_area_scroll_to_child),
7708 (hildon_pannable_area_jump_to_child):
7709 * src/hildon-pannable-area.h: Added the new API functions:
7710 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7711 hildon_pannable_area_scroll_to_child,
7712 hildon_pannable_area_jump_to_child
7715 * examples/Makefile.am
7716 * examples/hildon-pannable-area-example-2.c
7717 * examples/hildon-pannable-area-example-3.c: Added these two new
7718 examples in order to test and show how the new APIs work.
7720 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7722 * examples/hildon-stackable-window-example.c (new_window):
7723 * src/Makefile.am (noinst_HEADERS):
7724 * src/hildon-program.c (hildon_program_go_to_root_window):
7725 * src/hildon-program.h:
7726 * src/hildon-stackable-window-private.h:
7727 * src/hildon-stackable-window.c:
7728 * src/hildon-stackable-window.h:
7729 Create hildon-stackable-window-private.h
7730 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7732 * examples/hildon-app-menu-example.c (create_menu):
7733 * examples/hildon-hvolumebar-insensitive-example.c (main):
7734 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7735 * examples/hildon-toolbar-seekbar-example.c (main):
7736 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7737 * src/hildon-banner.c (hildon_banner_set_property):
7738 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7739 Fix compilation warnings
7741 * src/hildon-window.c:
7744 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7746 * src/hildon-stackable-window.c
7747 (hildon_stackable_window_unset_program):
7748 Calculate correctly whether to show the previous window if the
7749 last one is removed from the stack.
7750 (hildon_stackable_window_go_to_root_window):
7751 Send delete events starting from the topmost window.
7752 Stop if one of the windows is not destroyed.
7754 (hildon_stackable_window_delete_event)
7755 (hildon_stackable_window_class_init):
7756 Ignore the delete event if the window is not the topmost one.
7758 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7760 * src/hildon-pannable-area.c
7761 (hildon_pannable_area_expose_event): Fixed a problem when
7762 selecting the background color of the scrollbars.
7764 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7766 * examples/hildon-stackable-window-example.c
7767 * src/hildon-stackable-window.c
7768 * src/hildon-stackable-window.h
7769 hildon_stackable_window_go_home() renamed to
7770 hildon_stackable_window_go_to_root_window()
7771 Send delete events to windows rather than closing them with
7772 gtk_widget_destroy()
7774 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7776 * src/hildon-pannable-area.c
7777 (hildon_pannable_area_button_release_cb): Fix overshooting in
7780 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7782 * src/hildon-pannable-area.c
7783 (hildon_pannable_area_init): Initially show the scroll indicators.
7784 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7786 Add initial effect showing the widget is pannable.
7788 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7790 * src/hildon-pannable-area.c
7791 (hildon_pannable_area_class_init)
7792 (hildon_pannable_area_set_property)
7793 (hildon_pannable_area_get_property)
7794 (hildon_pannable_area_button_press_cb):
7795 New 'velocity_fast_factor' property to decide which velocity is
7798 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7800 * src/hildon-pannable-area.c
7801 (hildon_pannable_draw_hscroll)
7802 (hildon_pannable_draw_vscroll):
7803 Use float variables to calculate the size of the scrollbars to
7804 avoid error propagation and resizing during scrolling.
7806 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7808 * src/hildon-pannable-area.c
7809 (hildon_pannable_draw_vscroll)
7810 (hildon_pannable_draw_hscroll):
7811 Define a minimum size for the scroll bars
7813 * src/hildon-stackable-window.c
7814 (hildon_stackable_window_go_home): Fix compilation warning
7815 (get_last_window): Minor optimizations
7816 (hildon_stackable_window_class_init): Fix initialization of
7819 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7821 * src/hildon-stackable-window.c: Fixed typos in doc
7823 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7825 * src/hildon-pannable-area.c
7826 (hildon_pannable_area_scroll):
7827 Calculate here whether we need to scroll instead of using the booleans
7828 that tell us whether to /draw/ the scrolling bars.
7830 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7832 * src/hildon-app-menu.h
7834 * src/hildon-app-menu.c
7835 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7836 multiple filter groups related code and API. Now we support only
7838 * examples/hildon-app-menu-example.c:
7840 Update to reflect API changes.
7842 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7844 * src/hildon-stackable-window.c
7845 (hildon_stackable_window_class_init):
7846 Add hildon_stackable_window_realize.
7847 (hildon_stackable_window_realize):
7848 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7849 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7850 to apply theming and behavior specific to HildonStackableWindow
7853 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7855 * src/hildon-note.c (hildon_note_button_release):
7856 Close information notes also when tapping on them
7858 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7860 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7861 ELASTICITY, refactor and review, fix some issues with drawing
7864 * src/hildon-pannable-area.c:
7865 (hildon_pannable_area_button_press_cb): removed the conditions to
7866 avoid clicks when overshooting. It is not required
7868 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7869 define. Refatored and reviewed the code, now we do not need to
7870 manage velocity in motion_notify.
7872 (hildon_pannable_area_motion_notify_cb): We have moved the code
7873 that controls the area_scroll to the axis_scroll function and get
7874 rid of duplicated code.
7876 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7878 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7880 (hildon_pannable_draw_vscroll),
7881 (hildon_pannable_draw_hscroll): Fixed the problems with the
7882 scrollbar drawing, now we do not use two surfaces, it is easier
7883 and saves resources.
7885 (hildon_pannable_area_get_property): Style modification.
7887 (hildon_pannable_area_class_init): Changed some default values.
7889 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7891 * src/hildon-stackable-window.c: Fix some typos in the
7894 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7896 * src/hildon-dialog.c:
7897 Change indentation style
7900 (hildon_note_button_release):
7901 Use root coordinates to check if the release event happened
7904 * src/hildon-app-menu.c
7905 (hildon_app_menu_button_release):
7906 Remove unnecessary check
7908 * examples/hildon-app-menu-example.c
7910 Add cast to fix warning
7912 * src/hildon-app-menu.c
7913 (hildon_app_menu_class_init):
7914 New inner-border style property.
7915 Set all default spacings to 16
7916 (hildon_app_menu_init):
7917 Use vertical-spacing to set the space between filter buttons and
7918 regular menu buttons.
7919 Set the default container border using the inner-border value.
7921 * examples/hildon-app-menu-example.c
7923 Don't set the menu border explicitly, now we have the inner-border
7924 style property for that.
7926 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7928 * src/hildon-app-menu.c (hildon_app_menu_init):
7929 Make the window modal
7931 * src/hildon-note.c (hildon_note_map)
7932 * src/hildon-app-menu.c (hildon_app_menu_map):
7933 Destroy the grab window if we're unable to grab the pointer
7935 * src/hildon-app-menu-private.h
7936 * src/hildon-app-menu.c
7937 (hildon_app_menu_init, hildon_app_menu_finalize)
7938 (hildon_app_menu_map, hildon_app_menu_unmap)
7939 (hildon_app_menu_button_release)
7940 (grab_transfer_window_get):
7941 Bring back the grab window
7942 (hildon_app_menu_realize):
7943 Decorate the window, set WM hint for Matchbox
7945 * src/hildon-note.c (hildon_note_realize):
7946 * src/hildon-banner.c (hildon_banner_realize):
7947 Add WM hints for Matchbox
7949 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7951 * src/hildon-app-menu-private.h
7952 * src/hildon-app-menu.c
7953 (hildon_app_menu_init, hildon_app_menu_finalize)
7954 (hildon_app_menu_map, hildon_app_menu_unmap)
7955 (hildon_app_menu_button_release):
7956 Remove the grab window, it's not needed anymore
7958 * src/hildon-program.c
7959 Fixed typo in documentation
7961 * src/hildon-app-menu.h
7962 * src/hildon-app-menu.c
7963 * examples/hildon-app-menu-example.c
7964 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7966 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7969 Added new transfer_window and close_if_pressed_outside private
7971 (hildon_note_rebuild):
7972 Don't add a cancel button to the information note. It will be
7973 closed when tapping outside
7974 Remove the comment about the OK button in the documentation
7975 (hildon_note_realize):
7976 Set the notification type hint
7977 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7978 Grab/ungrab pointer and keyboard if the note has to be closed when
7980 (hildon_note_button_release):
7981 Close the note when tapping outside (if applicable)
7983 * src/hildon-app-menu.c
7984 Grab/ungrab pointer and keyboard on map/unmap
7985 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7986 Close the menu on button release, not button press
7988 * src/hildon-banner.c
7989 (hildon_banner_set_property)
7990 (hildon_banner_check_position):
7991 Make the banner use the full width of the screen
7992 (hildon_banner_show_information)
7993 (hildon_banner_show_information_with_markup):
7994 Don't display an icon by default
7996 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7998 Added fading scrollbars and adapted all the overshooting code to
7999 horizontal scrolling. We have also fixed bugs with overshooting
8000 and current fading implementation.
8002 * src/hildon-pannable-area.c
8003 (hildon_pannable_area_scroll_indicator_fade): Time out function
8004 used to change the transparency of the scrollbars.
8006 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8007 control and fixed a problem with fading, we now remove the fade
8008 timeout before adding a new one.
8010 (hildon_pannable_axis_scroll):
8011 (hildon_pannable_area_scroll):
8012 (hildon_pannable_area_timeout): Added this functions so we can use
8013 the scroll code both for vertical and horizontal.
8015 (hildon_pannable_area_motion_notify_cb):
8016 (hildon_pannable_area_button_release_cb): Added the horizontal
8017 scrolling control, fixed a problem with the overshooting timeout.
8019 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8020 painting of the scrolls.
8022 (hildon_pannable_draw_vscroll):
8023 (hildon_pannable_draw_hscroll):
8024 (hildon_pannable_area_expose_event):
8025 Draw both scrollbars and rectangles in the overshooting area.
8027 (hildon_pannable_area_get_property):
8028 (hildon_pannable_area_set_property):
8029 Modified the overshoot property to overshoot_max
8031 (hildon_pannable_area_map):
8032 Replaced the comments symbols.
8034 (hildon_pannable_area_size_allocate):
8035 (hildon_pannable_area_class_init):
8036 (hildon_pannable_area_init): Added horizontal scroll, fading
8037 effect properties, fixed a problem when overshooting in the bottom
8040 * examples/hildon-pannable-area-example.c:
8041 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8042 looks better in the example.
8044 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8046 * src/hildon-window.c
8047 * src/hildon-window.h
8048 (hildon_window_class_init)
8049 (hildon_window_unset_program)
8050 (hildon_window_unset_program_real):
8051 Make unset_program a virtual function
8053 * src/hildon-stackable-window.c
8054 * src/hildon-stackable-window.h
8055 Added hildon_stackable_window_go_home()
8057 * examples/Makefile.am
8058 * examples/hildon-stackable-window-example.c
8059 HildonStackableWindow example
8061 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8063 * hildon-pannable-area.c: Added the overshoot property and removed
8064 the OVERSHOOT define. Fixed an indent style error.
8065 (hildon_pannable_area_motion_notify_cb):
8066 (hildon_pannable_area_get_property):
8067 (hildon_pannable_area_set_property): Add overshoot property.
8069 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8072 (hildon_pannable_area_class_init): Installed the new property.
8074 * hildon-pannable-area-example.c: Added a sawtooth function, this
8075 way it is easier to check the movement in the pannable.
8076 (get_sawtooth_label): Added this function.
8077 (main): Now we get the labels from the new get_sawtooth_label
8080 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8082 * src/hildon-app-menu.h
8083 * src/hildon-app-menu.c
8084 Renamed API variables for consistency
8086 (hildon_app_menu_popup): Use also the default window size to
8087 decide where to place the menu
8089 (hildon_app_menu_init, hildon_app_menu_class_init): New
8090 external-border style property
8092 2008-05-26 Michael Natterer <mitch@imendio.com>
8094 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8095 widget_class->tap_and_hold_setup signal slot doesn't exist any
8096 longer, stop overriding it.
8098 (hildon_time_editor_init): g_signal_connect() to the
8099 tap-and-hold-setup signal instead.
8101 (hildon_time_editor_entry_keypress): add cast to fix warning.
8103 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8105 * doc/hildon-docs.sgml
8107 * examples/Makefile.am
8108 * examples/hildon-app-menu-example.c
8110 * src/hildon-app-menu-private.h
8111 * src/hildon-app-menu.c
8112 * src/hildon-app-menu.h
8114 New HildonAppMenu widget
8116 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8118 Rearranged the inheritance of the pannable area, now it inherits
8119 from GtkBin. This will allow us to control the event_window and
8120 the allocation process of the widget, required for some effects.
8122 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8123 GtkBin structures. * src/hildon-pannable-area.c: Added the
8124 event_window variable.
8125 (hildon_pannable_area_button_press_cb):
8126 (hildon_pannable_area_button_release_cb):
8127 (hildon_pannable_area_motion_notify_cb):
8128 Changed the signature of the method, now we override the event
8129 callback instead of connecting to the signal.
8131 (hildon_pannable_area_realize):
8132 (hildon_pannable_area_unrealize):
8133 (hildon_pannable_area_map):
8134 (hildon_pannable_area_unmap):
8135 (hildon_pannable_area_size_allocate):
8136 Added functions to control the widget construction. We add a
8137 INPUT_ONLY window and we put it over the widgets inside the
8138 container, this event_window handles the events.
8140 (hildon_pannable_area_class_init):
8141 Replaced the signal connections with overrides of the event
8144 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8146 Bouncing effect added when touching the borders, you can change
8147 the elasticity of the border changing the ELASTICITY define.
8149 * src/hildon-pannable-area.c: Added ELASTICITY define.
8150 (hildon_pannable_area_timeout): Added inverse velocity when
8151 touching the border of the child widget, that causes a bounce.
8153 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8155 Improved performance, we now do not go to the X server in order to
8156 get the list of window children. Apparently the effect is the
8157 same, we have to be careful and check if this breaks something in
8160 * src/hildon-pannable-area.c:
8161 (get_ordered_children): Removed this function.
8162 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8163 the children windows function with gdk_window_get_children.
8165 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8167 * src/hildon-pannable-area.c:
8168 (hildon_pannable_area_dispose): Fixed a crash when closing the
8169 window and kinetics is activated.
8171 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8173 * src/hildon-pannable-area.h
8174 * src/hildon-pannable-area.c
8175 Changed indentation style to meet the one used in Hildon
8177 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8179 Reviewed the interaction of the AUTO mode, now we use the time
8180 attribute of the events and calculate the velocity in the motion,
8181 doing a gimp like calculation. The velocity is calculated in each
8182 motion event using the last velocity and the current one, the
8183 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8185 * src/hildon-pannable-area.c: Replaced the time based algorithm
8187 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8188 timeout for the AUTO mode when we are still moving the cursor. We
8189 added also the velocity calculation in this function.
8190 (hildon_pannable_area_button_release_cb): launch the timeout in
8191 case we are in AUTO mode. There are still some constants here that
8192 come from the old implementation that should be reviewed and
8195 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8197 * doc/hildon-docs.sgml
8200 * src/hildon-stackable-window.c
8201 * src/hildon-stackable-window.h
8203 New HildonStackableWindow widget
8205 * examples/hildon-dialog-example.c
8206 * examples/hildon-pannable-area-example.c
8209 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8211 * src/hildon-dialog.c
8212 (hildon_dialog_new_with_buttons): New constructor.
8214 * examples/hildon-dialog-example.c
8215 (main): Update the example to use the new
8216 hildon_dialog_new_with_buttons().
8218 * examples/hildon-pannable-area-example.c
8219 (main): Update example.
8221 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8223 * doc/hildon-docs.sgml
8225 Added HildonPannableArea to the documentation.
8227 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8229 * doc/visual_index.xml
8230 Fix reference to HildonLoginDialog in documentation
8232 * doc/hildon-docs.sgml
8234 * examples/Makefile.am
8235 * examples/hildon-dialog-example.c
8237 * src/hildon-dialog.c
8238 * src/hildon-dialog.h
8240 New HildonDialog widget.
8242 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8244 * src/hildon-pannable-area.c
8245 Merge latest changes (r4318, r4342) from libmokoui trunk
8247 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8249 * examples/Makefile.am
8250 * examples/hildon-pannable-area-example.c
8252 * src/hildon-pannable-area.c
8253 * src/hildon-pannable-area.h
8255 New HildonPannableArea widget.
8257 2008-04-15 18:05:19 <timj@imendio.com>
8259 * src/hildon-banner.c: revert the recent change, that introduced
8260 gtk_window_present() calls. this reopens:
8261 Bug 78481 - [freetest] information banners are hidden under browser menu
8262 But resolves another variant of:
8263 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8265 2008-04-15 13:21:13 <timj@imendio.com>
8267 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8268 recreated its layout, spotted by Kris. this fixes all remaining
8269 artefacts and stability issues with the banner code. in particular:
8270 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8272 2008-04-14 16:52:59 <timj@imendio.com>
8274 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8275 operating on unrealized widgets, fixes:
8276 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8278 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8280 2008-04-09 Kristian Rietveld <kris@imendio.com>
8282 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8283 makes banner disappear.
8284 Fixes: NB#79182: info banner flickering with certain message lengts.
8286 * src/hildon-banner.c (hildon_banner_constructor),
8287 (hildon_banner_init), (hildon_banner_set_text),
8288 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8289 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8290 FALSE, reset size requests of label and banner,
8291 (force_to_wrap_truncated): when the text is too wide, always enforce
8292 the maximum possible width instead of recalculating it from the
8293 layout; enforce the maximum banner height of 3 lines,
8294 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8295 nicer wrapping and no truncated chars if space gets tight.
8297 * src/hildon-banner-private.h: add has_been_wrapped and
8298 has_been_truncated fields.
8300 2008-04-07 Sven Herzberg <sven@imendio.com>
8302 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8303 local values in hildon_date_editor_size_allocate
8305 * src/hildon-date-editor.c: moved the real allocation code into the
8308 2008-04-07 Sven Herzberg <sven@imendio.com>
8310 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8311 local values in hildon_date_editor_size_allocate
8313 * src/hildon-date-editor.c: merged the two if() branches together
8315 2008-04-07 Sven Herzberg <sven@imendio.com>
8317 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8318 local values in hildon_date_editor_size_allocate
8320 * src/hildon-date-editor.c: changed the arguments of the if()
8323 2008-04-07 Sven Herzberg <sven@imendio.com>
8325 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8326 local values in hildon_date_editor_size_allocate
8328 * src/hildon-date-editor.c: split the calculation of the allocation
8329 from the real allocation
8331 2008-03-27 Michael Natterer <mitch@imendio.com>
8333 Fixes: NB#81696: The passcode is not overwritten even after
8336 * src/hildon-code-dialog.c
8337 (hildon_code_dialog_button_clicked)
8338 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8339 because that doesn't overwrite selected text. Instead, emit the
8340 "commit" signal on the entry's im_context so the entry's normal
8341 insert logic is triggered. Set the cursor to the end of the entry
8342 after each insert operation so that we *only* insert in the middle
8343 of the text if something was selected.
8345 2008-03-27 Michael Natterer <mitch@imendio.com>
8347 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8348 selector cannot be opened
8350 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8351 when the popup color selector is created. Please connect to this
8352 signal in order to set the dialog's help ID.
8354 2008-03-25 Sven Herzberg <sven@imendio.com>
8356 Fixes: MB#1212: Hide info banners (infoprints) on click
8358 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8359 extracted the close event simulation into an extra function
8360 (hildon_banner_button_press_event): simulate a close event and destroy
8361 the widget if the event wasn't handled
8362 (hildon_banner_class_init): added the button_press_event handler
8363 (hildon_banner_init): added button-press events to the widget
8365 2008-03-25 Sven Herzberg <sven@imendio.com>
8367 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8368 Patch from: Mohammad Anwari <mdamt@maemo.org>
8370 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8371 instead of the right in RTL mode
8372 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8373 breadcrumb button list in RTL mode
8374 * src/hildon-caption.c: mirror the appearance of the caption widget in
8376 * src/hildon-date-editor.c: mirror appearance of the date editor in
8378 * src/hildon-time-editor.c: mirror appearance of the time editor in
8380 * src/hildon-window.c: fix the position of the popup in RTL mode
8382 2008-03-25 Sven Herzberg <sven@imendio.com>
8384 Amendment to the fix of NB#22072. Fix compilation.
8386 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8388 2008-03-19 Sven Herzberg <sven@imendio.com>
8390 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8393 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8394 timeout id properly when the timeout will disappear this leaves no
8395 artifacts around in the destroy(); there will only be the timeout
8396 created by hildon_banner_ensure_timeout() and adding a new timeout
8397 will also work if the timeout gets removed because the timeout_handler
8400 2008-03-19 Michael Natterer <mitch@imendio.com>
8402 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8404 * src/hildon-volumebar.c
8405 * src/hildon-vvolumebar.c
8406 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8407 the widget becomes focussable at all.
8409 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8410 set the focus to wither the mute button or the volumebar.
8412 Remove own "can-focus" property and instead listen to
8413 notify::can-focus in order to update the widget's state.
8415 Implement GtkWidget::focus() and make sure we can also *leave* the
8416 widget, not only enter it, depending on volumebar orientation and
8417 requested focus direction.
8419 Clean up set_mute() to cooperate nicely with all the above.
8421 2008-03-04 Michael Natterer <mitch@imendio.com>
8423 Fixes: NB#78481: information banners are hidden under browser menu
8425 * src/hildon-banner.c: call gtk_window_present() on the banners so
8426 they are risen if they are already visible.
8428 2008-03-03 Sven Herzberg <sven@imendio.com>
8430 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8432 * examples/hildon-window-menu-example.c: (main): extended the window
8433 menu example to serve as a testcase for automatically added
8434 accelerator groups, too
8435 * src/hildon-window.c: (hildon_window_add_accel_group),
8436 (hildon_window_set_menu): added patch by Tommi Komulainen
8438 2008-03-03 Sven Herzberg <sven@imendio.com>
8440 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8442 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8443 knowledge about the border allocators used within GTK+
8445 2008-02-26 Sven Herzberg <sven@imendio.com>
8447 Fixes: MB#2981: Build with asserts broken
8449 * src/hildon-date-editor.c,
8450 * src/hildon-number-editor.c,
8451 * src/hildon-time-editor.c,
8452 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8453 the proper GType instance check
8455 2008-02-25 Sven Herzberg <sven@imendio.com>
8457 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8459 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8460 * examples/hildon-window-menu-example.c: (main): explicitly show
8462 * src/hildon-window.c:
8463 (hildon_window_set_main_menu): moved most of the code from set_menu()
8464 to this place; skipped the call to gtk_widget_show_all(); also didn't
8465 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8466 (hildon_window_set_menu): removed most of the code, just keep the
8467 questionable gtk_widget_show_all()
8468 * src/hildon-window.h: added the new function and deprecate the old
8471 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8477 * debian/changelog: Updating.
8479 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8482 * pkgconfig/Makefile.am:
8483 * pkgconfig/hildon.pc.in:
8486 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8487 use newly created API_MAJOR_VERSION.
8489 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8495 * debian/changelog: Updating.
8497 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8499 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8501 Add outer_border style property, we use it but don't define it (!).
8505 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8507 * examples/hildon-bread-crumb-trail-example.c (main):
8511 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8513 Fix logic for the bread crumb trail node removal.
8517 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8523 * debian/changelog: Updating.
8525 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8527 Patch by Alejandro to get/set passwords dialogs accesibility.
8529 * hildon-1/src/hildon-get-password-dialog.c:
8530 * hildon-1/src/hildon-set-password-dialog.c:
8531 Set atk_set_name to the passwd entries in order to allow
8532 accessibility by name on this entries.
8534 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8539 * debian/control: Updating gtk dep.
8541 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8543 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8544 USE_MAEMO_GTK is enabled.
8546 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8548 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8549 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8551 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8557 * debian/changelog: Updating.
8559 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8561 * examples/Makefile.am:
8562 * examples/hildon-logical-color-example.c:
8563 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8564 applied + adding a test case. Fixes: NB#71660.
8566 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8568 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8569 to be visible, fixes warning on map for windows without toolbars.
8571 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8573 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8574 2.11.0, add a check for that besides the MAEMO_GTK check.
8576 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8582 * debian/changelog: Updating.
8584 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8586 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8587 visibility. Fixes: NB#70842 and MB#615.
8589 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8591 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8592 set the separator as no-show-all so it doesn't unintentionally appear when
8593 someone does a show_all.
8595 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8597 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8598 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8599 toplevel item. Fixes: NB#62031
8601 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8603 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8604 fix the name of the function in the docs.
8606 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8612 * debian/changelog: Updating.
8614 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8616 * examples/hildon-banner-long-example.c: Adding a test-case for long
8619 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8621 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8623 * src/hildon-color-chooser-dialog.c:
8624 * src/hildon-color-chooser.c:
8625 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8626 memory leaks in font selector and color selector. Fixes: NB#70499 and
8629 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8631 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8633 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8635 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8636 little bit bigger. Fixes: #NB63694.
8638 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 * debian/changelog: Updating.
8646 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8649 * doc/hildon-docs.sgml:
8650 * doc/images/bread-crumb-trail.png:
8651 * doc/images/calendar-popup.png:
8652 * doc/images/caption.png:
8653 * doc/images/code-dialog.png:
8654 * doc/images/color-button.png:
8655 * doc/images/color-chooser-dialog.png:
8656 * doc/images/color-chooser.png:
8657 * doc/images/controlbar.png:
8658 * doc/images/date-editor.png:
8659 * doc/images/font-selection-dialog.png:
8660 * doc/images/get-password-dialog.png:
8661 * doc/images/hvolumebar.png:
8662 * doc/images/login-dialog.png:
8663 * doc/images/note.png:
8664 * doc/images/number-editor.png:
8665 * doc/images/range-editor.png:
8666 * doc/images/seekbar.png:
8667 * doc/images/set-password-dialog.png:
8668 * doc/images/sort-dialog.png:
8669 * doc/images/time-editor.png:
8670 * doc/images/time-picker.png:
8671 * doc/images/vvolumebar.png:
8672 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8673 Adding the bread-crumb-trial and helpers to the documentation.
8675 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8677 * examples/hildon-find-toolbar-example.c:
8678 * src/hildon-find-toolbar.c:
8679 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8680 actually continue firing the other handlers if connected. Adding a new
8682 hildon_find_toolbar_get_last_index that gets the index of the most
8683 recently added (last) item. Fixes: NB#52301.
8685 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8687 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8688 behaviour. Fixes: NB#68610.
8690 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8692 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8695 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8697 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8698 when realizing the banner. Should make the infonbanner effect a bit more
8701 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8703 * src/hildon-volumebar.c:
8704 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8705 hildon_volumebar_set_range_insensitive_message and
8706 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8708 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8710 * src/hildon-window.c: Fixing the border freeing on destroy.
8712 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8714 * src/hildon-code-dialog-private.h:
8715 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8716 kw keyboard support in HildonCodeDialog.
8718 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8724 * debian/changelog: Updating.
8726 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8728 * src/hildon-date-editor.c:
8729 * src/hildon-number-editor.c:
8730 * src/hildon-private.c:
8731 * src/hildon-private.h:
8732 * src/hildon-time-editor.c:
8733 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8734 handling in subclassed composite widgets. Fixes: NB#66628.
8736 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8738 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8739 from destroy_ callback as it introduces problems in async dbus signal
8740 handlers. Fixes NB#66673.
8742 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8744 * examples/hildon-hvolumebar-example.c:
8745 * src/hildon-volumebar.c: Improving the focus handling in the
8746 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8747 set_property accessor so that "mute" property can be actually set. I'm
8748 scared that nobody noticed it's totally broken.
8750 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8755 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8757 * src/hildon-calendar.c:
8758 * src/hildon-number-editor.c:
8759 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8760 matches the spec of 6 chars per second. Fixes: NB#60489.
8762 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8764 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8765 gtk_style_lookup_color sometime returns FALSE even though color was
8766 found and values were filled properly. Weird. Removing the warning for the
8769 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8771 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8772 expand vertically. Adding some extra space to the find toolbar buttons to
8773 make them thumbable. Fixes NB#66060.
8775 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8777 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8778 popup with "Ok" and "Cancel". Fixes NB#59299.
8780 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8782 * src/hildon-calendar.c: Process all window updates before executing next
8783 timeout. Fixes: NB#54146.
8785 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8791 * debian/changelog: Updating.
8793 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8795 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8796 the client event and ignore it, since we use the delete event to close
8799 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8801 * src/hildon-helper.c: Remove the bogus warning about color not being
8802 found. Fixes NB#58352.
8804 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8806 * examples/Makefile.am:
8807 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8808 HildonSeekbar widget inside a toolbar.
8810 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8812 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8813 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8814 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8815 don't want to be closed by non-temporary windows on map.
8817 Also use G_DEFINE_TYPE instead of manually typed code.
8819 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8826 * debian/rules: Updating.
8828 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8830 * examples/Makefile.am:
8831 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8832 bug NB#61128. Strangely it works.
8834 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8836 * src/hildon-date-editor.c: When the date editor entry has been changed
8837 but the numbers of characters < max, turn off the skip validation flag.
8838 Prevents a situation when we enter first a valid year and later re-write
8839 it with an invalid one. Fixes NB#60154.
8841 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8843 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8844 code dialog. Fixes NB#64355.
8846 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8848 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8849 switching the page. Fixes NB#49374.
8851 * examples/Makefile.am:
8852 * examples/hildon-wizard-dialog-example.c: Adding an example for
8853 HildonWizardDialog that shows how to handle manual sensitivity setting on
8856 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8860 * src/hildon-version.h.in:
8861 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8863 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8865 * src/hildon-volumebar.c: Updating the docs.
8867 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8873 * debian/changelog: Updating.
8875 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8877 * src/hildon-find-toolbar.c:
8878 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8879 selected item: hildon_find_toolbar_set_active,
8880 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8881 hildon_find_toolbar_get_active_iter . They correspond to respective
8882 GtkComboBox functions.
8884 * examples/Makefile.am:
8885 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8888 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8890 * examples/Makefile.am:
8891 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8894 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8895 when font size > 32 and we pack a focusable widget inside. Actually using
8896 the default response would work too, but since we don't show default
8897 response state in any way (no theming) it would not be visible to the
8898 user. Fixes NB#63430.
8900 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * src/hildon-date-editor.c: Adding the missing variable setter in the
8903 set_property handler. Fixes NB#54182.
8905 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8907 * src/hildon-window.h: Changing the long key press time from 1500ms to
8908 800ms as requested in NB#63700. I have a bad feeling about this, let's
8909 see... Fixes NB#63700.
8911 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8913 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8914 hildon_time_picker_map, hildon_time_picker_realize,
8915 hildon_time_picker_style_set): Split the contents of map to more
8916 appropriate functions; set window decorations on realize and update
8917 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8919 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8924 * debian/changelog: Updating.
8926 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8928 * src/Makefile.am: fixed installation of the header files
8930 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8936 * debian/changelog: Updating.
8938 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8940 * configure.ac: Removing some remaining of --enable-xan.
8942 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8944 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8945 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8947 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8948 2.10.12-osso6 because the move-focus signal needs to be available in
8951 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8953 * examples/Makefile.am:
8954 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8955 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8956 fine. Prolly NB#61128 is fixed now.
8958 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * src/hildon-volumebar.c:
8961 * src/hildon-volumebar.h: Adding the
8962 hildon_volumebar_set_range_insensitive_message and
8963 hildon_volumebar_set_range_insensitive_messagef functions to set
8964 insensitive message on the slider of the volumebar. Fixes NB#61129.
8966 * examples/Makefile.am:
8967 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8968 test the new insensitive messsage functionality on HildonVolumebar.
8970 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8972 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8975 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8977 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8978 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8979 button on after clearing the trail.
8981 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8983 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8985 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8987 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8988 by splitting the installed headers in generated and non-generated groups. Use
8989 only the non-generated headers to create the hildon-enum-types.h file.
8991 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8993 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8995 * src/hildon-window.c: Hide the window before performing the destroy.
8996 Should make the app closing a little tiny bit more snappy.
8998 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9000 * src/hildon-seekbar.c: add gtkrange.h header
9001 * src/hildon-caption.c: remove unused variable
9003 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9005 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9008 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * debian/changelog: Updating.
9016 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9018 * src/hildon-window.c (hildon_window_window_state_event,
9019 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9020 escape timeout on focus-out-event rather than notify::is-topmost; the
9021 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9023 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9025 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9026 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9028 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9030 * src/hildon-window: actually, you need to use the macro always, there's
9031 no private pointer in the instance structure. We should have cleaned this up
9032 when we had the chance...
9034 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9036 * src/hildon-window.c: do not get the private date from HildonWindow before
9037 it passes the g_return_if_fail check. Once it's passed the test, there's no
9038 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9039 if you are only going to access the data once. Whitespace cleanups.
9041 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9043 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9044 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9046 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9052 * debian/changelog: Updating.
9054 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9056 * src/hildon-window.c: When destroying the window, remove (if exists) the
9057 escape timeout handler. Fixes #NB59276.
9059 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9061 * src/hildon-banner.c: When realizing the widget, set the window
9062 transiency. Setting the transiency in the gobject constructor is not
9063 good, as the widget is not realized at that point. Fixes: #NB56624.
9065 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9067 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9068 Add padding for future expansions.
9070 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9072 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9073 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9074 will fake an activation on the previous to the last item of the trail, so
9075 the effect can be overrided by the developer as usual.
9076 Also change the callback for the back button to do the same thing, so its
9077 effect can be overrided too. Fixes: NB#58982
9079 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9081 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9082 HildonCaption. Fixes NB#52379.
9084 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9086 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9087 the internal state of the trail after the user has had the chance of executing
9088 his handler for the signal. Specifically, it may happen that the activated button
9089 is removed and the user still lets the default handler run. This would segfault
9092 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9094 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9095 scrollbar to the preview dialog. Fixes NB#54147.
9097 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9099 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9100 max/min year properties can be altered, so the client can modify it
9101 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9103 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9105 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9106 hildonlike by default. Fixing a problem with disappearing arrows when
9107 scrolling through months and years. Fixes NB#54127.
9109 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9111 * examples/hildon-date-editor-example.c: Adding error callback to the date
9114 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9120 * configure.ac: Updating.
9122 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9124 * configure.ac: Adding a special '--enable-xan' configure option that
9125 turns off the -Werror compilation setting. Usefull for development.
9127 * src/hildon-calendar.c:
9128 * src/hildon-number-editor.c:
9129 * src/hildon-time-picker.c: Adding the 5* multiplier to
9132 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9134 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9135 instead of g_object_ref + gtk_object_sink.
9137 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * debian/changelog: Updating.
9145 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9147 * src/hildon-color-chooser-dialog.c:
9148 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9149 straight from Tommi labs.
9151 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9153 * examples/hildon-finger-example.c: Correcting the header file path.
9155 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9156 the changed signal. Fixes a small memory leak.
9158 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9162 * src/hildon-banner.c: Importing several usefull fixes from the
9163 ubuntu-mobile branch.
9165 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9167 * examples/Makefile.am:
9168 * examples/hildon-finger-example.c: Adding a finger-checking code
9171 * src/hildon-font-selection-dialog.c: Do not allocate the color
9172 structure using the g_new. Fixes NB#54061.
9174 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9176 * src/hildon-helper.c: Correcting tabs in file.
9178 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9180 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9181 control the visibility of the children.
9183 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9185 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9191 * debian/changelog: Updating.
9193 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9195 * src/hildon-bread-crumb-trail.c:
9196 (hildon_bread_crumb_trail_size_allocate):
9198 Make the back button always a square.
9200 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9202 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9203 from the .c file as it's a private file.
9205 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9207 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9208 uses slightly bigger height.
9210 * src/hildon-font-selection-dialog.c: Adding some checks before
9211 freeing memory in the font selection dialog.
9213 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9215 * src/hildon-font-selection-dialog.c: Adding a small check when
9218 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9219 buttons sensitivity on page switching.
9221 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9223 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9224 internal details of adding a bread crumb to the trail.
9226 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9232 * debian/changelog: Updating.
9234 * src/hildon-bread-crumb-trail.h:
9235 * src/hildon-bread-crumb.h: Changing the API guard to
9236 HILDON_ENABLE_UNSTABLE_API.
9238 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9246 * src/hildon-helper.h: Updating.
9248 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9256 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9260 * src/hildon-helper.h: Small fix to make the package actually compile.
9262 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9264 * src/hildon-bread-crumb-trail.h:
9265 * src/hildon-bread-crumb.h:
9267 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9268 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9270 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9272 * examples/hildon-bread-crumb-trail-example.c:
9274 * src/hildon-bread-crumb-trail.c:
9275 * src/hildon-bread-crumb-trail.h:
9276 * src/hildon-bread-crumb.c:
9277 * src/hildon-bread-crumb.h:
9278 * src/hildon-marshalers.list:
9279 * src/hildon-bread-crumb-widget.c:
9280 * src/hildon-bread-crumb-widget.h:
9282 Slight change in the widget design. The bread crumb trail API is
9283 unchanged, but HildonBreadCrumb is now an interface. A *private*
9284 implementation, hildon-bread-crumb-widget, is provided and used
9285 internally by the trail for the push_text/push_icon functions.
9287 The generic push API is still available, so anyone can implement
9288 and use its own bread crumb widget.
9290 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9292 * debian/rules: Fixing the shlibs.
9294 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9296 * src/hildon-banner.c: Fixing a problem with timed banners having
9297 their parrent destroyed before they are.
9299 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9301 * src/hildon-bread-crumb.c:
9302 * src/hildon-bread-crumb.h:
9304 Make the get_natural_size function a vfunc.
9306 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9308 * src/hildon-bread-crumb.c:
9309 * src/hildon-bread-crumb-trail.c:
9313 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9320 * debian/changelog: Updating for release.
9322 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9324 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9325 don't leak the pango layout.
9327 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9330 * examples/hildon-bread-crumb-trail-example.c:
9334 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9336 * debian/changelog: Removing the bug-fixed entries that were actually
9337 resolved as WONTFIX.
9339 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9342 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9344 * src/hildon-bread-crumb-trail.c:
9345 * src/hildon-bread-crumb-trail.h:
9346 * src/hildon-bread-crumb.c:
9347 * src/hildon-bread-crumb.h:
9351 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9353 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9354 until it's passed the type check.
9356 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9358 * examples/hildon-bread-crumb-trail-example.c
9362 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9364 * examples/Makefile.am
9365 * examples/hildon-bread-crumb-trail-example.c
9367 * src/hildon-bread-crumb-trail.c
9368 * src/hildon-bread-crumb-trail.h
9369 * src/hildon-bread-crumb.c
9370 * src/hildon-bread-crumb.h
9372 New HildonBreadCrumbTrail widget.
9374 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9376 * src/hildon-range-editor.c (hildon_range_editor_init),
9377 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9378 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9379 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9380 hildon_time_editor_class_init, hildon_time_editor_init),
9381 src/hildon-get-password-dialog.c (invalid_input,
9382 hildon_get_password_set_property, hildon_get_password_get_property,
9383 create_contents, hildon_get_password_dialog_set_max_characters),
9384 src/hildon-set-password-dialog.c (create_contents),
9385 src/hildon-date-editor.c (hildon_date_editor_init),
9386 src/hildon-login-dialog.c (hildon_login_dialog_init),
9387 src/hildon-number-editor.c (hildon_number_editor_init),
9388 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9389 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9390 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9391 configure option and adding the respective checks in the code.
9392 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9393 hildon_calendar_drag_data_received): fixed some build warnings.
9395 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9397 * debian/changelog: A 1.0.0 release notes.