1 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-app-menu.c: Remove leftover function declaration.
5 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
7 Remove the grab from HildonAppMenu
9 * hildon/hildon-app-menu.c:
10 Now hildon-desktop places a blocker window behind the menu to handle
11 its closing, so the grab is no longer needed. This simplifies its
12 implementation and allows the system blanking to succeed.
14 Fixes: NB#130910 (Screen gets unlocked when menu is open)
16 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
20 * configure.ac: bump version
22 * debian/changelog: updates
23 * debian/control: raise debian dependency on GTK+
25 2009-08-04 Alberto Garcia <agarcia@igalia.com>
27 * hildon/hildon-text-view.c
28 * hildon/hildon-entry.c:
29 Remove all placeholder code from HildonEntry and HildonTextView
30 and use the API in GtkEntry and GtkTextView instead.
32 * examples/hildon-entry-example.c
33 * examples/hildon-text-view-example.c
34 * examples/hildon-wizard-dialog-example.c
35 * hildon/hildon-get-password-dialog.c
36 * hildon/hildon-login-dialog.c
37 * hildon/hildon-picker-dialog.c
38 * hildon/hildon-set-password-dialog.c
39 * hildon/hildon-touch-selector-entry.c:
40 Replace all deprecated calls to HildonEntry and HildonTextView
41 with their Gtk counterparts.
43 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
46 2009-08-03 Alejandro G. Castro <alex@igalia.com>
48 * hildon/hildon-pannable-area.c,
49 (hildon_pannable_area_check_move),
50 (hildon_pannable_area_button_release_cb),
51 (hildon_pannable_area_scroll_to): Reverted the priority change of
52 the timeout, in some situations, slow renderers, the click do not
53 make it to the mainloop on time.
55 Fixes NB#131013 (unable to stop panning file manager by tapping on
58 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
60 * configure.ac: bump version
62 * debian/changelog: updates
64 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
66 * hildon/hildon-touch-selector.[ch]
67 (hildon_touch_selector_center_on_index): New method that allows to center
68 on a item not selected
70 Fixes NB#130291 (New HildonTouchSelector API is required to center on
73 2009-07-29 Alberto Garcia <agarcia@igalia.com>
75 * hildon/hildon-text-view.c
76 (+set_logical_color, +hildon_text_view_style_set)
77 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
78 (hildon_text_view_init)
79 * hildon/hildon-entry.c
80 (+set_logical_color, +hildon_entry_style_set)
81 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
82 (hildon_entry_class_init, hildon_entry_init)
83 * hildon/hildon-button.c
84 (+set_logical_font, +set_logical_color)
85 (hildon_button_style_set, hildon_button_init)
86 (hildon_button_set_arrangement, hildon_button_set_style):
87 Remove all calls to hildon_helper_set_logical_font() and
88 hildon_helper_set_logical_color(), which are recursive, from
91 Fixes: NB#123409 (Showing dialog consumes significant amount of
94 2009-07-29 Alejandro G. Castro <alex@igalia.com>
96 * hildon/hildon-pannable-area.c,
97 (hildon_pannable_area_timeout): Added the process updates of the
98 scrollbars window in the pannable.
100 Fixes: NB#130043 (scrollindicator not smooth while panning)
102 2009-07-23 Alejandro G. Castro <alex@igalia.com>
104 * hildon/hildon-pannable-area.c,
105 (hildon_pannable_area_check_move),
106 (hildon_pannable_area_button_release_cb),
107 (hildon_pannable_area_scroll_to): Increased the priority of the
108 timeout this way it is going to be handled before the events.
110 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
114 * configure.ac: bump version
115 * debian/changelog: updates
117 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
119 * hildon/hildon-entry.c: (set_property): Do not allow to set
120 automatic height and use finger height instead, to prevent an to
121 have a smaller size than than its theme pixbuf.
123 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
125 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
127 * configure.ac: postrelease version bump.
128 * debian/changelog: post release version bump
130 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
135 * configure.ac: Bump version.
136 * debian/changelog: Updates.
138 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
140 * hildon/hildon-note.c: (label_size_request): Take the note
141 padding into account when setting the size request.
143 Fixes: NB#127896 (Information notes text truncated)
145 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
147 * configure.ac: postrelease version bump.
148 * debian/changelog: post release version bump
150 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
155 * configure.ac: Bump version.
156 * debian/changelog: Updates.
158 2009-07-16 Alejandro G. Castro <alex@igalia.com>
161 * hildon/hildon-text-view.c,
162 (hildon_text_view_button_press_event): Grabbed the focus in button
163 press, this way we are sure the widget has the focus in the
164 release event, required for HIM.
166 Fixes: NB#121445 (Virtual keyboard opening is not working in same
167 way for each text entry field)
169 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
171 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
172 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
173 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
174 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
175 (hildon_pannable_area_[gs]et_center_on_child_focus)
176 Redefined GtkContainer set-focus-child signal, in order to center
177 properly on a child when it receives the focus. Defined a new property
178 "center-on-child-focus" in order to activate this feature (deactivated
179 by default). Public get/set methods defined to manage the property.
181 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
183 2009-07-14 László Pere <lpere@blumsoft.eu>
185 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
186 the new size is applied.
188 Fixes: NB#124510 (The Application Menu is distorted when switched
189 between portrait and landscape mode)
190 Fixes: NB#115388 (Power key menu does not resize itself)
192 2009-07-01 Alberto Garcia <agarcia@igalia.com>
194 * hildon/hildon-banner.c (hildon_banner_map):
195 Set banner position after mapping.
197 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
199 * configure.ac: postrelease version bump.
200 * debian/changelog: post release version bump
202 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
207 * configure.ac: Bump version.
208 * debian/changelog: Updates.
210 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
212 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
215 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
217 * tests/check-hildon-banner.c
219 * tests/test_suites.h
220 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
221 were testing deprecated functions.
222 * examples/hildon-banner-example.c: typo on button3 type, that causes
223 a fail compiling with --with-examples but without --disable-deprecated
225 Missed commit in order to fix compilation using '--enable-fatal' and
226 '--disable-deprecated' (see previous commit)
228 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
230 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
231 functions with #ifndef HILDON_DISABLE_DEPRECATED
232 * examples/hildon-find-toolbar.c: Protect deprecated
233 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
234 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
235 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
236 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
238 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
239 to allow proper compilation of deprecated functions defined on the header
241 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
243 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
245 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
246 Cache the panning indicator color.,
247 (hildon_pannable_area_style_set): Query the color on style changes.
248 (hildon_pannable_draw_vscroll),
249 (hildon_pannable_draw_hscroll),
250 (hildon_pannable_area_expose_event): Use the cached panning indicator
251 color instead of looking it up on every expose and more.
253 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
255 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
256 (hildon_pannable_draw_hscroll),
257 (hildon_pannable_area_expose_event): Fix the panning indicator color,
258 so that it's "SecondaryTextColor", as desired.
260 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
262 * hildon/hildon-picker-dialog.c:
263 (selection_completed): take into account HILDON_UI_MODE_NORMAL
264 * hildon/hildon-touch-selector.c
265 (hildon_touch_selector_init): Initialize hildon-ui-mode
266 (hildon_touch_selector_row_activated): new callback for the
267 "row-activated" signal, in order to save the last activated
268 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
269 if the current hildon-ui-mode is coherent with the touch selector
270 (hildon_touch_selector_class_init)
271 (hildon_touch_selector_get_property)
272 (hildon_touch_selector_set_property)
273 Added "hildon-ui-mode" property
274 (disconnect_model_handlers): renamed to clean_column
275 (hildon_touch_selector_remove): use clean_column function
276 (_create_new_column): use the hildon-ui-mode to create the treeview, and
277 only select the first element on HILDON_UI_MODE_EDIT
278 (hildon_touch_selector_column_init): Initialize last_activate
279 (hildon_touch_selector_append_column): check that the touch selector
280 is coherent with the current hildon-ui-mode
281 (hildon_touch_selector_get_hildon_ui_mode)
282 (hildon_touch_selector_set_hildon_ui_mode)
283 Added a getter/setter for the hildon-ui-mode property
284 (hildon_touch_selector_get_last_activated_row): Added this method in
285 order to get the last activated row.
286 * examples/hildon-touch-selector-normal-mode-example.c
287 New example, that shows how to use the HildonTouchSelector in
288 HILDON_UI_MODE_NORMAL
290 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
291 Kristian Rietveld <kris@lanedo.com> advices
293 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
295 * hildon/hildon-time-selector.c: (update_format_policy): Do
296 not call update_format_dependant_columns() if not necessary.
297 (update_format_dependant_columns): Remove unnecessary check for
298 the number of columns.
300 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
302 * hildon/hildon-note.c (+hildon_note_constructor),
303 (hildon_note_class_init), (+hildon_note_set_padding),
304 (hildon_note_rebuild): Install a constructor where to set the
305 padding properties in the note, so that it actually works fine.
306 Use hildon_note_set_padding() for this, and also to set it during
309 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
311 * configure.ac: Bump GTK+ requirement to 2.14.3.
312 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
313 when using maemo-gtk to define proper margins for the notes.
315 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
316 with the dialog edge)
318 2009-06-24 Alberto Garcia <agarcia@igalia.com>
320 * hildon/hildon-banner.c
321 (hildon_banner_class_init):
323 (+hildon_banner_size_request):
324 Request always the full width of the screen.
325 (hildon_banner_realize)
326 (-hildon_banner_check_position, hildon_banner_map):
327 hildon_banner_check_position() is not needed in Hildon 2.2.
328 (-hildon_banner_reset_wrap_state)
329 (hildon_banner_constructor, hildon_banner_init):
330 Remove unnecessary calls to hildon_banner_reset_wrap_state()
331 (+banner_do_set_text)
332 (force_to_wrap_truncated):
333 Remove has_been_wrapped and has_been_truncated attributes.
334 (+reshow_banner, hildon_banner_real_show_information)
335 (hildon_banner_show_information_with_markup)
336 (hildon_banner_show_animation, hildon_banner_show_progress)
337 (hildon_banner_set_text, hildon_banner_set_markup):
338 Refactor code. Shrink banner vertically to use the minimum space
339 necessary everytime the text of the label is updated.
340 (screen_size_changed):
341 Call force_to_wrap_truncated() when the size of the screen
344 Fixes: NB#120500 (only device memory connect mmc in use info
345 banner is left aligned)
347 Fixes: NB#120613 (Size of HildonBanner varies depending on
348 previously opened banners)
350 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
352 * hildon/hildon-color-chooser.c
353 (hildon_color_chooser_pointer_motion): Take the widget allocation
356 Fixes: NB#124385 (Unable to select exact point in color mixing box
357 in color palette dialog)
359 2009-06-23 Alejandro G. Castro <alex@igalia.com>
361 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
362 (hildon_pannable_area_dispose)
363 (hildon_pannable_area_button_press_cb)
364 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
365 (hildon_pannable_area_button_release_cb)
366 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
367 New 'panning-started' and 'panning-finished' signals.
369 Fixes: NB#121732 (New feature request: Signal to pannable area
370 that informs when panning is stopped.)
372 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
374 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
375 instead of hardcoded colon.
377 Fixes: NB#124090 (New calendar wizard title is not using
378 ecdg_ti_caption_separator)
380 2009-06-22 David King <davidk@openismus.com>
382 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
383 constants and functions, as well as correct many typos throughout the
386 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
389 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
391 * configure.ac: postrelease version bump.
392 * debian/changelog: post release version bump
394 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
399 * configure.ac: Bump version.
400 * debian/changelog: Updates.
402 2009-06-18 Alberto Garcia <agarcia@igalia.com>
404 * hildon/hildon-window-stack.c
405 (hildon_window_stack_pop_and_push_list):
406 Prevent windows from having the same stack index
408 2009-06-18 Alberto Garcia <agarcia@igalia.com>
410 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
411 Use the index of the previous window rather than the stack length
412 to calculate the new index.
416 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
418 * hildon/hildon-date-selector.c
419 (hildon_date_selector_select_current_date)
420 (hildon_date_selector_get_date)
421 (hildon_date_selector_select_day):
422 Update the documentation: uses always the range (1-31), as it is obvious
423 that the final one will depend on the month and the year, but globally
424 the range is this, in a similar GtkCalendar approach
425 (hildon_date_selector_get_date):
426 Update the documentation: add NULL as a valid value for the day, month
429 Fix some details, after talk with David King on bug MB#4698
431 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
433 * hildon/hildon-touch-selector-entry.c
434 * hildon/hildon-touch-selector.c
435 Update the documentation of the "text-column" property
437 2009-06-18 David King <davidk@openismus.com>
439 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
440 several typos and errors throughout the documentation.
442 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
445 2009-06-18 Alberto Garcia <agarcia@igalia.com>
447 * hildon/hildon-note.c (hildon_note_realize):
448 Make HildonNote support portrait mode.
450 Fixes: NB#123448 (HildonNote is not portrait-friendly)
452 2009-06-17 Alberto Garcia <agarcia@igalia.com>
454 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
455 Document this function
457 2009-06-17 David King <davidk@openismus.com>
459 * hildon/hildon-date-selector.c
460 (hildon_date_selector_select_current_date)
461 (hildon_date_selector_get_date): Update documentation regarding days,
462 as the day of the month is dependent on both the month and the year.
463 (hildon_date_selector_get_date): Fix documentation of output arguments.
465 Fixes: MB#4698 (DateSelector documentation has bad output argument
466 description, and the day depends on both the month and the year)
468 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
470 * hildon/hildon-caption.c: Other documentation fixes to
473 2009-06-17 David King <davidk@openismus.com>
475 * hildon/hildon-caption.c: Minor documentation updates for
476 HildonCaption. Fixes MB#4697.
478 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
480 * doc/hildon-docs.sgml: Add hildon-version section.
481 * doc/hildon-sections.txt:
482 * hildon/hildon-version.h.in: Document versioning macros and
485 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
487 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
488 from HildonPickerDialog section.
490 2009-06-16 Alberto Garcia <agarcia@igalia.com>
492 * hildon/hildon-banner.c (hildon_banner_bind_style)
493 (screen_size_changed, hildon_banner_init)
494 (hildon_banner_real_show_information)
495 (hildon_banner_show_information_with_markup)
496 (hildon_banner_show_animation, hildon_banner_show_progress):
497 Set a different widget name to banners in portrait mode, for them
498 to be themed correctly.
500 2009-06-16 Alberto Garcia <agarcia@igalia.com>
502 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
503 Set a different widget name to notes in portrait mode, for them to
506 Partially fixes: NB#118401 (HildonNote causes unnecessary
509 2009-06-16 Alberto Garcia <agarcia@igalia.com>
511 * hildon/hildon-note.c (hildon_note_class_init)
512 (+hildon_note_size_request, screen_size_changed):
513 Always request the full width of the screen.
515 Fixes: NB#118375 (unnecessary rescaling of images)
517 2009-06-16 Alejandro G. Castro <alex@igalia.com>
519 * hildon/hildon-pannable-area.c,
520 (hildon_pannable_area_init),
521 (hildon_pannable_area_realize): Replaced old code adding flags in
522 the object init, now we add it with the other flags in the realize
525 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
527 * hildon/hildon-note.c: (hildon_note_class_init): Several
528 documentation improvements to the HildonNote widget.
530 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
532 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
534 Fixes: MB#4556 (HildonNoteType is undocumented)
536 2009-06-15 Alberto Garcia <agarcia@igalia.com>
538 * hildon/hildon-picker-button.c:
539 Explain how HildonPickerButton sets the title of its dialog
541 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
542 the title of its dialog)
544 2009-06-15 Alberto Garcia <agarcia@igalia.com>
546 * hildon/hildon-check-button.c:
547 Documentation updates
549 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
552 2009-06-15 Alberto Garcia <agarcia@igalia.com>
555 * hildon/hildon-edit-toolbar-private.h
556 * hildon/hildon-edit-toolbar.c
557 (+hildon_edit_toolbar_set_progress_indicator)
558 (hildon_edit_toolbar_init): Add progress indicator to the
561 * hildon/hildon-gtk.c
562 (hildon_gtk_window_set_progress_indicator):
563 If the window contains a HildonEditToolbar, enable the progress
566 * hildon/hildon-private.h
567 * hildon/hildon-private.c
568 (+hildon_private_create_animation)
569 * hildon/hildon-banner.c
570 (-hildon_banner_create_animation):
571 Moved to hildon-private.c
573 Fixes: NB#102373 (Progress indicator also for the Edit mode
576 2009-06-15 Alberto Garcia <agarcia@igalia.com>
578 * hildon/hildon-app-menu-private.h
579 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
580 (hildon_app_menu_add_filter, +menu_item_button_event)
581 (hildon_app_menu_button_release, hildon_app_menu_init):
582 Make sure that buttons receive 'button-release-event' in spite of
583 the grab held by HildonAppMenu
585 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
587 2009-06-15 Alberto Garcia <agarcia@igalia.com>
589 * hildon/hildon-app-menu.c
590 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
591 New style property to set the size of the group of filter buttons.
593 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
595 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
600 * configure.ac: Bump version.
601 * debian/changelog: Updates.
603 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
605 * hildon/hildon-main.c: Minor documentation fixes.
607 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
609 * doc/hildon-sections.txt:
610 * hildon/hildon-defines.h: Document the defines, organize them,
611 and mark deprecations as such.
613 Fixes: MB#4463 (Hildon size #defines are undocumented)
615 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
617 * hildon/hildon-animation-actor.c:
618 * hildon/hildon-app-menu.c:
619 * hildon/hildon-button.c:
620 * hildon/hildon-date-editor.c:
621 * hildon/hildon-dialog.c:
622 * hildon/hildon-edit-toolbar.c:
623 * hildon/hildon-entry.c:
624 * hildon/hildon-program.c:
625 * hildon/hildon-remote-texture.c:
626 * hildon/hildon-stackable-window.c:
627 * hildon/hildon-text-view.c:
628 * hildon/hildon-touch-selector.c:
629 * hildon/hildon-window-stack.c:
630 * hildon/hildon-window.c:
632 Remove redundant "represents" wording from most of the documentation.
634 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
636 2009-06-12 Alberto Garcia <agarcia@igalia.com>
641 * hildon/hildon-banner-private.h
642 * hildon/hildon-banner.c:
643 Move HildonBannerPrivate to hildon-banner.c and remove
644 hildon-banner-private.h
645 Use a bit field to store private booleans.
647 2009-06-12 Alberto Garcia <agarcia@igalia.com>
649 * hildon/hildon-app-menu.c (hildon_app_menu_map):
650 Don't install a new idle function if there's already one
655 2009-06-11 Alberto Garcia <agarcia@igalia.com>
657 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
658 (+legacy_menu_realized, +legacy_menu_unmapped)
659 (+set_legacy_menu_type):
660 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
661 they can be identified by the window manager.
663 Fixes: NB#101437 (Invoking CSM on the left side of page area is
664 displayed in wrong location)
666 Fixes: MB#4563 (Popup menu won't locate at the left side of the
669 2009-06-11 Alberto Garcia <agarcia@igalia.com>
671 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
673 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
676 2009-06-11 Alberto Garcia <agarcia@igalia.com>
678 * hildon/hildon-code-dialog.c
679 * hildon/hildon-date-editor.c
680 * hildon/hildon-number-editor.c
681 * hildon/hildon-seekbar.c
682 * hildon/hildon-stackable-window.c
683 * hildon/hildon-window.c:
684 Misc documentation updates
686 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
688 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
689 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
691 Fixes: NB#117931 (Theming issues in accounts dialogs)
693 2009-06-09 Alejandro G. Castro <alex@igalia.com>
695 * hildon/hildon-pannable-area.c,
696 (hildon_pannable_area_button_release_cb): Changed the coordinates
697 of the original release in case we want to discard the release,
698 some widgets in Fremantle do not handle the leave-notify.
700 2009-06-09 Alejandro G. Castro <alex@igalia.com>
702 * hildon/hildon-pannable-area.c,
703 (hildon_pannable_area_button_release_cb): Reviewed the logic of
704 the release using the last refactored functions and avoiding the
705 movement if an element was selected.
707 2009-06-09 Alejandro G. Castro <alex@igalia.com>
709 * hildon/hildon-pannable-area.c,
710 (hildon_pannable_area_check_move),
711 (hildon_pannable_area_handle_move),
712 (hildon_pannable_area_motion_notify_cb): Refactored the
713 motion_notify method using a couple of new functions.
715 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
717 * hildon/hildon-date-selector.c:
718 (hildon_date_selector_construct_ui):
719 * hildon/hildon-time-selector.c:
720 (hildon_time_selector_constructor):
721 * hildon/hildon-touch-selector-entry.c:
722 (hildon_touch_selector_entry_set_text_column),
723 (hildon_touch_selector_entry_get_text_column):
724 * hildon/hildon-touch-selector.c: (_default_print_func),
725 (hildon_touch_selector_new_text): Use
726 hildon_touch_selector_set/get_text_column() instead of
727 setting/getting the "text-column" property.
729 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
731 * doc/hildon-sections.txt: Add the new public methods below.
733 * examples/hildon-picker-button-multicolumn-example.c:
734 (create_touch_selector):
735 * examples/hildon-touch-selector-example.c: (create_selector):
736 * examples/hildon-touch-selector-multi-cells-example.c:
738 Use hildon_touch_selector_column_set_text_column()
740 * hildon/hildon-touch-selector-column.h:
741 * hildon/hildon-touch-selector.c:
742 (hildon_touch_selector_column_set_text_column),
743 (hildon_touch_selector_column_get_text_column):
744 Make hildon_touch_selector_column_set/get_column() public, use
745 them in the inline example, document them, and reference to them
748 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
750 * hildon/hildon-time-selector.c: Fix the docs for
751 hildon_time_selector_new_step().
753 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
755 * hildon/hildon-touch-selector.c: Improve the documentation for
756 hildon_touch_selector_append_column().
758 Fixes MB#4641 (Documentation:
759 hildon_touch_selector_append_column() ref-counting)
761 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
763 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
764 Comment out test 5, since the hildon_controlbar_set_range() range
765 check is broken and fixing it would have side effects. Also,
766 this finally fixes make distcheck.
768 Fixes: NB#101420 (Update unit tests and fix make distcheck)
770 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
772 * tests/TEST-CASES.txt: Remove other bogus test.
773 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
774 Remove bogus test that was setting/retrieving a valid value.
776 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
778 * tests/TEST-CASES.txt: Remove bogus tests.
779 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
780 Remove three bogus tests that were actually setting valid colors.
782 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
784 * configure.ac: post release version bump
785 * debian/changelog: post release version bump
787 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
792 * configure.ac: Bump version.
793 * debian/changelog: Updates.
795 2009-06-08 Christian Dywan <christian@lanedo.com>
799 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
800 Correct errors in hildon_format_file-size_for_display and use
801 translations from the hildon-fm package instead of osso-filemanager.
803 2009-06-08 Alejandro G. Castro <alex@igalia.com>
805 * hildon/hildon-pannable-area.c,
806 (hildon_pannable_area_init): Initialized new values to handle the
808 (hildon_pannable_area_adjust_value_changed): Check if the values
809 changed before even call the redraw function.
810 (hildon_pannable_area_size_allocate),
811 (hildon_pannable_axis_scroll),
812 (hildon_pannable_area_scroll),
813 (hildon_pannable_area_jump_to): Improved the diagonal movement
816 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
819 2009-06-08 Alberto Garcia <agarcia@igalia.com>
821 * examples/hildon-banner-example.c:
822 Several style updates
823 (on_animation_clicked, on_animation_idle)
824 (on_progress_clicked, on_progress_idle):
825 Add additional reference for the cases when the parent window is
828 2009-06-08 Alberto Garcia <agarcia@igalia.com>
830 * doc/hildon-sections.txt
831 * hildon/hildon-pannable-area.c
832 * hildon/hildon-banner.h
833 * hildon/hildon-banner.c: Documentation updates.
835 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
838 2009-06-05 Alejandro G. Castro <alex@igalia.com>
840 * hildon/hildon-calendar-popup.h:
841 * hildon/hildon-caption.h:
842 * hildon/hildon-code-dialog.h:
843 * hildon/hildon-controlbar.h:
844 * hildon/hildon-date-editor.h:
845 * hildon/hildon-dialog.h:
846 * hildon/hildon-get-password-dialog.h:
847 * hildon/hildon-hvolumebar.h:
848 * hildon/hildon-login-dialog.h:
849 * hildon/hildon-note.h:
850 * hildon/hildon-number-editor.h:
851 * hildon/hildon-range-editor.h:
852 * hildon/hildon-seekbar.h:
853 * hildon/hildon-set-password-dialog.h:
854 * hildon/hildon-sort-dialog.h:
855 * hildon/hildon-time-editor.h:
856 * hildon/hildon-time-picker.h:
857 * hildon/hildon-volumebar-range.h:
858 * hildon/hildon-volumebar.h:
859 * hildon/hildon-vvolumebar.h:
860 * hildon/hildon-weekday-picker.h:
861 * hildon/hildon-window.h:
862 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
863 macros with the current replacements
865 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
867 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
869 * hildon/hildon-color-button.c (hildon_color_button_init): Use
870 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
871 itself, to make it fit better with Fremantle style.
873 Fixes: NB#109878 (height and width of focus on color icon is not
874 consistent with other item in the application tool bar)
876 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
878 * hildon/hildon-touch-selector.c:
879 (hildon_touch_selector_optimal_size_request): use the current requisition
880 as the base, in order to include any possible extra widget, like the
881 hildon entry on HildonTouchSelectorEntry
883 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
885 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
887 * configure.ac: post release version bump
888 * debian/changelog: post release version bump
890 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
895 * configure.ac: Bump version.
896 * debian/changelog: Updates.
898 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
900 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
902 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
903 to ensure the banner contents are centered, instead of relying on
904 the expand and fill properties in GtkHBox.
905 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
907 Fixes: NB#108265 (Animation banner not properly centered)
909 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
911 * hildon/hildon-pannable-area.c
912 (hildon_pannable_area_initial_effect): Remove the initial_effect
913 management, check initial_hint
914 (hildon_pannable_are_expose_event): Remove the initial_hint management,
915 set initial_effect to FALSE
916 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
917 by launching the fade_timeout if the scrollbars state has changed and are
919 * examples/hildon-pannable-area-initial-hint-example.c
920 Modified to allow to remove rows too. Add and remove rows one by one.
922 2009-05-28 Alberto Garcia <agarcia@igalia.com>
924 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
925 Don't close the menu if there's an animation actor below it.
927 Fixes: NB#117927 (Application menu not usable with animation
930 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
932 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
933 "focus-on-click" from the dialog button, to avoid stealing the
934 focus from the entry.
936 Fixes: NB#118903 (Account setup wizard: Text in Search field
937 should be focused when "Region" touch list picker is reopened
940 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
942 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
943 (prepare_action_area): Completely hide the dialog separator.
945 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
947 * hildon/hildon-touch-selector-entry.c
948 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
949 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
950 now that the entry is exposed.
952 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
954 * hildon/hildon-touch-selector-entry.c
955 (hildon_touch_selector_entry_init): Change the entry's size
956 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
958 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
960 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
961 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
962 avoid unnecessary scaling.
964 2009-05-27 Alberto Garcia <agarcia@igalia.com>
966 * hildon/hildon-app-menu.c (hildon_app_menu_map):
967 Create grab transfer window before calling parent's map function.
969 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
970 "crushed" button(s) in the top left corner)
972 2009-05-26 Alberto Garcia <agarcia@igalia.com>
974 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
975 Check if the window is already realized when pushing it.
977 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
979 * configure.ac: post release version bump
980 * debian/changelog: post release version bump
982 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
987 * configure.ac: Bump version.
988 * debian/changelog: Updates.
990 2009-05-25 Alberto Garcia <agarcia@igalia.com>
992 * hildon/hildon-app-menu.c: Doc updates.
994 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
996 * hildon/hildon-banner.c: Remove leftover macro.
998 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1000 * hildon/hildon-pannable-area.c,
1001 (hildon_pannable_area_scroll_indicator_fade),
1002 (hildon_pannable_area_button_release_cb): Reviewed vmin
1003 conditions, it could cause problems in the fadeout procedure.
1005 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1007 * hildon/hildon-pannable-area.c
1008 (hildon_pannable_area_button_release_cb): Added a threshold to
1009 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1011 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1013 * hildon/hildon-pannable-area.c,
1014 (hildon_pannable_area_set_property): Added code to sync the gtk
1015 dnd threshold with the panning threshold.
1017 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1019 * hildon/hildon-pannable-area.c,
1020 (hildon_pannable_area_class_init): Changed some of the default
1021 values, now it should be less responsive and more accurate.
1023 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1025 * hildon/hildon-pannable-area.c,
1026 (hildon_pannable_area_init),
1027 (hildon_pannable_area_scroll_indicator_fade),
1028 (hildon_pannable_area_button_press_cb),
1029 (hildon_pannable_axis_scroll),
1030 (hildon_pannable_area_timeout),
1031 (hildon_pannable_area_motion_notify_cb),
1032 (hildon_pannable_area_button_release_cb): Changed the name of the
1033 clicked attribute to button_pressed, it is more clear about its use.
1035 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1037 * src/hildon-pannable-area.c
1038 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1040 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1041 vertical scrollbar visibility, and use the data on private section instead,
1042 remove the initial_hint check
1043 (hildon_pannable_area_expose_event): add the initial_hint check here
1045 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1047 * src/hildon-pannable-area.c
1048 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1049 if the fadeout effect was used
1050 (hildon_pannable_area_expose_event): check if it is required to
1051 manage the initial effect on the begining of the function. Previously
1052 it was made at the end, but this doesn't ensure that the scrollbars
1053 will be painted on the first show. Do not set to FALSE initial_effect,
1054 to ensure that the initial hint is showed the first time the pannable
1056 * examples/Makefile.am
1057 * examples/hildon-pannable-area-initial-hint-example.c:
1058 New example, to show that the initial-hint is showed when the widget
1061 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1062 initially if the application can be scrolled)
1064 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1066 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1067 Resize table before adding new items to make sure that
1068 gtk_table_resize() is called just once.
1070 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1072 * hildon/hildon-app-menu-private.h
1073 * hildon/hildon-app-menu.c (item_visibility_changed)
1074 (filter_visibility_changed, hildon_app_menu_show_all)
1075 (hildon_app_menu_hide_all, hildon_app_menu_init):
1076 Rearrange items just once when gtk_widget_show_all()/hide_all()
1079 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1081 * hildon/hildon-app-menu.c
1082 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1083 Don't call gtk_widget_show() on added items.
1085 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1086 automatically when they're added)
1088 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1090 * hildon/hildon-banner.c
1091 (hildon_banner_realize, +hildon_banner_unrealize)
1092 (+screen_size_changed, hildon_banner_class_init):
1093 Redisplay the banner if the screen is rotated.
1095 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1096 on transition from landscape to portrait)
1098 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1100 * hildon/hildon-banner.[ch]:
1101 (hildon_banner_show_information_override_dnd): remove icon_name from the
1102 method definition as it is ignored.
1103 * examples/hildon-banner-dnd-example.c: updated with the change on
1106 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1108 * hildon/hildon-banner-private.h: new require_override_dnd and
1109 overrides_dnd variables
1110 * hildon/hildon-banner.h:
1111 (hildon_banner_show_information_override_dnd): new method, that shows
1112 the information but sets the override flag, in order to show important
1114 * hildon/hildon-banner.c
1115 (hildon_banner_show_information_override_dnd): new method
1116 (hildon_banner_set_override_flag): new utility function
1117 (hildon_banner_real_show_information): new utility function, in order to
1118 generalize the current hildon_banner_show_information_override_dnd and
1119 hildon_banner_show_information_override_dnd
1120 * examples/Makefile.am
1121 * examples/hildon-banner-dnd-example.c: New example that show how to
1122 use the new hildon_banner_show_information_override_dnd
1124 Fixes: NB#114874 (There is no possibility to show hildon banners with
1127 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1129 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1130 behind hildon_pannable_calculate_vel_factor().
1132 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1134 * hildon/hildon-pannable-area.c
1135 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1136 deceleration factors.
1138 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1140 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1141 Reduce the default value for 'scroll_time' to 1 second, since the
1142 current initial scrolling takes too much time.
1144 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1146 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1147 calculate velocity factor during initialization, since the properties
1150 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1152 * hildon/hildon-pannable-area.c
1153 (hildon_pannable_area_set_property): Calculate the velocity factor
1154 after setting the deceleration property and not after.
1156 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1158 * hildon/hildon-entry.c
1159 (hildon_entry_class_init, +set_property, hildon_entry_new)
1160 * hildon/hildon-check-button.c
1161 (hildon_check_button_class_init)
1162 (+set_property, hildon_check_button_new):
1163 Make the theme size a property.
1165 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1166 others) do too much in the _new function)
1168 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1170 * configure.ac: post release version bump
1171 * debian/changelog: post release version bump
1173 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1178 * configure.ac: Bump version.
1179 * debian/changelog: Updates.
1181 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1183 * hildon/hildon-gtk.h
1184 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1185 New API function to take a screenshot of a window
1187 Fixes: NB#106374 (Need API to take a loading screenshot)
1189 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1191 * hildon/hildon-time-selector.c
1192 (update_format_policy): prevent to use hours and minutes unitialized
1194 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1196 * hildon/hildon-window.c (hildon_window_size_request):
1197 Always request the full size of the screen (minus the title bar if
1198 not in fullscreen mode).
1200 Fixes: NB#107486 (HildonWindow should size itself properly)
1202 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1204 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1205 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1206 (on_show_cb), (sound_handling): Disconnect the idle handler for
1207 the sound when the note is finalized to avoid possible crashes.
1209 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1212 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1214 * src/hildon-animation-actor.c,
1215 * src/hildon-remote-texture.c:
1216 Added proper object cleanup to remove signal handler and object
1217 references as HildonAnimationActor and HildonRemoteTexture
1218 objects get destroyed.
1220 Fixes: NB#116682 (Destroying parented animation actors when
1221 parent in unmapped leads to crash)
1223 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1225 Based on a patch by Christian Dywan (christian@imendio.com)
1227 * doc/hildon-sections.txt:
1228 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1229 * hildon/hildon-helper.h: New file size formatting method.
1231 * debian/control: Depend on osso-filemanager l10n package for
1232 proper localization strings.
1234 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1236 * tests/Makefile.am: Include top_srcdir to make possible to build
1237 tests in a different builddir.
1238 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1239 on a different builddir.
1241 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1243 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1244 (hildon_touch_selector_remove): Disconnect model's signal handler
1247 Fixes: NB#116289 (Hildon home crashes while adding task
1250 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1252 * hildon/hildon-button.c
1253 (hildon_button_set_title, hildon_button_set_value):
1254 Hide labels containing an empty string.
1256 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1258 * configure.ac: post release version bump
1259 * debian/changelog: post release version bump
1261 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1266 * configure.ac: Bump version.
1267 * debian/changelog: Updates.
1269 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1271 * hildon/hildon-note-private.h: Removed sound_signal_handler
1272 * hildon/hildon-note.c
1273 (on_show_cb): new callback on note "show" event, this simply adds
1274 a idle, with the function sound_handling
1275 (sound_handling): removed the sound_signal_handler management
1276 (hildon_note_init): connect note "show" event to on_show_cb
1277 (hildon_note_realize): remove the connection to "expose-event"
1279 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1280 device?' confirmation note)
1282 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1284 * hildon/hildon-note.c
1285 (hildon_note_new_information_with_icon_name)
1286 (hildon_note_new_confirmation_with_icon_name):
1287 Terminate the list of parameters in g_object_set() calls
1289 Fixes: NB#115166 (Formatting memory card is not taking place)
1291 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1293 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1294 "dialog-information" role for the sound being played.
1296 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1298 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1299 Don't make the menu a modal window, it causes strange interactions
1300 with the pointer grab and it's not really needed.
1302 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1304 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1306 * hildon/hildon-touch-selector.[ch]
1307 (hildon_touch_selector_optimal_size_request): function added to get a
1308 optimal size request from the touch selector, when you want a dialog to
1309 show as much of the selector
1310 * hildon/hildon-picker-dialog.c:
1311 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1312 (hildon_app_menu_class_init):
1313 New "max-height-landscape" and "max-height-portrait" style properties
1314 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1315 (hildon_picker_dialog_get_max_height): returns the maximum height using
1316 the style properties defined and checking the current portrait/landscape
1318 (_hildon_picker_dialog_set_selector): removed the set_size_request
1320 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1322 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1324 * hildon/hildon-bread-crumb-trail.c:
1325 * hildon/hildon-bread-crumb.c:
1326 * hildon/hildon-seekbar.c:
1327 Add reference to replacements for these deprecated widgets.
1329 Fixes: MB#4461 (Documentation: All deprecations should mention
1332 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1334 * examples/hildon-remote-texture-example.c
1336 Change the include to the hildon-remote-texture in order to compile
1337 properly the examples on the installed libhildon1-examples package
1339 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1341 * tests/Makefile.am: Add check for HildonPickerButton.
1342 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1343 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1344 checks for the HildonPickerButton.
1345 * tests/check_test.c (configure_tests): Add the test suite.
1346 * tests/test_suites.h: likewise.
1348 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1350 * hildon/hildon-touch-selector.c
1351 (+on_row_changed): Emit HildonTouchSelector:changed when the
1352 contents of a selected row change.
1353 (_create_new_column), (_hildon_touch_selector_set_model): connect
1354 to GtkTreeModel:row-changed on a newly set model.
1356 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1358 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1360 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1362 * hildon/hildon-banner.c (hildon_banner_destroy)
1363 (hildon_banner_show_progress, hildon_banner_set_fraction):
1364 Remove the progress bar from HildonBanner and use a progress
1367 Fixes: NB#113761 (Update progress banner to use progress
1370 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1372 * hildon/hildon-banner.c:
1373 Calculate size of the banner label using the actual screen width
1374 rather than using a fixed value.
1376 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1379 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1381 * hildon/hildon-pannable-area.c,
1382 (hildon_pannable_area_class_init): Fixed signals documentation
1385 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1387 * configure.ac: post release version bump
1388 * debian/changelog: post release version bump
1390 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1395 * configure.ac: Bump version.
1396 * debian/changelog: Updates.
1398 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1400 * hildon/hildon-edit-toolbar.c
1401 (hildon_edit_toolbar_init):
1402 Don't let buttons in HildonEditToolbar receive focus.
1404 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1405 typing on an HW arrows key)
1407 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1409 * doc/Makefile.am: Fix build.
1411 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1413 * doc/Makefile.am: Do not redefine content_files.
1415 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1423 Renamed src/ to hildon/
1428 Include <hildon/hildon.h> directly in all examples.
1430 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1432 * src/hildon-sort-dialog.c
1433 (hildon_sort_dialog_add_sort_key_with_sorting)
1437 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1439 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1440 make distcheck passes.
1442 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1444 * Makefile.am: Enable gtk-doc during distcheck.
1446 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1448 * Makefile.am: Do not distribute the debian/ directory.
1450 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1452 * doc/Makefile.am: Add the extra SGML files to content_files,
1453 so that they are distributed properly.
1455 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1457 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1460 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1462 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1463 (hildon_note_new_information_with_icon_name): Set the "icon" property
1464 to preserve soundness.
1466 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1468 * src/hildon-font-selection-dialog.c
1469 (hildon_font_selection_dialog_set_property): Fail when the "family"
1470 property is set to NULL.
1472 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1474 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1477 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1479 * src/hildon-time-selector.h:
1480 Added HildonTimeSelectorFormatPolicy
1481 * src/hildon-time-selector.c:
1482 Added PROP_TIME_FORMAT_POLICY
1483 (_check_ampm_format): renamed to check_automatic_ampm_format
1484 (update_format_policy), (update_format_dependant_columns): new functions
1485 (hildon_time_selector_class_init)
1486 (hildon_time_selector_contructor)
1487 (hildon_time_selector_init)
1488 (hildon_time_selector_get_property)
1489 (hildon_time_selector_set_property)
1490 (hildon_time_selector_get_time)
1491 (hildon_time_selector_set_time)
1492 * src/hildon-touch-selector.h: new file
1493 * src/hildon-touch-selector.c
1494 (hildon_touch_selector_emit_changed)
1495 (hildon_touch_selector_block_changed)
1496 (hildon_touch_selector_unblock_changed)
1497 Added functions to allow to block the emission of the "changed" signal
1498 * src/hildon-picker-dialog.c
1499 (hildon_picker_dialog_show): call the parent show before the custom code
1500 * examples/hildon-time-button-example.c
1501 Modified, so now you can configure the time format using the new property
1503 Added a new property "time-format-policy" that allow to choose the time
1504 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1505 case it uses gconf in order to check if the time selector must use
1508 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1511 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1513 * src/hildon-note.c (hildon_note_init):
1514 Label in HildonNote must be left aligned, not centered. This
1515 reverts the last commit in HildonNote.
1517 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1518 is connectivity dialog)
1520 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1525 * doc/hildon-sections.txt:
1526 Added hildon_gtk_window_set_do_not_disturb()
1528 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1530 * src/hildon-note.c (hildon_note_init): Center label.
1532 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1535 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1540 * configure.ac: Bump version.
1541 * debian/changelog: Updates.
1543 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1545 * src/hildon-note-private.h: Add button-width to the private data.
1546 * src/hildon-note.c (+resize_button),
1547 (+hildon_note_orientation_update): methods to repack widgets on orientation
1549 (screen_size_changed): Call above method for confirmation notes.
1550 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1551 (hildon_note_rebuild): Store the original width request from buttons.
1553 Fixes: NB#109635 (Confirmation notes do not support portrait)
1555 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1557 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1558 when it is a progress note.
1560 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1562 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1563 in the note, since there are no horizontally arranged contents.
1565 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1567 * src/hildon-gtk.c (+set_flag): new generic method to
1568 set/delay a flag setting in a window.
1569 (hildon_gtk_window_set_progress_indicator):
1570 (hildon_gtk_window_set_do_not_disturb),
1571 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1572 avoid code redundance.
1574 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1576 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1578 * src/hildon-gtk.c (set_clear_window_flag),
1579 (do_set_progress_indicator), (do_set_do_not_disturb),
1580 (do_set_portrait_flags),
1581 (hildon_gtk_window_set_progress_indicator),
1582 (hildon_gtk_window_set_do_not_disturb),
1583 (hildon_gtk_window_set_portrait_flags):
1584 Allow setting dnd-flag, progress indicator, and portrait flags
1585 when the window is not realized.
1587 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1589 * src/hildon-pannable-area.c,
1590 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1591 the size request policy function and defines.
1593 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1595 * doc/hildon-sections.txt: Add the new API.
1596 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1597 method to set the portrait flags.
1598 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1600 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1602 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1604 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1605 to allow using this method with other flags.
1606 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1607 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1609 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1611 * src/hildon-touch-selector.c
1612 (hildon_touch_selector_append_text_column):
1613 Make the cell renderer use the smallest width possible.
1615 Fixes: NB#108470 (Selected items in multiple selection are either
1616 having a tick that is cut or not visible at all.)
1618 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1620 * src/hildon-touch-selector.c
1621 (hildon_touch_selector_append_text_column):
1624 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1626 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1627 Use g_strdup_printf() instead of a fixed size buffer.
1629 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1631 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1632 Close banners when a HildonAppMenu is popped up.
1634 Fixes: NB#111027 (Title menu closed immediately if activated when
1635 "Invalid e-mail address" banner is shown)
1637 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1642 * configure.ac: Bump version.
1643 * debian/changelog: Updates.
1645 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1647 * src/hildon-banner.c (hildon_banner_realize):
1648 Mark HildonBanner as supporting portrait mode.
1649 Use GDK to set window properties insetad of direct Xlib calls.
1651 Fixes: NB#111830 (HildonBanner should be marked as supporting
1654 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-note.c (hildon_note_rebuild):
1657 Hide action area in information notes. Prevents text from being
1658 slightly aligned to the left.
1660 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1663 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1665 Patch by Mox Soini (ext-mox.soini@nokia.com)
1667 * src/hildon-banner.c (hildon_banner_create_animation):
1668 Use stylus-sized icons in animation banner.
1670 Fixes: NB#111206 (stylus sized icon for animation banner)
1672 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1676 (+hildon_gtk_window_set_do_not_disturb):
1677 New API to set the do-not-disturb flag.
1679 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1681 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1683 * examples/hildon-progress-indicator-example.c: Fix example
1685 * src/hildon-gtk.c (set_clear_window_flag)
1686 (hildon_gtk_window_set_progress_indicator):
1687 Create a generic function for setting flags to a window.
1688 Use GDK instead of direct Xlib calls.
1690 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1692 * src/hildon-button.c (hildon_button_set_arrangement):
1693 Due to NB#88126, if one of the labels is too long it will be
1694 painted outside the button. The 'value' label is more likely to be
1695 the longest one, so we change its packing options in order to
1696 truncate it if necessary. As a side effect, the 'title' label will
1697 no longer be truncated.
1699 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1701 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1706 * configure.ac: Bump version.
1707 * debian/changelog: Updates.
1709 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1711 Deprecation of the hildon_pannable_area_set_size_request_policy
1712 API, the only policy properly supported in gtk+ nowadays is the
1715 * src/hildon-pannable-area.c,
1716 (hildon_pannable_area_size_request): Added a workaround for the
1717 size_request to avoid the problems of huge pixmaps in case someone
1718 is still using the function.
1719 * src/hildon-pannable-area.h: Deprecated the enum with the
1722 Fixes: NB#110244 (Problems with the
1723 hildon_pannable_area_set_size_request_policy API)
1725 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1727 * src/hildon-pannable-area.c,
1728 (hildon_pannable_area_init),
1729 (hildon_pannable_area_size_request),
1730 (hildon_pannable_area_style_set),
1731 (hildon_pannable_draw_vscroll),
1732 (hildon_pannable_draw_hscroll),
1733 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1734 indicator_width to clarify the use of the attribute.
1736 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1741 * configure.ac: Bump version.
1742 * debian/changelog: Updates.
1744 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1746 * src/hildon-picker-dialog.c
1747 * src/hildon-touch-selector.c
1748 Reverting the change that tried to avoid the hardcoded height on
1749 the picker dialog, as causes problems on the hildon-touch-selector
1752 Fixes: NB#110029 (selectors not scrolling to selected value)
1754 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1756 * src/hildon-touch-selector.c: Fix typos
1758 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1760 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1761 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1762 request more motions after using it.
1764 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/hildon-calendar.c (hildon_calendar_expose),
1767 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1768 Remove unused variables.
1770 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1772 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1773 variable assignment.
1775 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1777 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1778 Check the return value of gtk_tree_selection_get_selected()
1781 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1783 * src/hildon-animation-actor.c
1784 * src/hildon-button.c
1786 * src/hildon-pannable-area.c
1787 * src/hildon-picker-button.c
1788 * src/hildon-program.c
1789 * src/hildon-remote-texture.c
1790 * src/hildon-text-view.c
1791 * src/hildon-touch-selector.c
1792 * src/hildon-window-stack.c
1793 * src/hildon-window.c:
1794 Add missing 'Since: 2.2' tags.
1796 * doc/hildon-sections.txt:
1797 Add some missing symbols.
1799 * doc/hildon-docs.sgml:
1800 New 'Other' section for HildonAnimationActor and
1803 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1805 Patch by Iván Gómez (igomez@igalia.com)
1808 * doc/compiling.sgml
1809 * doc/hildon-docs.sgml
1810 * doc/hildon-sections.txt
1811 * doc/migration.sgml
1812 * doc/resources.sgml
1814 New chapters on using the Hildon library.
1815 Updated the general structure of the reference manual.
1816 Other minor documentation fixes.
1818 * src/hildon-calendar-popup.c
1819 * src/hildon-calendar.c
1820 * src/hildon-controlbar.c
1821 * src/hildon-date-editor.c
1822 * src/hildon-dialog.c
1823 * src/hildon-hvolumebar.c
1824 * src/hildon-number-editor.c
1825 * src/hildon-range-editor.c
1826 * src/hildon-sort-dialog.c
1827 * src/hildon-time-editor.c
1828 * src/hildon-time-picker.c
1829 * src/hildon-volumebar-range.c
1830 * src/hildon-volumebar.c
1831 * src/hildon-vvolumebar.c
1832 * src/hildon-weekday-picker.c:
1833 Add deprecation notes
1835 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1836 Document 'horizontal-movement' and 'vertical-movement' signals.
1838 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1843 * configure.ac: Bump version.
1844 * debian/changelog: Updates.
1846 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1848 * src/hildon-pannable-area.c,
1849 (hildon_pannable_area_class_init): increased the minimum velocity.
1850 (hildon_pannable_area_button_release_cb): Updated the
1851 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1852 setup. Review the code to control that last event.
1854 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1857 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1859 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1861 * src/hildon-get-password-dialog.c
1862 (hildon_get_password_set_property),
1863 (hildon_get_password_get_property), (create_contents):
1864 * src/hildon-login-dialog-private.h:
1865 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1866 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1867 (hildon_login_dialog_get_password):
1868 * src/hildon-set-password-dialog-private.h:
1869 * src/hildon-set-password-dialog.c
1870 (hildon_set_password_set_property),
1871 (hildon_set_password_get_property), (create_contents),
1872 (hildon_set_password_response_change),
1873 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1875 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1876 instead and look more Fremantle style.
1878 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1880 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1882 * doc/hildon-sections.txt
1883 * src/hildon-window-stack.h
1884 * src/hildon-window-stack.c
1885 (+hildon_window_stack_get_windows):
1886 New API to obtain the list of windows on a stack.
1888 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1890 * src/hildon-app-menu.c (hildon_app_menu_popup)
1891 (hildon_app_menu_class_init, -hildon_app_menu_show):
1892 Remove hildon_app_menu_show() and move all its checks to
1893 hildon_app_menu_popup()
1895 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1897 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1898 (_hildon_picker_dialog_set_selector): removed call to
1899 gtk_widget_set_size_request
1900 * src/hildon-touch-selector.c
1901 (_create_new_column): change the pannable size request policy
1903 Avoid to use a hardcoded height for the hildon picker dialog. In order
1904 to get that, we needed to change the hildon pannable size request
1906 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1908 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1910 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1911 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1914 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1916 * debian/control: Depend on osso-system-lock localization package.
1917 * src/hildon-code-dialog.c: Obtain the secu_application_title
1918 translation from osso-system-lock.
1919 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1920 for translation the atk related strings, that's not necessary.
1921 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1922 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1923 cancel button, it is not required.
1925 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1927 * src/hildon-pannable-area.c,
1928 (hildon_pannable_area_class_init): Modified the default value of
1929 the overshooting max speed, we have reduced it.
1931 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1933 * doc/hildon-sections.txt
1934 * src/hildon-window-private.h
1935 * src/hildon-window.h
1936 * src/hildon-window.c (hildon_window_class_init)
1937 (hildon_window_init, hildon_window_finalize)
1938 (hildon_window_realize, hildon_window_get_property)
1939 (hildon_window_set_property, hildon_window_update_markup)
1940 (hildon_window_get_markup, hildon_window_set_markup):
1941 New "markup" property and hildon_window_{get,set}_markup() methods.
1943 * examples/hildon-stackable-window-example.c (new_window):
1944 Update example to use hildon_window_set_markup()
1946 Fixes: NB#106375 (Need API to retitle a window with a title
1949 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1951 * src/hildon-pannable-area.c,
1952 (hildon_pannable_area_class_init): Changed the default value of
1953 the initial_hint to TRUE.
1954 (hildon_pannable_area_initial_effect): Changed the initial effect,
1955 not the effect is just the fade-out of the scrollbars.
1957 Fixes: NB#107775 (No scrollbars can be seen when several items are
1958 available in a dialog)
1960 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1962 * src/hildon-program.c (hildon_program_update_top_most):
1965 Fixes: NB#109179 (Memory leak in Hildon program)
1967 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1969 * src/hildon-banner.c (-get_current_app_window):
1970 Remove unused function.
1972 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1974 * src/hildon-pannable-area.c: Modified the documentation of the
1975 get adjustments functions to explain the problem of using the
1976 adjustment directly.
1977 (hildon_pannable_area_class_init): Improved the explanation about
1980 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1982 * src/hildon-app-menu-private.h
1983 * src/hildon-app-menu.c
1984 (hildon_app_menu_class_init):
1985 Bring back the 'external-border' style property
1986 (hildon_app_menu_class_init, hildon_app_menu_init)
1987 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1988 Set a fixed width-request for the menu, independent of the number
1991 Fixes: NB#94957 (Smoothly opened application menu)
1993 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1995 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1997 * src/hildon-banner.c
1998 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2000 Make sure that the banner is correctly placed the first time it's
2002 (hildon_banner_check_position, -check_fullscreen_state):
2003 Show the banner in the same place no matter if the window is in
2004 fullscreen mode or not.
2006 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2008 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2010 * src/hildon-touch-selector.c (_default_print_func): reorder
2011 concatenation for clarity.
2013 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2015 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2016 for multicolumn selectors.
2018 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2020 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2025 * configure.ac: Bump version.
2026 * debian/changelog: Updates.
2028 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2030 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2033 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2035 * configure.ac: removed libcangerra-gtk dependency
2036 * debian/control: removed libcanberra-gtk dependency
2037 * src/Makefile.am: removed libcanberra gtk related flags
2038 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2039 context, and manage a global canberra context instead
2041 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2043 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2045 Patch by Daniel Borgmann (danielb@openismus.com)
2047 * src/hildon-edit-toolbar.c:
2048 Adjust the left padding.
2049 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2050 Paint background of the edit toolbar.
2052 Fixes: NB#107897 (Patch to make editmodetoolbar background
2053 themeable and adjust margin)
2055 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2057 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2059 * src/hildon-program.c (hildon_program_update_top_most):
2060 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2062 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2063 change when the user tasks in/out of an application)
2065 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2067 * configure.ac: added libcangerra-gtk dependency
2068 * debian/control: added libcanberra-gtk dependency
2069 * src/Makefile.am: added libcanberra gtk related flags
2070 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2073 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2075 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2077 * src/hildon-program.c (hildon_program_remove_window)
2078 (hildon_program_add_window): Add checks for the window
2079 parameter. Don't decrease the window counter if the window is not
2082 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2084 * src/hildon-pannable-area.c,
2085 (hildon_pannable_area_realize): Fixed position of the event_window
2086 in the realize method.
2088 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-app-menu-private.h
2091 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2092 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2093 (hildon_app_menu_key_press, hildon_app_menu_init)
2094 (hildon_app_menu_finalize):
2095 Make sure that all idle functions are removed when the widget is
2098 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2100 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2105 * configure.ac: Bump version.
2106 * debian/changelog: Updates.
2108 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2110 * src/hildon-entry.c
2111 (+hildon_entry_show_placeholder),
2112 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2113 that replace hildon_entry_update_contents().
2114 (hildon_entry_set_text),
2115 (hildon_entry_set_placeholder),
2116 (hildon_entry_focus_in_event),
2117 (hildon_entry_focus_out_event): Determine when it is needed
2118 either to show or hide the placeholder and call the above methods.
2120 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2121 when the placeholder text is already set)
2123 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2125 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2126 simple GdkPixbufAnim using the new icons for the banner.
2127 (hildon_banner_show_animation): Use the above mentioned method to
2128 create the animation widget.
2130 Fixes: NB#103564 (Make hildon animation banner use individual
2131 image files as the animation)
2133 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2135 * src/hildon-pannable-area.c,
2136 (hildon_pannable_leave_notify_event): Check if the child is NULL
2137 to avoid sending the leave.
2139 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2141 * src/hildon-pannable-area.c,
2142 (hildon_pannable_area_class_init),
2143 (hildon_pannable_leave_notify_event): Added a handler of the
2144 leave-notify-signal to consider when no motion notify before
2147 Fixes: NB#107494 (Items stay selected when clicking and moving
2148 away when inside pannable area)
2150 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2155 * configure.ac: Bump version.
2156 * debian/changelog: Updates.
2158 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2160 Patch by Alberto Garcia (agarcia@igalia.com)
2162 * src/hildon-date-button.c,
2163 (hildon_date_button_class_init),
2164 (hildon_date_button_init): Removed the construct property handling
2165 and created a default selector in the init method.
2166 * src/hildon-picker-button.c,
2167 (hildon_picker_button_class_init): Removed the construct flag of the
2170 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2172 * src/hildon-main.c (hildon_init):
2173 Don't allow hildon_init() to be called more than once.
2175 Fixes: NB#106607 (hildon_init should issue error message upon
2178 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2180 * examples/hildon-pannable-area-touch-list-example.c
2181 * examples/hildon-pannagle-area-touch-grid-example.c
2182 * examples/hildon-edit-toolbar-example.c
2183 * examples/hildon-touch-selector-multi-cells-example.c
2184 Removed the call to gtk_rc_parse_string, as it is not required since
2187 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2189 * src/hildon-pannable-area.c,
2190 (hildon_pannable_area_class_init): Modified the default panning
2191 threshold of the widget to 6px.
2193 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2194 than the threshold value ) within the button is not sending the
2197 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2199 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2200 for the treeview in the new column. This way, the touch list will never
2203 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2204 be selected manually for the HW keys to work)
2206 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2209 comparison instead of using strcmp(). Fixes a compiler warning as well.
2211 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2213 * doc/hildon-docs.sgml: Do not set the library version in the
2214 document title, use the releaseinfo tag for that purpose instead.
2216 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2218 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2219 Do not jump to the first item if the text in the entry is removed.
2221 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2226 * configure.ac: Bump version.
2227 * debian/changelog: Updates.
2229 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2231 * src/hildon-entry.c (hildon_entry_refresh_contents):
2232 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2233 Use "ReversedSecondaryTextColor" for the placeholder text.
2235 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2237 * src/hildon-text-view.c: Fix compilation warning.
2239 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2241 * src/hildon-button.c (hildon_button_class_init): Don't make
2242 "title" and "value" construction properties, to prevent them from
2243 overwriting labels set from derived classes.
2245 * src/hildon-picker-button.c
2246 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2247 (hildon_picker_button_class_init): Make touch-selector a
2248 construction property.
2250 * src/hildon-date-button.c (hildon_date_button_class_init)
2251 (+hildon_date_button_constructed): Add a default date selector if
2254 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2256 * src/hildon-touch-selector.c: Small documentation fixes.
2258 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2260 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2262 * src/hildon-entry.c (hildon_entry_refresh_contents),
2263 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2264 widget name, set the logical color directly instead and a boolean
2265 showing_placeholder instead.
2266 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2267 use the widget name here either.
2269 Fixes: NB#105678 (HildonTextView should use logical colours
2270 instead of setting widget name)
2272 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2274 Patch by Daniel Elster (danielk@openismus.com)
2276 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2277 Add user_data parameter.
2278 (hildon_touch_selector_set_print_func_full): New function akin
2279 hildon_touch_selector_set_print_func() but with support for user
2280 data and a destroy callback.
2281 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2282 to clean up the print function user data.
2283 (hildon_touch_selector_class_init): Install dispose function.
2284 (HildonTouchSelectorPrivate::print_user_data),
2285 (HildonTouchSelectorPrivate::print_destroy_func): New private
2287 (hildon_touch_selector_init): Initialize new private members.
2288 (hildon_touch_selector_get_current_text): Pass along user data
2289 to the print function.
2290 (_default_print_func): Add dummy user_data to parameter list.
2291 * hildon-date-selector.c (_custom_print_func): ditto,
2292 * hildon-time-selector.c (_custom_print_func): ditto,
2293 * hildon-touch-selector-entry.c
2294 (hildon_touch_selector_entry_print_func): ditto.
2296 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2298 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2300 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2302 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2304 * src/hildon-pannable-area.c,
2305 (hildon_pannable_area_init),
2306 (hildon_pannable_area_button_press_cb),
2307 (hildon_pannable_area_motion_notify_cb): We have added code to
2308 handle the leave and enter events when using the motion events.
2310 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2312 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-date-button.c (hildon_date_button_get_date)
2315 (hildon_date_button_set_date): Make sure that the button has a
2318 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2320 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2322 * src/hildon-pannable-area.c,
2323 (hildon_pannable_area_class_init),
2324 (hildon_pannable_area_calculate_velocity): Modify the use of the
2325 force and adapt the value.
2327 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2329 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2330 (hildon_app_menu_class_init): Hide the menu if it receives a
2331 delete-event, but don't destroy it
2333 Fixes: NB#104485 (Not able to address the call when application
2334 menu is opened at background)
2336 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2338 * src/hildon-app-menu.c
2339 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2340 Remove the "external-border" style property, let the menu take its
2341 natural size (or the one set by the window manager)
2342 (hildon_app_menu_repack_items):
2343 Don't reshow the menu, avoid flickers.
2345 Partially fixes NB#94957 (Smoothly opened application menu)
2347 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2352 * configure.ac: Bump version.
2353 * debian/changelog: Updates.
2355 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2357 * src/hildon-pannable-area.c,
2358 (hildon_pannable_area_motion_notify_cb): We control that the
2359 direction error margin is used just in case the movement is
2360 allowed in the other direction.
2362 Fixes: NB#105012 (buttons inside a pannable area not getting
2363 release event when dragging/releasing)
2365 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2367 * src/hildon-pannable-area.c,
2368 (hildon_pannable_area_class_init),
2369 (hildon_pannable_area_get_property),
2370 (hildon_pannable_area_set_property),
2371 (hildon_pannable_area_initial_effect),
2372 (hildon_pannable_axis_scroll),
2373 (hildon_pannable_area_button_release_cb): Reviewed the
2374 overshooting effect, now it has its own max
2375 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2376 speed when bouncing.
2378 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2383 * configure.ac: Bump version.
2384 * debian/changelog: Updates.
2386 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2388 * src/hildon-pannable-area.c,
2389 (hildon_pannable_area_class_init): Changed the max speed, now
2390 users can launch the widget very fast. Reduced the default force,
2391 that way it is easier to control the launch speed.
2393 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2395 * src/hildon-pannable-area.c,
2396 (hildon_pannable_area_button_release_cb): Removed this check
2397 because it causes problems when the device is overloaded.
2399 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2401 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2402 add a current_text field to store the text entered in the
2403 touch selector entry.
2404 (_clean_current_selection): clean up the current text as well.
2405 (_save_current_selection), (_restore_current_selection):
2406 Save/restore the text in the entry if the selector is a
2407 HildonTouchSelectorEntry.
2409 Fixes: NB#102541 (value entered in the touch selector entry is not
2410 shown when opened for second time)
2412 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2414 * doc/hildon-sections.txt:
2415 * src/hildon-touch-selector-entry.c
2416 (+hildon_touch_selector_entry_get_entry):
2417 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2419 Fixes: NB#104815 (I need accessor to the entry inside
2420 HildonTouchSelectorEntry)
2422 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2424 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2425 (hildon_app_menu_class_init):
2426 New "filter-vertical-spacing" style property.
2428 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-find-toolbar.c
2431 (hildon_find_toolbar_emit_close)
2432 (hildon_find_toolbar_emit_invalid_input)
2433 (hildon_find_toolbar_entry_activate):
2434 Use g_signal_emit() instead of g_signal_emit_by_name()
2436 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2438 Patch by Mox Soini (ext-mox.soini@nokia.com)
2440 * tests/TEST-CASES.txt
2441 * tests/check-hildon-banner.c
2442 * tests/check-hildon-note.c
2443 * src/hildon-banner.c
2444 * src/hildon-code-dialog.c
2445 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2446 * src/hildon-time-editor.c
2447 * examples/hildon-lookup-example.c (main):
2448 Replace obsolete icon names with new ones.
2450 * src/hildon-find-toolbar-private.h:
2451 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2452 (-hildon_find_toolbar_emit_search):
2453 Remove find button and change icon of close button.
2455 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2457 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2459 * src/hildon-time-button.c (hildon_time_button_new_step):
2460 Use the "touch-selector" property to set the selector directly
2461 when creating the object.
2463 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2465 Added a new example application that allows tuning the pannable
2466 area and replaced defines with properties in order to simplify the
2467 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2468 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2469 PROP_DIRECTION_ERROR_MARGIN.
2471 * examples/hildon-pannable-area-tuning-example.c: New example
2473 * src/hildon-pannable-area.c,
2474 (hildon_pannable_area_class_init),
2475 (hildon_pannable_area_init),
2476 (hildon_pannable_area_get_property),
2477 (hildon_pannable_area_set_property),
2478 (hildon_pannable_area_launch_fade_timeout),
2479 (hildon_pannable_area_adjust_value_changed),
2480 (hildon_pannable_axis_scroll),
2481 (hildon_pannable_area_motion_notify_cb),
2482 (hildon_pannable_area_scroll_cb),
2483 (hildon_pannable_area_button_release_cb): We have converted some
2484 of the defines that control the widget to properties to simplify
2487 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-app-menu.c (hildon_app_menu_map)
2490 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2491 so it's closed if a new window appears.
2493 Fixes: NB#104485 (Not able to address the call when application
2494 menu is opened at background)
2496 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2498 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2499 missing 'break' statement in in 'case' construct to avoid
2502 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2504 * src/hildon-touch-selector-entry.c
2505 (hildon_touch_selector_entry_get_property),
2506 (hildon_touch_selector_entry_set_property): Add missing 'break'
2507 statements in in 'case' constructs to avoid incorrect warnings.
2509 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2511 * src/hildon-time-editor.c
2512 (hildon_time_editor_get_time_separators): Do not crash if
2513 the first label is NULL.
2515 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2517 * src/hildon-date-selector.c (_month_days): Check for month to be
2518 strictly less than 12, since otherwise we may overrun the array.
2520 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-date-button.c (+hildon_date_button_new_full)
2523 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2524 (hildon_date_button_init): Set the date selector using a
2525 construction property, to make it happen after HildonButton's
2526 "value" property is set.
2528 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2529 current date by default)
2531 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2533 * doc/hildon-sections.txt
2534 * src/hildon-program.c
2535 * src/hildon-stackable-window.c
2536 * src/hildon-window.c:
2537 Documentation updates
2539 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2541 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2542 (hildon_window_stack_new, +hildon_window_stack_set_property)
2543 (+hildon_window_stack_get_property)
2544 (hildon_window_stack_class_init)
2545 (+hildon_window_stack_set_window_group)
2546 (+hildon_window_stack_get_window_group):
2547 Make the window group a construction property.
2549 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2551 * doc/hildon-sections.txt
2552 * src/hildon-stackable-window-private.h
2553 * src/hildon-stackable-window.h
2554 * src/hildon-stackable-window.c
2555 (-hildon_stackable_window_set_app_menu)
2556 (-hildon_stackable_window_get_app_menu)
2557 (-hildon_stackable_window_toggle_menu)
2558 (-hildon_stackable_window_finalize)
2559 (hildon_stackable_window_class_init)
2560 (hildon_stackable_window_init)
2561 * src/hildon-window-private.h
2562 * src/hildon-window.h
2563 * src/hildon-window.c (hildon_window_init)
2564 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2565 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2566 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2567 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2568 Moved all HildonAppMenu code to HildonWindow. The menu does not
2569 require a HildonStackableWindow anymore.
2571 * src/hildon-app-menu.c
2572 * src/hildon-program.c
2573 * examples/hildon-app-menu-example.c (main):
2574 Update examples and documentation to reflect HildonAppMenu
2577 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2579 * src/hildon-remote-texture.c
2580 * src/hildon-animation-actor.c:
2581 Don't include unused private headers.
2583 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2585 * src/hildon-program-private.h
2586 * src/hildon-program.c
2587 (hildon_program_set_common_menu)
2588 (hildon_program_get_common_menu)
2589 (hildon_program_set_common_app_menu)
2590 (hildon_program_get_common_app_menu):
2591 Change common menu pointers from GtkWidget* to GtkMenu* and
2592 HildonAppMenu* to avoid unnecessary casts.
2594 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2596 * src/hildon-window.c (hildon_window_set_main_menu):
2597 Removed incorrect 'Since:' tag
2599 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2601 * src/hildon-pannable-area.c,
2602 (hildon_pannable_area_calculate_velocity): We use now the
2603 RATIO_TOLERANCE here to check the distance, fixed typo in the
2605 (hildon_pannable_area_motion_notify_cb): We have to set the type
2606 and time even if we are not sending the motion.
2608 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2610 * doc/hildon-sections.txt
2611 * src/hildon-app-menu.h
2612 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2613 (+hildon_app_menu_get_filters): New methods to get the contents of
2616 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2619 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2621 * src/hildon-app-menu.c (hildon_app_menu_popup):
2624 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2626 * src/hildon-window.h
2627 * src/hildon-window.c (+hildon_window_get_main_menu)
2628 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2629 and deprecated hildon_window_get_menu().
2631 * src/hildon-stackable-window.h
2632 * src/hildon-stackable-window.c
2633 (+hildon_stackable_window_set_app_menu)
2634 (+hildon_stackable_window_get_app_menu)
2635 (hildon_stackable_window_set_main_menu): Created
2636 hildon_stackable_window_{get,set}_app_menu() and deprecated
2637 hildon_stackable_window_set_main_menu().
2639 * doc/hildon-sections.txt
2640 * examples/hildon-app-menu-example.c (main)
2641 * src/hildon-app-menu.c
2642 * src/hildon-program.c:
2643 Updated examples and documentation.
2645 Fixes: NB#103758 (No way to obtain a menu from a
2646 HildonStackableWindow)
2648 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2653 * configure.ac: Bump version.
2654 * debian/changelog: Updates.
2656 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2658 * examples/hildon-remote-texture-example.c: Include
2659 hildon-remote-texture.h explicitely.
2660 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2661 applications not defining _XOPEN_SOURCE which don't require this header.
2663 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2665 * doc/hildon-sections.txt
2666 * src/hildon-app-menu.h
2667 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2668 New function to pop up a HildonAppMenu
2670 * src/hildon-stackable-window.c
2671 (hildon_stackable_window_toggle_menu):
2672 Use hildon_app_menu_popup() to show the menu.
2674 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2676 * src/hildon-app-menu.c (hildon_app_menu_show)
2677 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2678 menu if there's another window between it and its parent window.
2680 Fixes: NB#100468 (Application menu window is launched even when a
2681 new secondary-window/dialog is pending to be shown/realized)
2683 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2685 * src/hildon-window-stack.c (hildon_window_stack_push)
2686 (hildon_window_stack_pop_and_push):
2687 Don't forget to push/pop the first window.
2688 Reverse the window list before calling _push_list()
2690 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2692 * src/hildon-picker-button.h
2693 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2694 Remove "value_changed" slot to avoid ABI breakage
2696 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2698 * src/hildon-pannable-area.c,
2699 (hildon_pannable_area_realize),
2700 (hildon_pannable_area_unrealize),
2701 (hildon_pannable_draw_vscroll),
2702 (hildon_pannable_draw_hscroll): Changed the method to handle the
2703 GC used to draw the transparent scrollbar, this way we avoid
2704 creating the GC all the time when drawing the scrollbars.
2706 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2708 * src/hildon-pannable-area.c,
2709 (hildon_pannable_area_init),
2710 (hildon_pannable_area_remove): Removed some unnecessary casts.
2711 (hildon_pannable_area_dispose): Disconnected some signals before
2712 releasing the adjustments.
2714 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2716 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2717 Make sure that all widgets contained in the toolbar are shown.
2719 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2721 * doc/hildon-sections.txt
2722 * src/hildon-picker-button.h
2723 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2724 (_selection_changed, hildon_picker_button_on_dialog_response)
2725 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2726 New hildon_picker_button_value_changed() method.
2729 * src/hildon-picker-button-private.h
2730 * src/hildon-picker-button.c (hildon_picker_button_init)
2731 (+hildon_picker_button_disable_value_changed): Add protected
2732 function for disabling the "value-changed" signal.
2734 * src/hildon-date-button.c (hildon_date_button_set_date):
2735 Don't emit "value-changed" for each one of the three columns.
2737 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2738 before actual change of values)
2740 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2742 * src/hildon-pannable-area.c,
2743 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2744 for the treeview overshooting.
2746 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2748 * src/hildon-banner.c (+hildon_banner_bind_style):
2749 Renamed from hildon_banner_bind_label_style(), now naming the
2750 banner itself as well.
2751 (hildon_banner_show_information),
2752 (hildon_banner_show_information_with_markup),
2753 (hildon_banner_show_animation), (hildon_banner_show_progress):
2754 Name the widgets and labels, based on their type.
2756 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2759 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2761 * src/hildon-note.c (hildon_note_set_property): call
2762 hildon_note_rename() on HildonNote:note-type set.
2763 (hildon_note_rename): Name the note and its label, based on the
2764 HildonNote:note-type property.
2766 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2769 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2771 * src/hildon-pannable-area.c,
2772 (hildon_pannable_area_class_init),
2773 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2774 panning parameters, increased SPS and deceleration factor. Added
2775 also a margin to control fake directions.
2777 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2779 Patch by Sven Herzberg (sven@imendio.com)
2781 * configure.ac: Add missing AM_PROG_CC_C_0
2782 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2784 See NB#101420 (Update unit tests and fix make check)
2786 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2788 This patch was applied before but reverted because it caused
2789 problems, we have changed the main condition and tested the
2790 regressions we detected before and they work ok. We have done a
2791 complete review of the topmost algorithm in order to get a more
2794 * src/hildon-pannable-area.c,
2795 (hildon_pannable_area_get_topmost): Added a new parameter to
2796 filter the the windows that do not include those events.
2797 (hildon_pannable_area_button_press_cb),
2798 (hildon_pannable_area_button_release_cb),
2799 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2800 topmost function, we have added the new parameter.
2802 Fixes: NB#97458 (Pannable area prevents propagation of button
2805 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2807 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2808 if all columns in the selector have an item selected.
2809 (_on_dialog_response): Stop "response" signal emission if there is
2810 any selector column without selected items.
2812 Fixes: NB#101889 (Picker dialog should not close when nothing is
2813 selected in multiple selection list)
2815 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2817 * src/hildon-font-selection-dialog.c
2818 (hildon_font_selection_dialog_class_init),
2819 (hildon_font_selection_dialog_init): Remove the preview
2820 button and dialog, since previewing with default theming is likely
2821 to be overcomplicated. The :preview property has now no effect.
2822 Update documentation blurbs to inform about this.
2824 Fixes: NB#92297 (Preview content is not clearly visible for
2825 default colour text)
2827 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2829 Reviewed the geometry that handles the children size and
2830 scrollbar, now it tries a size and reviews the results depending
2831 on the scrollbars visibility.
2833 * src/hildon-pannable-area.c,
2834 (hildon_pannable_area_realize): Fixed a typo.
2835 (hildon_pannable_area_child_allocate_calculate): Added this
2836 function to calculate the child allocation.
2837 (hildon_pannable_area_size_allocate): Reviewed the allocation
2839 (hildon_pannable_area_check_scrollbars),
2840 (hildon_pannable_area_refresh): Refactored refresh function, this
2841 way we can call the code handling the scrollbars without causing a
2842 size_request, it is interesting in the allocate.
2843 (hildon_pannable_area_init): Replace the callbacks of the
2844 value_changed and changed signals to propertly deal with the
2846 (hildon_pannable_area_grab_notify),
2847 (hildon_pannable_area_initial_effect),
2848 (hildon_pannable_area_launch_fade_timeout),
2849 (hildon_pannable_area_adjust_changed),
2850 (hildon_pannable_area_adjust_value_changed),
2851 (hildon_pannable_area_redraw),
2852 (hildon_pannable_area_button_press_cb),
2853 (hildon_pannable_area_button_release_cb),
2854 (hildon_pannable_area_scroll_cb),
2855 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2856 code and use the new functions adjust_changed and
2857 adjust_value_changed.
2859 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2860 Contact editor dialog)
2862 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2867 * configure.ac: Bump version.
2868 * debian/changelog: Updates.
2870 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2872 * src/hildon-pannable-area.c,
2873 (hildon_pannable_area_get_topmost),
2874 (hildon_pannable_area_button_press_cb),
2875 (hildon_pannable_area_button_release_cb),
2876 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2877 topmost function adding the event mask. We have to try a
2878 differente approach because it is still causing problems (NB#9745,
2881 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2883 * src/hildon-banner.c:
2884 Update the maximum width of timed banners.
2885 (force_to_wrap_truncated): Enforce the maximum text width if the
2888 Fixes: NB#102413 (The text margins (wrapping) in information
2889 banner should be HILDON_MARGIN_TRIPLE)
2891 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2893 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2895 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2896 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2897 bound when calculating the scroll indicator position.
2899 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2900 treat ->lower correctly)
2902 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2904 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2905 expose event handling, since it is not necessary to draw the focus
2908 Fixes: NB#102467 (Do not show highlight on the text in
2911 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2913 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2914 full height of the toolbar for the button and the label.
2916 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2918 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2919 padding before the label and after the button.
2921 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2925 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2926 Add a GtkVSeparator between the button and the back arrow.
2927 Let the button have automatic size.
2928 Set a name to the widget for theming handling.
2930 Fixes: NB#101793 (Make edit toolbar the same height as window
2931 title bar (use title area theming))
2933 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2935 * src/hildon-helper.c (attach_new_color_element): Fix memory
2938 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2940 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2942 * examples/hildon-button-example.c (common_buttons_window): Don't
2945 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2947 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2948 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2950 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-gtk.c: Check that the window is realized.
2954 Fixes: NB#102225 (Crash setting the progress indicator to a non
2957 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2959 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2960 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2961 instead of modifying the one in the widget style.
2963 Fixes: NB#101043 (Second row of all the command button are
2964 displayed in transparent mode.)
2966 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2968 * src/hildon-date-button.c
2969 * src/hildon-time-button.c: Add gettext macros
2971 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2973 * src/hildon-date-button.c (hildon_date_button_new):
2974 * src/hildon-time-button.c (hildon_time_button_new_step):
2975 Use new logical strings to set the button default title.
2977 Fixes: NB#99915 (Date and Time options are not localised in Date
2980 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2982 * src/hildon-pannable-area.c
2983 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2984 the PANNING_THRESHOLD.
2986 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2988 * src/hildon-pannable-area.c,
2989 (hildon_pannable_area_class_init): Increased the maximum speed.
2990 (hildon_pannable_area_get_property),
2991 (hildon_pannable_area_set_property),
2992 (hildon_pannable_area_timeout): Added a new low friction mode, it
2993 allows the user avoid friction when launching the widget fast
2994 enough. It is interesting to traverse long lists.
2996 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2998 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2999 (+hildon_stackable_window_delete_event): Ignore delete events if
3000 the window is not the topmost one.
3002 Fixes: NB#101698 (Back button long press and delete-event handling)
3004 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3006 * src/hildon-pannable-area.c,
3007 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3008 gtk-dnd-drag-threshold, it was too big. We have defined our own
3009 dnd define and set a smaller value: PANNIG_THRESHOLD.
3011 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3013 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3014 user-defined icons, use always the default one.
3016 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3018 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3020 This patch was applied before but reverted because it caused
3021 problems, we have changed the main condition and tested the
3022 regressions we detected before and they work ok.
3024 * src/hildon-pannable-area.c,
3025 (hildon_pannable_area_get_topmost): Added a new parameter to
3026 filter the the windows that do not include those events. Added
3027 also a condition when finding the window to filter windows that do
3028 not ask for those events.
3029 (hildon_pannable_area_button_press_cb),
3030 (hildon_pannable_area_button_release_cb),
3031 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3032 topmost function, we have added the new parameter.
3034 Fixes: NB#97458 (Pannable area prevents propagation of button
3037 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3039 * tests/check-hildon-color-button.c (START_TEST): do not leak
3042 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3044 * src/hildon-font-selection-dialog.c
3045 (hildon_font_selection_dialog_get_preview_text): Return NULL
3046 instead of FALSE on the g_return_val_if_fail().
3048 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3050 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3051 * src/hildon-date-selector.c
3052 (hildon_date_selector_select_current_date):
3053 Do not compare unsigned integers to be greater than or equal 0,
3054 because it's always TRUE.
3056 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3058 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3059 (hildon_date_selector_constructor): Do not select the current
3060 date until we are handle the "changed" signal, to avoid having bogus
3061 elements in the days model.
3063 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3065 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3066 for num_days, since _month_days() can return a negative value.
3068 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3070 * src/hildon-caption.c (hildon_caption_size_allocate):
3071 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3072 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3074 Initialize allocation variables to 0, to avoid eventually using
3075 unitialized variables.
3077 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3079 * src/hildon-bread-crumb-trail.c
3080 (hildon_bread_crumb_trail_size_allocate):
3081 * src/hildon-calendar.c (hildon_calendar_set_background):
3082 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3083 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3084 * src/hildon-seekbar.c (hildon_seekbar_init):
3085 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3086 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3087 * src/hildon-touch-selector-entry.c
3088 (hildon_touch_selector_get_text_from_model):
3089 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3090 * src/hildon-window.c (hildon_window_finalize):
3092 Remove many unused variables.
3094 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3096 * src/hildon-seekbar.c: (hildon_seekbar_init),
3097 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3099 Remove unnecessary g_assert() calls.
3101 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3103 * src/hildon-caption.c: (hildon_caption_expose),
3104 (hildon_caption_set_property), (hildon_caption_init),
3105 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3106 (hildon_caption_size_request), (hildon_caption_size_allocate),
3107 (hildon_caption_forall), (hildon_caption_set_separator),
3108 (hildon_caption_activate), (hildon_caption_set_child_expand),
3109 (hildon_caption_set_label_text),
3110 (hildon_caption_get_label_alignment):
3112 Remove unnecessary g_assert() calls.
3114 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3116 * src/hildon-banner.c
3117 (hildon_banner_map, hildon_banner_init): Make banner temporary
3118 before mapping it to avoid closing other temporary windows, but
3119 make it non-temporary afterwards to avoid being closed by other
3120 non-temporary windows.
3121 (-hildon_banner_client_event, hildon_banner_init):
3122 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3124 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3127 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3129 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3132 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3134 * src/hildon-remote-texture.c
3135 * src/hildon-remote-texture.h
3136 * src/hildon-remote-texture-private.h
3137 * examples/hildon-remote-texture-example.c:
3138 Updates/fixes to remote-texture and its example.
3140 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3142 Patch by Mox Soini (ext-mox.soini@nokia.com)
3144 * src/hildon-code-dialog.c: Update logical id.
3145 * src/hildon-set-password-dialog.c: Update logical id.
3147 Fixes: NB#100646 (Logical strings is shown for ok in set
3148 password,Password needed dialogs)
3150 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3153 * src/hildon-remote-texture.c
3154 * src/hildon-remote-texture.h
3155 * src/hildon-remote-texture-private.h
3157 Added remote texture widget (for Clutter shared memory textures)
3159 * examples/hildon-remote-texture-example.c
3160 * examples/Makefile.am
3161 Added example file for remote texture usage
3163 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3165 * configure.ac: post release version bump.
3166 * debian/changelog: version bump.
3168 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3173 * configure.ac: Bump version.
3174 * debian/changelog: Updates.
3176 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3178 * src/hildon-date-selector.c (hildon_date_selector_init)
3179 (hildon_date_selector_constructor): Don't connect to the "changed"
3180 signal until the selector is completely constructed.
3182 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3184 * src/hildon-touch-selector.c: (_create_new_column),
3185 (hildon_touch_selector_append_column),
3186 (hildon_touch_selector_set_column_selection_mode),
3187 (hildon_touch_selector_set_active),
3188 (hildon_touch_selector_select_iter):
3189 Emit the HildonTouchSelector::changed signal every time selection
3190 is changed in any of the methods above. This behavior was already
3191 documented but not fully functional.
3193 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3194 selection is programmatically changed)
3196 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3198 * doc/hildon-sections.txt: Remove obsolete icon
3199 sizes from here as well.
3201 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3203 * examples/hildon-stackable-window-example.c (add_window): Remove
3206 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-app-menu.c
3209 (hildon_app_menu_show): Check whether the parent window of a menu
3210 is topmost before popping it up.
3212 Fixes: NB#100468 (Application menu window is launched even when a
3213 new secondary-window/dialog is pending to be shown/realized.)
3215 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3217 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3220 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3222 Patch by Mox Soini (ext-mox.soini@nokia.com)
3224 * src/hildon-banner.c: (hildon_banner_show_animation):
3225 use stylus size instead of obsolete note size.
3226 * src/hildon-defines.h: Update icon sizes.
3228 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3230 * src/hildon-touch-selector-entry.c:
3231 (hildon_touch_selector_entry_init): Disable unsupported
3233 (hildon_touch_selector_entry_get_text_column): Emit a warning
3234 if an unsupported input modes is used and explicitile state
3235 these modes in the documentation.
3237 Fixes: NB#99802 (Hildon touch selector entry not working properly
3238 for some of the input modes)
3240 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3242 * src/hildon-pannable-area.c,
3243 (hildon_pannable_area_init): Added the changed signal handlers of
3246 Fixes: NB#100320 (HildonPannableArea does not listen to
3247 GtkAdjustment "change" signals)
3249 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3251 * doc/hildon-sections.txt
3252 * src/hildon-window-private.h
3253 * src/hildon-window.h
3254 * src/hildon-window.c (hildon_window_init)
3255 (hildon_window_realize, hildon_window_unrealize)
3256 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3257 (hildon_window_size_request, hildon_window_size_allocate)
3258 (hildon_window_forall, hildon_window_show_all)
3259 (hildon_window_destroy, +paint_edit_toolbar)
3260 (+hildon_window_set_edit_toolbar):
3261 New hildon_window_set_edit_toolbar() method, to add a
3262 HildonEditToolbar to a window without having to pack it manually.
3264 Reorganize hildon_window_size_allocate()
3266 * src/hildon-edit-toolbar.c: Update documentation.
3268 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3269 example to use the new API.
3271 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3273 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3275 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3276 Remove from stack before calling parent's hide.
3278 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3280 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3281 window is removed from the middle of the stack, update the
3282 transiency of the previous one.
3284 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3287 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3289 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3290 block/unblock the signal handler if it's not actually being used.
3291 Fixes some critical warnings.
3293 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3295 Based on a patch by Iván Gómez (igomez@igalia.com)
3297 * src/hildon-banner.c
3301 * src/hildon-pannable-area.c
3302 * src/hildon-picker-dialog.c
3303 * src/hildon-wizard-dialog.h
3304 * src/hildon-wizard-dialog.c: Documentation updates.
3306 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3307 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3309 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3311 * configure.ac: post release version bump.
3312 * debian/changelog: version bump.
3314 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3319 * configure.ac: Bump version.
3320 * debian/changelog: Updates.
3322 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3324 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3325 a stock icon nor change the relief of the back arrow.
3327 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3328 graphics from theme)
3330 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3332 * src/hildon-button.c (hildon_button_set_alignment): Use
3333 priv->alignment if the button has no child yet.
3335 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3337 * src/hildon-button.c: (hildon_button_init): Set the
3338 button style during initialization to give it the proper
3341 Fixes: NB#99713 (HildonButton value label color is wrong)
3343 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3345 * src/hildon-touch-selector.c: Document
3346 hildon_touch_selector_center_on_selected()
3348 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3350 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3351 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3352 all menu items, but not the menu itself.
3353 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3354 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3355 items after adding them to the menu so keyboard accelerators work.
3356 (hildon_app_menu_show): Don't show the menu if it contains items
3357 but none of them are visible.
3359 * examples/hildon-app-menu-example.c (create_menu): Use
3360 gtk_widget_show_all() to show all menu items.
3362 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3364 * src/hildon-picker-dialog.c:
3365 (-_update_title_on_selector_changed_cb),
3366 (-_dialog_update_title): Removed.
3367 (_select_on_selector_changed_cb), (_on_dialog_response),
3368 (on_selector_columns_changed): Do not update the dialog title.
3369 (setup_interaction_mode): Do not connect to
3370 HildonTouchSelector::changed signal if there's a "done" button, as
3371 the dialog title doesn't need to be updated.
3373 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3376 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3378 Patch by Kristian Rietveld (kris@imendio.com)
3380 * src/hildon-touch-selector.c: (_create_new_column): Use new
3381 GtkTreeView::hildon-row-tapped signal to react to user interactions
3382 instead of ::changed.
3384 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3385 with some dynamic tree model)
3387 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3389 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3390 (+screen_size_changed, +label_size_request)
3391 (hildon_note_class_init): Make the Hildon information note have a
3392 minimum height, and make its text hvae a maximum width.
3394 Fixes: NB#98614 (Hildon information note (background) should have
3395 minimum height and maximum text width)
3397 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3399 * src/hildon-banner.h
3400 * src/hildon-banner.c (hildon_banner_show_information)
3401 (hildon_banner_show_informationf)
3402 (hildon_banner_show_information_with_markup): Update documentation
3403 to reflect that the icon_name parameter is not used anymore.
3404 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3405 Remove all code from these functions and mark them as deprecated.
3406 (hildon_banner_show_progress): Mark as deprecated.
3408 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3410 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3412 * src/hildon-pannable-area.c,
3413 (hildon_pannable_area_class_init),
3414 (tranparency_color),
3415 (hildon_pannable_draw_vscroll),
3416 (hildon_pannable_draw_hscroll),
3417 (hildon_pannable_area_expose_event): Added a new way to render the
3418 scrollbars of the pannable area avoiding using cairo at all. This
3419 way we improve the performance of the pannable area rendering. The
3420 cairo rendering procedure is still in the code, we can control
3421 which one to use changing the value of the define
3422 USE_CAIRO_SCROLLBARS.
3424 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3426 * configure.ac: post release version bump.
3427 * debian/changelog: version bump.
3429 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3434 * configure.ac: Bump version.
3435 * debian/changelog: Updates.
3437 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3439 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3440 banners instead of destroying them when they receive a button
3443 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3445 Reverted commit 34028, it was causing regressions, probably the
3446 topmost condition is not correct, we have to check it in more
3447 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3448 propagation of button press events)
3450 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3452 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3453 that the selection is not empty before attempting to retrieve the
3454 current ampm selection.
3456 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3458 * src/hildon-picker-button.c:
3459 (hildon_picker_button_on_dialog_response): Directly update the
3460 button contents when required instead of calling _selection_changed.
3462 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3464 * src/hildon-program.c (hildon_program_update_top_most): Update
3465 'is-topmost' property also when wm_hints is not set.
3467 Fixes: NB#98383 (is-topmost signal is not emitted when task
3468 switcher is clicked.)
3470 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3472 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3476 * src/hildon-animation-actor.c,
3477 * src/hildon-animation-actor.h: Added the animation actor class,
3478 this widget represents an animation actor for WM-assisted
3479 animation effects in the Hildon framework.
3481 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3483 * src/hildon-window-stack-private.h
3484 * src/hildon-window-stack.c
3485 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3486 Avoid calling gtk_widget_show() again indirectly from
3487 hildon_stackable_window_show()
3489 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3491 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3494 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3496 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3497 (hildon_time_selector_init): Move the construction of the hours and
3498 ampm columns to the constructor to preserve the order the columns
3501 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3503 * src/hildon-picker-dialog.c:
3504 (hildon_picker_dialog_class_init): Connect a realize method.
3505 (+hildon_picker_dialog_realize): Setup the interaction mode here
3507 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3508 yet, do it during the realize instead.
3509 (_on_dialog_response):
3510 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3511 if the widget is not realized, to avoid the dialog response before it
3514 Avoid premature responses in the HildonPickerDialog that can cause it
3515 to be hidden before it's even shown.
3517 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3519 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3520 (on_selector_columns_changed), (requires_done_button),
3521 (+prepare_action_area), (setup_interaction_mode),
3522 (_hildon_picker_dialog_set_selector):
3524 Split the interaction mode setup into preparation of the
3525 action area (prepare_action_area()) and the connection of
3526 the signals in setup_interaction_mode() and update the code to
3529 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3531 * src/hildon-pannable-area.c,
3532 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3533 per second to 15, we will check if this is ok regarding
3536 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3538 * src/hildon-pannable-area.c,
3539 (hildon_pannable_axis_scroll): Avoid resize if we already have
3540 reached overshoot_max.
3542 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3544 * src/hildon-pannable-area.c,
3545 (hildon_pannable_area_init),
3546 (hildon_pannable_area_realize),
3547 (hildon_pannable_area_size_allocate),
3548 (hildon_pannable_area_map),
3549 (hildon_pannable_area_unmap),
3550 (hildon_pannable_draw_vscroll),
3551 (hildon_pannable_draw_hscroll),
3552 (hildon_pannable_area_expose_event),
3553 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3554 pannable are to avoid the expose events go to the window and
3555 redraw the window. We save this way that part of the stack and the
3556 paint_boxes. We had to change the positions of the elements when
3559 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3561 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3562 * src/hildon-color-chooser-dialog.c:
3563 (hildon_color_chooser_dialog_init):
3564 * src/hildon-font-selection-dialog.c:
3565 (hildon_font_selection_dialog_init),
3566 (hildon_font_selection_dialog_show_preview):
3567 * src/hildon-get-password-dialog.c:
3568 * src/hildon-login-dialog.c:
3569 * src/hildon-set-password-dialog.c:
3570 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3571 * src/hildon-time-picker.c: (hildon_time_picker_init):
3573 Remove obsolete logical string IDs and update to the appropriate ones.
3575 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3577 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3579 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3580 that happens if the window hasn't been realized yet.
3582 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3583 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3585 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3587 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3588 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3591 Fixes: NB#98537 (Device hangs in account settings dialog)
3593 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3595 * configure.ac: post release version bump.
3596 * debian/changelog: version bump
3598 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3603 * configure.ac: Bump version.
3604 * debian/changelog: Updates.
3606 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3608 Added a new function to the HildonTimeButton widget that allows to
3609 change the step of the minutes in the selector associated with the
3610 button: hildon_time_button_new_step
3612 * src/hildon-time-button.c,
3613 (hildon_time_button_init),
3614 (hildon_time_button_new),
3615 (hildon_time_button_new_step):
3616 * src/hildon-time-button.h: Added the new function and refactored
3618 * examples/hildon-time-button-example.c,
3619 (main): We have replaced the function without parameters with the
3620 function with the steps set to 5
3622 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3624 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3626 * src/hildon-time-selector.c,
3627 (hildon_time_selector_class_init),
3628 (hildon_time_selector_constructor),
3629 (hildon_time_selector_get_property),
3630 (hildon_time_selector_set_property),
3631 (_create_minutes_model),
3632 (hildon_time_selector_new_step),
3633 (hildon_time_selector_set_time),
3634 * src/hildon-time-selector.h: Added a new property to the
3635 HildonTimeSelector (minutes-step), we use that property to control
3636 the steps between the minutes in the list of the selector. We have
3637 added a new function to the API to create a widget changing the
3638 step: hildon_time_selector_new_step.
3640 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3642 * src/hildon-time-selector.c,
3643 (hildon_time_selector_class_init),
3644 (hildon_time_selector_constructor),
3645 (hildon_time_selector_init): Overrided the construct function when
3646 creating the time selector object. We have moved the minutes model
3647 handling code from the init to the new construction function:
3648 hildon_time_selector_constructor.
3650 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3652 * examples/hildon-date-button-example.c: (main): Use the new
3653 hildon_date_button_new_with_year_range() method in the example.
3654 * src/hildon-date-button.c:
3655 (+hildon_date_button_new_with_year_range): New public method
3656 to conveniently create a HildonDateButton with a custom year range
3657 in its HildonDateSelector.
3658 * src/hildon-date-button.h: Add the new public method definition.
3660 Fixes: NB#97908 (Not possible to change the year range in
3661 HildonDateSelector/HildonDateButton)
3663 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3665 * src/hildon-date-selector.c:
3666 (+hildon_date_selector_set_property),
3667 (+hildon_date_selector_get_property),
3668 (hildon_date_selector_class_init): Install new properties "min-year"
3669 and "max-year" to define boundaries for the year column.
3670 (_create_year_model): Use the boundary properties to populate the model.
3671 (+hildon_date_selector_new_with_year_range): New public method to
3672 create a HildonDateSelector with a user defined year range.
3673 (hildon_date_selector_select_current_date): Use the new boundaries to
3674 calculate the iterator of current year.
3675 * src/hildon-date-selector.h: Add the new public method definition.
3677 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3680 Install a constructor method.
3681 (+hildon_date_selector_construct_ui): construct the widget.
3682 (+hildon_date_selector_constructor): new constructor.
3683 (+hildon_date_selector_init): move out widget construction code to
3684 the new constructor.
3686 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3688 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3689 that there's actually a month or year selected before obtaining them.
3690 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3691 of the HildonTouchSelector::changed signal, as it was emitted on every
3692 single item selection.
3694 Fix some warnings and possible crashers due to the selection restoring.
3696 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3698 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3699 the signal handlers only after creating the dialog instead of on every
3702 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3704 * src/hildon-button.c (hildon_button_init)
3705 * src/hildon-check-button.c (hildon_check_button_init)
3706 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3707 focus when clicked by default.
3709 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3711 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3714 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3716 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3717 Alejandro G. Castro (alex@igalia.com)
3719 * src/hildon-picker-dialog.c:
3720 (hildon_picker_dialog_class_init): install new "center-on-show"
3722 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3723 (hildon_picker_dialog_set_property): add setter code for the new
3725 (hildon_picker_dialog_get_property): add getter code for the new
3727 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3728 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3731 Fixes: NB#92849 (Selected item is not always visible when
3732 HildonTouchSelector is shown)
3734 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3736 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3737 Alejandro G. Castro (alex@igalia.com)
3739 * src/hildon-touch-selector.c:
3740 (_create_new_column): Do not connect to the "realize" signal of the
3742 (hildon_touch_selector_append_column): center on the selected items
3743 when a new column is appended.
3744 (hildon_touch_selector_select_iter): Factor out the code to select a
3745 column to hildon_touch_selector_scroll_to().
3746 (+search_nearest_element): Method to retrieve the nearest selected
3747 element to the visible area of the pannable area in a column.
3748 (+on_realize_cb): scroll to the initially selected item.
3749 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3750 the pannable area is realized, otherwise delay this until it is.
3751 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3752 selected items of a given column.
3753 (+hildon_touch_selector_center_on_selected): Public method to center
3754 all columns on the nearest selected item.
3755 * src/hildon-touch-selector.h: Add definition for
3756 hildon_touch_selector_center_on_selected().
3758 Implement public API to ensure visibility of all selected items in
3759 a HildonTouchSelector.
3761 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3763 Fixed a problem in the fading when calling the scroll_to API, and
3764 improve scrollbar fading handling.
3766 * src/hildon-pannable-area.c,
3767 (hildon_pannable_area_grab_notify): avoid the timeout when the
3769 (hildon_pannable_area_button_press_cb),
3770 (hildon_pannable_area_motion_notify_cb): Code style changes.
3771 (hildon_pannable_area_button_release_cb): Review the conditions
3772 when releasing the mouse button to avoid unrequired fading
3774 (hildon_pannable_area_scroll_to): Do not calculate and set the
3775 velocity if the scroll is not required.
3777 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3780 Don't check whether the new selector is NULL: it cannot be.
3781 Hold a reference to the selector while doing the replacement.
3783 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3785 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3786 unnecessary size_request in a removed widget.
3788 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3790 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3791 an unnecessary reference tracking that was leaking.
3793 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3795 Added delayed motion notify event handling, this way we can
3796 discard redrawing if more than 25 events arrive per second.
3798 * src/hildon-pannable-area.c,
3799 (hildon_pannable_area_init): Initialized the new private atributes
3800 controlling this timeout
3801 (hildon_pannable_area_dispose): Remove the timeout that controls
3802 the motion notify events.
3803 (hildon_pannable_area_scroll): Added a condition to control the
3804 use of the acceleration.
3805 (hildon_pannable_area_motion_event_scroll_timeout),
3806 (hildon_pannable_area_motion_event_scroll): Added this two
3807 functions, they handle the motion notify events inside the
3809 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3810 to the scroll method with the new function.
3811 (hildon_pannable_area_button_release_cb): We have to remove the
3812 timeout handler and move to the last position if the last motion
3813 events were not handled.
3815 Fixes: NB#97028 (Pannable area updates on every motion event)
3817 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3819 * src/hildon-pannable-area.c,
3820 (hildon_pannable_area_get_topmost): Added a new parameter to
3821 filter the the windows that do not include those events. Added
3822 also a condition when finding the window to filter windows that do
3823 not ask for those events.
3824 (hildon_pannable_area_button_press_cb),
3825 (hildon_pannable_area_button_release_cb),
3826 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3827 topmost function, we have added the new parameter.
3829 Fixes: NB#97458 (Pannable area prevents propagation of button
3832 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3834 * src/hildon-pannable-area.c,
3835 (hildon_pannable_area_initial_effect): Added controls before
3836 launching the timeout and the idle functions.
3837 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3838 of the method, in some situations it can return with TRUE and 0 in
3840 (hildon_pannable_area_button_press_cb): We do not need to set
3841 DELAY for fading out here.
3843 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3845 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3847 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3848 post-cleaning if the selection is not NULL.
3850 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3852 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3853 all items before restoring the selection.
3855 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3857 * src/hildon-touch-selector.c:
3858 (+hildon_touch_selector_unselect_all):
3859 * src/hildon-touch-selector.h: New API to unselect all items in a
3860 column of the touch selector.
3862 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3864 * src/hildon-pannable-area.c,
3865 (hildon_pannable_area_redraw): Added a call to the refresh
3866 function inside the redraw because apparently in some cases the
3867 change in the adjustment does not imply a size allocate.
3869 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3870 despite the view not being scrollable)
3872 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3874 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3875 leak. Check for NULL before attempting to set the window title.
3877 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3879 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3880 whether to show or not the 'Done' button each time the dialog is
3881 shown, as it depends on the HildonTouchSelector selection mode.
3883 Fixes: NB#96226 (In multiple selection mode Done button is shown
3884 sometimes in listpicker)
3886 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3888 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3889 for the number of columns in the HildonTouchSelector more than once.
3891 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3893 * src/hildon-touch-selector.c: Minor documentation fixes.
3895 * src/hildon-picker-dialog.c (+_dialog_update_title)
3896 (_select_on_selector_changed_cb)
3897 (_update_title_on_selector_changed_cb)
3898 (on_selector_columns_changed): Update dialog title when there's no
3899 'Done' button and also when the number of columns in the selector
3903 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3904 (+_selection_changed, hildon_picker_button_on_dialog_response)
3905 (hildon_picker_button_selector_selection_changed)
3906 (+hildon_picker_button_selector_columns_changed)
3907 (hildon_picker_button_set_selector): Update button value and emit
3908 'value-changed' when the number of columns in the selector
3912 Fixes: NB#96225 (Dialog titles are not shown according to the
3913 values selected in the list picker)
3915 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3917 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3918 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3919 New "arrow-width" and "arrow-height" style properties to set the
3920 size of the arrow button.
3921 Set name of arrow button ("hildon-edit-toolbar-arrow").
3923 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3924 graphics from theme)
3926 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3928 * src/hildon-picker-button.c:
3929 (hildon_picker_button_selector_selection_changed): Use
3930 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3931 the dialog is present.
3933 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3934 the selection is accepted in the dialog)
3936 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3938 * src/hildon-color-chooser.h
3939 * src/hildon-color-chooser-dialog.h:
3940 Added G_BEGIN_DECLS and G_END_DECLS
3942 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3944 (_clean_current_selection): plug a leak in the list.
3946 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3948 * src/hildon-picker-dialog.c:
3949 (+free_path_list): Method to free a GList of GtkTreePaths.
3950 (_clean_current_selection), (_save_current_selection),
3951 (_restore_current_selection): Save the current selection in
3952 as a list of lists, to support multiple selection properly.
3954 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3956 patch by Claudio Saavedra (csaavedra@igalia.com)
3958 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3959 Store the press position.
3960 (+hildon_text_view_button_release_event): If the release position is
3961 close enough to the press position, move the cursor here. Otherwise,
3963 (hildon_text_view_class_init): Override GtkTextView press, release, and
3964 motion event handlers, disabling this way text selection through
3965 pointer interaction, and allowing the container widget to handle the
3968 Fixes: NB#95828 (HildonTextView functionality)
3970 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3972 Based on a patch by Iván Gómez (igomez@igalia.com)
3974 * src/hildon-button.[ch]
3975 * src/hildon-calendar.c
3976 * src/hildon-check-button.c
3977 * src/hildon-date-editor.c
3978 * src/hildon-date-selector.c
3979 * src/hildon-picker-button.c
3980 * src/hildon-time-editor.c
3981 * src/hildon-time-selector.c
3982 * src/hildon-touch-selector.[ch]:
3983 Documentation updates
3985 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3987 * src/hildon-pannable-area.c,
3988 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3989 threshold, it was required due to X events handling.
3991 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3993 * src/hildon-pannable-area.c,
3994 (hildon_pannable_area_grab_notify),
3995 (hildon_pannable_area_initial_effect),
3996 (hildon_pannable_area_button_press_cb),
3997 (hildon_pannable_area_button_release_cb),
3998 (hildon_pannable_area_scroll_cb),
3999 (hildon_pannable_area_scroll_to): Review the timeout management of
4000 the scrollbar, the frecuency was incorrectly set.
4002 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4004 * src/hildon-picker-button.c:
4005 (+hildon_picker_button_on_dialog_response),
4006 (hildon_picker_button_clicked): Present the dialog instead of
4007 running it with gtk_dialog_run().
4009 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4012 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4014 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4015 (hildon_app_menu_finalize): When a window is hidden it doesn't
4016 emit notify::is-topmost, so make sure than the menu also
4017 disappears in that case.
4018 (parent_window_topmost_notify): Renamed from parent_window_hidden
4020 Fixes: NB#94460 (stackable window's menu is not closed when its
4023 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4025 * src/hildon-touch-selector-entry.c:
4026 (+hildon_touch_selector_entry_set_input_mode),
4027 (+hildon_touch_selector_entry_get_input_mode):
4028 * src/hildon-touch-selector-entry.h: New methods to access the input
4029 mode in the selector's entry.
4031 Fixes: NB#93410 (API required for setting IM mode in
4032 HildonTouchSelectorEntry)
4034 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4036 * configure.ac: post release version bump.
4037 * debian/changelog: version bump
4039 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4044 * configure.ac: Bump version.
4045 * debian/changelog: Updates.
4047 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4049 * src/hildon-touch-selector.c:
4050 (_hildon_touch_selector_has_multiple_selection): No need
4051 to initialize the variables here.
4053 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4055 * src/hildon-note-private.h
4056 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4057 (hildon_note_finalize, hildon_note_rebuild): Close information
4058 notes when they receive a button press.
4060 Fixes: NB#89890 (Information notes does not get disappeared after
4063 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4065 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4066 mark from the wizard title, as it's not really necessary. Also,
4067 do not display the page title if not set.
4069 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4071 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4072 (parent_window_hidden): Use the window's "is-topmost" property to
4073 detect when to hide the menu.
4075 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4077 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4078 (hildon_app_menu_finalize): If the parent window of the menu is
4079 hidden, hide the menu too.
4081 Fixes: NB#94460 (stackable window's menu is not closed when its
4084 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4087 * debian/libhildon1-examples.install
4089 * examples/Makefile.am:
4090 Use dh_install to install all examples.
4091 Use DEB_SRCDIR instead of defining SOURCE_DIR
4093 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4095 * configure.ac: post release version bump.
4096 * debian/changelog: version bump
4098 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4103 * configure.ac: bump version
4104 * debian/changelog: updates
4105 * debian/control: bump gtk+ dependency
4107 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4109 patch by Christian Dywan (christian@imendio.com)
4111 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4112 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4114 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4116 * src/hildon-check-button.c (hildon_check_button_init)
4117 (hildon_check_button_class_init, hildon_check_button_style_set)
4118 (hildon_check_button_apply_style):
4119 New "checkbox-size" style property.
4121 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4122 larger / configurable size)
4124 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4126 * configure.ac: post release version bump.
4127 * debian/changelog: version bump
4129 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4134 * configure.ac: bump version
4135 * debian/changelog: updates
4137 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4139 * doc/hildon-sections.txt
4140 * src/hildon-pannable-area.c
4141 * src/hildon-program.c
4142 * src/hildon-time-editor.c
4143 * src/hildon-touch-selector-entry.c:
4145 More documentation updates.
4147 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4149 * doc/hildon-sections.txt
4150 * src/hildon-caption.c
4151 * src/hildon-code-dialog.c
4152 * src/hildon-color-button.c
4153 * src/hildon-controlbar.c
4154 * src/hildon-date-editor.c
4155 * src/hildon-date-selector.c
4156 * src/hildon-edit-toolbar.c
4157 * src/hildon-find-toolbar.c
4158 * src/hildon-font-selection-dialog.c
4160 * src/hildon-program.c
4161 * src/hildon-range-editor.c
4162 * src/hildon-seekbar.c
4163 * src/hildon-time-editor.c
4164 * src/hildon-time-selector.c
4165 * src/hildon-volumebar-range.c
4166 * src/hildon-volumebar.c
4167 * src/hildon-vvolumebar.c
4168 * src/hildon-weekday-picker.c
4169 * src/hildon-window.c
4170 * src/hildon-wizard-dialog.c:
4172 Lots of documentation fixes.
4174 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4176 Patch contributed by Iván Gómez (igomez@igalia.com)
4178 * src/hildon-check-button.c:
4179 * src/hildon-date-button.c:
4180 * src/hildon-date-selector.c:
4181 * src/hildon-dialog.c:
4182 * src/hildon-edit-toolbar.c:
4183 * src/hildon-entry.c:
4184 * src/hildon-picker-button.c:
4185 * src/hildon-program.c:
4186 * src/hildon-text-view.c:
4187 * src/hildon-time-button.c:
4188 * src/hildon-touch-selector-entry.c:
4189 * src/hildon-window-stack.c:
4191 Add more "since" tags to the new API.
4193 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4195 * doc/hildon-sections.txt: Add below method.
4196 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4197 version for the hildonized scale.
4198 * src/hildon-gtk.h: Add the definition.
4200 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4202 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4204 * doc/hildon-sections.txt: Add missing entries for new methods.
4206 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4208 Added API to pannable are in order to get its adjustments. We
4209 added two properties to manage the values we had in the private
4212 * src/hildon-pannable-area.c:
4213 (hildon_pannable_area_class_init): Added hadjustment and
4214 vadjustment properties in order to expose horizontal and vertical
4216 (hildon_pannable_area_get_property),
4217 (hildon_pannable_area_set_property): Added code to handle the new
4219 (hildon_pannable_area_get_hadjustment),
4220 (hildon_pannable_area_get_vadjustment): API functions to get the
4222 * src/hildon-pannable-area.h:
4223 (hildon_pannable_area_get_hadjustment),
4224 (hildon_pannable_area_get_vadjustment): API functions to get the
4227 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4229 Fixed some leaks, after valgrinding.
4231 * src/hildon-touch-selector.c:
4232 (_default_print_func): Fixed a leak.
4233 (hildon_touch_selector_append_column): Fixed a leak.
4234 * src/hildon-date-button.c:
4235 (hildon_date_button_init): Fixed a leak.
4236 * src/hildon-date-selector.c
4237 (hildon_date_selector_finalize): Fixed a leak.
4239 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4241 Based on a patch by Christian Dywan (christian@imendio.com)
4243 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4245 * src/hildon-gtk.h: Add definition.
4247 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4249 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4251 * src/hildon-picker-button.c: (hildon_picker_button_init),
4252 (hildon_picker_button_new): Set the HildonButton::style property
4253 in the init method, to propagate the value to the derived classes.
4255 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4257 * src/hildon-button.c: (hildon_button_class_init): Do not make
4258 the "style" property a construct property.
4260 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4262 * src/hildon-wizard-dialog.h
4263 * src/hildon-wizard-dialog.c
4264 (hildon_wizard_dialog_set_forward_page_func)
4265 * src/hildon-pannable-area.h
4266 * src/hildon-pannable-area.c
4267 (hildon_pannable_area_set_size_request_policy):
4268 Documentation fixes.
4270 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4272 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4274 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4276 * doc/hildon-sections.txt: Added sections file.
4278 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4281 * src/*.[ch]: Updates.
4283 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4285 * examples/hildon-progress-indicator-example.c: new file
4286 * examples/Makefile.am: include the new example program
4288 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4290 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4292 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4294 * configure.ac: post release version bump
4295 * debian/changelog: version bump
4297 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4302 * configure.ac: bump version
4303 * debian/changelog: updates
4304 * debian/control: bump gtk+ dependency
4306 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4308 * src/hildon-dialog.c: Mark as deprecated.
4309 * src/hildon-dialog.h: Mark as deprecated.
4310 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4311 from HildonDialog and still work, even if
4312 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4313 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4315 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4316 maemo changes) instead)
4318 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4320 * src/hildon-pannable_area.h:
4321 * src/hildon-pannable_area.c:
4322 (hildon_pannable_area_class_init),
4323 (hildon_pannable_area_set_property),
4324 (hildon_pannable_area_get_property),
4325 (hildon_pannable_area_size_request),
4326 (hildon_pannable_area_get_size_request_policy),
4327 (hildon_pannable_area_set_size_request_policy): Added new API
4328 allowing applications to control the request policy. Now they can
4329 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4330 children allocation (HILDON_MOVEMENT_CHILDREN).
4332 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4336 (hildon_gtk_tree_view_set_ui_mode)
4337 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4338 mode of treeviews and iconviews.
4340 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4342 * src/hildon-touch-selector-entry.c:
4343 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4344 of a GtkEntry to get proper theming.
4346 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4347 widget, not GtkEntry)
4349 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4351 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4352 no HildonWizardDialogPageFunc.
4354 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4356 Patch contributed by Iván Gómez (igomez@igalia.com)
4358 * src/hildon-app-menu.c:
4359 * src/hildon-button.c:
4360 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4361 * src/hildon-stackable-window.c:
4362 * src/hildon-time-selector.c:
4363 * src/hildon-touch-selector.c:
4364 * src/hildon-window.c:
4366 Add more "since" tags to the new API in hildon 2.2.
4368 2008-12-05 Tim Janik <timj@imendio.com>
4370 Patch contributed by Christian Dywan (christian@imendio.com)
4372 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4373 HildonSizeType, which are supplied by Gtk+ now.
4375 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4377 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4378 (with maemo changes) instead)
4380 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4382 Patch contributed by Iván Gómez (igomez@igalia.com)
4384 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4387 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4389 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4390 (some_page_func), (main): Update the example to use a
4391 HildonWizardDialogPageFunc function.
4393 * src/hildon-wizard-dialog-private.h: Add private data for
4394 the HildonWizardDialogPageFunc function usage.
4396 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4397 (destroy), (hildon_wizard_dialog_init), (response),
4398 (hildon_wizard_dialog_set_forward_page_func):
4399 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4400 that applications can use to stop a HildonWizardDialog to jump to
4403 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4406 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4408 * src/hildon-program.h
4409 * src/hildon-program-private.h
4410 * src/hildon-program.c (hildon_program_init)
4411 (hildon_program_set_common_app_menu)
4412 (hildon_program_get_common_app_menu):
4413 New API for setting a common HildonAppMenu for all
4414 HildonStackableWindows registered with the HildonProgram.
4416 * src/hildon-stackable-window.c
4417 (hildon_stackable_window_toggle_menu):
4418 Use the common HildonAppMenu if a window doesn't have a specific
4421 * src/hildon-app-menu-private.h
4422 * src/hildon-app-menu.c
4423 (hildon_app_menu_get_parent_window):
4424 Function to obtain the window a HildonAppMenu is attached to.
4425 (hildon_app_menu_set_parent_window):
4426 Hide the menu if the parent window is set to NULL.
4428 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4430 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4431 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4432 search widget to popup.
4434 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4436 * configure.ac: post release version bump
4437 * debian/changelog: version bump
4439 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4444 * configure.ac: bump version
4445 * debian/changelog: updates
4447 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4449 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4451 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4452 (hildon_window_stack_window_realized)
4453 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4454 Set the leader GdkWindow when a window is stacked and realized,
4455 unset it when it's unstacked.
4456 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4458 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4460 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4462 * src/hildon-stackable-window.h
4463 * src/hildon-window-stack.h:
4464 Protect definition of HildonWindowStack using the preprocessor.
4466 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4468 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4469 Fix warning if all menu items are hidden.
4471 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4473 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4475 * src/hildon-controlbar.c:
4476 * src/hildon-hvolumebar.c:
4477 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4478 Multiple scale size defines updates.
4480 Fixes: NB#94322 (Scale Updates)
4482 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4484 * examples/hildon-app-menu-example.c (create_menu)
4485 Show items after adding them to the menu, as in the future the
4486 menu will no longer call gtk_widget_show() on the added items.
4488 * src/hildon-app-menu.c:
4489 Update example as explained above.
4491 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4493 * src/hildon-app-menu.c
4494 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4495 Make sure that all menu items have finger height.
4497 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4499 * src/hildon-picker-dialog.c:
4500 (_on_dialog_response), (_save_current_selection),
4501 (_restore_current_selection), (_clean_current_selection),
4502 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4503 Defined new functions in order to save the current internal selector
4504 selection previous open the dialog, in case that the use cancel the
4505 interaction, so the widget restores the previous selection.
4507 Fixes: NB#92032 (In calendar application, date values in 'new event'
4510 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4512 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4514 * src/hildon-button.c: Add a reference to the button examples in
4515 hildon-button-example.c
4517 * examples/hildon-button-example.c: Added examples of the most
4518 common button layouts.
4520 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4522 * src/hildon-app-menu.c (hildon_app_menu_show)
4523 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4525 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4527 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4529 * src/hildon-picker-dialog.c:
4530 (hildon_picker_dialog_init): Initialize the signal id for
4531 HildonTouchSelector::columns-changed.
4532 (+on_selector_columns_changed): Set up the interaction mode everytime a
4533 column is added or removed from the HildonTouchSelector.
4534 (_hildon_picker_dialog_set_selector): Connect to
4535 HildonTouchSelector::columns-changed and keep track of it.
4537 Make sure to update the interaction mode of the dialog everytime a
4538 column is added or removed in the HildonTouchSelector.
4540 Fixes: NB#93228 (Done button is not shown always in listpicker)
4542 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4544 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4545 a new ::columns-changed signal.
4546 (hildon_touch_selector_append_column): Emit ::columns-changed.
4547 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4549 Add a ::columns-changed signal, emitted when the number of columns in a
4550 HildonTouchSelector changes.
4552 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4554 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4555 (_hildon_picker_dialog_set_selector): Factor out the code
4556 to set up the dialog interaction mode.
4558 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4560 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4561 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4562 to signal_changed_id.
4564 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4566 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4569 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4571 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4572 Updated the logical ids related to ampm format, as now it is required to
4573 show it correctly localized even on languages with no default
4574 abbreviations for am or pm
4575 (_check_am_pm_format): check correctly the 24h format gconf property
4577 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4579 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4581 * src/hildon-button.c: Documentation updates.
4583 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4585 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4586 * src/hildon-caption.c: (hildon_caption_class_init):
4587 * src/hildon-color-button.c: (hildon_color_button_class_init):
4588 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4589 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4590 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4591 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4593 Remove deprecated GTK+ marshalers and replace them with the ones
4594 provided by GLib, for those available, add a marshaler for
4595 BOOLEAN:VOID, which is not available in GLib, and use it.
4597 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4599 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4600 the text from the previous column if there is no
4601 HildonTouchSelectorColumn::text-property set.
4603 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4605 * src/hildon-button.h
4606 * src/hildon-button.c (hildon_button_set_property)
4607 (hildon_button_get_property, hildon_button_class_init)
4608 (hildon_button_set_style, hildon_button_get_style):
4609 New "style" property to change the visual appearance of the
4612 * src/hildon-picker-button.c (hildon_picker_button_new):
4613 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4615 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4616 HildonButton look like PickerButton)
4618 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4620 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4621 column while building the default string.
4623 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4625 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4626 scroll indicator by default.
4628 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4630 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4632 * src/hildon-main.c: Fix the documentation for hildon_init()
4634 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4636 * doc/hildon-docs.sgml
4640 * src/hildon-window-stack-private.h
4641 * src/hildon-window-stack.h
4642 * src/hildon-window-stack.c:
4643 New HildonWindowStack object, that adds support for multiple
4644 stacks of windows per process.
4646 * src/hildon-stackable-window-private.h
4647 * src/hildon-stackable-window.h
4648 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4649 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4650 (hildon_stackable_window_show, hildon_stackable_window_hide)
4651 (hildon_stackable_window_class_init)
4652 (hildon_stackable_window_init):
4653 Use HildonWindowStack for stack management.
4655 * src/hildon-program.c (hildon_program_pop_window_stack)
4656 (hildon_program_peek_window_stack)
4657 (hildon_program_go_to_root_window):
4658 Add a fallback implementation to the deprecated functions using
4661 * examples/hildon-stackable-window-example.c:
4662 Use the new HildonWindowStack API.
4664 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4666 * src/hildon-stackable-window-private.h
4667 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4668 (hildon_stackable_window_hide, hildon_stackable_window_init):
4669 Remove all window stack management.
4671 * src/hildon-program-private.h
4672 * src/hildon-program.h
4673 * src/hildon-program.c (hildon_program_init)
4674 (hildon_program_pop_window_stack)
4675 (hildon_program_peek_window_stack)
4676 (hildon_program_go_to_root_window):
4677 Remove all window stack management and mark functions as
4680 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4682 * src/hildon-app-menu.c (hildon_app_menu_realize):
4683 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4685 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4687 * configure.ac: post release version bump
4688 * debian/changelog: version bump
4690 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4695 * configure.ac: bump version
4696 * debian/changelog: updates
4698 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4700 Based on initial code by Christian Dywan (christian@imendio.com)
4702 * doc/hildon-docs.sgml: Add section for hildon-main.
4703 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4704 * src/Makefile.am: Add new hildon-main.[ch]
4705 * src/hildon-defines.h: Update the icon sizes.
4706 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4707 new library initialization files and register icon sizes.
4708 * src/hildon-main.h: New declarations.
4709 * src/hildon.h: Include hildon-main.h
4711 Add new initialization functions to the library. These methods
4712 will register the hildon specific icon sizes and can be used in the
4713 future for other hildon specific bits.
4715 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4717 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4719 * src/hildon-window.c: (hildon_window_realize),
4720 (hildon_window_notify), (-hildon_window_update_title): Do not set
4721 the application name in the window title.
4723 Fixes: NB#89754 (Applications shouldn't display their names in the
4726 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4728 * src/hildon-note-private.h:
4729 * src/hildon-note.c: (hildon_note_set_property),
4730 (hildon_note_get_property), (hildon_note_class_init),
4731 (hildon_note_init), (hildon_note_finalize),
4732 (hildon_note_new_confirmation_with_icon_name),
4733 (hildon_note_new_information_with_icon_name):
4735 No need to mark as deprecated the actual code. Revert
4736 to avoid missing symbols in widgets using deprecated API.
4738 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4740 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4742 * src/hildon-volumebar.h
4743 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4744 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4746 * src/hildon-helper.h
4747 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4748 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4750 * examples/Makefile.am:
4751 Deprecate hildon-insensitive-example
4753 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4755 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4757 * examples/hildon-pannable-area-buttons-scroll-example.c:
4758 Make all buttons finger height
4760 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4762 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4764 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4765 update the day model only if it is really required, and to avoid the
4766 full-reconstruction aproach. Now it only add or remove the required days.
4768 The purpose of this is avoid superfluous HildonTouchSelector::changed
4771 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4772 with strange parameters)
4774 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4776 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4778 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4779 the WINDOW_TYPE property.
4781 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4783 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4786 Fix dependency to allow parallel compilation with make -jX
4788 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4790 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4791 color frame and some minor tweaks to make it more consistent with
4794 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4795 highlighted but not visible)
4797 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4799 * examples/Makefile.am: Fixed typo in the Makefile.am.
4801 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4803 Reviewed the use of MAEMO_GTK define, now we add the define in the
4804 compilation line, and we also add it to the pc file.
4806 * configure.ac: Added MAEMO_GTK define to the compilation command
4807 and removed it from the config.h.
4809 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4810 do not have to take care about this define if the library was
4814 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4816 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4818 * examples/Makefile.am,
4819 * examples/hildon-pannable-area-buttons-scroll-example.c,
4820 * examples/hildon-pannable-area-gesture-signals-example.c,
4821 * examples/hildon-pannable-area-scroll-jump-example.c,
4822 * examples/hildon-pannable-area-tree-view-example.c:
4823 Renamed the pannable area examples, now they have more meaningful
4826 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4828 * src/hildon-touch-selector.c:
4829 (hildon_touch_selector_set_column_selection_mode): Used of
4830 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4831 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4832 to avoid re-seting the same selection mode.
4834 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4835 breaks HildonPickerDialog)
4837 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4839 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4840 conditional in the Makefile.am
4842 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4844 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4845 Remove unused methods.
4847 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4849 * src/hildon-button.c (hildon_button_init):
4850 Make button images center-aligned by default
4852 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4855 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4856 activated, we have to think about how to deal with both defines
4857 MAEMO_GTK and MAEMO_CHANGES.
4859 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4861 * examples/hildon-app-menu-example.c (create_menu): Make all
4862 buttons finger size.
4864 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4866 Fixed the compilation without maemo gtk adding ifdefs with
4867 MAEMO_GTK define to the code, we have to check this version more
4870 * examples/Makefile.am: Added control to avoid some examples that
4871 just make sense with maemo gtk.
4874 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4875 hildon modes with the define.
4877 * examples/hildon-edit-toolbar-example.c,
4878 (create_icon_view): Create the icon view without hildon-gtk
4879 helpers if we are not using maemo gtk.
4881 * src/hildon-touch-selector.c,
4882 (_create_new_column): Create the treeview without hildon-gtk
4883 helpers if we are not using maemo gtk.
4885 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4887 * src/hildon-pnnable-area.c,
4888 (hildon_pannable_area_dispose),
4889 (hildon_pannable_area_button_press_cb),
4890 (hildon_pannable_area_child_mapped),
4891 (hildon_pannable_area_add),
4892 (hildon_pannable_area_remove): Added code to control the position
4893 of the event_window when adding and removing children from the
4894 pannable. We have to raise the event window when the child is
4897 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4898 selection mode using custom widget inside pannable)
4900 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4902 * configure.ac: post release version bump
4903 * debian/changelog: version bump
4905 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4910 * configure.ac: bump version
4911 * debian/changelog: updates
4913 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4915 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4916 search mode, in order to avoid lose the focus on the treeview when
4917 a hw key (like enter) is pressed.
4919 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4920 in HildonDateSelector dialog)
4922 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4924 * debian/rules: Added --enable-maintainer-mode
4925 * Makefile.am: Added ACLOCAL_AMFLAGS
4927 This allows to properly regenerate the Makefiles if you modify the
4928 configure.ac or any Makefile.am.
4930 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4932 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4933 properties, not needed at all.
4935 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4937 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4939 * src/hildon-note.c: (hildon_note_set_property),
4940 (hildon_note_get_property), (hildon_note_class_init),
4941 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4942 (hildon_note_new_confirmation_add_buttons): Remove icons.
4943 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4944 (hildon_note_new_information_with_icon_name): Deprecate.
4945 (hildon_note_new_confirmation): Act directly, without calling
4946 the deprecated constructor.
4947 (hildon_note_new_information): Act directly, without calling
4948 the deprecated constructor.
4949 * src/hildon-note.h: Mark deprecate methods as such.
4950 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4951 not run tests on the deprecated methods if built with deprecation
4954 Fixes: NB#91688 (Never show icons in information notes/confirmation
4957 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4959 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4960 (hildon_app_menu_key_press): Remove leftover usage of the
4961 private structure in HildonAppMenu struct.
4962 * src/hildon-app-menu.h: Remove leftover private structure
4963 from the HildonAppMenu struct.
4965 Fixes a crasher when using the HildonAppMenu.
4967 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4969 * src/hildon-picker-dialog.c: Use appropriate logical id
4970 for the default "Done" text.
4972 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4974 * configure.ac: post release version bump
4975 * debian/changelog: version bump
4977 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4979 Modified the way to scroll to the current selection just when the touch
4980 selector is shown on the screen, avoiding a g_idle. Added too a property
4981 to configure this behaviour. See hildon_pannable_area_jump_to_child
4982 documentation for more information.
4984 * src/hildon-touch-selector.c
4985 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4986 Added 'initial-scroll' property
4987 (hildon_touch_selector_set_property): Added
4988 (hildon_touch_selector_map): Removed as not required anymore
4989 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4990 only a concrete column, instead of iterate along all the columns
4992 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4997 * configure.ac: bump version
4998 * debian/changelog: updates
5000 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5002 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5003 compilation time warnings.
5005 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5007 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5008 the default value for HildonPannableArea::mov-mode to
5009 HILDON_PANNABLE_AREA_MODE_VERT.
5011 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5013 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5015 Reverting following commit:
5017 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5019 * src/hildon-app-menu-private.h
5020 * src/hildon-app-menu.[ch]
5021 * src/hildon-button.[ch]
5022 * src/hildon-check-button.[ch]
5023 * src/hildon-entry.[ch]
5024 * src/hildon-pannable-area.[ch]
5025 * src/hildon-text-view.[ch]:
5026 Added private field to the object's structure.
5028 because it causes an ABI breakage. We will need to introduce these
5029 changes later at some point. See NB#91636 for an extensive
5030 explanation and status.
5032 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5034 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5036 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5037 remove special cases that are no longer necessary.
5039 Fixes: NB#91016 (Change toolbar sizes, simplification)
5041 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5043 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5044 is shown in the cancel note.
5046 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5048 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5049 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5050 (hildon_seekbar_init): Remove steppers, remove expose event.
5051 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5053 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5055 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5058 label font to "SmallSystemFont" for vertically arranged buttons.
5060 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5063 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5065 * src/hildon-check-button.c
5066 (hildon_check_button_set_active, hildon_check_button_clicked):
5067 Don't access private parts directly, use getters instead.
5069 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5071 * src/hildon-check-button.c (hildon_check_button_new):
5072 Align the contents of the check button to the left.
5074 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5076 * src/hildon-pannable-area.c,
5077 (hildon_pannable_area_scroll_to),
5078 (hildon_pannable_area_jump_to),
5079 (hildon_pannable_area_scroll_to_child),
5080 (hildon_pannable_area_jump_to_child): Replace the mapped
5081 precondition of these functions with the realized, it is the
5082 correct state of the widget in this case. Changed the
5083 documentation according to this modification.
5085 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5087 Added a new EXTRA_CFLAGS option to add the deprecated define to
5088 the compilation command. This way we can avoid using the define in
5089 the documentation compilation.
5091 * configure.ac: Defined EXTRA_CFLAGS.
5093 * examples/Makefile.am:
5095 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5097 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5099 * src/hildon-picker-dialog.c:
5100 Defined a utility macro with the desired touch selector height
5101 Removed currently unused separator, and title_label variables from
5103 (hildon_picker_dialog_init): Removed code related to the creation
5104 of unused private variables title_label and separator.
5105 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5106 to ensure correct visualization of the touch selector inside the dialog.
5107 * src/hildon-touch-selector.c
5108 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5109 ensure a concrete height of the widget.
5111 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5114 * tests/Makefile.am:
5116 Remove spurious whitespaces.
5118 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5120 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5121 compilation warning after the cancel button removal.
5123 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5125 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5127 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5128 Makefile.am, that way we can choose not to compile some examples
5129 and tests of the deprecated widgets.
5131 * examples/Makefile.am: Divided the sources in deprecated and
5134 * src/Makefile.am: Added undef statement of the deprecated
5135 symbol to the enums file generation process.
5137 * src/hildon-color-chooser-dialog.c
5138 * src/hildon-color-chooser-dialog.h
5139 * src/hildon-color-button.c
5140 * src/hildon-color-button.h
5141 * src/hildon-color-chooser.c
5142 * src/hildon-color-chooser.h
5143 * src/hildon-controlbar.c
5144 * src/hildon-controlbar.h
5145 * src/hildon-date-editor.c
5146 * src/hildon-date-editor.h
5147 * src/hildon-hvolumebar.c
5148 * src/hildon-hvolumebar.h
5149 * src/hildon-private.c
5150 * src/hildon-private.h
5151 * src/hildon-range-editor.c
5152 * src/hildon-range-editor.h
5153 * src/hildon-seekbar.c
5154 * src/hildon-seekbar.h
5155 * src/hildon-time-editor.c
5156 * src/hildon-time-editor.h
5157 * src/hildon-time-picker.c
5158 * src/hildon-time-picker.h
5159 * src/hildon-volumebar.c
5160 * src/hildon-volumebar.h
5161 * src/hildon-vvolumebar.c
5162 * src/hildon-vvolumebar.h
5163 * src/hildon-bread-crumb-trail.h
5164 * src/hildon-bread-crumb-trail.c
5165 * src/hildon-calendar-popup.c
5166 * src/hildon-calendar-popup.h
5167 * src/hildon-weekday-picker.c:
5168 * src/hildon-weekday-picker.h:
5169 * src/hildon-bread-crumb-widget.c:
5170 * src/hildon-bread-crumb-widget.h:
5171 * src/hildon-bread-crumb.c:
5172 * src/hildon-bread-crumb.h:
5173 * src/hildon-calendar.c:
5174 * src/hildon-calendar.h:
5175 * src/hildon-caption.c:
5176 * src/hildon-code-dialog.c:
5177 * src/hildon-code-dialog.h:
5178 * src/hildon-font-selection-dialog.c:
5179 * src/hildon-font-selection-dialog.h:
5180 * src/hildon-get-password-dialog.c:
5181 * src/hildon-get-password-dialog.h:
5182 * src/hildon-login-dialog.c:
5183 * src/hildon-login-dialog.h:
5184 * src/hildon-number-editor.c:
5185 * src/hildon-number-editor.h:
5186 * src/hildon-set-password-dialog.c:
5187 * src/hildon-set-password-dialog.h:
5188 * src/hildon-sort-dialog.c:
5189 * src/hildon-sort-dialog.h: This is the list of deprecated
5192 * src/hildon-touch-selector.c:
5193 * src/hildon-window.c: Added undef statement to avoid compilation
5196 * tests/Makefile.am: Divided the sources in deprecated and
5199 * tests/check_test.c,
5200 (configure_tests): Marked the deprecated code that was adding
5201 suites with deprecated tests.
5203 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5205 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5207 * src/hildon-touch-selector.c: (_default_print_func): Do not
5208 duplicate a string returned by gtk_tree_model_get(), it is already
5211 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5214 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5216 * src/hildon-pannable-area.c
5217 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5218 method, it had problems when adding a widget with viewport the
5219 second time. Now checks if it already has a viewport and uses it.
5221 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5224 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5226 * src/hildon-pannable-area.c,
5227 (hildon_pannable_area_scroll_to),
5228 (hildon_pannable_area_jump_to),
5229 (hildon_pannable_area_scroll_to_child),
5230 (hildon_pannable_area_jump_to_child): Added a precondition to the
5231 scroll and jump to functions: the widget must be mapped before we
5232 can safely call these functions. We have also added documentation
5233 to the functions to explain how to use them in this situation.
5236 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5238 Reviewed the threading handling of the pannable widget, we have
5239 used the gdk_threads_add_timeout function instead of the usual
5240 glib handlers. This avoids some problems with the threads.
5242 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5243 (hildon_pannable_area_initial_effect),
5244 (hildon_pannable_area_scroll_indicator_fade),
5245 (hildon_pannable_area_button_press_cb),
5246 (hildon_pannable_area_timeout),
5247 (hildon_pannable_area_motion_notify_cb),
5248 (hildon_pannable_area_button_release_cb),
5249 (hildon_pannable_area_scroll_cb),
5250 (hildon_pannable_area_scroll_to): Removed the
5251 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5252 gdk_threads_add_timeout.
5254 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5256 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5261 * configure.ac: bump version
5262 * debian/changelog: updates
5264 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5266 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5267 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5268 * src/hildon-color-chooser-dialog.c:
5269 (hildon_color_chooser_dialog_init):
5270 * src/hildon-font-selection-dialog.c:
5271 (hildon_font_selection_dialog_init):
5272 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5274 Remove all cancel/close-like dialogs, as these are not going to be
5277 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5279 * src/hildon-note.c: (hildon_note_rebuild),
5280 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5283 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5285 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5287 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5288 sure all buttons are shown, even the Cancel/Close-like ones.
5290 Fixes: NB#90861 (Custom Confirmation dialogs should be
5291 protected from cancel button removal)
5293 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5295 * debian/control: Change libhildon1-examples dependency from libhildon1
5297 * debian/libhildon1-examples.install
5299 * Makefile.am: Modified the final install directory for the examples on
5300 package libhildon1-examples
5301 * Makefile.static: Update clean target in order to remove all the binary
5304 Changes suggested by Claudio after review new libhildon1-examples package
5306 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5308 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5309 * src/hildon-touch-selector.c: Ditto.
5311 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5313 * debian/control: Added new package libhildon1-examples, in order to pack
5314 the current hildon examples as documentation
5315 * debian/rules: Not to compress .c files, modify some includes on the
5316 examples (as normally are compiled locally, but when installed it will
5317 require to include the installed libhildon1 library), and rename
5319 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5320 install all the example files on the new example package
5321 * examples/Makefile.static: Added static makefile that can be used to
5322 compile the examples, once installed the new example package
5323 * examples: Most of the examples were modified in order to grant that
5324 all use only '#include "hildon.h"', in order to be easy to prepare
5325 it on the example package
5327 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5330 * debian/libhildon1-dev.install
5331 * debian/libhildon1-doc.install:
5332 Move all gtk-doc files to a separate libhildon1-doc package.
5334 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5336 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5338 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5340 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5342 * debian/rules: Fixed a error in order to avoid unnecessary calls
5343 to autogen.sh on package building
5345 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5347 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5349 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5351 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5354 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5356 * src/hildon-picker-button.c
5357 (hildon_picker_button_finalize):
5358 Free priv->done_button_text
5360 * src/hildon-time-button.c
5361 (hildon_time_button_set_time)
5362 * src/hildon-picker-button.c
5363 (hildon_picker_button_clicked)
5364 (hildon_picker_button_selector_selection_changed)
5365 (hildon_picker_button_set_selector)
5366 * src/hildon-date-button.c
5367 (hildon_date_button_set_date):
5368 Free strings returned by hildon_touch_selector_get_current_text()
5370 * src/hildon-button.c (hildon_button_construct_child):
5371 Fix leaks in priv->image and priv->label_box
5373 Fixes: NB#90535 (Memory leak in picker button)
5375 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5377 * src/hildon-button.c: (hildon_button_get_property): Do not access
5378 private elements directly, use getters instead.
5380 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5382 * src/hildon-app-menu-private.h
5383 * src/hildon-app-menu.c
5384 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5385 Store the menu's parent window.
5387 * src/hildon-stackable-window.c
5388 (hildon_stackable_window_toggle_menu)
5389 (hildon_stackable_window_finalize):
5390 Set the menu's parent window when the menu is shown, unset it when
5393 * src/hildon-app-menu.c
5394 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5395 (hildon_app_menu_class_init):
5396 Send unhandled keyboard accelerators to the parent window.
5398 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5400 * src/hildon-stackable-window.c
5401 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5403 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5405 * configure.ac: post release version bump
5407 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5410 * configure.ac: Bump version
5411 * debian/changelog: Updates
5412 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5415 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5417 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5420 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5421 GtkMenu with Hildon style.
5423 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5425 * src/hildon-picker-button.c:
5426 (hildon_picker_button_set_done_button_text): Set the dialog's
5427 done button text here as well.
5429 Fixes: NB#90232 (Picker button does not set the label on done button
5430 for the second time)
5432 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5434 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5437 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5439 * src/hildon-app-menu.c (hildon_app_menu_insert)
5440 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5441 the HildonAppMenu to be activatable using keyboard accelerators
5442 when the menu is not being shown.
5444 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5446 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5448 * src/hildon-stackable-window.c
5449 (hildon_stackable_window_show):
5450 Don't hide old windows automatically when new windows are shown:
5451 this is now a task for the window manager.
5452 (hildon_stackable_window_class_init)
5453 (hildon_stackable_window_hide):
5454 Remove windows from the stack everytime they're hidden.
5455 (hildon_stackable_window_realize):
5456 Don't change the _NET_WM_WINDOW_TYPE property. Use
5457 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5458 it as a stackable window.
5460 * src/hildon-program.c
5461 (hildon_program_pop_window_stack):
5462 Just hide the window to remove it from the stack.
5463 (hildon_program_go_to_root_window):
5464 Don't call gtk_widget_show(), this is now a task for the window
5467 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5469 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5471 * src/hildon-button.c
5472 (hildon_button_construct_child):
5473 Don't pack anything in the button until text or image are
5474 set. This allows adding a custom child after creating the button
5475 with hildon_button_new().
5476 (hildon_button_finalize, hildon_button_class_init)
5477 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5478 alignment and the label box even when they're not packed in the
5481 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5483 * src/hildon-touch-selector.h:
5484 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5485 currently the type definition was using GTK_TYPE_VBOX
5486 * src/hildon-touch-selector.c:
5487 Added some implementation notes in order to clarify that any other widget
5488 added without the column related API will not be included on the
5489 selection logic, and how the widget is freed, as some people ask about
5491 (hildon_touch_selector_remove): Reimplemented in order to free properly
5492 the column related data when you remove the private hbox.
5493 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5494 to get a proper HildonTouchSelectorColumn documentation
5496 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5498 * src/hildon-touch-selector-entry.c:
5499 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5500 text in the GtkEntry and there is no item selected. Fixes a
5503 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5505 * src/hildon-app-menu-private.h
5506 * src/hildon-app-menu.[ch]
5507 * src/hildon-button.[ch]
5508 * src/hildon-check-button.[ch]
5509 * src/hildon-entry.[ch]
5510 * src/hildon-pannable-area.[ch]
5511 * src/hildon-text-view.[ch]:
5512 Added private field to the object's structure.
5514 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5516 * configure.ac: post-release version bump
5518 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5522 * configure.ac: pre-release version bump
5524 * debian/changelog: updates.
5526 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5528 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5529 Disconnect the handler for HildonTouchSelector::changed.
5531 (hildon_picker_button_selector_selection_changed): Update the button
5532 value if the selection change was not triggered by the
5535 (hildon_picker_button_set_selector): connect to
5536 HildonTouchSelector::changed.
5538 Fixes: NB#89650 (Picker button is not updated, when selection in
5539 selector has changed)
5541 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5543 * src/hildon-picker-dialog.c
5544 (hildon_picker_dialog_realize): Removed as not required
5545 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5546 * src/hildon-picker-button.c
5547 (_current_selector_empty): New function, checks if the selector is empty
5548 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5549 if the current selector is empty, in order to avoid to show the dialog
5550 close the dialog in this case (and shows a g_warning).
5552 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5554 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5556 * src/hildon-pannable-area.c,
5557 (hildon_pannable_area_scroll): Added clause to stop movement when
5558 the child of pannable is smaller than one page.
5559 (hildon_pannable_area_scroll_to): Added conditions to avoid
5560 starting the scrolling movement if the child is smaller than one
5561 page, the complete child is in the screen, we do not have to move.
5563 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5565 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5567 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5568 this is managed automatically by the widget when the size of the
5571 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5573 * src/hildon-picker-button.c
5574 (hildon_picker_button_set_done_button_text): Make a copy of the
5575 text, and free the previous value.
5577 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5579 * src/hildon-touch-selector-entry.c:
5580 (hildon_touch_selector_entry_print_func): Return the selected row's
5581 text if the entry is empty.
5583 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5586 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5588 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5590 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5593 * src/hildon-check-button.h
5594 * src/hildon-check-button.c
5595 * examples/hildon-check-button-example.c:
5596 HildonCheckButton is now a new widget. 'toggled' signal added.
5598 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5600 * src/hildon-program-private.h
5601 * src/hildon-program.c (hildon_program_init)
5602 (hildon_program_finalize): Removed unused variables group_leader
5603 and name from HildonProgramPrivate.
5605 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5607 * src/hildon-check-button.c (hildon_check_button_set_active)
5608 (hildon_check_button_get_active, hildon_check_button_new): Use
5609 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5611 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5613 * src/hildon-touch-selector.h
5614 (hildon_touch_selector_set_column_attributes): added deprecation
5615 guard HILDON_DISABLE_DEPRECATED
5616 * src/hildon-time-selector.c
5617 (hildon_time_selector_set_time)
5618 (hildon_time_selector_get_time): Fixed a typo on documentation
5619 * src/hildon-touch-selector.c: update HildonTouchSelector and
5620 HildonTouchSelectorColumn documentation
5621 * src/hildon-touch-selector-entry.c: update "text-column" property
5623 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5624 to be added to the general documentation.
5626 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5628 * examples/hildon-pannable-area-example-4.c,
5630 * examples/hildon-pannable-area-example.c,
5631 (main): Modified the code in order to use the container add, with
5632 viewport treeviews could have problems if they are really big.
5634 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5636 * src/hildon-weekday-picker.c,
5637 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5638 the agreement regarding deprecation in the library.
5640 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5642 * examples/hildon-picker-button-multicolumn-example.c:
5643 (main): Use custom "done" button text.
5645 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5646 (hildon_picker_button_set_property),
5647 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5648 (hildon_picker_button_init),
5649 (+hildon_picker_button_get_done_button_text),
5650 (+hildon_picker_button_set_done_button_text): New methods to customize
5651 the "done" button label in the launched HildonPickerDialog. Also,
5654 * src/hildon-picker-button.h: add the public API.
5656 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5658 * src/hildon-date-selector.h:
5659 * src/hildon-picker-dialog.h:
5660 * src/hildon-time-selector.h:
5661 * src/hildon-touch-selector-column.h:
5662 * src/hildon-touch-selector.h:
5664 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5665 declarations. Fixes gtk-doc warnings.
5667 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5669 * src/hildon-picker-dialog.h
5670 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5671 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5673 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5674 long text is set as label for done button)
5676 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5678 * src/hildon-dialog.c (hildon_dialog_add_button):
5679 Set fixed width to all buttons in the HildonDialog.
5681 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5683 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5685 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5686 Set widget name using class name plus "-finger" or "-thumb".
5688 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5690 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5691 'clicked' when the state of the button is manually changed.
5693 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5695 * src/hildon-app-menu.c (hildon_app_menu_realize)
5696 (hildon_app_menu_unrealize, hildon_app_menu_init)
5697 (hildon_app_menu_class_init, item_visibility_changed):
5698 Change the menu layout when the size of the screen changes.
5699 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5700 Show warning only when changing the number of colums using the
5703 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5705 * debian/compat: Set to 5
5706 * debian/control: Update dependencies.
5707 * debian/libhildon1-dbg.install: Remove.
5708 * debian/libhildon1-dev.install: Update according to cdbs paths.
5709 * debian/libhildon1.install: Update according to cdbs paths.
5710 * debian/rules: Switch to cdbs.
5712 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5714 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5715 'item' variable renamed to 'filter'
5717 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5719 * src/hildon-app-menu.c (hildon_app_menu_insert)
5720 (hildon_app_menu_add_filter, remove_item_from_list)
5721 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5722 Don't leak hidden items when the menu is destroyed.
5724 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5726 * src/hildon-app-menu.c (hildon_app_menu_insert)
5727 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5728 (hildon_app_menu_set_columns, item_visibility_changed)
5729 (filter_visibility_changed, hildon_app_menu_repack_filters)
5730 (hildon_app_menu_repack_items):
5731 Repack items and filters separately.
5733 Don't repack all items, change only the ones that are needed to
5736 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5738 * src/Makefile.am: added hildon-touch-selector-column.h
5740 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5742 * src/hildon-touch-selector.c: added the property "text-column" to the
5743 class HildonTouchSelectorColumn, and related get/set functions
5744 (_default_printf_func): updated to use "text-column" property
5745 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5746 "text-column" in his documentation, as this is now included on
5747 HildonTouchSelectorColumn. The get/set_property can still be used,
5748 working as a wrapper to the concrete column "text-column" property
5749 (_text_column_modified): callback added in order to handle the signal
5750 "notify::text-column" of the concrete HildonTouchSelectorColumn
5751 (hildon_touch_selector_entry_get_text_column)
5752 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5753 modified in order to use the HildonTouchSelectorColumn "text-column"
5755 * src/hildon-time-selector.c:
5756 * src/hildon-date-selector.c:
5757 * examples/hildon-touch-selector-example.c
5758 * examples/hildon-touch-selector-multi-cells-example.c
5759 * examples/hildon-picker-button-multicolumn-example.c
5760 Set the right value to "text-column" property on the creation of a new
5761 column using hildon_touch_selector_append_column()
5763 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5765 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5767 * src/hildon-app-menu.c
5768 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5769 updating the layout of the menu, don't create all widgets again,
5770 just repack the items in their new places.
5772 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5774 * src/hildon-time-selector.c
5775 (hildon_time_selector_get_time)
5776 (hildon_time_selector_set_time)
5777 Added documentation of these public methods
5779 * src/hildon-date-button.h
5780 * src/hildon-touch-selector-column.h
5781 * src/hildon-time-button.h
5782 * src/hildon-picker-dialog.h
5783 * src/hildon-time-selector.h
5784 * src/hildon-picker-button.h
5785 * src/hildon-touch-selector.h
5786 * src/hildon-time-picker.h
5787 * src/hildon-date-selector.h
5788 * src/hildon-touch-selector-entry.h
5789 Modified in order to use hildon-widgets code style
5791 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5793 Added deprecated support to the compilation process using
5794 HILDON_DISABLE_DEPRECATED
5796 * configure.ac: Added the --disable-deprecated to the configure
5799 * src/hildon-weekday-picker.c:
5800 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5801 to use the deprecated support. We will update the other deprecated
5802 widgets status in a new patch.
5804 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5806 * configure.ac: Fixed typo with fatal warnings support, the
5807 variable name was not correct
5809 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5811 * src/hildon-app-menu.c
5812 * src/hildon-program.c: Update documentation.
5814 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5816 * configure.ac: Post-release version bump.
5818 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5823 * configure.ac: Pre-release version bump.
5824 * debian/changelog: Updates.
5826 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5828 * NEWS: Update news for previous releases.
5830 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5832 * examples/hildon-touch-selector-multi-cells-example.c:
5833 (create_selector): Update the example to use
5834 hildon_touch_selector_append_column() with a NULL renderer and set
5835 the renderers later.
5836 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5837 passed a NULL renderer. This is documented behavior now.
5839 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5840 This must be used if the developer wants full control on the layout of
5841 the renderers to be added to the column.
5843 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5845 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5847 * src/hildon-touch-selector.c: Documentation fixes.
5849 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5851 * src/hildon-wizard-dialog-private.h: Remove image and box.
5852 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5853 (hildon_wizard_dialog_set_property), (response): Completely remove
5854 image/icon support, and the containers required for the layout.
5856 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5858 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5860 * src/hildon-app-menu.c: Updated documentation.
5862 * src/hildon-stackable-window.c
5863 (hildon_stackable_window_set_main_menu): Unref the old menu after
5864 ref'ing the new one.
5866 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5868 * src/hildon-stackable-window.c
5869 (hildon_stackable_window_set_main_menu): Unref the previous menu
5870 instead of destroying it.
5872 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5873 floating reference and set has_user_ref_count to FALSE to make
5874 HildonAppMenu act like a normal ref-counted widget and not a
5877 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5880 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5882 * src/hildon-touch-selector-column.h: new file
5883 * src/hildon-touch-selector.h
5884 * src/hildon-touch-selector.c
5885 Implemented GtkCellLayout interface, in order to allow to configure
5886 the cell layout on each individual selector column
5887 (hildon_touch_selector_set_column_attributes): marked as deprecated
5888 * examples/hildon-touch-selector-multi-cells-example.c
5889 Example of how to use the GtkCellLayout interface on the selector
5891 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5893 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-app-menu.h
5896 * src/hildon-app-menu.c
5897 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5898 (hildon_app_menu_append, hildon_app_menu_prepend):
5899 New methods to prepend, insert and move items in the menu.
5901 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5903 * src/hildon-wizard-dialog.c:
5905 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5907 (create_title): Update logical IDs and related code.
5908 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5910 * src/hildon-wizard-dialog.h: Note that
5911 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5912 point, as it is not used anymore.
5914 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5916 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5918 * src/hildon-note.c:
5919 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5920 shown. Do not display an icon in confirmation notes nor information
5922 (hildon_note_set_button_text): Update logical ID for cancel button.
5924 Fixes: NB#88850 (Update HildonNote button strings + signals)
5926 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5928 * src/hildon-stackable-window.c
5929 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5931 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5933 * src/hildon-app-menu-private.h
5934 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5935 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5936 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5937 temporary property 'columns' to change the number of columns.
5939 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5941 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5943 * examples/hildon-note-example.c: (on_information_clicked),
5944 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5945 debugging information.
5946 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5948 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5949 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5950 in order to close: this will be handled by the WM from now on.
5952 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5954 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5956 * src/hildon-app-menu-private.h
5957 * src/hildon-app-menu.c
5958 (hildon_app_menu_append, hildon_app_menu_add_filter)
5959 (button_visibility_changed, hildon_app_menu_apply_style)
5960 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5961 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5962 layout everytime a button (item or filter) is shown or hidden.
5964 * src/hildon-stackable-window.c
5965 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5968 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5970 * src/hildon-touch-selector.c:
5971 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5972 that the treeview inside the touch selector is in fremantle hildon mode
5973 * examples/hildon-date-button-example.c
5974 * examples/hildon-picker-button-multicolumn-example.c
5975 * examples/hildon-touch-selector-entry-example.c
5976 * examples/hildon-touch-selector-example.c
5977 * examples/hildon-time-button-example.c
5978 * examples/hildon-picker-button-example.c:
5979 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5981 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5983 * examples/hildon-text-view-example.c: (main): Remove the
5984 gtkrc bits, now handled by the theme.
5986 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5988 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5991 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5993 * po/Makefile.am: Install properly the mo files.
5994 * po/en_GB.po: Update translation, to ease testing purposes.
5996 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5998 * examples/hildon-picker-button-example.c: (main): Select an item
5999 in the selector before setting it to the button.
6001 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6003 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6004 Update button's value if the selector has an item active.
6006 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6007 'value' with the selector)
6009 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6011 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6012 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6013 (hildon_picker_button_class_init): Plug the finalize method.
6014 (hildon_picker_button_set_selector): If there's a previously set
6015 selector, unref'it before setting a new one.
6017 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6018 HildonTouchSelector)
6020 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6022 * src/hildon-touch-selector-entry.c:
6023 (hildon_touch_selector_entry_changed): Check if there is no text
6024 selected before setting the entry text.
6027 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6029 * src/hildon-touch-selector.h
6030 * src/hildon-touch-selector.c
6031 (hildon_touch_selector_get_active)
6032 (hildon_touch_selector_set_active): New methods to set/get the
6033 index of the selected item.
6035 * src/hildon-picker-button.h
6036 * src/hildon-picker-button.c
6037 (hildon_picker_button_get_active)
6038 (hildon_picker_button_set_active): New methods to set/get the
6039 index of the selected item.
6041 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6043 * configure.ac: post-release version bump.
6045 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6049 * configure.ac: Pre-release version bump.
6050 * debian/changelog: Updates.
6051 * debian/control: Add myself as maintainer and depend on l10n
6054 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6056 * src/hildon-window.c
6057 (hildon_window_set_main_menu)
6058 * src/hildon-stackable-window.c
6059 (hildon_stackable_window_set_main_menu):
6060 Updated documentation.
6062 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6064 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6065 Don't free selector->priv manually.
6068 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6071 (hildon_gtk_window_set_progress_indicator):
6072 * src/hildon-gtk.h: Added the new API
6073 hildon_gtk_window_set_progress_indicator, it changes the state of
6074 the window progress hint.
6076 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6078 * src/hildon-button.c
6079 * src/hildon-stackable-window.c: Minor documentation updates.
6081 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6083 * src/hildon-stackable-window.c: Updated documentation.
6085 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6087 * src/hildon-defines.h: Update margins definitions
6088 to the Fremantle sizes.
6091 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6093 * src/hildon-touch-selector.c,
6094 (_hildon_touch_selector_set_model): Cleaning the code after
6095 review, removed g_print and #if 0 from the code.
6097 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6099 * src/hildon-edit-toolbar.c: Update documentation.
6101 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6103 * src/hildon-check-button.h
6104 * src/hildon-check-button.c
6105 (hildon_check_button_set_label, hildon_check_button_get_label)
6106 * examples/hildon-check-button-example.c
6107 (button_clicked_cb):
6108 Removed deprecated methods.
6110 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6112 * src/hildon-text-view.c:
6113 Add sample code to the documentation.
6115 * src/hildon-entry.h
6116 * src/hildon-text-view.h:
6117 Minor cosmetic changes.
6119 * src/hildon-entry.c:
6120 Add sample code to the documentation.
6121 (hildon_entry_init, hildon_entry_refresh_contents):
6122 Don't allow NULL values in the placeholder.
6124 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6126 * doc/hildon-docs.sgml
6128 * examples/Makefile.am
6129 * examples/hildon-text-view-example.c
6131 * src/hildon-text-view.c
6132 * src/hildon-text-view.h
6134 New HildonTextView widget, with example.
6136 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6138 * po/POTFILES.in: Add missing files with translatable strings.
6139 Partially fixes NB#88287.
6141 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6143 * examples/hildon-pannable-area-example-2.c: (main): No need to
6144 set the cellrenderer height inside hildon touch lists, the theme does
6147 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6149 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6150 they are integrated in the theme.
6152 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6154 * examples/hildon-entry-example.c: Update the example adding
6155 widgets to modify the text and the placeholder of the HildonEntry.
6157 * src/hildon-entry.c: Show the placeholder everytime the widget
6158 is empty and loses the focus.
6160 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6162 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6164 * src/hildon-pannable-area.c,
6165 (hildon_pannable_area_size_request): Fixed bug in height
6166 requisition, avoid increasing size and add border twice.
6168 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6170 * configure.ac: postrelease version bump.
6172 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6176 * configure.ac: Prerelease version bump.
6177 * debian/changelog: update.
6178 * debian/rules: make -dbg package contain useful debugging symbols.
6180 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6182 * src/hildon-dialog.h
6183 * src/hildon-dialog.c
6184 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6185 New methods to add buttons with finger size.
6186 (hildon_dialog_new_with_buttons):
6187 Create buttons with finger size.
6189 * examples/hildon-dialog-example.c (main): Use HildonDialog
6190 methods to add buttons.
6192 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6194 * src/hildon-entry.c: Updated HildonButton documentation.
6196 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6198 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6199 button value label with (FALSE, FALSE) to prevent NB#88126 from
6202 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6204 * examples/hildon-pannable-area-example.c,
6205 (main): Removed examples panning a vbox inside a pannable
6206 area. Check bug NB#87965
6208 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6210 Patch contributed by Kris Rietveld (kris@imendio.com)
6212 * src/hildon-pannable-area.c,
6213 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6214 get_size and get_position, this saves an X server roundtrip.
6216 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6218 * doc/hildon-docs.sgml
6220 * examples/Makefile.am
6221 * examples/hildon-entry-example.c
6223 * src/hildon-entry.c
6224 * src/hildon-entry.h
6226 New HildonEntry widget, with example.
6228 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6230 * src/hildon-button.c (hildon_button_construct_child): Pack the
6231 image with expand == fill == FALSE. This is a workaround for a bug
6234 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6236 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6237 labels for the text column, to make it more look more dynamic.
6239 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6241 * src/hildon-time-selector.c
6242 Define gettext auxiliar macro N_
6243 (_create_minutes_model)
6244 (_create_hours_model)
6245 (_create_ampm_model): use of strftime in order to fill the model
6246 * src/hildon-date-selector.c
6247 (hildon_date_selector_finalize):
6248 (_locales_init): remove the logic related to get the name of the months
6249 using nl_langinfo, as it is not required anymore
6251 (_create_year_model)
6252 (_create_month_model)
6253 (_update_day_model): use of strftime in order to fill the model properly
6256 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6258 * src/hildon-button.h
6259 * src/hildon-button.c (hildon_button_get_image): New method to
6262 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6264 * src/hildon-touch-selector.c:
6265 (hildon_touch_selector_remove_column): Remove from the correct parent
6266 and also remove the list element and free it.
6269 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6271 * src/hildon-time-selector.c
6272 (_create_hours_model): change the range on 12h ampm format in order to use
6273 a 12-11 range instead of previous 01-12 range
6274 (hildon_time_selector_set_time): change the way to select the current time
6275 on 12h ampm format, due the change on the range
6276 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6279 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6281 * src/hildon-touch-selector.c
6282 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6283 in order to allow use this function on multiple row selection mode if
6284 the column is different that the first one
6287 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6289 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6290 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6292 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6294 * src/hildon-date-selector.h: clean some comments, now on the .c
6295 * src/hildon-date-selector.c
6296 (hildon_date_selector_select_month): first implementation
6297 (hildon_date_selector_select_day): added documentation, reimplemented
6298 using hildon_date_selector_select_current_date to avoid repeat code
6301 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6303 Reviewed interaction logic based on device experiences, refactored
6306 * src/hildon-pannable-area.c,
6307 (hildon_pannable_area_class_init): Updated default vmax speed.
6308 (hildon_pannable_area_calculate_velocity): Added this function, it
6309 avoids duplicate valocity calculation. Adjusted calculation to
6310 avoid problems with zero dist events.
6312 (hildon_pannable_area_motion_notify_cb): Now we use the
6313 calculate_velocity function.
6315 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6317 * src/hildon-date-selector.c
6318 (hildon_date_selector_select_current_date): fix the day range check
6319 as it failed using the last day of the current month
6322 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6324 * src/hildon-touch-selector.c
6325 (hildon_touch_selector_get_num_columns): added a parameter validation
6328 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6330 * examples/Makefile.am
6331 * examples/hildon-edit-toolbar-example.c: Example of the
6332 HildonEditToolbar widget.
6334 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6336 * configure.ac: postrelease version bump.
6338 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6342 * configure.ac: prerelease version bump.
6343 * debian/changelog: update.
6345 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6347 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6348 renderer to display stock icons in the touch list. Also, set the sizes
6349 to the recommended in the style guide.
6351 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6352 * src/hildon-touch-selector.h
6353 (hildon_touch_selector_set_active_iter): renamed, now is
6354 hildon_touch_selector_select_iter
6355 (hildon_touch_selector_get_active_iter): renamed, now is
6356 hildon_touch_selector_get_selected
6357 (hildon_touch_selector_unselect_iter): added
6358 * src/hildon-touch-selector.c
6359 Update after API modification (methods renamed)
6360 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6361 order to avoid problems selecting multiple elements on the column
6362 (hildon_touch_selector_unselect_iter): added the implementation
6363 * src/hildon-time-selector.c
6364 * src/hildon-date-selector.c
6365 * src/hildon-touch-selector-entry.c
6366 Update methods calls after hildon-touch-selector.h API modification (methods
6369 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6371 * src/hildon-stackable-window.c
6372 (hildon_stackable_window_finalize): Call the parent class's finalize.
6374 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6376 * examples/hildon-touch-selector-example.c: (create_selector): Use
6377 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6380 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6382 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6383 set a cell background color, to respect theming.
6385 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6387 * doc/hildon-docs.sgml
6390 * src/hildon-edit-toolbar.c
6391 * src/hildon-edit-toolbar.h
6392 * src/hildon.h: New HildonEditToolbar widget.
6394 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6396 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6399 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6400 * src/hildon-touch-selector.c
6401 (_create_new_column): use g_object_set instead of two g_object_set_property
6403 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6404 * src/hildon-touch-selector.c
6405 (_create_new_column): use of hildon_gtk_tree_view_new to create
6406 the treeview, instead of use directly g_object_new
6407 (_create_new_column): update the property name "vindicator-mode" for the
6408 new one "vscrollbar-policy"
6409 * examples/hildon-date-button-example.c
6410 * examples/hildon-picker-button-multicolumn-example.c
6411 * examples/hildon-touch-selector-entry-example.c
6412 * examples/hildon-touch-selector-example.c
6413 * examples/hildon-time-button-example.c
6414 * examples/hildon-picker-button-example.c
6415 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6416 to all the treeviews inside a pannable area.
6418 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6420 * src/hildon-button.h
6421 * src/hildon-button.c (hildon_button_init)
6422 (hildon_button_set_arrangement, hildon_button_set_alignment)
6423 (hildon_button_set_title_alignment)
6424 (hildon_button_set_value_alignment)
6425 (hildon_button_set_image_alignment)
6426 (hildon_button_construct_child): New methods to set the alignment
6427 of the individual components of the button (title, value,
6428 image). Also, new method to alter the xscale and yscale properties
6429 of the GtkAlignment inside the button, so more complex layouts can
6432 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6434 * src/hildon-button.c (hildon_button_style_set)
6435 (hildon_button_class_init, hildon_button_set_arrangement)
6436 (hildon_button_construct_child): Apply style properties
6437 correctly. Use the 'image-spacing' style property too.
6439 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6441 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6442 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6445 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6447 * src/hildon-pannable-area.c,
6448 (hildon_pannable_area_size_request): Fixed problem with
6449 pannable-area size_request.
6451 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6453 Added management for the grab-focus to a child widget, like a
6454 range, we need to fade out the scrollbar when releasing.
6456 * src/hildon-pannable-area.c,
6457 (hildon_pannable_area_init): Connected the grab-focus signal to
6459 (hildon_pannable_area_grab_notify): Added this function in order
6460 to manage the situation when the grab-focus ends. We have to
6461 fade-out the scrollbar.
6463 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6465 * src/hildon-app-menu.c: Minor documentation update.
6467 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6469 * src/hildon-app-menu.c
6470 * examples/hildon-app-menu-example.c (create_menu): Update
6471 examples and documentation to explain how to connect callbacks.
6473 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6475 * examples/hildon-button-example.c
6476 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6477 hildon_stackable_window_new instead of gtk_window_new
6479 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6481 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6482 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6483 (hildon_pannable_area_set_property),
6484 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6485 (hildon_pannable_area_unrealize),
6486 (hildon_pannable_area_size_request),
6487 (hildon_pannable_area_size_allocate),
6488 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6489 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6490 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6491 (hildon_pannable_area_initial_effect),
6492 (hildon_pannable_area_redraw),
6493 (hildon_pannable_area_scroll_indicator_fade),
6494 (hildon_pannable_area_expose_event),
6495 (hildon_pannable_area_get_topmost), (synth_crossing),
6496 (hildon_pannable_area_button_press_cb),
6497 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6498 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6499 (hildon_pannable_area_motion_notify_cb),
6500 (hildon_pannable_area_button_release_cb),
6501 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6502 (hildon_pannable_area_remove),
6503 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6504 chage the code layout to a more GtkWidget like. Review the use of
6507 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6509 * examples/hildon-pannable-area-example-4.c,
6510 (main): Modified the name of the hindicator_mode to
6513 * src/hildon-pannable-area.c,
6514 (hildon_pannable_area_class_init),
6515 (hildon_pannable_area_motion_notify_cb),
6516 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6517 we have reduced the amount of signals and managed reviewed its
6518 rationale. Changed the default decelerate value.
6520 (hildon_pannable_area_add),
6521 (hildon_pannable_area_redraw): Refactored functions.
6523 (hildon_pannable_area_init),
6524 (hildon_pannable_area_get_property),
6525 (hildon_pannable_area_set_property):
6526 (hildon_pannable_draw_vscroll),
6527 (hildon_pannable_draw_hscroll),
6528 (hildon_pannable_area_initial_effect),
6529 (hildon_pannable_area_expose_event),
6530 (hildon_pannable_area_scroll),
6531 (hildon_pannable_area_button_press_cb),
6532 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6533 and vindicator_mode with hscrollbar_policy and
6534 vscrollbar_policy. Replaced hscroll and vscroll with
6535 hscroll_visible and vscroll_visible.
6537 (hildon_pannable_area_refresh): Refactor the function, remove
6538 variables and check the calls to this function, added resize
6539 conditions in case the children change their layout.
6541 (hildon_pannable_area_size_request): Added more detailed
6542 size_request calculation.
6545 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6547 * src/hildon-color-chooser.c
6548 (init_borders): use the correct gtk_border_free instead of g_free, to
6549 avoid a crash when this widget is used (ie: the three color selection
6552 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6554 * src/hildon-check-button.c,
6555 (hildon_check_button_set_active): Fixed problem when setting the
6556 active value, the widget was not redrawn.
6558 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6560 * src/hildon-pannable-area.c,
6561 (hildon_pannable_area_refresh),
6562 (hildon_pannable_area_scroll),
6563 (hildon_pannable_area_motion_notify_cb): Small code style change.
6565 (hildon_pannable_area_class_init): Default initial_hint set to
6566 FALSE, it is not in the specs.
6568 (hildon_pannable_area_initial_effect),
6569 (hildon_pannable_area_expose_event),
6570 (hildon_pannable_area_map),
6571 (hildon_pannable_area_init): Moved the launching point of the
6572 initial effect, it was in map but the sizes where not correct in
6573 that method so we do not know if we have the reproduce it. Now it
6574 is placed in the expose_event method and uses a variable to
6575 reproduce it just once.
6577 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6579 * src/hildon-pannable-area.c,
6580 (hildon_pannable_draw_vscroll),
6581 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6582 position allowed for the scrollbars.
6584 (hildon_pannable_area_size_allocate): Small style change.
6586 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6588 * src/hildon-pannable-area.c,
6589 (hildon_pannable_area_scroll_indicator_fade),
6590 (hildon_pannable_area_button_press_cb),
6591 (hildon_pannable_area_button_release_cb),
6592 (hildon_pannable_area_scroll_cb),
6593 (hildon_pannable_area_expose_event),
6594 (hildon_pannable_area_init): Added the define parameter
6595 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6596 and refactor the fade variable.
6598 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6600 * src/hildon-pannable-area.c,
6601 (hildon_pannable_area_redraw),
6602 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6603 lines, we were reimplemeting the redraw code.
6605 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6607 * src/hildon-pannable-area.c,
6608 (hildon_pannable_area_scroll_cb),
6609 (hildon_pannable_area_realize),
6610 (hildon_pannable_area_class_init): Added scroll_event management
6611 for pannable area, now we can scroll the usual desktop method.
6613 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6614 initialization of the parameters should depend on idle_id.
6616 (hildon_pannable_area_init),
6617 (hildon_pannable_area_map): Small code style modifications
6619 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6621 * src/hildon-pannable-area.c
6622 (hildon_pannable_area_button_press_cb),
6623 (hildon_pannable_area_motion_notify_cb),
6624 (hildon_pannable_area_button_release_cb),
6625 (hildon_pannable_area_size_allocate),
6626 (hildon_pannable_area_scroll_to): Improved the timeouts
6627 management, we avoid creating them each time.
6629 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6631 * src/hildon-pannable-area.c:
6632 (hildon_pannable_area_refresh),
6633 (hildon_pannable_area_motion_notify_cb),
6634 (hildon_pannable_area_class_init):
6635 * src/hildon-pannable-area.h:
6636 * src/hildon-touch-selector.c
6637 (_create_new_column):
6638 * examples/hildon-pannable-area-example-4.c:
6639 (horizontal_movement),
6640 (vertical_movement),
6642 Replaced the names of enums in the HildonPannableArea:
6643 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6644 HILDON_MOVEMENT_MODE_*
6645 - HILDON_PANNABLE_AREA_MOV_* ->
6647 - Removed HildonPannableAreaIndicatorMode, now we
6650 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6652 * examples/hildon-pannable-area-touch-grid-example.c
6653 * examples/hildon-pannable-area-touch-list-example.c: Fix
6654 compilation warnings.
6656 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6658 * src/hildon-gtk.c (hildon_gtk_button_new)
6659 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6660 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6661 images overriding the value of the "gtk-button-images" setting.
6663 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6665 * src/hildon-check-button.c (hildon_check_button_new):
6666 Instead of using a custom container, display the label and the
6667 checkbox using the standard GtkButton API.
6669 * examples/hildon-check-button-example.c (main): Don't use
6670 hildon_check_button_set_label() anymore
6672 * src/hildon-check-button.h
6673 * src/hildon-check-button.c
6674 (hildon_check_button_set_label, hildon_check_button_get_label):
6675 Set as deprecated, now we're using gtk_button_{get,set}_label()
6677 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6679 * src/hildon-pannable-area.c,
6680 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6681 GtkTreeview first line we detected it after the inclusion of the
6682 GtkWindowImpl in gtk+. We now check if the window is visible, not
6683 just if the pointer is over the window.
6684 (hildon_pannable_axis_scroll),
6685 (hildon_pannable_area_expose_event): Small style changes.
6687 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6689 * src/hildon-button.c: Update documentation.
6691 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6693 * examples/hildon-button-example.c: Add a switch to show images in
6696 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6698 * doc/hildon-docs.sgml: Some docs reorganization.
6700 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6702 * examples/hildon-pannable-area-touch-list-example.c
6704 * examples/hildon-pannable-area-touch-grid-example.c
6705 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6706 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6707 Fix memory leak when setting the tree model.
6709 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6713 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6715 * doc/hildon.types: Remove duplicated hildon_window_get_type
6716 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6717 documentation comment.
6719 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6721 * doc/Makefile.am: Complete list of private headers.
6723 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6725 * doc/hildon-docs.sgml
6726 * src/hildon-app-menu.c
6727 * src/hildon-bread-crumb.c
6728 * src/hildon-button.c
6730 * src/hildon-program.c
6731 * src/hildon-stackable-window.c
6732 * src/hildon-window.c: Lots of documentation updates.
6734 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6736 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6738 * configure.ac: Require Gtk+ 2.12.9 at least
6740 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6742 * src/hildon-pannable-area.c
6743 (hildon_pannable_area_scroll_indicator_fade),
6744 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6745 to protect the return of this timeout callbacks, avoiding deadlocks.
6747 2008-08-12 Christian Dywan <christian@imendio.com>
6750 * src/hildon-*.h: Ensure a consistent include order,
6751 include <gtk/gtk.h> instead of particular files and
6752 only include the topmost header in the gtk stack. See NB #39857
6754 2008-08-12 Christian Dywan <christian@imendio.com>
6756 * src/hildon-picker-dialog.c
6757 * src/hildon-touch-selector.c: Fix warnings about unused and
6758 uninitialized variables.
6760 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6762 * examples/Makefile.am
6763 * examples/hildon-check-button-example.c: Example of the hildon
6766 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6768 * src/hildon-window.h
6769 * src/hildon-window.c (hildon_window_class_init)
6770 (hildon_window_unset_program): Don't make
6771 hildon_window_unset_program a virtual function anymore.
6773 * src/hildon-stackable-window.c: Update documentation
6775 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6778 * doc/hildon-docs.sgml
6779 * doc/visual_index.xml
6780 * src/hildon-defines.c
6782 * src/hildon-helper.c
6783 * src/hildon-range-editor.c: Lots of documentation fixes.
6785 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6787 * examples/hildon-picker-button-multicolumn-example.c
6788 (create_touch_selector): Fix compilation warning.
6790 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6792 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6793 (hildon_pannable_area_button_release_cb)
6794 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6796 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6798 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6801 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6803 * src/hildon-bread-crumb-trail.h
6804 * src/hildon-date-editor.c
6805 * src/hildon-date-selector.c
6806 * src/hildon-pannable-area.c
6807 * src/hildon-picker-dialog.c
6808 * src/hildon-time-selector.c
6809 * src/hildon-touch-selector-entry.c
6810 * src/hildon-touch-selector.c
6811 * src/hildon-touch-selector.h: Misc documentation fixes
6813 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6815 * examples/hildon-date-editor-example.c (main): Updated date
6818 * examples/hildon-note-example.c (on_confirmation_clicked):
6819 Updated confirmation note example.
6821 * src/hildon-date-editor.c
6822 * src/hildon-note.c: Updated sample programs in documentation.
6825 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6827 * src/hildon-date-button.h:
6828 * src/hildon-picker-button.h:
6829 * src/hildon-time-button.c:
6830 * src/hildon-time-button.h:
6832 Some declarations changes to allow gtk-doc to document the widgets
6835 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6837 * src/hildon-date-button.c: Document the widget.
6838 * src/hildon-time-button.c: Document the widget.
6840 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6842 * src/hildon-picker-button.c: Document the widget.
6843 * src/hildon-touch-selector-entry.c: Document the widget.
6845 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6847 * doc/hildon-docs.sgml
6850 * src/hildon-check-button.h
6851 * src/hildon-check-button.c: New functions to create the Hildon
6855 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6857 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6859 * src/hildon-button.h
6860 * src/hildon-button.c
6861 (hildon_button_add_title_size_group)
6862 (hildon_button_add_value_size_group)
6863 (hildon_button_add_image_size_group)
6864 (hildon_button_add_size_groups): New functions to set size groups
6865 for the button labels and image.
6866 (hildon_button_new_full): Removed
6868 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6870 * src/hildon-time-selector.c
6871 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6872 in order to avoid a crash if gconf is not available
6874 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6876 * src/hildon-button.c (hildon_button_set_arrangement)
6877 (hildon_button_construct_child): Don't construct the button child
6878 before setting the arrangement.
6880 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6882 * src/hildon-program-private.h
6883 * src/hildon-program.c
6884 * src/hildon-program.h
6885 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6886 (hildon_program_peek_window_stack)
6887 (hildon_program_pop_window_stack)
6888 (hildon_program_go_to_root_window): HildonProgram now has a
6889 separate list for stackable windows. Functions are provided to
6890 manage that list with a stack-like API.
6892 * src/hildon-stackable-window.c: Stackable window management is
6893 now much simpler with the new HildonProgram API. Windows no
6894 longer need to be manually added to the program, they're
6895 automatically pushed to the top of the stack when shown.
6897 * examples/hildon-stackable-window-example.c: Updated example to
6898 reflect the API changes.
6900 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6902 * src/hildon-touch-selector.c: Comment out unimplemented
6903 hildon_touch_selector_insert_column() to avoid a compile warning.
6905 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6907 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6908 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6909 (hildon_touch_selector_set_column_selection_mode),
6910 (_hildon_touch_selector_set_model),
6911 (hildon_touch_selector_set_model):
6913 Complete review of HildonTouchSelector documentation.
6915 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6917 * doc/hildon-docs.sgml
6921 * src/hildon-gtk.c: Convenience functions for standard Gtk
6922 widgets, used to easily perform frequent operations.
6924 * src/hildon-button-helpers.h
6925 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6927 * src/hildon-helper.h
6928 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6929 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6931 * src/hildon-button.h
6932 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6934 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6936 * src/hildon-button.c (hildon_button_init)
6937 (hildon_button_set_arrangement, hildon_button_construct_child):
6938 Pack the image and the labels inside the same GtkAlignment so
6939 gtk_button_set_alignment() can be used
6941 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6943 * src/hildon-button.h
6944 * src/hildon-button.c
6945 (hildon_button_init, hildon_button_set_image)
6946 (hildon_button_set_image_position)
6947 (hildon_button_construct_child): New functions to add an image to
6950 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6952 * src/hildon-date-button.c
6953 * src/hildon-picker-button.c
6954 * src/hildon-time-button.c
6955 * src/hildon-button.c:
6956 (hildon_button_class_init): "size-flags" renamed to "size"
6957 (hildon_button_set_title): Hide the title label if set to NULL.
6959 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6961 HildonButtonFlags split into HildonButtonArrangement (to set the
6962 button layout) and HildonSizeType (which can be used for any
6965 * src/hildon-button.h
6966 * src/hildon-button.c
6967 (hildon_button_class_init)
6968 (hildon_button_set_arrangement)
6969 (hildon_button_set_property): New "size-flags"
6970 property. "arrangement-flags" renamed to "arrangement".
6971 (hildon_button_new, hildon_button_new_with_text)
6972 (hildon_button_new_full): Constructors updated to reflect type changes.
6974 * src/hildon-helper.h
6975 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6976 to set the size of a widget.
6980 * src/hildon-button-helpers.c
6981 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6983 * src/hildon-date-button.c
6984 * src/hildon-date-button.h
6985 * src/hildon-picker-button.c
6986 * src/hildon-picker-button.h
6987 * src/hildon-time-button.c
6988 * src/hildon-time-button.h: Updated widgets to reflect
6989 HildonButton API changes.
6991 * examples/hildon-button-example.c
6992 * examples/hildon-date-button-example.c
6993 * examples/hildon-picker-button-example.c
6994 * examples/hildon-picker-button-multicolumn-example.c
6995 * examples/hildon-time-button-example.c
6996 * examples/hildon-touch-selector-entry-example.c
6997 * examples/hildon-touch-selector-example.c: Updated examples to
6998 reflect HildonButton API changes.
7000 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7002 * doc/hildon-docs.sgml:
7004 * examples/Makefile.am:
7005 * examples/hildon-touch-selector-entry-example.c:
7007 * src/hildon-touch-selector-entry.c:
7008 * src/hildon-touch-selector-entry.h:
7011 Moved HildonTouchSelectorEntry from sandbox. Added its
7012 documentation and examples.
7014 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7016 * src/hildon-touch-selector.h:
7017 * examples/hildon-picker-button-multicolumn-example.c:
7018 (hildon_touch_selector_append_text_column): Add a gboolean
7019 parameter to determine if text must be centered in the column.
7021 * src/hildon-date-selector.c: (hildon_date_selector_init):
7022 * src/hildon-time-selector.c: (hildon_time_selector_init):
7023 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7024 (create_touch_selector): Update widgets and example to reflect
7027 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7029 * src/hildon-touch-selector.c:
7030 (hildon_touch_selector_set_active_iter): Set also the cursor in
7033 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7035 * doc/hildon-docs.sgml
7038 * src/hildon-toggle-button.c
7039 * src/hildon-toggle-button.h
7040 * src/hildon.h: Removed HildonToggleButton widget, a derived
7041 class is not necessary for this.
7043 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7045 * src/hildon-pannable-area.c,
7046 (hildon_pannable_area_realize),
7047 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7050 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7052 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7053 "done" button the default widget for the dialog.
7055 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7057 * src/hildon-touch-selector.c:
7058 (hildon_touch_selector_class_init),
7059 (hildon_touch_selector_get_property),
7060 (_hildon_touch_selector_set_model),
7061 (_hildon_touch_selector_has_multiple_selection),
7062 (hildon_touch_selector_has_multiple_selection):
7063 Add a "has-multiple-selection" property with a virtual
7064 has_multiple_selection() method to allow derived classes to
7065 override the default value for it. See the method and property
7066 documentation for details.
7068 * src/hildon-touch-selector.h: Add the new API.
7070 * src/hildon-picker-dialog.c: (requires_done_button): Call
7071 hildon_touch_selector_has_multiple_selection() instead of
7072 determining the need for a button itself.
7074 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7076 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7077 (_hildon_touch_selector_set_model),
7078 (hildon_touch_selector_set_model): Move working code to
7079 _hildon_touch_selector_set_mode(). Call the class method instead.
7081 * src/hildon-touch-selector.h: Add (*set_model) to
7082 HildonTouchSelectorClass.
7084 Make hildon_touch_selector_set_model() a virtual method, so that
7085 derived classes can extend it and do fancy stuff with the model.
7087 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7089 * configure.ac: Set back the tarname in AC_INIT to hildon.
7091 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7095 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7096 instead of libesd (NB#86876). Volume handling is still an open issue.
7098 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7101 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7103 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7104 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7105 derived class to ease placement of an entry widget in
7106 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7107 end, where the selector columns are packed now.
7109 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7111 * src/hildon-picker-button.c: Removed the simple _text() API.
7112 * src/hildon-picker-button.h: Likewise.
7114 * src/hildon-touch-selector.h:
7115 * src/hildon-touch-selector.c:
7116 (hildon_touch_selector_new_text),
7117 (hildon_touch_selector_append_text),
7118 (hildon_touch_selector_prepend_text),
7119 (hildon_touch_selector_insert_text):
7121 Moved the simple _text() API from HildonPickerButton to
7122 HildonTouchPicker, to provide better escalability and not to tie
7123 that API to HildonPickerButton.
7125 * examples/hildon-picker-button-example.c: (main): Example updated.
7127 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7129 * src/hildon-button.c: Updated documentation.
7131 * examples/hildon-button-example.c: Add the posibility to create
7132 the buttons using horizontal layout for title and value.
7134 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7136 * src/hildon-app-menu-private.h
7137 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7138 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7139 GtkSizeGroup for the filters, use the 'homogeneous' property of
7142 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7144 * examples/hildon-button-example.c: Updated example.
7146 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7148 * doc/hildon-docs.sgml:
7151 Update documentation.
7153 * examples/Makefile.am: Update renamed examples.
7155 * examples/hildon-picker-button-multicolumn-example.c:
7156 (create_touch_selector), (main): Update after the rename.
7158 * examples/hildon-touch-picker-example.c: Removed.
7159 * examples/hildon-touch-selector-example.c: (value_changed),
7160 (create_selector), (get_visible_content), (main): Renamed from
7161 hildon-touch-picker-example.c
7163 * src/Makefile.am: Updated renamed files.
7165 * src/hildon-date-button.c: (hildon_date_button_init),
7166 (hildon_date_button_get_date), (hildon_date_button_set_date):
7167 * src/hildon-date-selector.c: (hildon_date_selector_init),
7168 (_custom_print_func), (_update_day_model),
7169 (_manage_selector_change_cb),
7170 (hildon_date_selector_select_current_date),
7171 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7172 * src/hildon-date-selector.h:
7173 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7174 (hildon_picker_button_set_property),
7175 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7176 (hildon_picker_button_init), (hildon_picker_button_new_text),
7177 (hildon_picker_button_append_text),
7178 (hildon_picker_button_prepend_text),
7179 (hildon_picker_button_insert_text),
7180 (hildon_picker_button_set_selector),
7181 (hildon_picker_button_get_selector):
7182 * src/hildon-picker-button.h:
7183 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7184 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7185 (_update_title_on_selector_changed_cb), (requires_done_button),
7186 (_hildon_picker_dialog_set_selector),
7187 (hildon_picker_dialog_set_selector),
7188 (hildon_picker_dialog_get_selector):
7189 * src/hildon-picker-dialog.h:
7190 * src/hildon-time-button.c: (hildon_time_button_init),
7191 (hildon_time_button_get_time), (hildon_time_button_set_time):
7192 * src/hildon-time-selector.c: (hildon_time_selector_init),
7193 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7194 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7195 * src/hildon-time-selector.h:
7198 Massive code updates after the rename.
7200 * src/hildon-touch-picker.c: Removed.
7201 * src/hildon-touch-picker.h: Removed.
7203 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7204 (hildon_touch_selector_init), (hildon_touch_selector_map),
7205 (hildon_touch_selector_remove), (_default_print_func),
7206 (_selection_changed_cb), (_create_new_column),
7207 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7208 (hildon_touch_selector_append_text_column),
7209 (hildon_touch_selector_remove_column),
7210 (hildon_touch_selector_set_column_attributes),
7211 (hildon_touch_selector_insert_column),
7212 (hildon_touch_selector_get_num_columns),
7213 (hildon_touch_selector_get_column_selection_mode),
7214 (hildon_touch_selector_set_column_selection_mode),
7215 (hildon_touch_selector_set_print_func),
7216 (hildon_touch_selector_get_print_func),
7217 (hildon_touch_selector_get_active_iter),
7218 (hildon_touch_selector_set_active_iter),
7219 (hildon_touch_selector_get_selected_rows),
7220 (hildon_touch_selector_get_model),
7221 (hildon_touch_selector_set_model),
7222 (hildon_touch_selector_get_current_text),
7223 (_hildon_touch_selector_center_on_selected_items):
7224 * src/hildon-touch-selector.h: Renamed from
7225 hildon-touch-picker.[ch]
7227 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7228 references, code examples, and related documentation.
7230 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7232 * doc/hildon-docs.sgml
7235 * src/hildon-toggle-button.c
7236 * src/hildon-toggle-button.h
7237 * src/hildon.h: New HildonToggleButton widget.
7239 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7241 * src/hildon-button.c: Add API documentation.
7242 (hildon_button_set_size_groups): Check input parameters
7244 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7246 * src/hildon-pannable-area.c
7247 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7248 effect after reaching the movement thredshold. This way we start
7249 using the distance after passing the thredshold.
7251 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7253 * src/hildon-button.c: (hildon_button_set_property): Use the
7254 appropriate g_value_get_flags() method.
7256 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7258 * doc/hildon-docs.sgml:
7261 Add the touch pickers, picker dialogs, and picker button widgets
7262 to the documentation.
7264 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7266 * src/hildon-button.c: (hildon_button_set_property),
7267 (hildon_button_class_init): Make "arrangement-flags" a proper
7268 G_TYPE_FLAGS derived property.
7270 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7272 * examples/Makefile.am: Add below examples.
7273 * examples/hildon-date-button-example.c:
7274 * examples/hildon-picker-button-example.c:
7275 * examples/hildon-picker-button-multicolumn-example.c:
7276 * examples/hildon-time-button-example.c:
7277 * examples/hildon-touch-picker-example.c:
7279 Add examples for the recently added touch pickers,
7280 picker dialogs, and picker button widgets.
7282 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7284 * src/hildon-button.c: Add some API documentation
7286 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7288 * src/hildon-button.h
7289 * src/hildon-button.c
7291 (hildon_button_new_with_text): New constructor to create a button
7292 with no text at all.
7293 (hildon_button_init, hildon_button_set_arrangement)
7294 (hildon_button_set_title, hildon_button_set_value)
7295 (hildon_button_set_text)
7296 (hildon_button_construct_child): Hide the value when it's not used
7297 so the rest of the text is properly aligned.
7298 Allow creating buttons with arbitrary widgets inside (not just
7299 title/value labels).
7301 * examples/hildon-button-example.c (vertical_buttons_window)
7302 (horizontal_buttons_window): Update example to use new API.
7304 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7306 * src/Makefile.am: Added HildonTimeButton.
7307 * src/hildon-time-button.c: Added missing LGPL header.
7308 * src/hildon-time-button.h: Added missing LGPL header.
7309 * src/hildon.h: Add hildon-time-button.h
7311 Copied HildonTimeButton from sandbox to trunk. Future work on this
7312 widget must take place in trunk.
7314 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7316 * src/Makefile.am: Added HildonDateButton.
7317 * src/hildon-date-button.c: Update includes.
7318 * src/hildon.h: Add hildon-date-button.h
7320 Copied HildonDateButton from sandbox to trunk. Future work on this
7321 widget must take place in trunk.
7323 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7325 * src/Makefile.am: Added HildonPickerButton.
7326 * src/hildon-picker-button.h: Update includes.
7327 * src/hildon.h: Add hildon-picker-button.h
7329 Copied HildonPickerButton from sandbox to trunk. Future work on
7330 this widget must take place in trunk.
7332 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7334 * src/Makefile.am: Added HildonPickerDialog.
7335 * src/hildon-picker-dialog.c: Update includes.
7336 * src/hildon.h: Add hildon-picker-dialog.h
7338 Copied HildonPickerDialog from sandbox to trunk. Future work
7339 on this widget must take place in trunk.
7341 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7343 * src/Makefile.am: Added HildonTimeSelector.
7344 * src/hildon.h: Add hildon-time-selector.h
7346 Copied HildonTimeSelector widget from sandbox to trunk. Future
7347 work on this widget must happen in trunk.
7349 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7351 * src/Makefile.am: Added HildonDateSelector.
7352 * src/hildon.h: Add hildon-date-selector.h
7354 Copied HildonDateSelector widget from sandbox to trunk. Future
7355 work on this widget must happen in trunk.
7357 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7359 * src/Makefile.am: Added HildonTouchPicker.
7360 * src/hildon-touch-picker.c: Update includes.
7361 * src/hildon.h: Add hildon-touch-picker.h
7363 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7364 on this widget must happen in trunk.
7366 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7368 * src/hildon-pannable-area.c:
7369 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7371 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7373 * examples/hildon-app-menu-example.c (main): Let the window
7376 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7378 * src/hildon-pannable-area.c
7379 (hildon_pannable_area_class_init): Set the min value of the
7380 overshoot properties to zero, which points out that not
7381 overshooting allowed.
7383 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7385 Modified the procedure to get the widget at a point inside the
7386 pannable area when using the movement type signals. Now the user
7387 has to call a function to get the child, that way we just
7388 calculate the child in case the user really want to use it and not
7391 * src/hildon-marshalers.list: Modified the marshallers, now we do
7392 not have the widget as a parameter.
7394 * src/hildon-pannable-area.c
7395 (hildon_pannable_area_motion_notify_cb),
7396 (hildon_pannable_area_class_init),
7397 (hildon_pannable_get_child_widget_at): Removed the widget
7398 parameter from the signal callback. We have also refactored the
7399 emission of the signals.
7401 * src/hildon-pannable-area.h: Added a new method to the API to
7402 calculate a widget at a point inside the pannable area,
7403 hildon_pannable_get_child_widget_at.
7405 * examples/hildon-pannable-area-example-4.c
7406 (horizontal_movement): Modified the example to use the new API,
7407 added condition to control which widget is under the event. This
7408 way we can avoid scrolling laterally over other widgets.
7410 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7412 * src/hildon-pannable-area.c
7413 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7414 modes, we stop getting the pointer events due to returning the
7415 callback without properly calling the get pointer again. Fixed
7416 also an error using the hscroll and vscroll.
7418 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7420 * src/hildon-app-menu-private.h
7421 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7422 (hildon_app_menu_button_release, hildon_app_menu_init)
7423 (hildon_app_menu_class_init): Don't hide the menu on button
7424 release if the user didn't press outside first.
7426 * src/hildon-window.h
7427 * src/hildon-window.c (hildon_window_toggle_menu)
7428 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7429 hildon_window_toggle_menu a virtual function for the stackable
7430 window to override it.
7432 * src/hildon-stackable-window.h
7433 * src/hildon-stackable-window-private.h
7434 * src/hildon-stackable-window.c
7435 (hildon_stackable_window_realize)
7436 (hildon_stackable_window_finalize)
7437 (hildon_stackable_window_class_init)
7438 (hildon_stackable_window_init)
7439 (hildon_stackable_window_set_main_menu): New function to set the
7440 app menu of a HildonStackableWindow.
7442 * examples/hildon-app-menu-example.c: Remove the button to show
7443 the app menu, now it'll be shown when clicking on the title bar
7446 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7448 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7449 set the widget name if the arrangement flags do not specify
7452 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7454 * src/hildon-button.c: (hildon_button_set_property),
7455 (hildon_button_class_init), (hildon_button_new_full),
7456 (hildon_button_set_arrangement): Added "arrangement-flags"
7459 Make the HildonButtonFlags a construction-only property, to allow
7460 subclasses to set them properly.
7462 2008-07-21 Tim Janik <timj@imendio.com>
7464 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7465 insertion position after backspace, so additional digits are appended,
7468 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7470 * src/hildon-pannable-area.c,
7471 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7472 TODO list, it was complete and removed the g_debug and g_print
7475 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7477 Added the movement modes to the hildon-pannable-area, with this
7478 modes the developers can control in which directions the widget
7479 can scroll. They can also connect to signals in order to do
7480 something when that happens, allowing applications scroll. There
7481 is an example uploaded showing how to use it.
7483 * examples/Makefile.am:
7484 * examples/hildon-pannable-area-example-4.c: Added this example of
7485 an application using the modes.
7487 * src/hildon-marshalers.list: Added a new marshaller for the new
7490 * src/hildon-pannable-area.h: Added new enumerations and flags in
7491 order to control the movement modes and the new signals to warn
7492 about the movements in the area.
7494 * src/hildon-pannable-area.c:
7495 (hildon_pannable_axis_scroll),
7496 (hildon_pannable_area_scroll),
7497 (hildon_pannable_area_motion_notify_cb),
7498 (hildon_pannable_area_get_property),
7499 (hildon_pannable_area_set_property),
7500 (hildon_pannable_area_map),
7501 (hildon_pannable_area_class_init),
7502 (hildon_pannable_area_init),
7503 (hildon_pannable_area_jump_to): Added the modes to control the
7504 movement in the widget. We have added properties to control it,
7505 signals to warn about the movements and refactored some code.
7507 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7509 Changes required in order to allow vfast_factor set to zero to
7512 * src/hildon-pannable-area.c:
7513 (hildon_pannable_area_button_press_cb): Changed the condition, it
7514 is required for not allowing click when vfast_factor is zero.
7515 (hildon_pannable_area_timeout): Initialized velocity variables
7516 when we stop moving, it was less than 1 but not zero and we need
7517 to check zero in some situations.
7518 (hildon_pannable_area_class_init): Changed the default value of
7519 the speed factor, now the button_press is just sent in case the
7520 speed is 2 per cent of the max speed.
7521 (hildon_pannable_area_init): Initialization with 0.
7523 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7525 * src/hildon-pannable-area.c,
7526 (hildon_pannable_area_get_topmost): replaced
7527 gdk_window_get_children with gdk_window_peek_children, this way we
7528 do not have to free the list because it is not a copy.
7530 (hildon_pannable_axis_scroll),
7531 (hildon_pannable_area_scroll),
7532 (hildon_pannable_area_timeout),
7533 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7534 two parameters that were only used inside the
7535 hildon_pannable_area_scroll function.
7537 * examples/hildon-pannable-area-example.c,
7538 (get_sawtooth_label): Fixed small memory leak.
7540 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7542 More checks for the case where the overshoot is bigger than the
7545 * src/hildon-pannable-area.c:
7546 (hildon_pannable_draw_vscroll),
7547 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7548 to draw the slider of the scrollbar under the other scrollbar.
7549 (hildon_pannable_area_expose_event): added new checks to control
7550 the drawing of the overshooting area rectangle, in case it is too
7551 big for the area of the widget.
7552 (hildon_pannable_area_size_allocate): add more checks to avoid
7553 setting a position to the child widget outside the area.
7555 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7557 * src/hildon-pannable-area.c
7558 (hildon_pannable_area_size_allocate): Added conditions to control
7559 when overshooting is bigger than the allocated space for the
7560 children, this avoids negative allocations.
7562 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7564 * doc/hildon-docs.sgml
7566 * examples/Makefile.am
7567 * examples/hildon-button-example.c
7569 * src/hildon-button.c
7570 * src/hildon-button.h
7571 * src/hildon.h: Initial version of the new HildonButton widget,
7574 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7576 * src/hildon-pannable-area.c:
7577 (hildon_pannable_area_button_press_cb),
7578 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7579 (hildon_pannable_area_motion_notify_cb),
7580 (hildon_pannable_area_button_release_cb),
7581 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7582 (hildon_pannable_area_jump_to_child):
7584 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7586 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7588 * examples/Makefile.am
7589 * examples/hildon-pannable-area-touch-grid-example.c
7590 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7591 the Hildon Touch List and Hildon Touch Grid using the
7592 HildonPannableArea widget.
7594 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7596 * src/hildon-pannable-area.c,
7597 (hildon_pannable_area_button_press_cb),
7598 (hildon_pannable_area_refresh),
7599 (hildon_pannable_area_scroll),
7600 (hildon_pannable_area_motion_notify_cb),
7601 (hildon_pannable_area_button_release_cb),
7602 (hildon_pannable_area_expose_event),
7603 (hildon_pannable_area_add),
7604 (hildon_pannable_area_remove),
7605 (hildon_pannable_area_realize),
7606 (hildon_pannable_area_size_allocate),
7607 (hildon_pannable_area_class_init),
7608 (hildon_pannable_area_init),
7609 (hildon_pannable_area_scroll_to_child),
7610 (hildon_pannable_area_jump_to_child): Fixed the problem of
7611 removing the child from the GtkBin, we have rearranged the widget
7612 hierarchy, now there is no GtkAlignment which was not doing
7613 anything interesting but breaking some of the assumptions of
7614 GtkContainer. Now developers if they want to add a GtkAlignment
7615 they could, but it is not inside the area.
7617 We had to review the whole allocation/expose process, now it is
7618 improved and we save at least three signals which would be saving
7619 some time when rendering the widget. The allocation of the
7620 scrollbars is now made in the allocate method as usual.
7622 We have also added some conditions in order to control when there
7623 is no child of the pannable area. Maybe we will need more work
7626 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7628 * src/hildon-pannable-area.c,
7629 (hildon_pannable_area_dispose): Released the fade-out timeout when
7630 disposing the widget.
7632 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7634 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7635 zero, we are going to use that property in order to deactivate the
7637 (hildon_pannable_axis_scroll),
7638 (hildon_pannable_area_size_allocate): Added conditions to control
7639 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7640 call, now it is called in all situations and we can remove calls
7641 in the allocate method.
7642 (hildon_pannable_area_map): Control the situation when
7643 overshoot_max is zero, we do not need the timeout.
7644 (hildon_pannable_area_class_init): Added documentation in order to
7645 point out that setting zero to overshoot_max means deactivate
7648 NOTE: removed trailing whitespaces from my previous comments of
7651 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7653 * src/hildon-pannable-area.c
7654 (hildon_pannable_area_get_property),
7655 (hildon_pannable_area_set_property),
7656 (hildon_pannable_area_map),
7657 (hildon_pannable_area_class_init),
7658 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7659 to cause the widget give a hint about its panning abilities upon
7662 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7664 * src/hildon-pannable-area.c: Several documentation improvements.
7666 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7668 * src/hildon-program.c
7669 * src/hildon-stackable-window.c: Update documentation.
7671 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7673 * src/hildon-stackable-window.c (get_previous_window_if_last):
7674 Renamed get_last_window()
7675 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7676 (hildon_stackable_window_unset_program):
7678 (get_previous_window_if_last):
7679 Detect if the window hasn't been added to a HildonProgram.
7681 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7683 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7685 * src/hildon-pannable-area.c
7686 (hildon_pannable_area_button_press_cb),
7687 (hildon_pannable_axis_scroll),
7688 (hildon_pannable_area_scroll),
7689 (hildon_pannable_area_timeout),
7690 (hildon_pannable_calculate_vel_factor),
7691 (hildon_pannable_area_get_property),
7692 (hildon_pannable_area_set_property),
7693 (hildon_pannable_area_class_init),
7694 (hildon_pannable_area_init),
7695 (hildon_pannable_area_scroll_to),
7696 (hildon_pannable_area_jump_to),
7697 (hildon_pannable_area_scroll_to_child),
7698 (hildon_pannable_area_jump_to_child):
7699 * src/hildon-pannable-area.h: Added the new API functions:
7700 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7701 hildon_pannable_area_scroll_to_child,
7702 hildon_pannable_area_jump_to_child
7705 * examples/Makefile.am
7706 * examples/hildon-pannable-area-example-2.c
7707 * examples/hildon-pannable-area-example-3.c: Added these two new
7708 examples in order to test and show how the new APIs work.
7710 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7712 * examples/hildon-stackable-window-example.c (new_window):
7713 * src/Makefile.am (noinst_HEADERS):
7714 * src/hildon-program.c (hildon_program_go_to_root_window):
7715 * src/hildon-program.h:
7716 * src/hildon-stackable-window-private.h:
7717 * src/hildon-stackable-window.c:
7718 * src/hildon-stackable-window.h:
7719 Create hildon-stackable-window-private.h
7720 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7722 * examples/hildon-app-menu-example.c (create_menu):
7723 * examples/hildon-hvolumebar-insensitive-example.c (main):
7724 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7725 * examples/hildon-toolbar-seekbar-example.c (main):
7726 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7727 * src/hildon-banner.c (hildon_banner_set_property):
7728 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7729 Fix compilation warnings
7731 * src/hildon-window.c:
7734 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7736 * src/hildon-stackable-window.c
7737 (hildon_stackable_window_unset_program):
7738 Calculate correctly whether to show the previous window if the
7739 last one is removed from the stack.
7740 (hildon_stackable_window_go_to_root_window):
7741 Send delete events starting from the topmost window.
7742 Stop if one of the windows is not destroyed.
7744 (hildon_stackable_window_delete_event)
7745 (hildon_stackable_window_class_init):
7746 Ignore the delete event if the window is not the topmost one.
7748 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7750 * src/hildon-pannable-area.c
7751 (hildon_pannable_area_expose_event): Fixed a problem when
7752 selecting the background color of the scrollbars.
7754 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7756 * examples/hildon-stackable-window-example.c
7757 * src/hildon-stackable-window.c
7758 * src/hildon-stackable-window.h
7759 hildon_stackable_window_go_home() renamed to
7760 hildon_stackable_window_go_to_root_window()
7761 Send delete events to windows rather than closing them with
7762 gtk_widget_destroy()
7764 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7766 * src/hildon-pannable-area.c
7767 (hildon_pannable_area_button_release_cb): Fix overshooting in
7770 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7772 * src/hildon-pannable-area.c
7773 (hildon_pannable_area_init): Initially show the scroll indicators.
7774 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7776 Add initial effect showing the widget is pannable.
7778 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7780 * src/hildon-pannable-area.c
7781 (hildon_pannable_area_class_init)
7782 (hildon_pannable_area_set_property)
7783 (hildon_pannable_area_get_property)
7784 (hildon_pannable_area_button_press_cb):
7785 New 'velocity_fast_factor' property to decide which velocity is
7788 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7790 * src/hildon-pannable-area.c
7791 (hildon_pannable_draw_hscroll)
7792 (hildon_pannable_draw_vscroll):
7793 Use float variables to calculate the size of the scrollbars to
7794 avoid error propagation and resizing during scrolling.
7796 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7798 * src/hildon-pannable-area.c
7799 (hildon_pannable_draw_vscroll)
7800 (hildon_pannable_draw_hscroll):
7801 Define a minimum size for the scroll bars
7803 * src/hildon-stackable-window.c
7804 (hildon_stackable_window_go_home): Fix compilation warning
7805 (get_last_window): Minor optimizations
7806 (hildon_stackable_window_class_init): Fix initialization of
7809 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7811 * src/hildon-stackable-window.c: Fixed typos in doc
7813 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7815 * src/hildon-pannable-area.c
7816 (hildon_pannable_area_scroll):
7817 Calculate here whether we need to scroll instead of using the booleans
7818 that tell us whether to /draw/ the scrolling bars.
7820 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7822 * src/hildon-app-menu.h
7824 * src/hildon-app-menu.c
7825 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7826 multiple filter groups related code and API. Now we support only
7828 * examples/hildon-app-menu-example.c:
7830 Update to reflect API changes.
7832 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7834 * src/hildon-stackable-window.c
7835 (hildon_stackable_window_class_init):
7836 Add hildon_stackable_window_realize.
7837 (hildon_stackable_window_realize):
7838 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7839 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7840 to apply theming and behavior specific to HildonStackableWindow
7843 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7845 * src/hildon-note.c (hildon_note_button_release):
7846 Close information notes also when tapping on them
7848 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7850 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7851 ELASTICITY, refactor and review, fix some issues with drawing
7854 * src/hildon-pannable-area.c:
7855 (hildon_pannable_area_button_press_cb): removed the conditions to
7856 avoid clicks when overshooting. It is not required
7858 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7859 define. Refatored and reviewed the code, now we do not need to
7860 manage velocity in motion_notify.
7862 (hildon_pannable_area_motion_notify_cb): We have moved the code
7863 that controls the area_scroll to the axis_scroll function and get
7864 rid of duplicated code.
7866 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7868 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7870 (hildon_pannable_draw_vscroll),
7871 (hildon_pannable_draw_hscroll): Fixed the problems with the
7872 scrollbar drawing, now we do not use two surfaces, it is easier
7873 and saves resources.
7875 (hildon_pannable_area_get_property): Style modification.
7877 (hildon_pannable_area_class_init): Changed some default values.
7879 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7881 * src/hildon-stackable-window.c: Fix some typos in the
7884 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7886 * src/hildon-dialog.c:
7887 Change indentation style
7890 (hildon_note_button_release):
7891 Use root coordinates to check if the release event happened
7894 * src/hildon-app-menu.c
7895 (hildon_app_menu_button_release):
7896 Remove unnecessary check
7898 * examples/hildon-app-menu-example.c
7900 Add cast to fix warning
7902 * src/hildon-app-menu.c
7903 (hildon_app_menu_class_init):
7904 New inner-border style property.
7905 Set all default spacings to 16
7906 (hildon_app_menu_init):
7907 Use vertical-spacing to set the space between filter buttons and
7908 regular menu buttons.
7909 Set the default container border using the inner-border value.
7911 * examples/hildon-app-menu-example.c
7913 Don't set the menu border explicitly, now we have the inner-border
7914 style property for that.
7916 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7918 * src/hildon-app-menu.c (hildon_app_menu_init):
7919 Make the window modal
7921 * src/hildon-note.c (hildon_note_map)
7922 * src/hildon-app-menu.c (hildon_app_menu_map):
7923 Destroy the grab window if we're unable to grab the pointer
7925 * src/hildon-app-menu-private.h
7926 * src/hildon-app-menu.c
7927 (hildon_app_menu_init, hildon_app_menu_finalize)
7928 (hildon_app_menu_map, hildon_app_menu_unmap)
7929 (hildon_app_menu_button_release)
7930 (grab_transfer_window_get):
7931 Bring back the grab window
7932 (hildon_app_menu_realize):
7933 Decorate the window, set WM hint for Matchbox
7935 * src/hildon-note.c (hildon_note_realize):
7936 * src/hildon-banner.c (hildon_banner_realize):
7937 Add WM hints for Matchbox
7939 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7941 * src/hildon-app-menu-private.h
7942 * src/hildon-app-menu.c
7943 (hildon_app_menu_init, hildon_app_menu_finalize)
7944 (hildon_app_menu_map, hildon_app_menu_unmap)
7945 (hildon_app_menu_button_release):
7946 Remove the grab window, it's not needed anymore
7948 * src/hildon-program.c
7949 Fixed typo in documentation
7951 * src/hildon-app-menu.h
7952 * src/hildon-app-menu.c
7953 * examples/hildon-app-menu-example.c
7954 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7956 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7959 Added new transfer_window and close_if_pressed_outside private
7961 (hildon_note_rebuild):
7962 Don't add a cancel button to the information note. It will be
7963 closed when tapping outside
7964 Remove the comment about the OK button in the documentation
7965 (hildon_note_realize):
7966 Set the notification type hint
7967 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7968 Grab/ungrab pointer and keyboard if the note has to be closed when
7970 (hildon_note_button_release):
7971 Close the note when tapping outside (if applicable)
7973 * src/hildon-app-menu.c
7974 Grab/ungrab pointer and keyboard on map/unmap
7975 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7976 Close the menu on button release, not button press
7978 * src/hildon-banner.c
7979 (hildon_banner_set_property)
7980 (hildon_banner_check_position):
7981 Make the banner use the full width of the screen
7982 (hildon_banner_show_information)
7983 (hildon_banner_show_information_with_markup):
7984 Don't display an icon by default
7986 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7988 Added fading scrollbars and adapted all the overshooting code to
7989 horizontal scrolling. We have also fixed bugs with overshooting
7990 and current fading implementation.
7992 * src/hildon-pannable-area.c
7993 (hildon_pannable_area_scroll_indicator_fade): Time out function
7994 used to change the transparency of the scrollbars.
7996 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7997 control and fixed a problem with fading, we now remove the fade
7998 timeout before adding a new one.
8000 (hildon_pannable_axis_scroll):
8001 (hildon_pannable_area_scroll):
8002 (hildon_pannable_area_timeout): Added this functions so we can use
8003 the scroll code both for vertical and horizontal.
8005 (hildon_pannable_area_motion_notify_cb):
8006 (hildon_pannable_area_button_release_cb): Added the horizontal
8007 scrolling control, fixed a problem with the overshooting timeout.
8009 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8010 painting of the scrolls.
8012 (hildon_pannable_draw_vscroll):
8013 (hildon_pannable_draw_hscroll):
8014 (hildon_pannable_area_expose_event):
8015 Draw both scrollbars and rectangles in the overshooting area.
8017 (hildon_pannable_area_get_property):
8018 (hildon_pannable_area_set_property):
8019 Modified the overshoot property to overshoot_max
8021 (hildon_pannable_area_map):
8022 Replaced the comments symbols.
8024 (hildon_pannable_area_size_allocate):
8025 (hildon_pannable_area_class_init):
8026 (hildon_pannable_area_init): Added horizontal scroll, fading
8027 effect properties, fixed a problem when overshooting in the bottom
8030 * examples/hildon-pannable-area-example.c:
8031 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8032 looks better in the example.
8034 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8036 * src/hildon-window.c
8037 * src/hildon-window.h
8038 (hildon_window_class_init)
8039 (hildon_window_unset_program)
8040 (hildon_window_unset_program_real):
8041 Make unset_program a virtual function
8043 * src/hildon-stackable-window.c
8044 * src/hildon-stackable-window.h
8045 Added hildon_stackable_window_go_home()
8047 * examples/Makefile.am
8048 * examples/hildon-stackable-window-example.c
8049 HildonStackableWindow example
8051 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8053 * hildon-pannable-area.c: Added the overshoot property and removed
8054 the OVERSHOOT define. Fixed an indent style error.
8055 (hildon_pannable_area_motion_notify_cb):
8056 (hildon_pannable_area_get_property):
8057 (hildon_pannable_area_set_property): Add overshoot property.
8059 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8062 (hildon_pannable_area_class_init): Installed the new property.
8064 * hildon-pannable-area-example.c: Added a sawtooth function, this
8065 way it is easier to check the movement in the pannable.
8066 (get_sawtooth_label): Added this function.
8067 (main): Now we get the labels from the new get_sawtooth_label
8070 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8072 * src/hildon-app-menu.h
8073 * src/hildon-app-menu.c
8074 Renamed API variables for consistency
8076 (hildon_app_menu_popup): Use also the default window size to
8077 decide where to place the menu
8079 (hildon_app_menu_init, hildon_app_menu_class_init): New
8080 external-border style property
8082 2008-05-26 Michael Natterer <mitch@imendio.com>
8084 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8085 widget_class->tap_and_hold_setup signal slot doesn't exist any
8086 longer, stop overriding it.
8088 (hildon_time_editor_init): g_signal_connect() to the
8089 tap-and-hold-setup signal instead.
8091 (hildon_time_editor_entry_keypress): add cast to fix warning.
8093 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8095 * doc/hildon-docs.sgml
8097 * examples/Makefile.am
8098 * examples/hildon-app-menu-example.c
8100 * src/hildon-app-menu-private.h
8101 * src/hildon-app-menu.c
8102 * src/hildon-app-menu.h
8104 New HildonAppMenu widget
8106 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8108 Rearranged the inheritance of the pannable area, now it inherits
8109 from GtkBin. This will allow us to control the event_window and
8110 the allocation process of the widget, required for some effects.
8112 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8113 GtkBin structures. * src/hildon-pannable-area.c: Added the
8114 event_window variable.
8115 (hildon_pannable_area_button_press_cb):
8116 (hildon_pannable_area_button_release_cb):
8117 (hildon_pannable_area_motion_notify_cb):
8118 Changed the signature of the method, now we override the event
8119 callback instead of connecting to the signal.
8121 (hildon_pannable_area_realize):
8122 (hildon_pannable_area_unrealize):
8123 (hildon_pannable_area_map):
8124 (hildon_pannable_area_unmap):
8125 (hildon_pannable_area_size_allocate):
8126 Added functions to control the widget construction. We add a
8127 INPUT_ONLY window and we put it over the widgets inside the
8128 container, this event_window handles the events.
8130 (hildon_pannable_area_class_init):
8131 Replaced the signal connections with overrides of the event
8134 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8136 Bouncing effect added when touching the borders, you can change
8137 the elasticity of the border changing the ELASTICITY define.
8139 * src/hildon-pannable-area.c: Added ELASTICITY define.
8140 (hildon_pannable_area_timeout): Added inverse velocity when
8141 touching the border of the child widget, that causes a bounce.
8143 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8145 Improved performance, we now do not go to the X server in order to
8146 get the list of window children. Apparently the effect is the
8147 same, we have to be careful and check if this breaks something in
8150 * src/hildon-pannable-area.c:
8151 (get_ordered_children): Removed this function.
8152 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8153 the children windows function with gdk_window_get_children.
8155 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8157 * src/hildon-pannable-area.c:
8158 (hildon_pannable_area_dispose): Fixed a crash when closing the
8159 window and kinetics is activated.
8161 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8163 * src/hildon-pannable-area.h
8164 * src/hildon-pannable-area.c
8165 Changed indentation style to meet the one used in Hildon
8167 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8169 Reviewed the interaction of the AUTO mode, now we use the time
8170 attribute of the events and calculate the velocity in the motion,
8171 doing a gimp like calculation. The velocity is calculated in each
8172 motion event using the last velocity and the current one, the
8173 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8175 * src/hildon-pannable-area.c: Replaced the time based algorithm
8177 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8178 timeout for the AUTO mode when we are still moving the cursor. We
8179 added also the velocity calculation in this function.
8180 (hildon_pannable_area_button_release_cb): launch the timeout in
8181 case we are in AUTO mode. There are still some constants here that
8182 come from the old implementation that should be reviewed and
8185 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8187 * doc/hildon-docs.sgml
8190 * src/hildon-stackable-window.c
8191 * src/hildon-stackable-window.h
8193 New HildonStackableWindow widget
8195 * examples/hildon-dialog-example.c
8196 * examples/hildon-pannable-area-example.c
8199 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8201 * src/hildon-dialog.c
8202 (hildon_dialog_new_with_buttons): New constructor.
8204 * examples/hildon-dialog-example.c
8205 (main): Update the example to use the new
8206 hildon_dialog_new_with_buttons().
8208 * examples/hildon-pannable-area-example.c
8209 (main): Update example.
8211 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8213 * doc/hildon-docs.sgml
8215 Added HildonPannableArea to the documentation.
8217 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8219 * doc/visual_index.xml
8220 Fix reference to HildonLoginDialog in documentation
8222 * doc/hildon-docs.sgml
8224 * examples/Makefile.am
8225 * examples/hildon-dialog-example.c
8227 * src/hildon-dialog.c
8228 * src/hildon-dialog.h
8230 New HildonDialog widget.
8232 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8234 * src/hildon-pannable-area.c
8235 Merge latest changes (r4318, r4342) from libmokoui trunk
8237 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8239 * examples/Makefile.am
8240 * examples/hildon-pannable-area-example.c
8242 * src/hildon-pannable-area.c
8243 * src/hildon-pannable-area.h
8245 New HildonPannableArea widget.
8247 2008-04-15 18:05:19 <timj@imendio.com>
8249 * src/hildon-banner.c: revert the recent change, that introduced
8250 gtk_window_present() calls. this reopens:
8251 Bug 78481 - [freetest] information banners are hidden under browser menu
8252 But resolves another variant of:
8253 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8255 2008-04-15 13:21:13 <timj@imendio.com>
8257 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8258 recreated its layout, spotted by Kris. this fixes all remaining
8259 artefacts and stability issues with the banner code. in particular:
8260 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8262 2008-04-14 16:52:59 <timj@imendio.com>
8264 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8265 operating on unrealized widgets, fixes:
8266 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8268 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8270 2008-04-09 Kristian Rietveld <kris@imendio.com>
8272 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8273 makes banner disappear.
8274 Fixes: NB#79182: info banner flickering with certain message lengts.
8276 * src/hildon-banner.c (hildon_banner_constructor),
8277 (hildon_banner_init), (hildon_banner_set_text),
8278 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8279 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8280 FALSE, reset size requests of label and banner,
8281 (force_to_wrap_truncated): when the text is too wide, always enforce
8282 the maximum possible width instead of recalculating it from the
8283 layout; enforce the maximum banner height of 3 lines,
8284 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8285 nicer wrapping and no truncated chars if space gets tight.
8287 * src/hildon-banner-private.h: add has_been_wrapped and
8288 has_been_truncated fields.
8290 2008-04-07 Sven Herzberg <sven@imendio.com>
8292 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8293 local values in hildon_date_editor_size_allocate
8295 * src/hildon-date-editor.c: moved the real allocation code into the
8298 2008-04-07 Sven Herzberg <sven@imendio.com>
8300 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8301 local values in hildon_date_editor_size_allocate
8303 * src/hildon-date-editor.c: merged the two if() branches together
8305 2008-04-07 Sven Herzberg <sven@imendio.com>
8307 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8308 local values in hildon_date_editor_size_allocate
8310 * src/hildon-date-editor.c: changed the arguments of the if()
8313 2008-04-07 Sven Herzberg <sven@imendio.com>
8315 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8316 local values in hildon_date_editor_size_allocate
8318 * src/hildon-date-editor.c: split the calculation of the allocation
8319 from the real allocation
8321 2008-03-27 Michael Natterer <mitch@imendio.com>
8323 Fixes: NB#81696: The passcode is not overwritten even after
8326 * src/hildon-code-dialog.c
8327 (hildon_code_dialog_button_clicked)
8328 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8329 because that doesn't overwrite selected text. Instead, emit the
8330 "commit" signal on the entry's im_context so the entry's normal
8331 insert logic is triggered. Set the cursor to the end of the entry
8332 after each insert operation so that we *only* insert in the middle
8333 of the text if something was selected.
8335 2008-03-27 Michael Natterer <mitch@imendio.com>
8337 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8338 selector cannot be opened
8340 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8341 when the popup color selector is created. Please connect to this
8342 signal in order to set the dialog's help ID.
8344 2008-03-25 Sven Herzberg <sven@imendio.com>
8346 Fixes: MB#1212: Hide info banners (infoprints) on click
8348 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8349 extracted the close event simulation into an extra function
8350 (hildon_banner_button_press_event): simulate a close event and destroy
8351 the widget if the event wasn't handled
8352 (hildon_banner_class_init): added the button_press_event handler
8353 (hildon_banner_init): added button-press events to the widget
8355 2008-03-25 Sven Herzberg <sven@imendio.com>
8357 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8358 Patch from: Mohammad Anwari <mdamt@maemo.org>
8360 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8361 instead of the right in RTL mode
8362 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8363 breadcrumb button list in RTL mode
8364 * src/hildon-caption.c: mirror the appearance of the caption widget in
8366 * src/hildon-date-editor.c: mirror appearance of the date editor in
8368 * src/hildon-time-editor.c: mirror appearance of the time editor in
8370 * src/hildon-window.c: fix the position of the popup in RTL mode
8372 2008-03-25 Sven Herzberg <sven@imendio.com>
8374 Amendment to the fix of NB#22072. Fix compilation.
8376 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8378 2008-03-19 Sven Herzberg <sven@imendio.com>
8380 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8383 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8384 timeout id properly when the timeout will disappear this leaves no
8385 artifacts around in the destroy(); there will only be the timeout
8386 created by hildon_banner_ensure_timeout() and adding a new timeout
8387 will also work if the timeout gets removed because the timeout_handler
8390 2008-03-19 Michael Natterer <mitch@imendio.com>
8392 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8394 * src/hildon-volumebar.c
8395 * src/hildon-vvolumebar.c
8396 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8397 the widget becomes focussable at all.
8399 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8400 set the focus to wither the mute button or the volumebar.
8402 Remove own "can-focus" property and instead listen to
8403 notify::can-focus in order to update the widget's state.
8405 Implement GtkWidget::focus() and make sure we can also *leave* the
8406 widget, not only enter it, depending on volumebar orientation and
8407 requested focus direction.
8409 Clean up set_mute() to cooperate nicely with all the above.
8411 2008-03-04 Michael Natterer <mitch@imendio.com>
8413 Fixes: NB#78481: information banners are hidden under browser menu
8415 * src/hildon-banner.c: call gtk_window_present() on the banners so
8416 they are risen if they are already visible.
8418 2008-03-03 Sven Herzberg <sven@imendio.com>
8420 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8422 * examples/hildon-window-menu-example.c: (main): extended the window
8423 menu example to serve as a testcase for automatically added
8424 accelerator groups, too
8425 * src/hildon-window.c: (hildon_window_add_accel_group),
8426 (hildon_window_set_menu): added patch by Tommi Komulainen
8428 2008-03-03 Sven Herzberg <sven@imendio.com>
8430 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8432 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8433 knowledge about the border allocators used within GTK+
8435 2008-02-26 Sven Herzberg <sven@imendio.com>
8437 Fixes: MB#2981: Build with asserts broken
8439 * src/hildon-date-editor.c,
8440 * src/hildon-number-editor.c,
8441 * src/hildon-time-editor.c,
8442 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8443 the proper GType instance check
8445 2008-02-25 Sven Herzberg <sven@imendio.com>
8447 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8449 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8450 * examples/hildon-window-menu-example.c: (main): explicitly show
8452 * src/hildon-window.c:
8453 (hildon_window_set_main_menu): moved most of the code from set_menu()
8454 to this place; skipped the call to gtk_widget_show_all(); also didn't
8455 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8456 (hildon_window_set_menu): removed most of the code, just keep the
8457 questionable gtk_widget_show_all()
8458 * src/hildon-window.h: added the new function and deprecate the old
8461 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8467 * debian/changelog: Updating.
8469 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8472 * pkgconfig/Makefile.am:
8473 * pkgconfig/hildon.pc.in:
8476 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8477 use newly created API_MAJOR_VERSION.
8479 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8485 * debian/changelog: Updating.
8487 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8489 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8491 Add outer_border style property, we use it but don't define it (!).
8495 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8497 * examples/hildon-bread-crumb-trail-example.c (main):
8501 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8503 Fix logic for the bread crumb trail node removal.
8507 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8513 * debian/changelog: Updating.
8515 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8517 Patch by Alejandro to get/set passwords dialogs accesibility.
8519 * hildon-1/src/hildon-get-password-dialog.c:
8520 * hildon-1/src/hildon-set-password-dialog.c:
8521 Set atk_set_name to the passwd entries in order to allow
8522 accessibility by name on this entries.
8524 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8529 * debian/control: Updating gtk dep.
8531 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8533 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8534 USE_MAEMO_GTK is enabled.
8536 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8538 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8539 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8541 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8547 * debian/changelog: Updating.
8549 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8551 * examples/Makefile.am:
8552 * examples/hildon-logical-color-example.c:
8553 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8554 applied + adding a test case. Fixes: NB#71660.
8556 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8558 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8559 to be visible, fixes warning on map for windows without toolbars.
8561 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8563 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8564 2.11.0, add a check for that besides the MAEMO_GTK check.
8566 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8572 * debian/changelog: Updating.
8574 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8576 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8577 visibility. Fixes: NB#70842 and MB#615.
8579 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8581 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8582 set the separator as no-show-all so it doesn't unintentionally appear when
8583 someone does a show_all.
8585 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8587 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8588 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8589 toplevel item. Fixes: NB#62031
8591 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8593 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8594 fix the name of the function in the docs.
8596 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8602 * debian/changelog: Updating.
8604 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8606 * examples/hildon-banner-long-example.c: Adding a test-case for long
8609 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8611 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8613 * src/hildon-color-chooser-dialog.c:
8614 * src/hildon-color-chooser.c:
8615 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8616 memory leaks in font selector and color selector. Fixes: NB#70499 and
8619 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8621 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8623 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8625 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8626 little bit bigger. Fixes: #NB63694.
8628 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8634 * debian/changelog: Updating.
8636 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8639 * doc/hildon-docs.sgml:
8640 * doc/images/bread-crumb-trail.png:
8641 * doc/images/calendar-popup.png:
8642 * doc/images/caption.png:
8643 * doc/images/code-dialog.png:
8644 * doc/images/color-button.png:
8645 * doc/images/color-chooser-dialog.png:
8646 * doc/images/color-chooser.png:
8647 * doc/images/controlbar.png:
8648 * doc/images/date-editor.png:
8649 * doc/images/font-selection-dialog.png:
8650 * doc/images/get-password-dialog.png:
8651 * doc/images/hvolumebar.png:
8652 * doc/images/login-dialog.png:
8653 * doc/images/note.png:
8654 * doc/images/number-editor.png:
8655 * doc/images/range-editor.png:
8656 * doc/images/seekbar.png:
8657 * doc/images/set-password-dialog.png:
8658 * doc/images/sort-dialog.png:
8659 * doc/images/time-editor.png:
8660 * doc/images/time-picker.png:
8661 * doc/images/vvolumebar.png:
8662 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8663 Adding the bread-crumb-trial and helpers to the documentation.
8665 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8667 * examples/hildon-find-toolbar-example.c:
8668 * src/hildon-find-toolbar.c:
8669 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8670 actually continue firing the other handlers if connected. Adding a new
8672 hildon_find_toolbar_get_last_index that gets the index of the most
8673 recently added (last) item. Fixes: NB#52301.
8675 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8677 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8678 behaviour. Fixes: NB#68610.
8680 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8685 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8687 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8688 when realizing the banner. Should make the infonbanner effect a bit more
8691 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8693 * src/hildon-volumebar.c:
8694 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8695 hildon_volumebar_set_range_insensitive_message and
8696 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8698 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8700 * src/hildon-window.c: Fixing the border freeing on destroy.
8702 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8704 * src/hildon-code-dialog-private.h:
8705 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8706 kw keyboard support in HildonCodeDialog.
8708 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8714 * debian/changelog: Updating.
8716 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8718 * src/hildon-date-editor.c:
8719 * src/hildon-number-editor.c:
8720 * src/hildon-private.c:
8721 * src/hildon-private.h:
8722 * src/hildon-time-editor.c:
8723 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8724 handling in subclassed composite widgets. Fixes: NB#66628.
8726 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8728 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8729 from destroy_ callback as it introduces problems in async dbus signal
8730 handlers. Fixes NB#66673.
8732 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8734 * examples/hildon-hvolumebar-example.c:
8735 * src/hildon-volumebar.c: Improving the focus handling in the
8736 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8737 set_property accessor so that "mute" property can be actually set. I'm
8738 scared that nobody noticed it's totally broken.
8740 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8742 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8745 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 * src/hildon-calendar.c:
8748 * src/hildon-number-editor.c:
8749 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8750 matches the spec of 6 chars per second. Fixes: NB#60489.
8752 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8754 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8755 gtk_style_lookup_color sometime returns FALSE even though color was
8756 found and values were filled properly. Weird. Removing the warning for the
8759 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8761 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8762 expand vertically. Adding some extra space to the find toolbar buttons to
8763 make them thumbable. Fixes NB#66060.
8765 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8767 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8768 popup with "Ok" and "Cancel". Fixes NB#59299.
8770 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * src/hildon-calendar.c: Process all window updates before executing next
8773 timeout. Fixes: NB#54146.
8775 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * debian/changelog: Updating.
8783 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8785 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8786 the client event and ignore it, since we use the delete event to close
8789 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8791 * src/hildon-helper.c: Remove the bogus warning about color not being
8792 found. Fixes NB#58352.
8794 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8796 * examples/Makefile.am:
8797 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8798 HildonSeekbar widget inside a toolbar.
8800 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8802 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8803 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8804 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8805 don't want to be closed by non-temporary windows on map.
8807 Also use G_DEFINE_TYPE instead of manually typed code.
8809 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8816 * debian/rules: Updating.
8818 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8820 * examples/Makefile.am:
8821 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8822 bug NB#61128. Strangely it works.
8824 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8826 * src/hildon-date-editor.c: When the date editor entry has been changed
8827 but the numbers of characters < max, turn off the skip validation flag.
8828 Prevents a situation when we enter first a valid year and later re-write
8829 it with an invalid one. Fixes NB#60154.
8831 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8833 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8834 code dialog. Fixes NB#64355.
8836 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8838 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8839 switching the page. Fixes NB#49374.
8841 * examples/Makefile.am:
8842 * examples/hildon-wizard-dialog-example.c: Adding an example for
8843 HildonWizardDialog that shows how to handle manual sensitivity setting on
8846 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8850 * src/hildon-version.h.in:
8851 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8853 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8855 * src/hildon-volumebar.c: Updating the docs.
8857 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8863 * debian/changelog: Updating.
8865 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8867 * src/hildon-find-toolbar.c:
8868 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8869 selected item: hildon_find_toolbar_set_active,
8870 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8871 hildon_find_toolbar_get_active_iter . They correspond to respective
8872 GtkComboBox functions.
8874 * examples/Makefile.am:
8875 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8878 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * examples/Makefile.am:
8881 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8884 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8885 when font size > 32 and we pack a focusable widget inside. Actually using
8886 the default response would work too, but since we don't show default
8887 response state in any way (no theming) it would not be visible to the
8888 user. Fixes NB#63430.
8890 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8892 * src/hildon-date-editor.c: Adding the missing variable setter in the
8893 set_property handler. Fixes NB#54182.
8895 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8897 * src/hildon-window.h: Changing the long key press time from 1500ms to
8898 800ms as requested in NB#63700. I have a bad feeling about this, let's
8899 see... Fixes NB#63700.
8901 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8903 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8904 hildon_time_picker_map, hildon_time_picker_realize,
8905 hildon_time_picker_style_set): Split the contents of map to more
8906 appropriate functions; set window decorations on realize and update
8907 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8909 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8914 * debian/changelog: Updating.
8916 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8918 * src/Makefile.am: fixed installation of the header files
8920 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8926 * debian/changelog: Updating.
8928 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8930 * configure.ac: Removing some remaining of --enable-xan.
8932 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8934 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8935 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8937 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8938 2.10.12-osso6 because the move-focus signal needs to be available in
8941 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8943 * examples/Makefile.am:
8944 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8945 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8946 fine. Prolly NB#61128 is fixed now.
8948 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8950 * src/hildon-volumebar.c:
8951 * src/hildon-volumebar.h: Adding the
8952 hildon_volumebar_set_range_insensitive_message and
8953 hildon_volumebar_set_range_insensitive_messagef functions to set
8954 insensitive message on the slider of the volumebar. Fixes NB#61129.
8956 * examples/Makefile.am:
8957 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8958 test the new insensitive messsage functionality on HildonVolumebar.
8960 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8962 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8965 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8967 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8968 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8969 button on after clearing the trail.
8971 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8973 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8975 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8977 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8978 by splitting the installed headers in generated and non-generated groups. Use
8979 only the non-generated headers to create the hildon-enum-types.h file.
8981 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8983 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * src/hildon-window.c: Hide the window before performing the destroy.
8986 Should make the app closing a little tiny bit more snappy.
8988 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8990 * src/hildon-seekbar.c: add gtkrange.h header
8991 * src/hildon-caption.c: remove unused variable
8993 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8995 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8998 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9004 * debian/changelog: Updating.
9006 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9008 * src/hildon-window.c (hildon_window_window_state_event,
9009 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9010 escape timeout on focus-out-event rather than notify::is-topmost; the
9011 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9013 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9015 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9016 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9018 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9020 * src/hildon-window: actually, you need to use the macro always, there's
9021 no private pointer in the instance structure. We should have cleaned this up
9022 when we had the chance...
9024 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9026 * src/hildon-window.c: do not get the private date from HildonWindow before
9027 it passes the g_return_if_fail check. Once it's passed the test, there's no
9028 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9029 if you are only going to access the data once. Whitespace cleanups.
9031 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9033 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9034 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9036 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9042 * debian/changelog: Updating.
9044 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9046 * src/hildon-window.c: When destroying the window, remove (if exists) the
9047 escape timeout handler. Fixes #NB59276.
9049 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9051 * src/hildon-banner.c: When realizing the widget, set the window
9052 transiency. Setting the transiency in the gobject constructor is not
9053 good, as the widget is not realized at that point. Fixes: #NB56624.
9055 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9057 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9058 Add padding for future expansions.
9060 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9062 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9063 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9064 will fake an activation on the previous to the last item of the trail, so
9065 the effect can be overrided by the developer as usual.
9066 Also change the callback for the back button to do the same thing, so its
9067 effect can be overrided too. Fixes: NB#58982
9069 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9071 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9072 HildonCaption. Fixes NB#52379.
9074 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9076 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9077 the internal state of the trail after the user has had the chance of executing
9078 his handler for the signal. Specifically, it may happen that the activated button
9079 is removed and the user still lets the default handler run. This would segfault
9082 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9084 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9085 scrollbar to the preview dialog. Fixes NB#54147.
9087 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9089 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9090 max/min year properties can be altered, so the client can modify it
9091 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9093 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9096 hildonlike by default. Fixing a problem with disappearing arrows when
9097 scrolling through months and years. Fixes NB#54127.
9099 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * examples/hildon-date-editor-example.c: Adding error callback to the date
9104 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9110 * configure.ac: Updating.
9112 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9114 * configure.ac: Adding a special '--enable-xan' configure option that
9115 turns off the -Werror compilation setting. Usefull for development.
9117 * src/hildon-calendar.c:
9118 * src/hildon-number-editor.c:
9119 * src/hildon-time-picker.c: Adding the 5* multiplier to
9122 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9124 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9125 instead of g_object_ref + gtk_object_sink.
9127 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * debian/changelog: Updating.
9135 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9137 * src/hildon-color-chooser-dialog.c:
9138 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9139 straight from Tommi labs.
9141 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * examples/hildon-finger-example.c: Correcting the header file path.
9145 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9146 the changed signal. Fixes a small memory leak.
9148 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * src/hildon-banner.c: Importing several usefull fixes from the
9153 ubuntu-mobile branch.
9155 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * examples/Makefile.am:
9158 * examples/hildon-finger-example.c: Adding a finger-checking code
9161 * src/hildon-font-selection-dialog.c: Do not allocate the color
9162 structure using the g_new. Fixes NB#54061.
9164 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9166 * src/hildon-helper.c: Correcting tabs in file.
9168 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9170 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9171 control the visibility of the children.
9173 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9175 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9181 * debian/changelog: Updating.
9183 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9185 * src/hildon-bread-crumb-trail.c:
9186 (hildon_bread_crumb_trail_size_allocate):
9188 Make the back button always a square.
9190 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9192 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9193 from the .c file as it's a private file.
9195 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9197 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9198 uses slightly bigger height.
9200 * src/hildon-font-selection-dialog.c: Adding some checks before
9201 freeing memory in the font selection dialog.
9203 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9205 * src/hildon-font-selection-dialog.c: Adding a small check when
9208 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9209 buttons sensitivity on page switching.
9211 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9213 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9214 internal details of adding a bread crumb to the trail.
9216 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9222 * debian/changelog: Updating.
9224 * src/hildon-bread-crumb-trail.h:
9225 * src/hildon-bread-crumb.h: Changing the API guard to
9226 HILDON_ENABLE_UNSTABLE_API.
9228 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9236 * src/hildon-helper.h: Updating.
9238 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9246 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9250 * src/hildon-helper.h: Small fix to make the package actually compile.
9252 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9254 * src/hildon-bread-crumb-trail.h:
9255 * src/hildon-bread-crumb.h:
9257 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9258 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9260 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9262 * examples/hildon-bread-crumb-trail-example.c:
9264 * src/hildon-bread-crumb-trail.c:
9265 * src/hildon-bread-crumb-trail.h:
9266 * src/hildon-bread-crumb.c:
9267 * src/hildon-bread-crumb.h:
9268 * src/hildon-marshalers.list:
9269 * src/hildon-bread-crumb-widget.c:
9270 * src/hildon-bread-crumb-widget.h:
9272 Slight change in the widget design. The bread crumb trail API is
9273 unchanged, but HildonBreadCrumb is now an interface. A *private*
9274 implementation, hildon-bread-crumb-widget, is provided and used
9275 internally by the trail for the push_text/push_icon functions.
9277 The generic push API is still available, so anyone can implement
9278 and use its own bread crumb widget.
9280 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9282 * debian/rules: Fixing the shlibs.
9284 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9286 * src/hildon-banner.c: Fixing a problem with timed banners having
9287 their parrent destroyed before they are.
9289 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9291 * src/hildon-bread-crumb.c:
9292 * src/hildon-bread-crumb.h:
9294 Make the get_natural_size function a vfunc.
9296 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9298 * src/hildon-bread-crumb.c:
9299 * src/hildon-bread-crumb-trail.c:
9303 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9310 * debian/changelog: Updating for release.
9312 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9314 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9315 don't leak the pango layout.
9317 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9320 * examples/hildon-bread-crumb-trail-example.c:
9324 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9326 * debian/changelog: Removing the bug-fixed entries that were actually
9327 resolved as WONTFIX.
9329 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9332 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9334 * src/hildon-bread-crumb-trail.c:
9335 * src/hildon-bread-crumb-trail.h:
9336 * src/hildon-bread-crumb.c:
9337 * src/hildon-bread-crumb.h:
9341 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9343 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9344 until it's passed the type check.
9346 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9348 * examples/hildon-bread-crumb-trail-example.c
9352 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9354 * examples/Makefile.am
9355 * examples/hildon-bread-crumb-trail-example.c
9357 * src/hildon-bread-crumb-trail.c
9358 * src/hildon-bread-crumb-trail.h
9359 * src/hildon-bread-crumb.c
9360 * src/hildon-bread-crumb.h
9362 New HildonBreadCrumbTrail widget.
9364 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9366 * src/hildon-range-editor.c (hildon_range_editor_init),
9367 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9368 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9369 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9370 hildon_time_editor_class_init, hildon_time_editor_init),
9371 src/hildon-get-password-dialog.c (invalid_input,
9372 hildon_get_password_set_property, hildon_get_password_get_property,
9373 create_contents, hildon_get_password_dialog_set_max_characters),
9374 src/hildon-set-password-dialog.c (create_contents),
9375 src/hildon-date-editor.c (hildon_date_editor_init),
9376 src/hildon-login-dialog.c (hildon_login_dialog_init),
9377 src/hildon-number-editor.c (hildon_number_editor_init),
9378 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9379 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9380 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9381 configure option and adding the respective checks in the code.
9382 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9383 hildon_calendar_drag_data_received): fixed some build warnings.
9385 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9387 * debian/changelog: A 1.0.0 release notes.