1 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
5 * configure.ac: bump version
7 * debian/changelog: updates
8 * debian/control: raise debian dependency on GTK+
10 2009-08-04 Alberto Garcia <agarcia@igalia.com>
12 * hildon/hildon-text-view.c
13 * hildon/hildon-entry.c:
14 Remove all placeholder code from HildonEntry and HildonTextView
15 and use the API in GtkEntry and GtkTextView instead.
17 * examples/hildon-entry-example.c
18 * examples/hildon-text-view-example.c
19 * examples/hildon-wizard-dialog-example.c
20 * hildon/hildon-get-password-dialog.c
21 * hildon/hildon-login-dialog.c
22 * hildon/hildon-picker-dialog.c
23 * hildon/hildon-set-password-dialog.c
24 * hildon/hildon-touch-selector-entry.c:
25 Replace all deprecated calls to HildonEntry and HildonTextView
26 with their Gtk counterparts.
28 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
31 2009-08-03 Alejandro G. Castro <alex@igalia.com>
33 * hildon/hildon-pannable-area.c,
34 (hildon_pannable_area_check_move),
35 (hildon_pannable_area_button_release_cb),
36 (hildon_pannable_area_scroll_to): Reverted the priority change of
37 the timeout, in some situations, slow renderers, the click do not
38 make it to the mainloop on time.
40 Fixes NB#131013 (unable to stop panning file manager by tapping on
43 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
45 * configure.ac: bump version
47 * debian/changelog: updates
49 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
51 * hildon/hildon-touch-selector.[ch]
52 (hildon_touch_selector_center_on_index): New method that allows to center
53 on a item not selected
55 Fixes NB#130291 (New HildonTouchSelector API is required to center on
58 2009-07-29 Alberto Garcia <agarcia@igalia.com>
60 * hildon/hildon-text-view.c
61 (+set_logical_color, +hildon_text_view_style_set)
62 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
63 (hildon_text_view_init)
64 * hildon/hildon-entry.c
65 (+set_logical_color, +hildon_entry_style_set)
66 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
67 (hildon_entry_class_init, hildon_entry_init)
68 * hildon/hildon-button.c
69 (+set_logical_font, +set_logical_color)
70 (hildon_button_style_set, hildon_button_init)
71 (hildon_button_set_arrangement, hildon_button_set_style):
72 Remove all calls to hildon_helper_set_logical_font() and
73 hildon_helper_set_logical_color(), which are recursive, from
76 Fixes: NB#123409 (Showing dialog consumes significant amount of
79 2009-07-29 Alejandro G. Castro <alex@igalia.com>
81 * hildon/hildon-pannable-area.c,
82 (hildon_pannable_area_timeout): Added the process updates of the
83 scrollbars window in the pannable.
85 Fixes: NB#130043 (scrollindicator not smooth while panning)
87 2009-07-23 Alejandro G. Castro <alex@igalia.com>
89 * hildon/hildon-pannable-area.c,
90 (hildon_pannable_area_check_move),
91 (hildon_pannable_area_button_release_cb),
92 (hildon_pannable_area_scroll_to): Increased the priority of the
93 timeout this way it is going to be handled before the events.
95 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
99 * configure.ac: bump version
100 * debian/changelog: updates
102 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
104 * hildon/hildon-entry.c: (set_property): Do not allow to set
105 automatic height and use finger height instead, to prevent an to
106 have a smaller size than than its theme pixbuf.
108 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
110 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
112 * configure.ac: postrelease version bump.
113 * debian/changelog: post release version bump
115 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
120 * configure.ac: Bump version.
121 * debian/changelog: Updates.
123 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
125 * hildon/hildon-note.c: (label_size_request): Take the note
126 padding into account when setting the size request.
128 Fixes: NB#127896 (Information notes text truncated)
130 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
132 * configure.ac: postrelease version bump.
133 * debian/changelog: post release version bump
135 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
140 * configure.ac: Bump version.
141 * debian/changelog: Updates.
143 2009-07-16 Alejandro G. Castro <alex@igalia.com>
146 * hildon/hildon-text-view.c,
147 (hildon_text_view_button_press_event): Grabbed the focus in button
148 press, this way we are sure the widget has the focus in the
149 release event, required for HIM.
151 Fixes: NB#121445 (Virtual keyboard opening is not working in same
152 way for each text entry field)
154 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
156 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
157 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
158 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
159 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
160 (hildon_pannable_area_[gs]et_center_on_child_focus)
161 Redefined GtkContainer set-focus-child signal, in order to center
162 properly on a child when it receives the focus. Defined a new property
163 "center-on-child-focus" in order to activate this feature (deactivated
164 by default). Public get/set methods defined to manage the property.
166 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
168 2009-07-14 László Pere <lpere@blumsoft.eu>
170 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
171 the new size is applied.
173 Fixes: NB#124510 (The Application Menu is distorted when switched
174 between portrait and landscape mode)
175 Fixes: NB#115388 (Power key menu does not resize itself)
177 2009-07-01 Alberto Garcia <agarcia@igalia.com>
179 * hildon/hildon-banner.c (hildon_banner_map):
180 Set banner position after mapping.
182 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
184 * configure.ac: postrelease version bump.
185 * debian/changelog: post release version bump
187 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
192 * configure.ac: Bump version.
193 * debian/changelog: Updates.
195 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
197 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
200 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
202 * tests/check-hildon-banner.c
204 * tests/test_suites.h
205 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
206 were testing deprecated functions.
207 * examples/hildon-banner-example.c: typo on button3 type, that causes
208 a fail compiling with --with-examples but without --disable-deprecated
210 Missed commit in order to fix compilation using '--enable-fatal' and
211 '--disable-deprecated' (see previous commit)
213 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
215 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
216 functions with #ifndef HILDON_DISABLE_DEPRECATED
217 * examples/hildon-find-toolbar.c: Protect deprecated
218 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
219 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
220 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
221 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
223 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
224 to allow proper compilation of deprecated functions defined on the header
226 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
228 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
230 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
231 Cache the panning indicator color.,
232 (hildon_pannable_area_style_set): Query the color on style changes.
233 (hildon_pannable_draw_vscroll),
234 (hildon_pannable_draw_hscroll),
235 (hildon_pannable_area_expose_event): Use the cached panning indicator
236 color instead of looking it up on every expose and more.
238 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
240 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
241 (hildon_pannable_draw_hscroll),
242 (hildon_pannable_area_expose_event): Fix the panning indicator color,
243 so that it's "SecondaryTextColor", as desired.
245 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
247 * hildon/hildon-picker-dialog.c:
248 (selection_completed): take into account HILDON_UI_MODE_NORMAL
249 * hildon/hildon-touch-selector.c
250 (hildon_touch_selector_init): Initialize hildon-ui-mode
251 (hildon_touch_selector_row_activated): new callback for the
252 "row-activated" signal, in order to save the last activated
253 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
254 if the current hildon-ui-mode is coherent with the touch selector
255 (hildon_touch_selector_class_init)
256 (hildon_touch_selector_get_property)
257 (hildon_touch_selector_set_property)
258 Added "hildon-ui-mode" property
259 (disconnect_model_handlers): renamed to clean_column
260 (hildon_touch_selector_remove): use clean_column function
261 (_create_new_column): use the hildon-ui-mode to create the treeview, and
262 only select the first element on HILDON_UI_MODE_EDIT
263 (hildon_touch_selector_column_init): Initialize last_activate
264 (hildon_touch_selector_append_column): check that the touch selector
265 is coherent with the current hildon-ui-mode
266 (hildon_touch_selector_get_hildon_ui_mode)
267 (hildon_touch_selector_set_hildon_ui_mode)
268 Added a getter/setter for the hildon-ui-mode property
269 (hildon_touch_selector_get_last_activated_row): Added this method in
270 order to get the last activated row.
271 * examples/hildon-touch-selector-normal-mode-example.c
272 New example, that shows how to use the HildonTouchSelector in
273 HILDON_UI_MODE_NORMAL
275 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
276 Kristian Rietveld <kris@lanedo.com> advices
278 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
280 * hildon/hildon-time-selector.c: (update_format_policy): Do
281 not call update_format_dependant_columns() if not necessary.
282 (update_format_dependant_columns): Remove unnecessary check for
283 the number of columns.
285 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
287 * hildon/hildon-note.c (+hildon_note_constructor),
288 (hildon_note_class_init), (+hildon_note_set_padding),
289 (hildon_note_rebuild): Install a constructor where to set the
290 padding properties in the note, so that it actually works fine.
291 Use hildon_note_set_padding() for this, and also to set it during
294 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
296 * configure.ac: Bump GTK+ requirement to 2.14.3.
297 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
298 when using maemo-gtk to define proper margins for the notes.
300 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
301 with the dialog edge)
303 2009-06-24 Alberto Garcia <agarcia@igalia.com>
305 * hildon/hildon-banner.c
306 (hildon_banner_class_init):
308 (+hildon_banner_size_request):
309 Request always the full width of the screen.
310 (hildon_banner_realize)
311 (-hildon_banner_check_position, hildon_banner_map):
312 hildon_banner_check_position() is not needed in Hildon 2.2.
313 (-hildon_banner_reset_wrap_state)
314 (hildon_banner_constructor, hildon_banner_init):
315 Remove unnecessary calls to hildon_banner_reset_wrap_state()
316 (+banner_do_set_text)
317 (force_to_wrap_truncated):
318 Remove has_been_wrapped and has_been_truncated attributes.
319 (+reshow_banner, hildon_banner_real_show_information)
320 (hildon_banner_show_information_with_markup)
321 (hildon_banner_show_animation, hildon_banner_show_progress)
322 (hildon_banner_set_text, hildon_banner_set_markup):
323 Refactor code. Shrink banner vertically to use the minimum space
324 necessary everytime the text of the label is updated.
325 (screen_size_changed):
326 Call force_to_wrap_truncated() when the size of the screen
329 Fixes: NB#120500 (only device memory connect mmc in use info
330 banner is left aligned)
332 Fixes: NB#120613 (Size of HildonBanner varies depending on
333 previously opened banners)
335 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
337 * hildon/hildon-color-chooser.c
338 (hildon_color_chooser_pointer_motion): Take the widget allocation
341 Fixes: NB#124385 (Unable to select exact point in color mixing box
342 in color palette dialog)
344 2009-06-23 Alejandro G. Castro <alex@igalia.com>
346 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
347 (hildon_pannable_area_dispose)
348 (hildon_pannable_area_button_press_cb)
349 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
350 (hildon_pannable_area_button_release_cb)
351 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
352 New 'panning-started' and 'panning-finished' signals.
354 Fixes: NB#121732 (New feature request: Signal to pannable area
355 that informs when panning is stopped.)
357 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
359 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
360 instead of hardcoded colon.
362 Fixes: NB#124090 (New calendar wizard title is not using
363 ecdg_ti_caption_separator)
365 2009-06-22 David King <davidk@openismus.com>
367 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
368 constants and functions, as well as correct many typos throughout the
371 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
374 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
376 * configure.ac: postrelease version bump.
377 * debian/changelog: post release version bump
379 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
384 * configure.ac: Bump version.
385 * debian/changelog: Updates.
387 2009-06-18 Alberto Garcia <agarcia@igalia.com>
389 * hildon/hildon-window-stack.c
390 (hildon_window_stack_pop_and_push_list):
391 Prevent windows from having the same stack index
393 2009-06-18 Alberto Garcia <agarcia@igalia.com>
395 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
396 Use the index of the previous window rather than the stack length
397 to calculate the new index.
401 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
403 * hildon/hildon-date-selector.c
404 (hildon_date_selector_select_current_date)
405 (hildon_date_selector_get_date)
406 (hildon_date_selector_select_day):
407 Update the documentation: uses always the range (1-31), as it is obvious
408 that the final one will depend on the month and the year, but globally
409 the range is this, in a similar GtkCalendar approach
410 (hildon_date_selector_get_date):
411 Update the documentation: add NULL as a valid value for the day, month
414 Fix some details, after talk with David King on bug MB#4698
416 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
418 * hildon/hildon-touch-selector-entry.c
419 * hildon/hildon-touch-selector.c
420 Update the documentation of the "text-column" property
422 2009-06-18 David King <davidk@openismus.com>
424 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
425 several typos and errors throughout the documentation.
427 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
430 2009-06-18 Alberto Garcia <agarcia@igalia.com>
432 * hildon/hildon-note.c (hildon_note_realize):
433 Make HildonNote support portrait mode.
435 Fixes: NB#123448 (HildonNote is not portrait-friendly)
437 2009-06-17 Alberto Garcia <agarcia@igalia.com>
439 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
440 Document this function
442 2009-06-17 David King <davidk@openismus.com>
444 * hildon/hildon-date-selector.c
445 (hildon_date_selector_select_current_date)
446 (hildon_date_selector_get_date): Update documentation regarding days,
447 as the day of the month is dependent on both the month and the year.
448 (hildon_date_selector_get_date): Fix documentation of output arguments.
450 Fixes: MB#4698 (DateSelector documentation has bad output argument
451 description, and the day depends on both the month and the year)
453 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
455 * hildon/hildon-caption.c: Other documentation fixes to
458 2009-06-17 David King <davidk@openismus.com>
460 * hildon/hildon-caption.c: Minor documentation updates for
461 HildonCaption. Fixes MB#4697.
463 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
465 * doc/hildon-docs.sgml: Add hildon-version section.
466 * doc/hildon-sections.txt:
467 * hildon/hildon-version.h.in: Document versioning macros and
470 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
472 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
473 from HildonPickerDialog section.
475 2009-06-16 Alberto Garcia <agarcia@igalia.com>
477 * hildon/hildon-banner.c (hildon_banner_bind_style)
478 (screen_size_changed, hildon_banner_init)
479 (hildon_banner_real_show_information)
480 (hildon_banner_show_information_with_markup)
481 (hildon_banner_show_animation, hildon_banner_show_progress):
482 Set a different widget name to banners in portrait mode, for them
483 to be themed correctly.
485 2009-06-16 Alberto Garcia <agarcia@igalia.com>
487 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
488 Set a different widget name to notes in portrait mode, for them to
491 Partially fixes: NB#118401 (HildonNote causes unnecessary
494 2009-06-16 Alberto Garcia <agarcia@igalia.com>
496 * hildon/hildon-note.c (hildon_note_class_init)
497 (+hildon_note_size_request, screen_size_changed):
498 Always request the full width of the screen.
500 Fixes: NB#118375 (unnecessary rescaling of images)
502 2009-06-16 Alejandro G. Castro <alex@igalia.com>
504 * hildon/hildon-pannable-area.c,
505 (hildon_pannable_area_init),
506 (hildon_pannable_area_realize): Replaced old code adding flags in
507 the object init, now we add it with the other flags in the realize
510 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
512 * hildon/hildon-note.c: (hildon_note_class_init): Several
513 documentation improvements to the HildonNote widget.
515 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
517 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
519 Fixes: MB#4556 (HildonNoteType is undocumented)
521 2009-06-15 Alberto Garcia <agarcia@igalia.com>
523 * hildon/hildon-picker-button.c:
524 Explain how HildonPickerButton sets the title of its dialog
526 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
527 the title of its dialog)
529 2009-06-15 Alberto Garcia <agarcia@igalia.com>
531 * hildon/hildon-check-button.c:
532 Documentation updates
534 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
537 2009-06-15 Alberto Garcia <agarcia@igalia.com>
540 * hildon/hildon-edit-toolbar-private.h
541 * hildon/hildon-edit-toolbar.c
542 (+hildon_edit_toolbar_set_progress_indicator)
543 (hildon_edit_toolbar_init): Add progress indicator to the
546 * hildon/hildon-gtk.c
547 (hildon_gtk_window_set_progress_indicator):
548 If the window contains a HildonEditToolbar, enable the progress
551 * hildon/hildon-private.h
552 * hildon/hildon-private.c
553 (+hildon_private_create_animation)
554 * hildon/hildon-banner.c
555 (-hildon_banner_create_animation):
556 Moved to hildon-private.c
558 Fixes: NB#102373 (Progress indicator also for the Edit mode
561 2009-06-15 Alberto Garcia <agarcia@igalia.com>
563 * hildon/hildon-app-menu-private.h
564 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
565 (hildon_app_menu_add_filter, +menu_item_button_event)
566 (hildon_app_menu_button_release, hildon_app_menu_init):
567 Make sure that buttons receive 'button-release-event' in spite of
568 the grab held by HildonAppMenu
570 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
572 2009-06-15 Alberto Garcia <agarcia@igalia.com>
574 * hildon/hildon-app-menu.c
575 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
576 New style property to set the size of the group of filter buttons.
578 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
580 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
585 * configure.ac: Bump version.
586 * debian/changelog: Updates.
588 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
590 * hildon/hildon-main.c: Minor documentation fixes.
592 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
594 * doc/hildon-sections.txt:
595 * hildon/hildon-defines.h: Document the defines, organize them,
596 and mark deprecations as such.
598 Fixes: MB#4463 (Hildon size #defines are undocumented)
600 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
602 * hildon/hildon-animation-actor.c:
603 * hildon/hildon-app-menu.c:
604 * hildon/hildon-button.c:
605 * hildon/hildon-date-editor.c:
606 * hildon/hildon-dialog.c:
607 * hildon/hildon-edit-toolbar.c:
608 * hildon/hildon-entry.c:
609 * hildon/hildon-program.c:
610 * hildon/hildon-remote-texture.c:
611 * hildon/hildon-stackable-window.c:
612 * hildon/hildon-text-view.c:
613 * hildon/hildon-touch-selector.c:
614 * hildon/hildon-window-stack.c:
615 * hildon/hildon-window.c:
617 Remove redundant "represents" wording from most of the documentation.
619 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
621 2009-06-12 Alberto Garcia <agarcia@igalia.com>
626 * hildon/hildon-banner-private.h
627 * hildon/hildon-banner.c:
628 Move HildonBannerPrivate to hildon-banner.c and remove
629 hildon-banner-private.h
630 Use a bit field to store private booleans.
632 2009-06-12 Alberto Garcia <agarcia@igalia.com>
634 * hildon/hildon-app-menu.c (hildon_app_menu_map):
635 Don't install a new idle function if there's already one
640 2009-06-11 Alberto Garcia <agarcia@igalia.com>
642 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
643 (+legacy_menu_realized, +legacy_menu_unmapped)
644 (+set_legacy_menu_type):
645 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
646 they can be identified by the window manager.
648 Fixes: NB#101437 (Invoking CSM on the left side of page area is
649 displayed in wrong location)
651 Fixes: MB#4563 (Popup menu won't locate at the left side of the
654 2009-06-11 Alberto Garcia <agarcia@igalia.com>
656 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
658 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
661 2009-06-11 Alberto Garcia <agarcia@igalia.com>
663 * hildon/hildon-code-dialog.c
664 * hildon/hildon-date-editor.c
665 * hildon/hildon-number-editor.c
666 * hildon/hildon-seekbar.c
667 * hildon/hildon-stackable-window.c
668 * hildon/hildon-window.c:
669 Misc documentation updates
671 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
673 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
674 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
676 Fixes: NB#117931 (Theming issues in accounts dialogs)
678 2009-06-09 Alejandro G. Castro <alex@igalia.com>
680 * hildon/hildon-pannable-area.c,
681 (hildon_pannable_area_button_release_cb): Changed the coordinates
682 of the original release in case we want to discard the release,
683 some widgets in Fremantle do not handle the leave-notify.
685 2009-06-09 Alejandro G. Castro <alex@igalia.com>
687 * hildon/hildon-pannable-area.c,
688 (hildon_pannable_area_button_release_cb): Reviewed the logic of
689 the release using the last refactored functions and avoiding the
690 movement if an element was selected.
692 2009-06-09 Alejandro G. Castro <alex@igalia.com>
694 * hildon/hildon-pannable-area.c,
695 (hildon_pannable_area_check_move),
696 (hildon_pannable_area_handle_move),
697 (hildon_pannable_area_motion_notify_cb): Refactored the
698 motion_notify method using a couple of new functions.
700 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
702 * hildon/hildon-date-selector.c:
703 (hildon_date_selector_construct_ui):
704 * hildon/hildon-time-selector.c:
705 (hildon_time_selector_constructor):
706 * hildon/hildon-touch-selector-entry.c:
707 (hildon_touch_selector_entry_set_text_column),
708 (hildon_touch_selector_entry_get_text_column):
709 * hildon/hildon-touch-selector.c: (_default_print_func),
710 (hildon_touch_selector_new_text): Use
711 hildon_touch_selector_set/get_text_column() instead of
712 setting/getting the "text-column" property.
714 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
716 * doc/hildon-sections.txt: Add the new public methods below.
718 * examples/hildon-picker-button-multicolumn-example.c:
719 (create_touch_selector):
720 * examples/hildon-touch-selector-example.c: (create_selector):
721 * examples/hildon-touch-selector-multi-cells-example.c:
723 Use hildon_touch_selector_column_set_text_column()
725 * hildon/hildon-touch-selector-column.h:
726 * hildon/hildon-touch-selector.c:
727 (hildon_touch_selector_column_set_text_column),
728 (hildon_touch_selector_column_get_text_column):
729 Make hildon_touch_selector_column_set/get_column() public, use
730 them in the inline example, document them, and reference to them
733 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
735 * hildon/hildon-time-selector.c: Fix the docs for
736 hildon_time_selector_new_step().
738 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
740 * hildon/hildon-touch-selector.c: Improve the documentation for
741 hildon_touch_selector_append_column().
743 Fixes MB#4641 (Documentation:
744 hildon_touch_selector_append_column() ref-counting)
746 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
748 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
749 Comment out test 5, since the hildon_controlbar_set_range() range
750 check is broken and fixing it would have side effects. Also,
751 this finally fixes make distcheck.
753 Fixes: NB#101420 (Update unit tests and fix make distcheck)
755 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
757 * tests/TEST-CASES.txt: Remove other bogus test.
758 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
759 Remove bogus test that was setting/retrieving a valid value.
761 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
763 * tests/TEST-CASES.txt: Remove bogus tests.
764 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
765 Remove three bogus tests that were actually setting valid colors.
767 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
769 * configure.ac: post release version bump
770 * debian/changelog: post release version bump
772 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
777 * configure.ac: Bump version.
778 * debian/changelog: Updates.
780 2009-06-08 Christian Dywan <christian@lanedo.com>
784 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
785 Correct errors in hildon_format_file-size_for_display and use
786 translations from the hildon-fm package instead of osso-filemanager.
788 2009-06-08 Alejandro G. Castro <alex@igalia.com>
790 * hildon/hildon-pannable-area.c,
791 (hildon_pannable_area_init): Initialized new values to handle the
793 (hildon_pannable_area_adjust_value_changed): Check if the values
794 changed before even call the redraw function.
795 (hildon_pannable_area_size_allocate),
796 (hildon_pannable_axis_scroll),
797 (hildon_pannable_area_scroll),
798 (hildon_pannable_area_jump_to): Improved the diagonal movement
801 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
804 2009-06-08 Alberto Garcia <agarcia@igalia.com>
806 * examples/hildon-banner-example.c:
807 Several style updates
808 (on_animation_clicked, on_animation_idle)
809 (on_progress_clicked, on_progress_idle):
810 Add additional reference for the cases when the parent window is
813 2009-06-08 Alberto Garcia <agarcia@igalia.com>
815 * doc/hildon-sections.txt
816 * hildon/hildon-pannable-area.c
817 * hildon/hildon-banner.h
818 * hildon/hildon-banner.c: Documentation updates.
820 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
823 2009-06-05 Alejandro G. Castro <alex@igalia.com>
825 * hildon/hildon-calendar-popup.h:
826 * hildon/hildon-caption.h:
827 * hildon/hildon-code-dialog.h:
828 * hildon/hildon-controlbar.h:
829 * hildon/hildon-date-editor.h:
830 * hildon/hildon-dialog.h:
831 * hildon/hildon-get-password-dialog.h:
832 * hildon/hildon-hvolumebar.h:
833 * hildon/hildon-login-dialog.h:
834 * hildon/hildon-note.h:
835 * hildon/hildon-number-editor.h:
836 * hildon/hildon-range-editor.h:
837 * hildon/hildon-seekbar.h:
838 * hildon/hildon-set-password-dialog.h:
839 * hildon/hildon-sort-dialog.h:
840 * hildon/hildon-time-editor.h:
841 * hildon/hildon-time-picker.h:
842 * hildon/hildon-volumebar-range.h:
843 * hildon/hildon-volumebar.h:
844 * hildon/hildon-vvolumebar.h:
845 * hildon/hildon-weekday-picker.h:
846 * hildon/hildon-window.h:
847 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
848 macros with the current replacements
850 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
852 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
854 * hildon/hildon-color-button.c (hildon_color_button_init): Use
855 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
856 itself, to make it fit better with Fremantle style.
858 Fixes: NB#109878 (height and width of focus on color icon is not
859 consistent with other item in the application tool bar)
861 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
863 * hildon/hildon-touch-selector.c:
864 (hildon_touch_selector_optimal_size_request): use the current requisition
865 as the base, in order to include any possible extra widget, like the
866 hildon entry on HildonTouchSelectorEntry
868 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
870 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
872 * configure.ac: post release version bump
873 * debian/changelog: post release version bump
875 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
880 * configure.ac: Bump version.
881 * debian/changelog: Updates.
883 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
885 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
887 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
888 to ensure the banner contents are centered, instead of relying on
889 the expand and fill properties in GtkHBox.
890 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
892 Fixes: NB#108265 (Animation banner not properly centered)
894 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
896 * hildon/hildon-pannable-area.c
897 (hildon_pannable_area_initial_effect): Remove the initial_effect
898 management, check initial_hint
899 (hildon_pannable_are_expose_event): Remove the initial_hint management,
900 set initial_effect to FALSE
901 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
902 by launching the fade_timeout if the scrollbars state has changed and are
904 * examples/hildon-pannable-area-initial-hint-example.c
905 Modified to allow to remove rows too. Add and remove rows one by one.
907 2009-05-28 Alberto Garcia <agarcia@igalia.com>
909 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
910 Don't close the menu if there's an animation actor below it.
912 Fixes: NB#117927 (Application menu not usable with animation
915 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
917 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
918 "focus-on-click" from the dialog button, to avoid stealing the
919 focus from the entry.
921 Fixes: NB#118903 (Account setup wizard: Text in Search field
922 should be focused when "Region" touch list picker is reopened
925 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
927 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
928 (prepare_action_area): Completely hide the dialog separator.
930 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
932 * hildon/hildon-touch-selector-entry.c
933 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
934 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
935 now that the entry is exposed.
937 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
939 * hildon/hildon-touch-selector-entry.c
940 (hildon_touch_selector_entry_init): Change the entry's size
941 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
943 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
945 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
946 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
947 avoid unnecessary scaling.
949 2009-05-27 Alberto Garcia <agarcia@igalia.com>
951 * hildon/hildon-app-menu.c (hildon_app_menu_map):
952 Create grab transfer window before calling parent's map function.
954 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
955 "crushed" button(s) in the top left corner)
957 2009-05-26 Alberto Garcia <agarcia@igalia.com>
959 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
960 Check if the window is already realized when pushing it.
962 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
964 * configure.ac: post release version bump
965 * debian/changelog: post release version bump
967 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
972 * configure.ac: Bump version.
973 * debian/changelog: Updates.
975 2009-05-25 Alberto Garcia <agarcia@igalia.com>
977 * hildon/hildon-app-menu.c: Doc updates.
979 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
981 * hildon/hildon-banner.c: Remove leftover macro.
983 2009-05-25 Alejandro G. Castro <alex@igalia.com>
985 * hildon/hildon-pannable-area.c,
986 (hildon_pannable_area_scroll_indicator_fade),
987 (hildon_pannable_area_button_release_cb): Reviewed vmin
988 conditions, it could cause problems in the fadeout procedure.
990 2009-05-25 Alejandro G. Castro <alex@igalia.com>
992 * hildon/hildon-pannable-area.c
993 (hildon_pannable_area_button_release_cb): Added a threshold to
994 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
996 2009-05-25 Alejandro G. Castro <alex@igalia.com>
998 * hildon/hildon-pannable-area.c,
999 (hildon_pannable_area_set_property): Added code to sync the gtk
1000 dnd threshold with the panning threshold.
1002 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1004 * hildon/hildon-pannable-area.c,
1005 (hildon_pannable_area_class_init): Changed some of the default
1006 values, now it should be less responsive and more accurate.
1008 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1010 * hildon/hildon-pannable-area.c,
1011 (hildon_pannable_area_init),
1012 (hildon_pannable_area_scroll_indicator_fade),
1013 (hildon_pannable_area_button_press_cb),
1014 (hildon_pannable_axis_scroll),
1015 (hildon_pannable_area_timeout),
1016 (hildon_pannable_area_motion_notify_cb),
1017 (hildon_pannable_area_button_release_cb): Changed the name of the
1018 clicked attribute to button_pressed, it is more clear about its use.
1020 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1022 * src/hildon-pannable-area.c
1023 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1025 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1026 vertical scrollbar visibility, and use the data on private section instead,
1027 remove the initial_hint check
1028 (hildon_pannable_area_expose_event): add the initial_hint check here
1030 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1032 * src/hildon-pannable-area.c
1033 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1034 if the fadeout effect was used
1035 (hildon_pannable_area_expose_event): check if it is required to
1036 manage the initial effect on the begining of the function. Previously
1037 it was made at the end, but this doesn't ensure that the scrollbars
1038 will be painted on the first show. Do not set to FALSE initial_effect,
1039 to ensure that the initial hint is showed the first time the pannable
1041 * examples/Makefile.am
1042 * examples/hildon-pannable-area-initial-hint-example.c:
1043 New example, to show that the initial-hint is showed when the widget
1046 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1047 initially if the application can be scrolled)
1049 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1051 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1052 Resize table before adding new items to make sure that
1053 gtk_table_resize() is called just once.
1055 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1057 * hildon/hildon-app-menu-private.h
1058 * hildon/hildon-app-menu.c (item_visibility_changed)
1059 (filter_visibility_changed, hildon_app_menu_show_all)
1060 (hildon_app_menu_hide_all, hildon_app_menu_init):
1061 Rearrange items just once when gtk_widget_show_all()/hide_all()
1064 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1066 * hildon/hildon-app-menu.c
1067 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1068 Don't call gtk_widget_show() on added items.
1070 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1071 automatically when they're added)
1073 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1075 * hildon/hildon-banner.c
1076 (hildon_banner_realize, +hildon_banner_unrealize)
1077 (+screen_size_changed, hildon_banner_class_init):
1078 Redisplay the banner if the screen is rotated.
1080 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1081 on transition from landscape to portrait)
1083 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1085 * hildon/hildon-banner.[ch]:
1086 (hildon_banner_show_information_override_dnd): remove icon_name from the
1087 method definition as it is ignored.
1088 * examples/hildon-banner-dnd-example.c: updated with the change on
1091 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1093 * hildon/hildon-banner-private.h: new require_override_dnd and
1094 overrides_dnd variables
1095 * hildon/hildon-banner.h:
1096 (hildon_banner_show_information_override_dnd): new method, that shows
1097 the information but sets the override flag, in order to show important
1099 * hildon/hildon-banner.c
1100 (hildon_banner_show_information_override_dnd): new method
1101 (hildon_banner_set_override_flag): new utility function
1102 (hildon_banner_real_show_information): new utility function, in order to
1103 generalize the current hildon_banner_show_information_override_dnd and
1104 hildon_banner_show_information_override_dnd
1105 * examples/Makefile.am
1106 * examples/hildon-banner-dnd-example.c: New example that show how to
1107 use the new hildon_banner_show_information_override_dnd
1109 Fixes: NB#114874 (There is no possibility to show hildon banners with
1112 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1114 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1115 behind hildon_pannable_calculate_vel_factor().
1117 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1119 * hildon/hildon-pannable-area.c
1120 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1121 deceleration factors.
1123 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1125 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1126 Reduce the default value for 'scroll_time' to 1 second, since the
1127 current initial scrolling takes too much time.
1129 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1131 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1132 calculate velocity factor during initialization, since the properties
1135 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1137 * hildon/hildon-pannable-area.c
1138 (hildon_pannable_area_set_property): Calculate the velocity factor
1139 after setting the deceleration property and not after.
1141 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1143 * hildon/hildon-entry.c
1144 (hildon_entry_class_init, +set_property, hildon_entry_new)
1145 * hildon/hildon-check-button.c
1146 (hildon_check_button_class_init)
1147 (+set_property, hildon_check_button_new):
1148 Make the theme size a property.
1150 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1151 others) do too much in the _new function)
1153 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1155 * configure.ac: post release version bump
1156 * debian/changelog: post release version bump
1158 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1163 * configure.ac: Bump version.
1164 * debian/changelog: Updates.
1166 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1168 * hildon/hildon-gtk.h
1169 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1170 New API function to take a screenshot of a window
1172 Fixes: NB#106374 (Need API to take a loading screenshot)
1174 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1176 * hildon/hildon-time-selector.c
1177 (update_format_policy): prevent to use hours and minutes unitialized
1179 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1181 * hildon/hildon-window.c (hildon_window_size_request):
1182 Always request the full size of the screen (minus the title bar if
1183 not in fullscreen mode).
1185 Fixes: NB#107486 (HildonWindow should size itself properly)
1187 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1189 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1190 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1191 (on_show_cb), (sound_handling): Disconnect the idle handler for
1192 the sound when the note is finalized to avoid possible crashes.
1194 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1197 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1199 * src/hildon-animation-actor.c,
1200 * src/hildon-remote-texture.c:
1201 Added proper object cleanup to remove signal handler and object
1202 references as HildonAnimationActor and HildonRemoteTexture
1203 objects get destroyed.
1205 Fixes: NB#116682 (Destroying parented animation actors when
1206 parent in unmapped leads to crash)
1208 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1210 Based on a patch by Christian Dywan (christian@imendio.com)
1212 * doc/hildon-sections.txt:
1213 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1214 * hildon/hildon-helper.h: New file size formatting method.
1216 * debian/control: Depend on osso-filemanager l10n package for
1217 proper localization strings.
1219 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1221 * tests/Makefile.am: Include top_srcdir to make possible to build
1222 tests in a different builddir.
1223 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1224 on a different builddir.
1226 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1228 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1229 (hildon_touch_selector_remove): Disconnect model's signal handler
1232 Fixes: NB#116289 (Hildon home crashes while adding task
1235 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1237 * hildon/hildon-button.c
1238 (hildon_button_set_title, hildon_button_set_value):
1239 Hide labels containing an empty string.
1241 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1243 * configure.ac: post release version bump
1244 * debian/changelog: post release version bump
1246 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1251 * configure.ac: Bump version.
1252 * debian/changelog: Updates.
1254 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1256 * hildon/hildon-note-private.h: Removed sound_signal_handler
1257 * hildon/hildon-note.c
1258 (on_show_cb): new callback on note "show" event, this simply adds
1259 a idle, with the function sound_handling
1260 (sound_handling): removed the sound_signal_handler management
1261 (hildon_note_init): connect note "show" event to on_show_cb
1262 (hildon_note_realize): remove the connection to "expose-event"
1264 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1265 device?' confirmation note)
1267 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1269 * hildon/hildon-note.c
1270 (hildon_note_new_information_with_icon_name)
1271 (hildon_note_new_confirmation_with_icon_name):
1272 Terminate the list of parameters in g_object_set() calls
1274 Fixes: NB#115166 (Formatting memory card is not taking place)
1276 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1278 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1279 "dialog-information" role for the sound being played.
1281 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1283 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1284 Don't make the menu a modal window, it causes strange interactions
1285 with the pointer grab and it's not really needed.
1287 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1289 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1291 * hildon/hildon-touch-selector.[ch]
1292 (hildon_touch_selector_optimal_size_request): function added to get a
1293 optimal size request from the touch selector, when you want a dialog to
1294 show as much of the selector
1295 * hildon/hildon-picker-dialog.c:
1296 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1297 (hildon_app_menu_class_init):
1298 New "max-height-landscape" and "max-height-portrait" style properties
1299 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1300 (hildon_picker_dialog_get_max_height): returns the maximum height using
1301 the style properties defined and checking the current portrait/landscape
1303 (_hildon_picker_dialog_set_selector): removed the set_size_request
1305 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1307 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1309 * hildon/hildon-bread-crumb-trail.c:
1310 * hildon/hildon-bread-crumb.c:
1311 * hildon/hildon-seekbar.c:
1312 Add reference to replacements for these deprecated widgets.
1314 Fixes: MB#4461 (Documentation: All deprecations should mention
1317 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1319 * examples/hildon-remote-texture-example.c
1321 Change the include to the hildon-remote-texture in order to compile
1322 properly the examples on the installed libhildon1-examples package
1324 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1326 * tests/Makefile.am: Add check for HildonPickerButton.
1327 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1328 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1329 checks for the HildonPickerButton.
1330 * tests/check_test.c (configure_tests): Add the test suite.
1331 * tests/test_suites.h: likewise.
1333 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1335 * hildon/hildon-touch-selector.c
1336 (+on_row_changed): Emit HildonTouchSelector:changed when the
1337 contents of a selected row change.
1338 (_create_new_column), (_hildon_touch_selector_set_model): connect
1339 to GtkTreeModel:row-changed on a newly set model.
1341 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1343 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1345 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1347 * hildon/hildon-banner.c (hildon_banner_destroy)
1348 (hildon_banner_show_progress, hildon_banner_set_fraction):
1349 Remove the progress bar from HildonBanner and use a progress
1352 Fixes: NB#113761 (Update progress banner to use progress
1355 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1357 * hildon/hildon-banner.c:
1358 Calculate size of the banner label using the actual screen width
1359 rather than using a fixed value.
1361 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1364 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1366 * hildon/hildon-pannable-area.c,
1367 (hildon_pannable_area_class_init): Fixed signals documentation
1370 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1372 * configure.ac: post release version bump
1373 * debian/changelog: post release version bump
1375 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1380 * configure.ac: Bump version.
1381 * debian/changelog: Updates.
1383 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1385 * hildon/hildon-edit-toolbar.c
1386 (hildon_edit_toolbar_init):
1387 Don't let buttons in HildonEditToolbar receive focus.
1389 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1390 typing on an HW arrows key)
1392 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1394 * doc/Makefile.am: Fix build.
1396 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1398 * doc/Makefile.am: Do not redefine content_files.
1400 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1408 Renamed src/ to hildon/
1413 Include <hildon/hildon.h> directly in all examples.
1415 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1417 * src/hildon-sort-dialog.c
1418 (hildon_sort_dialog_add_sort_key_with_sorting)
1422 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1424 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1425 make distcheck passes.
1427 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1429 * Makefile.am: Enable gtk-doc during distcheck.
1431 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1433 * Makefile.am: Do not distribute the debian/ directory.
1435 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1437 * doc/Makefile.am: Add the extra SGML files to content_files,
1438 so that they are distributed properly.
1440 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1442 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1445 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1447 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1448 (hildon_note_new_information_with_icon_name): Set the "icon" property
1449 to preserve soundness.
1451 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1453 * src/hildon-font-selection-dialog.c
1454 (hildon_font_selection_dialog_set_property): Fail when the "family"
1455 property is set to NULL.
1457 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1459 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1462 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1464 * src/hildon-time-selector.h:
1465 Added HildonTimeSelectorFormatPolicy
1466 * src/hildon-time-selector.c:
1467 Added PROP_TIME_FORMAT_POLICY
1468 (_check_ampm_format): renamed to check_automatic_ampm_format
1469 (update_format_policy), (update_format_dependant_columns): new functions
1470 (hildon_time_selector_class_init)
1471 (hildon_time_selector_contructor)
1472 (hildon_time_selector_init)
1473 (hildon_time_selector_get_property)
1474 (hildon_time_selector_set_property)
1475 (hildon_time_selector_get_time)
1476 (hildon_time_selector_set_time)
1477 * src/hildon-touch-selector.h: new file
1478 * src/hildon-touch-selector.c
1479 (hildon_touch_selector_emit_changed)
1480 (hildon_touch_selector_block_changed)
1481 (hildon_touch_selector_unblock_changed)
1482 Added functions to allow to block the emission of the "changed" signal
1483 * src/hildon-picker-dialog.c
1484 (hildon_picker_dialog_show): call the parent show before the custom code
1485 * examples/hildon-time-button-example.c
1486 Modified, so now you can configure the time format using the new property
1488 Added a new property "time-format-policy" that allow to choose the time
1489 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1490 case it uses gconf in order to check if the time selector must use
1493 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1496 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-note.c (hildon_note_init):
1499 Label in HildonNote must be left aligned, not centered. This
1500 reverts the last commit in HildonNote.
1502 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1503 is connectivity dialog)
1505 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1510 * doc/hildon-sections.txt:
1511 Added hildon_gtk_window_set_do_not_disturb()
1513 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1515 * src/hildon-note.c (hildon_note_init): Center label.
1517 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1520 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1525 * configure.ac: Bump version.
1526 * debian/changelog: Updates.
1528 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1530 * src/hildon-note-private.h: Add button-width to the private data.
1531 * src/hildon-note.c (+resize_button),
1532 (+hildon_note_orientation_update): methods to repack widgets on orientation
1534 (screen_size_changed): Call above method for confirmation notes.
1535 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1536 (hildon_note_rebuild): Store the original width request from buttons.
1538 Fixes: NB#109635 (Confirmation notes do not support portrait)
1540 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1542 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1543 when it is a progress note.
1545 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1547 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1548 in the note, since there are no horizontally arranged contents.
1550 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1552 * src/hildon-gtk.c (+set_flag): new generic method to
1553 set/delay a flag setting in a window.
1554 (hildon_gtk_window_set_progress_indicator):
1555 (hildon_gtk_window_set_do_not_disturb),
1556 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1557 avoid code redundance.
1559 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1561 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1563 * src/hildon-gtk.c (set_clear_window_flag),
1564 (do_set_progress_indicator), (do_set_do_not_disturb),
1565 (do_set_portrait_flags),
1566 (hildon_gtk_window_set_progress_indicator),
1567 (hildon_gtk_window_set_do_not_disturb),
1568 (hildon_gtk_window_set_portrait_flags):
1569 Allow setting dnd-flag, progress indicator, and portrait flags
1570 when the window is not realized.
1572 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1574 * src/hildon-pannable-area.c,
1575 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1576 the size request policy function and defines.
1578 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1580 * doc/hildon-sections.txt: Add the new API.
1581 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1582 method to set the portrait flags.
1583 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1585 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1587 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1589 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1590 to allow using this method with other flags.
1591 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1592 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1594 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1596 * src/hildon-touch-selector.c
1597 (hildon_touch_selector_append_text_column):
1598 Make the cell renderer use the smallest width possible.
1600 Fixes: NB#108470 (Selected items in multiple selection are either
1601 having a tick that is cut or not visible at all.)
1603 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1605 * src/hildon-touch-selector.c
1606 (hildon_touch_selector_append_text_column):
1609 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1611 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1612 Use g_strdup_printf() instead of a fixed size buffer.
1614 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1616 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1617 Close banners when a HildonAppMenu is popped up.
1619 Fixes: NB#111027 (Title menu closed immediately if activated when
1620 "Invalid e-mail address" banner is shown)
1622 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1627 * configure.ac: Bump version.
1628 * debian/changelog: Updates.
1630 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1632 * src/hildon-banner.c (hildon_banner_realize):
1633 Mark HildonBanner as supporting portrait mode.
1634 Use GDK to set window properties insetad of direct Xlib calls.
1636 Fixes: NB#111830 (HildonBanner should be marked as supporting
1639 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1641 * src/hildon-note.c (hildon_note_rebuild):
1642 Hide action area in information notes. Prevents text from being
1643 slightly aligned to the left.
1645 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1648 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1650 Patch by Mox Soini (ext-mox.soini@nokia.com)
1652 * src/hildon-banner.c (hildon_banner_create_animation):
1653 Use stylus-sized icons in animation banner.
1655 Fixes: NB#111206 (stylus sized icon for animation banner)
1657 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1661 (+hildon_gtk_window_set_do_not_disturb):
1662 New API to set the do-not-disturb flag.
1664 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1666 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1668 * examples/hildon-progress-indicator-example.c: Fix example
1670 * src/hildon-gtk.c (set_clear_window_flag)
1671 (hildon_gtk_window_set_progress_indicator):
1672 Create a generic function for setting flags to a window.
1673 Use GDK instead of direct Xlib calls.
1675 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1677 * src/hildon-button.c (hildon_button_set_arrangement):
1678 Due to NB#88126, if one of the labels is too long it will be
1679 painted outside the button. The 'value' label is more likely to be
1680 the longest one, so we change its packing options in order to
1681 truncate it if necessary. As a side effect, the 'title' label will
1682 no longer be truncated.
1684 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1686 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1691 * configure.ac: Bump version.
1692 * debian/changelog: Updates.
1694 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1696 Deprecation of the hildon_pannable_area_set_size_request_policy
1697 API, the only policy properly supported in gtk+ nowadays is the
1700 * src/hildon-pannable-area.c,
1701 (hildon_pannable_area_size_request): Added a workaround for the
1702 size_request to avoid the problems of huge pixmaps in case someone
1703 is still using the function.
1704 * src/hildon-pannable-area.h: Deprecated the enum with the
1707 Fixes: NB#110244 (Problems with the
1708 hildon_pannable_area_set_size_request_policy API)
1710 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1712 * src/hildon-pannable-area.c,
1713 (hildon_pannable_area_init),
1714 (hildon_pannable_area_size_request),
1715 (hildon_pannable_area_style_set),
1716 (hildon_pannable_draw_vscroll),
1717 (hildon_pannable_draw_hscroll),
1718 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1719 indicator_width to clarify the use of the attribute.
1721 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1726 * configure.ac: Bump version.
1727 * debian/changelog: Updates.
1729 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1731 * src/hildon-picker-dialog.c
1732 * src/hildon-touch-selector.c
1733 Reverting the change that tried to avoid the hardcoded height on
1734 the picker dialog, as causes problems on the hildon-touch-selector
1737 Fixes: NB#110029 (selectors not scrolling to selected value)
1739 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1741 * src/hildon-touch-selector.c: Fix typos
1743 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1745 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1746 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1747 request more motions after using it.
1749 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/hildon-calendar.c (hildon_calendar_expose),
1752 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1753 Remove unused variables.
1755 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1757 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1758 variable assignment.
1760 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1762 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1763 Check the return value of gtk_tree_selection_get_selected()
1766 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1768 * src/hildon-animation-actor.c
1769 * src/hildon-button.c
1771 * src/hildon-pannable-area.c
1772 * src/hildon-picker-button.c
1773 * src/hildon-program.c
1774 * src/hildon-remote-texture.c
1775 * src/hildon-text-view.c
1776 * src/hildon-touch-selector.c
1777 * src/hildon-window-stack.c
1778 * src/hildon-window.c:
1779 Add missing 'Since: 2.2' tags.
1781 * doc/hildon-sections.txt:
1782 Add some missing symbols.
1784 * doc/hildon-docs.sgml:
1785 New 'Other' section for HildonAnimationActor and
1788 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1790 Patch by Iván Gómez (igomez@igalia.com)
1793 * doc/compiling.sgml
1794 * doc/hildon-docs.sgml
1795 * doc/hildon-sections.txt
1796 * doc/migration.sgml
1797 * doc/resources.sgml
1799 New chapters on using the Hildon library.
1800 Updated the general structure of the reference manual.
1801 Other minor documentation fixes.
1803 * src/hildon-calendar-popup.c
1804 * src/hildon-calendar.c
1805 * src/hildon-controlbar.c
1806 * src/hildon-date-editor.c
1807 * src/hildon-dialog.c
1808 * src/hildon-hvolumebar.c
1809 * src/hildon-number-editor.c
1810 * src/hildon-range-editor.c
1811 * src/hildon-sort-dialog.c
1812 * src/hildon-time-editor.c
1813 * src/hildon-time-picker.c
1814 * src/hildon-volumebar-range.c
1815 * src/hildon-volumebar.c
1816 * src/hildon-vvolumebar.c
1817 * src/hildon-weekday-picker.c:
1818 Add deprecation notes
1820 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1821 Document 'horizontal-movement' and 'vertical-movement' signals.
1823 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1828 * configure.ac: Bump version.
1829 * debian/changelog: Updates.
1831 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1833 * src/hildon-pannable-area.c,
1834 (hildon_pannable_area_class_init): increased the minimum velocity.
1835 (hildon_pannable_area_button_release_cb): Updated the
1836 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1837 setup. Review the code to control that last event.
1839 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1842 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1844 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1846 * src/hildon-get-password-dialog.c
1847 (hildon_get_password_set_property),
1848 (hildon_get_password_get_property), (create_contents):
1849 * src/hildon-login-dialog-private.h:
1850 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1851 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1852 (hildon_login_dialog_get_password):
1853 * src/hildon-set-password-dialog-private.h:
1854 * src/hildon-set-password-dialog.c
1855 (hildon_set_password_set_property),
1856 (hildon_set_password_get_property), (create_contents),
1857 (hildon_set_password_response_change),
1858 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1860 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1861 instead and look more Fremantle style.
1863 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1865 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1867 * doc/hildon-sections.txt
1868 * src/hildon-window-stack.h
1869 * src/hildon-window-stack.c
1870 (+hildon_window_stack_get_windows):
1871 New API to obtain the list of windows on a stack.
1873 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1875 * src/hildon-app-menu.c (hildon_app_menu_popup)
1876 (hildon_app_menu_class_init, -hildon_app_menu_show):
1877 Remove hildon_app_menu_show() and move all its checks to
1878 hildon_app_menu_popup()
1880 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1882 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1883 (_hildon_picker_dialog_set_selector): removed call to
1884 gtk_widget_set_size_request
1885 * src/hildon-touch-selector.c
1886 (_create_new_column): change the pannable size request policy
1888 Avoid to use a hardcoded height for the hildon picker dialog. In order
1889 to get that, we needed to change the hildon pannable size request
1891 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1893 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1895 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1896 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1899 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1901 * debian/control: Depend on osso-system-lock localization package.
1902 * src/hildon-code-dialog.c: Obtain the secu_application_title
1903 translation from osso-system-lock.
1904 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1905 for translation the atk related strings, that's not necessary.
1906 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1907 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1908 cancel button, it is not required.
1910 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1912 * src/hildon-pannable-area.c,
1913 (hildon_pannable_area_class_init): Modified the default value of
1914 the overshooting max speed, we have reduced it.
1916 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1918 * doc/hildon-sections.txt
1919 * src/hildon-window-private.h
1920 * src/hildon-window.h
1921 * src/hildon-window.c (hildon_window_class_init)
1922 (hildon_window_init, hildon_window_finalize)
1923 (hildon_window_realize, hildon_window_get_property)
1924 (hildon_window_set_property, hildon_window_update_markup)
1925 (hildon_window_get_markup, hildon_window_set_markup):
1926 New "markup" property and hildon_window_{get,set}_markup() methods.
1928 * examples/hildon-stackable-window-example.c (new_window):
1929 Update example to use hildon_window_set_markup()
1931 Fixes: NB#106375 (Need API to retitle a window with a title
1934 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1936 * src/hildon-pannable-area.c,
1937 (hildon_pannable_area_class_init): Changed the default value of
1938 the initial_hint to TRUE.
1939 (hildon_pannable_area_initial_effect): Changed the initial effect,
1940 not the effect is just the fade-out of the scrollbars.
1942 Fixes: NB#107775 (No scrollbars can be seen when several items are
1943 available in a dialog)
1945 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1947 * src/hildon-program.c (hildon_program_update_top_most):
1950 Fixes: NB#109179 (Memory leak in Hildon program)
1952 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1954 * src/hildon-banner.c (-get_current_app_window):
1955 Remove unused function.
1957 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1959 * src/hildon-pannable-area.c: Modified the documentation of the
1960 get adjustments functions to explain the problem of using the
1961 adjustment directly.
1962 (hildon_pannable_area_class_init): Improved the explanation about
1965 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1967 * src/hildon-app-menu-private.h
1968 * src/hildon-app-menu.c
1969 (hildon_app_menu_class_init):
1970 Bring back the 'external-border' style property
1971 (hildon_app_menu_class_init, hildon_app_menu_init)
1972 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1973 Set a fixed width-request for the menu, independent of the number
1976 Fixes: NB#94957 (Smoothly opened application menu)
1978 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1980 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1982 * src/hildon-banner.c
1983 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1985 Make sure that the banner is correctly placed the first time it's
1987 (hildon_banner_check_position, -check_fullscreen_state):
1988 Show the banner in the same place no matter if the window is in
1989 fullscreen mode or not.
1991 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1993 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1995 * src/hildon-touch-selector.c (_default_print_func): reorder
1996 concatenation for clarity.
1998 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2000 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2001 for multicolumn selectors.
2003 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2005 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2010 * configure.ac: Bump version.
2011 * debian/changelog: Updates.
2013 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2015 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2018 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2020 * configure.ac: removed libcangerra-gtk dependency
2021 * debian/control: removed libcanberra-gtk dependency
2022 * src/Makefile.am: removed libcanberra gtk related flags
2023 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2024 context, and manage a global canberra context instead
2026 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2028 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2030 Patch by Daniel Borgmann (danielb@openismus.com)
2032 * src/hildon-edit-toolbar.c:
2033 Adjust the left padding.
2034 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2035 Paint background of the edit toolbar.
2037 Fixes: NB#107897 (Patch to make editmodetoolbar background
2038 themeable and adjust margin)
2040 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2042 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2044 * src/hildon-program.c (hildon_program_update_top_most):
2045 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2047 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2048 change when the user tasks in/out of an application)
2050 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2052 * configure.ac: added libcangerra-gtk dependency
2053 * debian/control: added libcanberra-gtk dependency
2054 * src/Makefile.am: added libcanberra gtk related flags
2055 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2058 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2060 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2062 * src/hildon-program.c (hildon_program_remove_window)
2063 (hildon_program_add_window): Add checks for the window
2064 parameter. Don't decrease the window counter if the window is not
2067 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2069 * src/hildon-pannable-area.c,
2070 (hildon_pannable_area_realize): Fixed position of the event_window
2071 in the realize method.
2073 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2075 * src/hildon-app-menu-private.h
2076 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2077 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2078 (hildon_app_menu_key_press, hildon_app_menu_init)
2079 (hildon_app_menu_finalize):
2080 Make sure that all idle functions are removed when the widget is
2083 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2085 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2090 * configure.ac: Bump version.
2091 * debian/changelog: Updates.
2093 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2095 * src/hildon-entry.c
2096 (+hildon_entry_show_placeholder),
2097 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2098 that replace hildon_entry_update_contents().
2099 (hildon_entry_set_text),
2100 (hildon_entry_set_placeholder),
2101 (hildon_entry_focus_in_event),
2102 (hildon_entry_focus_out_event): Determine when it is needed
2103 either to show or hide the placeholder and call the above methods.
2105 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2106 when the placeholder text is already set)
2108 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2110 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2111 simple GdkPixbufAnim using the new icons for the banner.
2112 (hildon_banner_show_animation): Use the above mentioned method to
2113 create the animation widget.
2115 Fixes: NB#103564 (Make hildon animation banner use individual
2116 image files as the animation)
2118 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2120 * src/hildon-pannable-area.c,
2121 (hildon_pannable_leave_notify_event): Check if the child is NULL
2122 to avoid sending the leave.
2124 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2126 * src/hildon-pannable-area.c,
2127 (hildon_pannable_area_class_init),
2128 (hildon_pannable_leave_notify_event): Added a handler of the
2129 leave-notify-signal to consider when no motion notify before
2132 Fixes: NB#107494 (Items stay selected when clicking and moving
2133 away when inside pannable area)
2135 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2140 * configure.ac: Bump version.
2141 * debian/changelog: Updates.
2143 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2145 Patch by Alberto Garcia (agarcia@igalia.com)
2147 * src/hildon-date-button.c,
2148 (hildon_date_button_class_init),
2149 (hildon_date_button_init): Removed the construct property handling
2150 and created a default selector in the init method.
2151 * src/hildon-picker-button.c,
2152 (hildon_picker_button_class_init): Removed the construct flag of the
2155 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2157 * src/hildon-main.c (hildon_init):
2158 Don't allow hildon_init() to be called more than once.
2160 Fixes: NB#106607 (hildon_init should issue error message upon
2163 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2165 * examples/hildon-pannable-area-touch-list-example.c
2166 * examples/hildon-pannagle-area-touch-grid-example.c
2167 * examples/hildon-edit-toolbar-example.c
2168 * examples/hildon-touch-selector-multi-cells-example.c
2169 Removed the call to gtk_rc_parse_string, as it is not required since
2172 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2174 * src/hildon-pannable-area.c,
2175 (hildon_pannable_area_class_init): Modified the default panning
2176 threshold of the widget to 6px.
2178 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2179 than the threshold value ) within the button is not sending the
2182 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2185 for the treeview in the new column. This way, the touch list will never
2188 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2189 be selected manually for the HW keys to work)
2191 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2193 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2194 comparison instead of using strcmp(). Fixes a compiler warning as well.
2196 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2198 * doc/hildon-docs.sgml: Do not set the library version in the
2199 document title, use the releaseinfo tag for that purpose instead.
2201 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2203 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2204 Do not jump to the first item if the text in the entry is removed.
2206 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2211 * configure.ac: Bump version.
2212 * debian/changelog: Updates.
2214 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2216 * src/hildon-entry.c (hildon_entry_refresh_contents):
2217 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2218 Use "ReversedSecondaryTextColor" for the placeholder text.
2220 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2222 * src/hildon-text-view.c: Fix compilation warning.
2224 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2226 * src/hildon-button.c (hildon_button_class_init): Don't make
2227 "title" and "value" construction properties, to prevent them from
2228 overwriting labels set from derived classes.
2230 * src/hildon-picker-button.c
2231 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2232 (hildon_picker_button_class_init): Make touch-selector a
2233 construction property.
2235 * src/hildon-date-button.c (hildon_date_button_class_init)
2236 (+hildon_date_button_constructed): Add a default date selector if
2239 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2241 * src/hildon-touch-selector.c: Small documentation fixes.
2243 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2245 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2247 * src/hildon-entry.c (hildon_entry_refresh_contents),
2248 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2249 widget name, set the logical color directly instead and a boolean
2250 showing_placeholder instead.
2251 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2252 use the widget name here either.
2254 Fixes: NB#105678 (HildonTextView should use logical colours
2255 instead of setting widget name)
2257 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2259 Patch by Daniel Elster (danielk@openismus.com)
2261 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2262 Add user_data parameter.
2263 (hildon_touch_selector_set_print_func_full): New function akin
2264 hildon_touch_selector_set_print_func() but with support for user
2265 data and a destroy callback.
2266 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2267 to clean up the print function user data.
2268 (hildon_touch_selector_class_init): Install dispose function.
2269 (HildonTouchSelectorPrivate::print_user_data),
2270 (HildonTouchSelectorPrivate::print_destroy_func): New private
2272 (hildon_touch_selector_init): Initialize new private members.
2273 (hildon_touch_selector_get_current_text): Pass along user data
2274 to the print function.
2275 (_default_print_func): Add dummy user_data to parameter list.
2276 * hildon-date-selector.c (_custom_print_func): ditto,
2277 * hildon-time-selector.c (_custom_print_func): ditto,
2278 * hildon-touch-selector-entry.c
2279 (hildon_touch_selector_entry_print_func): ditto.
2281 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2283 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2285 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2287 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2289 * src/hildon-pannable-area.c,
2290 (hildon_pannable_area_init),
2291 (hildon_pannable_area_button_press_cb),
2292 (hildon_pannable_area_motion_notify_cb): We have added code to
2293 handle the leave and enter events when using the motion events.
2295 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2297 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-date-button.c (hildon_date_button_get_date)
2300 (hildon_date_button_set_date): Make sure that the button has a
2303 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2305 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2307 * src/hildon-pannable-area.c,
2308 (hildon_pannable_area_class_init),
2309 (hildon_pannable_area_calculate_velocity): Modify the use of the
2310 force and adapt the value.
2312 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2315 (hildon_app_menu_class_init): Hide the menu if it receives a
2316 delete-event, but don't destroy it
2318 Fixes: NB#104485 (Not able to address the call when application
2319 menu is opened at background)
2321 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2323 * src/hildon-app-menu.c
2324 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2325 Remove the "external-border" style property, let the menu take its
2326 natural size (or the one set by the window manager)
2327 (hildon_app_menu_repack_items):
2328 Don't reshow the menu, avoid flickers.
2330 Partially fixes NB#94957 (Smoothly opened application menu)
2332 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2337 * configure.ac: Bump version.
2338 * debian/changelog: Updates.
2340 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2342 * src/hildon-pannable-area.c,
2343 (hildon_pannable_area_motion_notify_cb): We control that the
2344 direction error margin is used just in case the movement is
2345 allowed in the other direction.
2347 Fixes: NB#105012 (buttons inside a pannable area not getting
2348 release event when dragging/releasing)
2350 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2352 * src/hildon-pannable-area.c,
2353 (hildon_pannable_area_class_init),
2354 (hildon_pannable_area_get_property),
2355 (hildon_pannable_area_set_property),
2356 (hildon_pannable_area_initial_effect),
2357 (hildon_pannable_axis_scroll),
2358 (hildon_pannable_area_button_release_cb): Reviewed the
2359 overshooting effect, now it has its own max
2360 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2361 speed when bouncing.
2363 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2368 * configure.ac: Bump version.
2369 * debian/changelog: Updates.
2371 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2373 * src/hildon-pannable-area.c,
2374 (hildon_pannable_area_class_init): Changed the max speed, now
2375 users can launch the widget very fast. Reduced the default force,
2376 that way it is easier to control the launch speed.
2378 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2380 * src/hildon-pannable-area.c,
2381 (hildon_pannable_area_button_release_cb): Removed this check
2382 because it causes problems when the device is overloaded.
2384 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2386 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2387 add a current_text field to store the text entered in the
2388 touch selector entry.
2389 (_clean_current_selection): clean up the current text as well.
2390 (_save_current_selection), (_restore_current_selection):
2391 Save/restore the text in the entry if the selector is a
2392 HildonTouchSelectorEntry.
2394 Fixes: NB#102541 (value entered in the touch selector entry is not
2395 shown when opened for second time)
2397 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2399 * doc/hildon-sections.txt:
2400 * src/hildon-touch-selector-entry.c
2401 (+hildon_touch_selector_entry_get_entry):
2402 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2404 Fixes: NB#104815 (I need accessor to the entry inside
2405 HildonTouchSelectorEntry)
2407 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2409 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2410 (hildon_app_menu_class_init):
2411 New "filter-vertical-spacing" style property.
2413 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2415 * src/hildon-find-toolbar.c
2416 (hildon_find_toolbar_emit_close)
2417 (hildon_find_toolbar_emit_invalid_input)
2418 (hildon_find_toolbar_entry_activate):
2419 Use g_signal_emit() instead of g_signal_emit_by_name()
2421 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2423 Patch by Mox Soini (ext-mox.soini@nokia.com)
2425 * tests/TEST-CASES.txt
2426 * tests/check-hildon-banner.c
2427 * tests/check-hildon-note.c
2428 * src/hildon-banner.c
2429 * src/hildon-code-dialog.c
2430 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2431 * src/hildon-time-editor.c
2432 * examples/hildon-lookup-example.c (main):
2433 Replace obsolete icon names with new ones.
2435 * src/hildon-find-toolbar-private.h:
2436 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2437 (-hildon_find_toolbar_emit_search):
2438 Remove find button and change icon of close button.
2440 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2442 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-time-button.c (hildon_time_button_new_step):
2445 Use the "touch-selector" property to set the selector directly
2446 when creating the object.
2448 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2450 Added a new example application that allows tuning the pannable
2451 area and replaced defines with properties in order to simplify the
2452 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2453 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2454 PROP_DIRECTION_ERROR_MARGIN.
2456 * examples/hildon-pannable-area-tuning-example.c: New example
2458 * src/hildon-pannable-area.c,
2459 (hildon_pannable_area_class_init),
2460 (hildon_pannable_area_init),
2461 (hildon_pannable_area_get_property),
2462 (hildon_pannable_area_set_property),
2463 (hildon_pannable_area_launch_fade_timeout),
2464 (hildon_pannable_area_adjust_value_changed),
2465 (hildon_pannable_axis_scroll),
2466 (hildon_pannable_area_motion_notify_cb),
2467 (hildon_pannable_area_scroll_cb),
2468 (hildon_pannable_area_button_release_cb): We have converted some
2469 of the defines that control the widget to properties to simplify
2472 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2474 * src/hildon-app-menu.c (hildon_app_menu_map)
2475 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2476 so it's closed if a new window appears.
2478 Fixes: NB#104485 (Not able to address the call when application
2479 menu is opened at background)
2481 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2483 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2484 missing 'break' statement in in 'case' construct to avoid
2487 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2489 * src/hildon-touch-selector-entry.c
2490 (hildon_touch_selector_entry_get_property),
2491 (hildon_touch_selector_entry_set_property): Add missing 'break'
2492 statements in in 'case' constructs to avoid incorrect warnings.
2494 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2496 * src/hildon-time-editor.c
2497 (hildon_time_editor_get_time_separators): Do not crash if
2498 the first label is NULL.
2500 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2502 * src/hildon-date-selector.c (_month_days): Check for month to be
2503 strictly less than 12, since otherwise we may overrun the array.
2505 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-date-button.c (+hildon_date_button_new_full)
2508 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2509 (hildon_date_button_init): Set the date selector using a
2510 construction property, to make it happen after HildonButton's
2511 "value" property is set.
2513 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2514 current date by default)
2516 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2518 * doc/hildon-sections.txt
2519 * src/hildon-program.c
2520 * src/hildon-stackable-window.c
2521 * src/hildon-window.c:
2522 Documentation updates
2524 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2526 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2527 (hildon_window_stack_new, +hildon_window_stack_set_property)
2528 (+hildon_window_stack_get_property)
2529 (hildon_window_stack_class_init)
2530 (+hildon_window_stack_set_window_group)
2531 (+hildon_window_stack_get_window_group):
2532 Make the window group a construction property.
2534 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2536 * doc/hildon-sections.txt
2537 * src/hildon-stackable-window-private.h
2538 * src/hildon-stackable-window.h
2539 * src/hildon-stackable-window.c
2540 (-hildon_stackable_window_set_app_menu)
2541 (-hildon_stackable_window_get_app_menu)
2542 (-hildon_stackable_window_toggle_menu)
2543 (-hildon_stackable_window_finalize)
2544 (hildon_stackable_window_class_init)
2545 (hildon_stackable_window_init)
2546 * src/hildon-window-private.h
2547 * src/hildon-window.h
2548 * src/hildon-window.c (hildon_window_init)
2549 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2550 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2551 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2552 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2553 Moved all HildonAppMenu code to HildonWindow. The menu does not
2554 require a HildonStackableWindow anymore.
2556 * src/hildon-app-menu.c
2557 * src/hildon-program.c
2558 * examples/hildon-app-menu-example.c (main):
2559 Update examples and documentation to reflect HildonAppMenu
2562 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2564 * src/hildon-remote-texture.c
2565 * src/hildon-animation-actor.c:
2566 Don't include unused private headers.
2568 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2570 * src/hildon-program-private.h
2571 * src/hildon-program.c
2572 (hildon_program_set_common_menu)
2573 (hildon_program_get_common_menu)
2574 (hildon_program_set_common_app_menu)
2575 (hildon_program_get_common_app_menu):
2576 Change common menu pointers from GtkWidget* to GtkMenu* and
2577 HildonAppMenu* to avoid unnecessary casts.
2579 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2581 * src/hildon-window.c (hildon_window_set_main_menu):
2582 Removed incorrect 'Since:' tag
2584 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2586 * src/hildon-pannable-area.c,
2587 (hildon_pannable_area_calculate_velocity): We use now the
2588 RATIO_TOLERANCE here to check the distance, fixed typo in the
2590 (hildon_pannable_area_motion_notify_cb): We have to set the type
2591 and time even if we are not sending the motion.
2593 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2595 * doc/hildon-sections.txt
2596 * src/hildon-app-menu.h
2597 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2598 (+hildon_app_menu_get_filters): New methods to get the contents of
2601 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2604 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-app-menu.c (hildon_app_menu_popup):
2609 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2611 * src/hildon-window.h
2612 * src/hildon-window.c (+hildon_window_get_main_menu)
2613 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2614 and deprecated hildon_window_get_menu().
2616 * src/hildon-stackable-window.h
2617 * src/hildon-stackable-window.c
2618 (+hildon_stackable_window_set_app_menu)
2619 (+hildon_stackable_window_get_app_menu)
2620 (hildon_stackable_window_set_main_menu): Created
2621 hildon_stackable_window_{get,set}_app_menu() and deprecated
2622 hildon_stackable_window_set_main_menu().
2624 * doc/hildon-sections.txt
2625 * examples/hildon-app-menu-example.c (main)
2626 * src/hildon-app-menu.c
2627 * src/hildon-program.c:
2628 Updated examples and documentation.
2630 Fixes: NB#103758 (No way to obtain a menu from a
2631 HildonStackableWindow)
2633 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2638 * configure.ac: Bump version.
2639 * debian/changelog: Updates.
2641 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2643 * examples/hildon-remote-texture-example.c: Include
2644 hildon-remote-texture.h explicitely.
2645 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2646 applications not defining _XOPEN_SOURCE which don't require this header.
2648 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2650 * doc/hildon-sections.txt
2651 * src/hildon-app-menu.h
2652 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2653 New function to pop up a HildonAppMenu
2655 * src/hildon-stackable-window.c
2656 (hildon_stackable_window_toggle_menu):
2657 Use hildon_app_menu_popup() to show the menu.
2659 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2661 * src/hildon-app-menu.c (hildon_app_menu_show)
2662 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2663 menu if there's another window between it and its parent window.
2665 Fixes: NB#100468 (Application menu window is launched even when a
2666 new secondary-window/dialog is pending to be shown/realized)
2668 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2670 * src/hildon-window-stack.c (hildon_window_stack_push)
2671 (hildon_window_stack_pop_and_push):
2672 Don't forget to push/pop the first window.
2673 Reverse the window list before calling _push_list()
2675 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2677 * src/hildon-picker-button.h
2678 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2679 Remove "value_changed" slot to avoid ABI breakage
2681 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2683 * src/hildon-pannable-area.c,
2684 (hildon_pannable_area_realize),
2685 (hildon_pannable_area_unrealize),
2686 (hildon_pannable_draw_vscroll),
2687 (hildon_pannable_draw_hscroll): Changed the method to handle the
2688 GC used to draw the transparent scrollbar, this way we avoid
2689 creating the GC all the time when drawing the scrollbars.
2691 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2693 * src/hildon-pannable-area.c,
2694 (hildon_pannable_area_init),
2695 (hildon_pannable_area_remove): Removed some unnecessary casts.
2696 (hildon_pannable_area_dispose): Disconnected some signals before
2697 releasing the adjustments.
2699 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2701 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2702 Make sure that all widgets contained in the toolbar are shown.
2704 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2706 * doc/hildon-sections.txt
2707 * src/hildon-picker-button.h
2708 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2709 (_selection_changed, hildon_picker_button_on_dialog_response)
2710 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2711 New hildon_picker_button_value_changed() method.
2714 * src/hildon-picker-button-private.h
2715 * src/hildon-picker-button.c (hildon_picker_button_init)
2716 (+hildon_picker_button_disable_value_changed): Add protected
2717 function for disabling the "value-changed" signal.
2719 * src/hildon-date-button.c (hildon_date_button_set_date):
2720 Don't emit "value-changed" for each one of the three columns.
2722 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2723 before actual change of values)
2725 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2727 * src/hildon-pannable-area.c,
2728 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2729 for the treeview overshooting.
2731 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2733 * src/hildon-banner.c (+hildon_banner_bind_style):
2734 Renamed from hildon_banner_bind_label_style(), now naming the
2735 banner itself as well.
2736 (hildon_banner_show_information),
2737 (hildon_banner_show_information_with_markup),
2738 (hildon_banner_show_animation), (hildon_banner_show_progress):
2739 Name the widgets and labels, based on their type.
2741 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2744 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2746 * src/hildon-note.c (hildon_note_set_property): call
2747 hildon_note_rename() on HildonNote:note-type set.
2748 (hildon_note_rename): Name the note and its label, based on the
2749 HildonNote:note-type property.
2751 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2754 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2756 * src/hildon-pannable-area.c,
2757 (hildon_pannable_area_class_init),
2758 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2759 panning parameters, increased SPS and deceleration factor. Added
2760 also a margin to control fake directions.
2762 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2764 Patch by Sven Herzberg (sven@imendio.com)
2766 * configure.ac: Add missing AM_PROG_CC_C_0
2767 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2769 See NB#101420 (Update unit tests and fix make check)
2771 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2773 This patch was applied before but reverted because it caused
2774 problems, we have changed the main condition and tested the
2775 regressions we detected before and they work ok. We have done a
2776 complete review of the topmost algorithm in order to get a more
2779 * src/hildon-pannable-area.c,
2780 (hildon_pannable_area_get_topmost): Added a new parameter to
2781 filter the the windows that do not include those events.
2782 (hildon_pannable_area_button_press_cb),
2783 (hildon_pannable_area_button_release_cb),
2784 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2785 topmost function, we have added the new parameter.
2787 Fixes: NB#97458 (Pannable area prevents propagation of button
2790 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2792 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2793 if all columns in the selector have an item selected.
2794 (_on_dialog_response): Stop "response" signal emission if there is
2795 any selector column without selected items.
2797 Fixes: NB#101889 (Picker dialog should not close when nothing is
2798 selected in multiple selection list)
2800 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2802 * src/hildon-font-selection-dialog.c
2803 (hildon_font_selection_dialog_class_init),
2804 (hildon_font_selection_dialog_init): Remove the preview
2805 button and dialog, since previewing with default theming is likely
2806 to be overcomplicated. The :preview property has now no effect.
2807 Update documentation blurbs to inform about this.
2809 Fixes: NB#92297 (Preview content is not clearly visible for
2810 default colour text)
2812 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2814 Reviewed the geometry that handles the children size and
2815 scrollbar, now it tries a size and reviews the results depending
2816 on the scrollbars visibility.
2818 * src/hildon-pannable-area.c,
2819 (hildon_pannable_area_realize): Fixed a typo.
2820 (hildon_pannable_area_child_allocate_calculate): Added this
2821 function to calculate the child allocation.
2822 (hildon_pannable_area_size_allocate): Reviewed the allocation
2824 (hildon_pannable_area_check_scrollbars),
2825 (hildon_pannable_area_refresh): Refactored refresh function, this
2826 way we can call the code handling the scrollbars without causing a
2827 size_request, it is interesting in the allocate.
2828 (hildon_pannable_area_init): Replace the callbacks of the
2829 value_changed and changed signals to propertly deal with the
2831 (hildon_pannable_area_grab_notify),
2832 (hildon_pannable_area_initial_effect),
2833 (hildon_pannable_area_launch_fade_timeout),
2834 (hildon_pannable_area_adjust_changed),
2835 (hildon_pannable_area_adjust_value_changed),
2836 (hildon_pannable_area_redraw),
2837 (hildon_pannable_area_button_press_cb),
2838 (hildon_pannable_area_button_release_cb),
2839 (hildon_pannable_area_scroll_cb),
2840 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2841 code and use the new functions adjust_changed and
2842 adjust_value_changed.
2844 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2845 Contact editor dialog)
2847 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2852 * configure.ac: Bump version.
2853 * debian/changelog: Updates.
2855 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2857 * src/hildon-pannable-area.c,
2858 (hildon_pannable_area_get_topmost),
2859 (hildon_pannable_area_button_press_cb),
2860 (hildon_pannable_area_button_release_cb),
2861 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2862 topmost function adding the event mask. We have to try a
2863 differente approach because it is still causing problems (NB#9745,
2866 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2868 * src/hildon-banner.c:
2869 Update the maximum width of timed banners.
2870 (force_to_wrap_truncated): Enforce the maximum text width if the
2873 Fixes: NB#102413 (The text margins (wrapping) in information
2874 banner should be HILDON_MARGIN_TRIPLE)
2876 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2878 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2880 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2881 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2882 bound when calculating the scroll indicator position.
2884 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2885 treat ->lower correctly)
2887 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2889 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2890 expose event handling, since it is not necessary to draw the focus
2893 Fixes: NB#102467 (Do not show highlight on the text in
2896 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2898 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2899 full height of the toolbar for the button and the label.
2901 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2903 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2904 padding before the label and after the button.
2906 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2908 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2910 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2911 Add a GtkVSeparator between the button and the back arrow.
2912 Let the button have automatic size.
2913 Set a name to the widget for theming handling.
2915 Fixes: NB#101793 (Make edit toolbar the same height as window
2916 title bar (use title area theming))
2918 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-helper.c (attach_new_color_element): Fix memory
2923 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2925 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2927 * examples/hildon-button-example.c (common_buttons_window): Don't
2930 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2932 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2933 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2935 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2937 * src/hildon-gtk.c: Check that the window is realized.
2939 Fixes: NB#102225 (Crash setting the progress indicator to a non
2942 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2944 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2945 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2946 instead of modifying the one in the widget style.
2948 Fixes: NB#101043 (Second row of all the command button are
2949 displayed in transparent mode.)
2951 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2953 * src/hildon-date-button.c
2954 * src/hildon-time-button.c: Add gettext macros
2956 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-date-button.c (hildon_date_button_new):
2959 * src/hildon-time-button.c (hildon_time_button_new_step):
2960 Use new logical strings to set the button default title.
2962 Fixes: NB#99915 (Date and Time options are not localised in Date
2965 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2967 * src/hildon-pannable-area.c
2968 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2969 the PANNING_THRESHOLD.
2971 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2973 * src/hildon-pannable-area.c,
2974 (hildon_pannable_area_class_init): Increased the maximum speed.
2975 (hildon_pannable_area_get_property),
2976 (hildon_pannable_area_set_property),
2977 (hildon_pannable_area_timeout): Added a new low friction mode, it
2978 allows the user avoid friction when launching the widget fast
2979 enough. It is interesting to traverse long lists.
2981 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2983 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2984 (+hildon_stackable_window_delete_event): Ignore delete events if
2985 the window is not the topmost one.
2987 Fixes: NB#101698 (Back button long press and delete-event handling)
2989 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2991 * src/hildon-pannable-area.c,
2992 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2993 gtk-dnd-drag-threshold, it was too big. We have defined our own
2994 dnd define and set a smaller value: PANNIG_THRESHOLD.
2996 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2998 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2999 user-defined icons, use always the default one.
3001 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3003 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3005 This patch was applied before but reverted because it caused
3006 problems, we have changed the main condition and tested the
3007 regressions we detected before and they work ok.
3009 * src/hildon-pannable-area.c,
3010 (hildon_pannable_area_get_topmost): Added a new parameter to
3011 filter the the windows that do not include those events. Added
3012 also a condition when finding the window to filter windows that do
3013 not ask for those events.
3014 (hildon_pannable_area_button_press_cb),
3015 (hildon_pannable_area_button_release_cb),
3016 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3017 topmost function, we have added the new parameter.
3019 Fixes: NB#97458 (Pannable area prevents propagation of button
3022 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3024 * tests/check-hildon-color-button.c (START_TEST): do not leak
3027 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3029 * src/hildon-font-selection-dialog.c
3030 (hildon_font_selection_dialog_get_preview_text): Return NULL
3031 instead of FALSE on the g_return_val_if_fail().
3033 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3035 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3036 * src/hildon-date-selector.c
3037 (hildon_date_selector_select_current_date):
3038 Do not compare unsigned integers to be greater than or equal 0,
3039 because it's always TRUE.
3041 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3043 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3044 (hildon_date_selector_constructor): Do not select the current
3045 date until we are handle the "changed" signal, to avoid having bogus
3046 elements in the days model.
3048 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3050 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3051 for num_days, since _month_days() can return a negative value.
3053 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3055 * src/hildon-caption.c (hildon_caption_size_allocate):
3056 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3057 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3059 Initialize allocation variables to 0, to avoid eventually using
3060 unitialized variables.
3062 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3064 * src/hildon-bread-crumb-trail.c
3065 (hildon_bread_crumb_trail_size_allocate):
3066 * src/hildon-calendar.c (hildon_calendar_set_background):
3067 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3068 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3069 * src/hildon-seekbar.c (hildon_seekbar_init):
3070 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3071 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3072 * src/hildon-touch-selector-entry.c
3073 (hildon_touch_selector_get_text_from_model):
3074 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3075 * src/hildon-window.c (hildon_window_finalize):
3077 Remove many unused variables.
3079 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3081 * src/hildon-seekbar.c: (hildon_seekbar_init),
3082 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3084 Remove unnecessary g_assert() calls.
3086 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3088 * src/hildon-caption.c: (hildon_caption_expose),
3089 (hildon_caption_set_property), (hildon_caption_init),
3090 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3091 (hildon_caption_size_request), (hildon_caption_size_allocate),
3092 (hildon_caption_forall), (hildon_caption_set_separator),
3093 (hildon_caption_activate), (hildon_caption_set_child_expand),
3094 (hildon_caption_set_label_text),
3095 (hildon_caption_get_label_alignment):
3097 Remove unnecessary g_assert() calls.
3099 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3101 * src/hildon-banner.c
3102 (hildon_banner_map, hildon_banner_init): Make banner temporary
3103 before mapping it to avoid closing other temporary windows, but
3104 make it non-temporary afterwards to avoid being closed by other
3105 non-temporary windows.
3106 (-hildon_banner_client_event, hildon_banner_init):
3107 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3109 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3112 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3114 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3117 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3119 * src/hildon-remote-texture.c
3120 * src/hildon-remote-texture.h
3121 * src/hildon-remote-texture-private.h
3122 * examples/hildon-remote-texture-example.c:
3123 Updates/fixes to remote-texture and its example.
3125 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3127 Patch by Mox Soini (ext-mox.soini@nokia.com)
3129 * src/hildon-code-dialog.c: Update logical id.
3130 * src/hildon-set-password-dialog.c: Update logical id.
3132 Fixes: NB#100646 (Logical strings is shown for ok in set
3133 password,Password needed dialogs)
3135 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3138 * src/hildon-remote-texture.c
3139 * src/hildon-remote-texture.h
3140 * src/hildon-remote-texture-private.h
3142 Added remote texture widget (for Clutter shared memory textures)
3144 * examples/hildon-remote-texture-example.c
3145 * examples/Makefile.am
3146 Added example file for remote texture usage
3148 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3150 * configure.ac: post release version bump.
3151 * debian/changelog: version bump.
3153 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3158 * configure.ac: Bump version.
3159 * debian/changelog: Updates.
3161 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3163 * src/hildon-date-selector.c (hildon_date_selector_init)
3164 (hildon_date_selector_constructor): Don't connect to the "changed"
3165 signal until the selector is completely constructed.
3167 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3169 * src/hildon-touch-selector.c: (_create_new_column),
3170 (hildon_touch_selector_append_column),
3171 (hildon_touch_selector_set_column_selection_mode),
3172 (hildon_touch_selector_set_active),
3173 (hildon_touch_selector_select_iter):
3174 Emit the HildonTouchSelector::changed signal every time selection
3175 is changed in any of the methods above. This behavior was already
3176 documented but not fully functional.
3178 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3179 selection is programmatically changed)
3181 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3183 * doc/hildon-sections.txt: Remove obsolete icon
3184 sizes from here as well.
3186 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3188 * examples/hildon-stackable-window-example.c (add_window): Remove
3191 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-app-menu.c
3194 (hildon_app_menu_show): Check whether the parent window of a menu
3195 is topmost before popping it up.
3197 Fixes: NB#100468 (Application menu window is launched even when a
3198 new secondary-window/dialog is pending to be shown/realized.)
3200 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3202 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3205 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3207 Patch by Mox Soini (ext-mox.soini@nokia.com)
3209 * src/hildon-banner.c: (hildon_banner_show_animation):
3210 use stylus size instead of obsolete note size.
3211 * src/hildon-defines.h: Update icon sizes.
3213 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3215 * src/hildon-touch-selector-entry.c:
3216 (hildon_touch_selector_entry_init): Disable unsupported
3218 (hildon_touch_selector_entry_get_text_column): Emit a warning
3219 if an unsupported input modes is used and explicitile state
3220 these modes in the documentation.
3222 Fixes: NB#99802 (Hildon touch selector entry not working properly
3223 for some of the input modes)
3225 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3227 * src/hildon-pannable-area.c,
3228 (hildon_pannable_area_init): Added the changed signal handlers of
3231 Fixes: NB#100320 (HildonPannableArea does not listen to
3232 GtkAdjustment "change" signals)
3234 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3236 * doc/hildon-sections.txt
3237 * src/hildon-window-private.h
3238 * src/hildon-window.h
3239 * src/hildon-window.c (hildon_window_init)
3240 (hildon_window_realize, hildon_window_unrealize)
3241 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3242 (hildon_window_size_request, hildon_window_size_allocate)
3243 (hildon_window_forall, hildon_window_show_all)
3244 (hildon_window_destroy, +paint_edit_toolbar)
3245 (+hildon_window_set_edit_toolbar):
3246 New hildon_window_set_edit_toolbar() method, to add a
3247 HildonEditToolbar to a window without having to pack it manually.
3249 Reorganize hildon_window_size_allocate()
3251 * src/hildon-edit-toolbar.c: Update documentation.
3253 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3254 example to use the new API.
3256 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3258 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3260 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3261 Remove from stack before calling parent's hide.
3263 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3265 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3266 window is removed from the middle of the stack, update the
3267 transiency of the previous one.
3269 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3272 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3274 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3275 block/unblock the signal handler if it's not actually being used.
3276 Fixes some critical warnings.
3278 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3280 Based on a patch by Iván Gómez (igomez@igalia.com)
3282 * src/hildon-banner.c
3286 * src/hildon-pannable-area.c
3287 * src/hildon-picker-dialog.c
3288 * src/hildon-wizard-dialog.h
3289 * src/hildon-wizard-dialog.c: Documentation updates.
3291 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3292 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3294 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3296 * configure.ac: post release version bump.
3297 * debian/changelog: version bump.
3299 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3304 * configure.ac: Bump version.
3305 * debian/changelog: Updates.
3307 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3309 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3310 a stock icon nor change the relief of the back arrow.
3312 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3313 graphics from theme)
3315 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3317 * src/hildon-button.c (hildon_button_set_alignment): Use
3318 priv->alignment if the button has no child yet.
3320 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3322 * src/hildon-button.c: (hildon_button_init): Set the
3323 button style during initialization to give it the proper
3326 Fixes: NB#99713 (HildonButton value label color is wrong)
3328 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3330 * src/hildon-touch-selector.c: Document
3331 hildon_touch_selector_center_on_selected()
3333 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3335 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3336 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3337 all menu items, but not the menu itself.
3338 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3339 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3340 items after adding them to the menu so keyboard accelerators work.
3341 (hildon_app_menu_show): Don't show the menu if it contains items
3342 but none of them are visible.
3344 * examples/hildon-app-menu-example.c (create_menu): Use
3345 gtk_widget_show_all() to show all menu items.
3347 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3349 * src/hildon-picker-dialog.c:
3350 (-_update_title_on_selector_changed_cb),
3351 (-_dialog_update_title): Removed.
3352 (_select_on_selector_changed_cb), (_on_dialog_response),
3353 (on_selector_columns_changed): Do not update the dialog title.
3354 (setup_interaction_mode): Do not connect to
3355 HildonTouchSelector::changed signal if there's a "done" button, as
3356 the dialog title doesn't need to be updated.
3358 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3361 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3363 Patch by Kristian Rietveld (kris@imendio.com)
3365 * src/hildon-touch-selector.c: (_create_new_column): Use new
3366 GtkTreeView::hildon-row-tapped signal to react to user interactions
3367 instead of ::changed.
3369 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3370 with some dynamic tree model)
3372 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3374 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3375 (+screen_size_changed, +label_size_request)
3376 (hildon_note_class_init): Make the Hildon information note have a
3377 minimum height, and make its text hvae a maximum width.
3379 Fixes: NB#98614 (Hildon information note (background) should have
3380 minimum height and maximum text width)
3382 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3384 * src/hildon-banner.h
3385 * src/hildon-banner.c (hildon_banner_show_information)
3386 (hildon_banner_show_informationf)
3387 (hildon_banner_show_information_with_markup): Update documentation
3388 to reflect that the icon_name parameter is not used anymore.
3389 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3390 Remove all code from these functions and mark them as deprecated.
3391 (hildon_banner_show_progress): Mark as deprecated.
3393 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3395 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3397 * src/hildon-pannable-area.c,
3398 (hildon_pannable_area_class_init),
3399 (tranparency_color),
3400 (hildon_pannable_draw_vscroll),
3401 (hildon_pannable_draw_hscroll),
3402 (hildon_pannable_area_expose_event): Added a new way to render the
3403 scrollbars of the pannable area avoiding using cairo at all. This
3404 way we improve the performance of the pannable area rendering. The
3405 cairo rendering procedure is still in the code, we can control
3406 which one to use changing the value of the define
3407 USE_CAIRO_SCROLLBARS.
3409 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3411 * configure.ac: post release version bump.
3412 * debian/changelog: version bump.
3414 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3419 * configure.ac: Bump version.
3420 * debian/changelog: Updates.
3422 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3424 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3425 banners instead of destroying them when they receive a button
3428 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3430 Reverted commit 34028, it was causing regressions, probably the
3431 topmost condition is not correct, we have to check it in more
3432 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3433 propagation of button press events)
3435 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3437 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3438 that the selection is not empty before attempting to retrieve the
3439 current ampm selection.
3441 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3443 * src/hildon-picker-button.c:
3444 (hildon_picker_button_on_dialog_response): Directly update the
3445 button contents when required instead of calling _selection_changed.
3447 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-program.c (hildon_program_update_top_most): Update
3450 'is-topmost' property also when wm_hints is not set.
3452 Fixes: NB#98383 (is-topmost signal is not emitted when task
3453 switcher is clicked.)
3455 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3457 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3461 * src/hildon-animation-actor.c,
3462 * src/hildon-animation-actor.h: Added the animation actor class,
3463 this widget represents an animation actor for WM-assisted
3464 animation effects in the Hildon framework.
3466 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3468 * src/hildon-window-stack-private.h
3469 * src/hildon-window-stack.c
3470 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3471 Avoid calling gtk_widget_show() again indirectly from
3472 hildon_stackable_window_show()
3474 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3479 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3481 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3482 (hildon_time_selector_init): Move the construction of the hours and
3483 ampm columns to the constructor to preserve the order the columns
3486 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3488 * src/hildon-picker-dialog.c:
3489 (hildon_picker_dialog_class_init): Connect a realize method.
3490 (+hildon_picker_dialog_realize): Setup the interaction mode here
3492 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3493 yet, do it during the realize instead.
3494 (_on_dialog_response):
3495 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3496 if the widget is not realized, to avoid the dialog response before it
3499 Avoid premature responses in the HildonPickerDialog that can cause it
3500 to be hidden before it's even shown.
3502 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3504 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3505 (on_selector_columns_changed), (requires_done_button),
3506 (+prepare_action_area), (setup_interaction_mode),
3507 (_hildon_picker_dialog_set_selector):
3509 Split the interaction mode setup into preparation of the
3510 action area (prepare_action_area()) and the connection of
3511 the signals in setup_interaction_mode() and update the code to
3514 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3516 * src/hildon-pannable-area.c,
3517 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3518 per second to 15, we will check if this is ok regarding
3521 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3523 * src/hildon-pannable-area.c,
3524 (hildon_pannable_axis_scroll): Avoid resize if we already have
3525 reached overshoot_max.
3527 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3529 * src/hildon-pannable-area.c,
3530 (hildon_pannable_area_init),
3531 (hildon_pannable_area_realize),
3532 (hildon_pannable_area_size_allocate),
3533 (hildon_pannable_area_map),
3534 (hildon_pannable_area_unmap),
3535 (hildon_pannable_draw_vscroll),
3536 (hildon_pannable_draw_hscroll),
3537 (hildon_pannable_area_expose_event),
3538 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3539 pannable are to avoid the expose events go to the window and
3540 redraw the window. We save this way that part of the stack and the
3541 paint_boxes. We had to change the positions of the elements when
3544 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3546 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3547 * src/hildon-color-chooser-dialog.c:
3548 (hildon_color_chooser_dialog_init):
3549 * src/hildon-font-selection-dialog.c:
3550 (hildon_font_selection_dialog_init),
3551 (hildon_font_selection_dialog_show_preview):
3552 * src/hildon-get-password-dialog.c:
3553 * src/hildon-login-dialog.c:
3554 * src/hildon-set-password-dialog.c:
3555 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3556 * src/hildon-time-picker.c: (hildon_time_picker_init):
3558 Remove obsolete logical string IDs and update to the appropriate ones.
3560 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3562 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3564 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3565 that happens if the window hasn't been realized yet.
3567 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3568 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3570 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3572 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3573 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3576 Fixes: NB#98537 (Device hangs in account settings dialog)
3578 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3580 * configure.ac: post release version bump.
3581 * debian/changelog: version bump
3583 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3588 * configure.ac: Bump version.
3589 * debian/changelog: Updates.
3591 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3593 Added a new function to the HildonTimeButton widget that allows to
3594 change the step of the minutes in the selector associated with the
3595 button: hildon_time_button_new_step
3597 * src/hildon-time-button.c,
3598 (hildon_time_button_init),
3599 (hildon_time_button_new),
3600 (hildon_time_button_new_step):
3601 * src/hildon-time-button.h: Added the new function and refactored
3603 * examples/hildon-time-button-example.c,
3604 (main): We have replaced the function without parameters with the
3605 function with the steps set to 5
3607 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3609 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3611 * src/hildon-time-selector.c,
3612 (hildon_time_selector_class_init),
3613 (hildon_time_selector_constructor),
3614 (hildon_time_selector_get_property),
3615 (hildon_time_selector_set_property),
3616 (_create_minutes_model),
3617 (hildon_time_selector_new_step),
3618 (hildon_time_selector_set_time),
3619 * src/hildon-time-selector.h: Added a new property to the
3620 HildonTimeSelector (minutes-step), we use that property to control
3621 the steps between the minutes in the list of the selector. We have
3622 added a new function to the API to create a widget changing the
3623 step: hildon_time_selector_new_step.
3625 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3627 * src/hildon-time-selector.c,
3628 (hildon_time_selector_class_init),
3629 (hildon_time_selector_constructor),
3630 (hildon_time_selector_init): Overrided the construct function when
3631 creating the time selector object. We have moved the minutes model
3632 handling code from the init to the new construction function:
3633 hildon_time_selector_constructor.
3635 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3637 * examples/hildon-date-button-example.c: (main): Use the new
3638 hildon_date_button_new_with_year_range() method in the example.
3639 * src/hildon-date-button.c:
3640 (+hildon_date_button_new_with_year_range): New public method
3641 to conveniently create a HildonDateButton with a custom year range
3642 in its HildonDateSelector.
3643 * src/hildon-date-button.h: Add the new public method definition.
3645 Fixes: NB#97908 (Not possible to change the year range in
3646 HildonDateSelector/HildonDateButton)
3648 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3650 * src/hildon-date-selector.c:
3651 (+hildon_date_selector_set_property),
3652 (+hildon_date_selector_get_property),
3653 (hildon_date_selector_class_init): Install new properties "min-year"
3654 and "max-year" to define boundaries for the year column.
3655 (_create_year_model): Use the boundary properties to populate the model.
3656 (+hildon_date_selector_new_with_year_range): New public method to
3657 create a HildonDateSelector with a user defined year range.
3658 (hildon_date_selector_select_current_date): Use the new boundaries to
3659 calculate the iterator of current year.
3660 * src/hildon-date-selector.h: Add the new public method definition.
3662 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3665 Install a constructor method.
3666 (+hildon_date_selector_construct_ui): construct the widget.
3667 (+hildon_date_selector_constructor): new constructor.
3668 (+hildon_date_selector_init): move out widget construction code to
3669 the new constructor.
3671 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3673 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3674 that there's actually a month or year selected before obtaining them.
3675 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3676 of the HildonTouchSelector::changed signal, as it was emitted on every
3677 single item selection.
3679 Fix some warnings and possible crashers due to the selection restoring.
3681 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3683 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3684 the signal handlers only after creating the dialog instead of on every
3687 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3689 * src/hildon-button.c (hildon_button_init)
3690 * src/hildon-check-button.c (hildon_check_button_init)
3691 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3692 focus when clicked by default.
3694 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3696 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3699 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3701 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3702 Alejandro G. Castro (alex@igalia.com)
3704 * src/hildon-picker-dialog.c:
3705 (hildon_picker_dialog_class_init): install new "center-on-show"
3707 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3708 (hildon_picker_dialog_set_property): add setter code for the new
3710 (hildon_picker_dialog_get_property): add getter code for the new
3712 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3713 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3716 Fixes: NB#92849 (Selected item is not always visible when
3717 HildonTouchSelector is shown)
3719 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3721 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3722 Alejandro G. Castro (alex@igalia.com)
3724 * src/hildon-touch-selector.c:
3725 (_create_new_column): Do not connect to the "realize" signal of the
3727 (hildon_touch_selector_append_column): center on the selected items
3728 when a new column is appended.
3729 (hildon_touch_selector_select_iter): Factor out the code to select a
3730 column to hildon_touch_selector_scroll_to().
3731 (+search_nearest_element): Method to retrieve the nearest selected
3732 element to the visible area of the pannable area in a column.
3733 (+on_realize_cb): scroll to the initially selected item.
3734 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3735 the pannable area is realized, otherwise delay this until it is.
3736 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3737 selected items of a given column.
3738 (+hildon_touch_selector_center_on_selected): Public method to center
3739 all columns on the nearest selected item.
3740 * src/hildon-touch-selector.h: Add definition for
3741 hildon_touch_selector_center_on_selected().
3743 Implement public API to ensure visibility of all selected items in
3744 a HildonTouchSelector.
3746 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3748 Fixed a problem in the fading when calling the scroll_to API, and
3749 improve scrollbar fading handling.
3751 * src/hildon-pannable-area.c,
3752 (hildon_pannable_area_grab_notify): avoid the timeout when the
3754 (hildon_pannable_area_button_press_cb),
3755 (hildon_pannable_area_motion_notify_cb): Code style changes.
3756 (hildon_pannable_area_button_release_cb): Review the conditions
3757 when releasing the mouse button to avoid unrequired fading
3759 (hildon_pannable_area_scroll_to): Do not calculate and set the
3760 velocity if the scroll is not required.
3762 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3764 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3765 Don't check whether the new selector is NULL: it cannot be.
3766 Hold a reference to the selector while doing the replacement.
3768 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3770 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3771 unnecessary size_request in a removed widget.
3773 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3775 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3776 an unnecessary reference tracking that was leaking.
3778 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3780 Added delayed motion notify event handling, this way we can
3781 discard redrawing if more than 25 events arrive per second.
3783 * src/hildon-pannable-area.c,
3784 (hildon_pannable_area_init): Initialized the new private atributes
3785 controlling this timeout
3786 (hildon_pannable_area_dispose): Remove the timeout that controls
3787 the motion notify events.
3788 (hildon_pannable_area_scroll): Added a condition to control the
3789 use of the acceleration.
3790 (hildon_pannable_area_motion_event_scroll_timeout),
3791 (hildon_pannable_area_motion_event_scroll): Added this two
3792 functions, they handle the motion notify events inside the
3794 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3795 to the scroll method with the new function.
3796 (hildon_pannable_area_button_release_cb): We have to remove the
3797 timeout handler and move to the last position if the last motion
3798 events were not handled.
3800 Fixes: NB#97028 (Pannable area updates on every motion event)
3802 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3804 * src/hildon-pannable-area.c,
3805 (hildon_pannable_area_get_topmost): Added a new parameter to
3806 filter the the windows that do not include those events. Added
3807 also a condition when finding the window to filter windows that do
3808 not ask for those events.
3809 (hildon_pannable_area_button_press_cb),
3810 (hildon_pannable_area_button_release_cb),
3811 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3812 topmost function, we have added the new parameter.
3814 Fixes: NB#97458 (Pannable area prevents propagation of button
3817 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3819 * src/hildon-pannable-area.c,
3820 (hildon_pannable_area_initial_effect): Added controls before
3821 launching the timeout and the idle functions.
3822 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3823 of the method, in some situations it can return with TRUE and 0 in
3825 (hildon_pannable_area_button_press_cb): We do not need to set
3826 DELAY for fading out here.
3828 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3830 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3832 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3833 post-cleaning if the selection is not NULL.
3835 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3837 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3838 all items before restoring the selection.
3840 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3842 * src/hildon-touch-selector.c:
3843 (+hildon_touch_selector_unselect_all):
3844 * src/hildon-touch-selector.h: New API to unselect all items in a
3845 column of the touch selector.
3847 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3849 * src/hildon-pannable-area.c,
3850 (hildon_pannable_area_redraw): Added a call to the refresh
3851 function inside the redraw because apparently in some cases the
3852 change in the adjustment does not imply a size allocate.
3854 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3855 despite the view not being scrollable)
3857 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3859 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3860 leak. Check for NULL before attempting to set the window title.
3862 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3865 whether to show or not the 'Done' button each time the dialog is
3866 shown, as it depends on the HildonTouchSelector selection mode.
3868 Fixes: NB#96226 (In multiple selection mode Done button is shown
3869 sometimes in listpicker)
3871 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3873 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3874 for the number of columns in the HildonTouchSelector more than once.
3876 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3878 * src/hildon-touch-selector.c: Minor documentation fixes.
3880 * src/hildon-picker-dialog.c (+_dialog_update_title)
3881 (_select_on_selector_changed_cb)
3882 (_update_title_on_selector_changed_cb)
3883 (on_selector_columns_changed): Update dialog title when there's no
3884 'Done' button and also when the number of columns in the selector
3888 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3889 (+_selection_changed, hildon_picker_button_on_dialog_response)
3890 (hildon_picker_button_selector_selection_changed)
3891 (+hildon_picker_button_selector_columns_changed)
3892 (hildon_picker_button_set_selector): Update button value and emit
3893 'value-changed' when the number of columns in the selector
3897 Fixes: NB#96225 (Dialog titles are not shown according to the
3898 values selected in the list picker)
3900 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3902 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3903 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3904 New "arrow-width" and "arrow-height" style properties to set the
3905 size of the arrow button.
3906 Set name of arrow button ("hildon-edit-toolbar-arrow").
3908 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3909 graphics from theme)
3911 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3913 * src/hildon-picker-button.c:
3914 (hildon_picker_button_selector_selection_changed): Use
3915 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3916 the dialog is present.
3918 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3919 the selection is accepted in the dialog)
3921 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3923 * src/hildon-color-chooser.h
3924 * src/hildon-color-chooser-dialog.h:
3925 Added G_BEGIN_DECLS and G_END_DECLS
3927 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3929 (_clean_current_selection): plug a leak in the list.
3931 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3933 * src/hildon-picker-dialog.c:
3934 (+free_path_list): Method to free a GList of GtkTreePaths.
3935 (_clean_current_selection), (_save_current_selection),
3936 (_restore_current_selection): Save the current selection in
3937 as a list of lists, to support multiple selection properly.
3939 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3941 patch by Claudio Saavedra (csaavedra@igalia.com)
3943 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3944 Store the press position.
3945 (+hildon_text_view_button_release_event): If the release position is
3946 close enough to the press position, move the cursor here. Otherwise,
3948 (hildon_text_view_class_init): Override GtkTextView press, release, and
3949 motion event handlers, disabling this way text selection through
3950 pointer interaction, and allowing the container widget to handle the
3953 Fixes: NB#95828 (HildonTextView functionality)
3955 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3957 Based on a patch by Iván Gómez (igomez@igalia.com)
3959 * src/hildon-button.[ch]
3960 * src/hildon-calendar.c
3961 * src/hildon-check-button.c
3962 * src/hildon-date-editor.c
3963 * src/hildon-date-selector.c
3964 * src/hildon-picker-button.c
3965 * src/hildon-time-editor.c
3966 * src/hildon-time-selector.c
3967 * src/hildon-touch-selector.[ch]:
3968 Documentation updates
3970 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3972 * src/hildon-pannable-area.c,
3973 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3974 threshold, it was required due to X events handling.
3976 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3978 * src/hildon-pannable-area.c,
3979 (hildon_pannable_area_grab_notify),
3980 (hildon_pannable_area_initial_effect),
3981 (hildon_pannable_area_button_press_cb),
3982 (hildon_pannable_area_button_release_cb),
3983 (hildon_pannable_area_scroll_cb),
3984 (hildon_pannable_area_scroll_to): Review the timeout management of
3985 the scrollbar, the frecuency was incorrectly set.
3987 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3989 * src/hildon-picker-button.c:
3990 (+hildon_picker_button_on_dialog_response),
3991 (hildon_picker_button_clicked): Present the dialog instead of
3992 running it with gtk_dialog_run().
3994 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3997 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3999 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4000 (hildon_app_menu_finalize): When a window is hidden it doesn't
4001 emit notify::is-topmost, so make sure than the menu also
4002 disappears in that case.
4003 (parent_window_topmost_notify): Renamed from parent_window_hidden
4005 Fixes: NB#94460 (stackable window's menu is not closed when its
4008 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4010 * src/hildon-touch-selector-entry.c:
4011 (+hildon_touch_selector_entry_set_input_mode),
4012 (+hildon_touch_selector_entry_get_input_mode):
4013 * src/hildon-touch-selector-entry.h: New methods to access the input
4014 mode in the selector's entry.
4016 Fixes: NB#93410 (API required for setting IM mode in
4017 HildonTouchSelectorEntry)
4019 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4021 * configure.ac: post release version bump.
4022 * debian/changelog: version bump
4024 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4029 * configure.ac: Bump version.
4030 * debian/changelog: Updates.
4032 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4034 * src/hildon-touch-selector.c:
4035 (_hildon_touch_selector_has_multiple_selection): No need
4036 to initialize the variables here.
4038 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4040 * src/hildon-note-private.h
4041 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4042 (hildon_note_finalize, hildon_note_rebuild): Close information
4043 notes when they receive a button press.
4045 Fixes: NB#89890 (Information notes does not get disappeared after
4048 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4051 mark from the wizard title, as it's not really necessary. Also,
4052 do not display the page title if not set.
4054 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4056 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4057 (parent_window_hidden): Use the window's "is-topmost" property to
4058 detect when to hide the menu.
4060 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4062 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4063 (hildon_app_menu_finalize): If the parent window of the menu is
4064 hidden, hide the menu too.
4066 Fixes: NB#94460 (stackable window's menu is not closed when its
4069 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4072 * debian/libhildon1-examples.install
4074 * examples/Makefile.am:
4075 Use dh_install to install all examples.
4076 Use DEB_SRCDIR instead of defining SOURCE_DIR
4078 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4080 * configure.ac: post release version bump.
4081 * debian/changelog: version bump
4083 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4088 * configure.ac: bump version
4089 * debian/changelog: updates
4090 * debian/control: bump gtk+ dependency
4092 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4094 patch by Christian Dywan (christian@imendio.com)
4096 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4097 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4099 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4101 * src/hildon-check-button.c (hildon_check_button_init)
4102 (hildon_check_button_class_init, hildon_check_button_style_set)
4103 (hildon_check_button_apply_style):
4104 New "checkbox-size" style property.
4106 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4107 larger / configurable size)
4109 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4111 * configure.ac: post release version bump.
4112 * debian/changelog: version bump
4114 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4119 * configure.ac: bump version
4120 * debian/changelog: updates
4122 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4124 * doc/hildon-sections.txt
4125 * src/hildon-pannable-area.c
4126 * src/hildon-program.c
4127 * src/hildon-time-editor.c
4128 * src/hildon-touch-selector-entry.c:
4130 More documentation updates.
4132 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4134 * doc/hildon-sections.txt
4135 * src/hildon-caption.c
4136 * src/hildon-code-dialog.c
4137 * src/hildon-color-button.c
4138 * src/hildon-controlbar.c
4139 * src/hildon-date-editor.c
4140 * src/hildon-date-selector.c
4141 * src/hildon-edit-toolbar.c
4142 * src/hildon-find-toolbar.c
4143 * src/hildon-font-selection-dialog.c
4145 * src/hildon-program.c
4146 * src/hildon-range-editor.c
4147 * src/hildon-seekbar.c
4148 * src/hildon-time-editor.c
4149 * src/hildon-time-selector.c
4150 * src/hildon-volumebar-range.c
4151 * src/hildon-volumebar.c
4152 * src/hildon-vvolumebar.c
4153 * src/hildon-weekday-picker.c
4154 * src/hildon-window.c
4155 * src/hildon-wizard-dialog.c:
4157 Lots of documentation fixes.
4159 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4161 Patch contributed by Iván Gómez (igomez@igalia.com)
4163 * src/hildon-check-button.c:
4164 * src/hildon-date-button.c:
4165 * src/hildon-date-selector.c:
4166 * src/hildon-dialog.c:
4167 * src/hildon-edit-toolbar.c:
4168 * src/hildon-entry.c:
4169 * src/hildon-picker-button.c:
4170 * src/hildon-program.c:
4171 * src/hildon-text-view.c:
4172 * src/hildon-time-button.c:
4173 * src/hildon-touch-selector-entry.c:
4174 * src/hildon-window-stack.c:
4176 Add more "since" tags to the new API.
4178 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4180 * doc/hildon-sections.txt: Add below method.
4181 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4182 version for the hildonized scale.
4183 * src/hildon-gtk.h: Add the definition.
4185 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4187 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4189 * doc/hildon-sections.txt: Add missing entries for new methods.
4191 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4193 Added API to pannable are in order to get its adjustments. We
4194 added two properties to manage the values we had in the private
4197 * src/hildon-pannable-area.c:
4198 (hildon_pannable_area_class_init): Added hadjustment and
4199 vadjustment properties in order to expose horizontal and vertical
4201 (hildon_pannable_area_get_property),
4202 (hildon_pannable_area_set_property): Added code to handle the new
4204 (hildon_pannable_area_get_hadjustment),
4205 (hildon_pannable_area_get_vadjustment): API functions to get the
4207 * src/hildon-pannable-area.h:
4208 (hildon_pannable_area_get_hadjustment),
4209 (hildon_pannable_area_get_vadjustment): API functions to get the
4212 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4214 Fixed some leaks, after valgrinding.
4216 * src/hildon-touch-selector.c:
4217 (_default_print_func): Fixed a leak.
4218 (hildon_touch_selector_append_column): Fixed a leak.
4219 * src/hildon-date-button.c:
4220 (hildon_date_button_init): Fixed a leak.
4221 * src/hildon-date-selector.c
4222 (hildon_date_selector_finalize): Fixed a leak.
4224 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4226 Based on a patch by Christian Dywan (christian@imendio.com)
4228 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4230 * src/hildon-gtk.h: Add definition.
4232 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4234 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4236 * src/hildon-picker-button.c: (hildon_picker_button_init),
4237 (hildon_picker_button_new): Set the HildonButton::style property
4238 in the init method, to propagate the value to the derived classes.
4240 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4242 * src/hildon-button.c: (hildon_button_class_init): Do not make
4243 the "style" property a construct property.
4245 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4247 * src/hildon-wizard-dialog.h
4248 * src/hildon-wizard-dialog.c
4249 (hildon_wizard_dialog_set_forward_page_func)
4250 * src/hildon-pannable-area.h
4251 * src/hildon-pannable-area.c
4252 (hildon_pannable_area_set_size_request_policy):
4253 Documentation fixes.
4255 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4257 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4259 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4261 * doc/hildon-sections.txt: Added sections file.
4263 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4266 * src/*.[ch]: Updates.
4268 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4270 * examples/hildon-progress-indicator-example.c: new file
4271 * examples/Makefile.am: include the new example program
4273 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4275 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4277 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4279 * configure.ac: post release version bump
4280 * debian/changelog: version bump
4282 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4287 * configure.ac: bump version
4288 * debian/changelog: updates
4289 * debian/control: bump gtk+ dependency
4291 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4293 * src/hildon-dialog.c: Mark as deprecated.
4294 * src/hildon-dialog.h: Mark as deprecated.
4295 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4296 from HildonDialog and still work, even if
4297 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4298 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4300 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4301 maemo changes) instead)
4303 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4305 * src/hildon-pannable_area.h:
4306 * src/hildon-pannable_area.c:
4307 (hildon_pannable_area_class_init),
4308 (hildon_pannable_area_set_property),
4309 (hildon_pannable_area_get_property),
4310 (hildon_pannable_area_size_request),
4311 (hildon_pannable_area_get_size_request_policy),
4312 (hildon_pannable_area_set_size_request_policy): Added new API
4313 allowing applications to control the request policy. Now they can
4314 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4315 children allocation (HILDON_MOVEMENT_CHILDREN).
4317 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4321 (hildon_gtk_tree_view_set_ui_mode)
4322 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4323 mode of treeviews and iconviews.
4325 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4327 * src/hildon-touch-selector-entry.c:
4328 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4329 of a GtkEntry to get proper theming.
4331 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4332 widget, not GtkEntry)
4334 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4336 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4337 no HildonWizardDialogPageFunc.
4339 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4341 Patch contributed by Iván Gómez (igomez@igalia.com)
4343 * src/hildon-app-menu.c:
4344 * src/hildon-button.c:
4345 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4346 * src/hildon-stackable-window.c:
4347 * src/hildon-time-selector.c:
4348 * src/hildon-touch-selector.c:
4349 * src/hildon-window.c:
4351 Add more "since" tags to the new API in hildon 2.2.
4353 2008-12-05 Tim Janik <timj@imendio.com>
4355 Patch contributed by Christian Dywan (christian@imendio.com)
4357 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4358 HildonSizeType, which are supplied by Gtk+ now.
4360 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4362 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4363 (with maemo changes) instead)
4365 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4367 Patch contributed by Iván Gómez (igomez@igalia.com)
4369 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4372 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4374 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4375 (some_page_func), (main): Update the example to use a
4376 HildonWizardDialogPageFunc function.
4378 * src/hildon-wizard-dialog-private.h: Add private data for
4379 the HildonWizardDialogPageFunc function usage.
4381 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4382 (destroy), (hildon_wizard_dialog_init), (response),
4383 (hildon_wizard_dialog_set_forward_page_func):
4384 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4385 that applications can use to stop a HildonWizardDialog to jump to
4388 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4391 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4393 * src/hildon-program.h
4394 * src/hildon-program-private.h
4395 * src/hildon-program.c (hildon_program_init)
4396 (hildon_program_set_common_app_menu)
4397 (hildon_program_get_common_app_menu):
4398 New API for setting a common HildonAppMenu for all
4399 HildonStackableWindows registered with the HildonProgram.
4401 * src/hildon-stackable-window.c
4402 (hildon_stackable_window_toggle_menu):
4403 Use the common HildonAppMenu if a window doesn't have a specific
4406 * src/hildon-app-menu-private.h
4407 * src/hildon-app-menu.c
4408 (hildon_app_menu_get_parent_window):
4409 Function to obtain the window a HildonAppMenu is attached to.
4410 (hildon_app_menu_set_parent_window):
4411 Hide the menu if the parent window is set to NULL.
4413 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4415 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4416 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4417 search widget to popup.
4419 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4421 * configure.ac: post release version bump
4422 * debian/changelog: version bump
4424 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4429 * configure.ac: bump version
4430 * debian/changelog: updates
4432 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4434 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4436 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4437 (hildon_window_stack_window_realized)
4438 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4439 Set the leader GdkWindow when a window is stacked and realized,
4440 unset it when it's unstacked.
4441 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4443 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4445 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4447 * src/hildon-stackable-window.h
4448 * src/hildon-window-stack.h:
4449 Protect definition of HildonWindowStack using the preprocessor.
4451 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4453 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4454 Fix warning if all menu items are hidden.
4456 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4458 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4460 * src/hildon-controlbar.c:
4461 * src/hildon-hvolumebar.c:
4462 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4463 Multiple scale size defines updates.
4465 Fixes: NB#94322 (Scale Updates)
4467 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4469 * examples/hildon-app-menu-example.c (create_menu)
4470 Show items after adding them to the menu, as in the future the
4471 menu will no longer call gtk_widget_show() on the added items.
4473 * src/hildon-app-menu.c:
4474 Update example as explained above.
4476 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4478 * src/hildon-app-menu.c
4479 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4480 Make sure that all menu items have finger height.
4482 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4484 * src/hildon-picker-dialog.c:
4485 (_on_dialog_response), (_save_current_selection),
4486 (_restore_current_selection), (_clean_current_selection),
4487 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4488 Defined new functions in order to save the current internal selector
4489 selection previous open the dialog, in case that the use cancel the
4490 interaction, so the widget restores the previous selection.
4492 Fixes: NB#92032 (In calendar application, date values in 'new event'
4495 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4497 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4499 * src/hildon-button.c: Add a reference to the button examples in
4500 hildon-button-example.c
4502 * examples/hildon-button-example.c: Added examples of the most
4503 common button layouts.
4505 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4507 * src/hildon-app-menu.c (hildon_app_menu_show)
4508 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4510 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4512 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4514 * src/hildon-picker-dialog.c:
4515 (hildon_picker_dialog_init): Initialize the signal id for
4516 HildonTouchSelector::columns-changed.
4517 (+on_selector_columns_changed): Set up the interaction mode everytime a
4518 column is added or removed from the HildonTouchSelector.
4519 (_hildon_picker_dialog_set_selector): Connect to
4520 HildonTouchSelector::columns-changed and keep track of it.
4522 Make sure to update the interaction mode of the dialog everytime a
4523 column is added or removed in the HildonTouchSelector.
4525 Fixes: NB#93228 (Done button is not shown always in listpicker)
4527 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4529 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4530 a new ::columns-changed signal.
4531 (hildon_touch_selector_append_column): Emit ::columns-changed.
4532 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4534 Add a ::columns-changed signal, emitted when the number of columns in a
4535 HildonTouchSelector changes.
4537 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4539 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4540 (_hildon_picker_dialog_set_selector): Factor out the code
4541 to set up the dialog interaction mode.
4543 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4545 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4546 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4547 to signal_changed_id.
4549 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4554 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4556 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4557 Updated the logical ids related to ampm format, as now it is required to
4558 show it correctly localized even on languages with no default
4559 abbreviations for am or pm
4560 (_check_am_pm_format): check correctly the 24h format gconf property
4562 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4564 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4566 * src/hildon-button.c: Documentation updates.
4568 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4570 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4571 * src/hildon-caption.c: (hildon_caption_class_init):
4572 * src/hildon-color-button.c: (hildon_color_button_class_init):
4573 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4574 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4575 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4576 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4578 Remove deprecated GTK+ marshalers and replace them with the ones
4579 provided by GLib, for those available, add a marshaler for
4580 BOOLEAN:VOID, which is not available in GLib, and use it.
4582 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4584 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4585 the text from the previous column if there is no
4586 HildonTouchSelectorColumn::text-property set.
4588 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-button.h
4591 * src/hildon-button.c (hildon_button_set_property)
4592 (hildon_button_get_property, hildon_button_class_init)
4593 (hildon_button_set_style, hildon_button_get_style):
4594 New "style" property to change the visual appearance of the
4597 * src/hildon-picker-button.c (hildon_picker_button_new):
4598 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4600 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4601 HildonButton look like PickerButton)
4603 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4605 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4606 column while building the default string.
4608 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4610 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4611 scroll indicator by default.
4613 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4615 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4617 * src/hildon-main.c: Fix the documentation for hildon_init()
4619 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4621 * doc/hildon-docs.sgml
4625 * src/hildon-window-stack-private.h
4626 * src/hildon-window-stack.h
4627 * src/hildon-window-stack.c:
4628 New HildonWindowStack object, that adds support for multiple
4629 stacks of windows per process.
4631 * src/hildon-stackable-window-private.h
4632 * src/hildon-stackable-window.h
4633 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4634 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4635 (hildon_stackable_window_show, hildon_stackable_window_hide)
4636 (hildon_stackable_window_class_init)
4637 (hildon_stackable_window_init):
4638 Use HildonWindowStack for stack management.
4640 * src/hildon-program.c (hildon_program_pop_window_stack)
4641 (hildon_program_peek_window_stack)
4642 (hildon_program_go_to_root_window):
4643 Add a fallback implementation to the deprecated functions using
4646 * examples/hildon-stackable-window-example.c:
4647 Use the new HildonWindowStack API.
4649 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4651 * src/hildon-stackable-window-private.h
4652 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4653 (hildon_stackable_window_hide, hildon_stackable_window_init):
4654 Remove all window stack management.
4656 * src/hildon-program-private.h
4657 * src/hildon-program.h
4658 * src/hildon-program.c (hildon_program_init)
4659 (hildon_program_pop_window_stack)
4660 (hildon_program_peek_window_stack)
4661 (hildon_program_go_to_root_window):
4662 Remove all window stack management and mark functions as
4665 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4667 * src/hildon-app-menu.c (hildon_app_menu_realize):
4668 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4670 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4672 * configure.ac: post release version bump
4673 * debian/changelog: version bump
4675 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4680 * configure.ac: bump version
4681 * debian/changelog: updates
4683 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4685 Based on initial code by Christian Dywan (christian@imendio.com)
4687 * doc/hildon-docs.sgml: Add section for hildon-main.
4688 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4689 * src/Makefile.am: Add new hildon-main.[ch]
4690 * src/hildon-defines.h: Update the icon sizes.
4691 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4692 new library initialization files and register icon sizes.
4693 * src/hildon-main.h: New declarations.
4694 * src/hildon.h: Include hildon-main.h
4696 Add new initialization functions to the library. These methods
4697 will register the hildon specific icon sizes and can be used in the
4698 future for other hildon specific bits.
4700 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4702 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/hildon-window.c: (hildon_window_realize),
4705 (hildon_window_notify), (-hildon_window_update_title): Do not set
4706 the application name in the window title.
4708 Fixes: NB#89754 (Applications shouldn't display their names in the
4711 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/hildon-note-private.h:
4714 * src/hildon-note.c: (hildon_note_set_property),
4715 (hildon_note_get_property), (hildon_note_class_init),
4716 (hildon_note_init), (hildon_note_finalize),
4717 (hildon_note_new_confirmation_with_icon_name),
4718 (hildon_note_new_information_with_icon_name):
4720 No need to mark as deprecated the actual code. Revert
4721 to avoid missing symbols in widgets using deprecated API.
4723 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4725 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4727 * src/hildon-volumebar.h
4728 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4729 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4731 * src/hildon-helper.h
4732 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4733 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4735 * examples/Makefile.am:
4736 Deprecate hildon-insensitive-example
4738 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4740 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4742 * examples/hildon-pannable-area-buttons-scroll-example.c:
4743 Make all buttons finger height
4745 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4747 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4749 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4750 update the day model only if it is really required, and to avoid the
4751 full-reconstruction aproach. Now it only add or remove the required days.
4753 The purpose of this is avoid superfluous HildonTouchSelector::changed
4756 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4757 with strange parameters)
4759 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4761 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4763 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4764 the WINDOW_TYPE property.
4766 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4768 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4771 Fix dependency to allow parallel compilation with make -jX
4773 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4775 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4776 color frame and some minor tweaks to make it more consistent with
4779 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4780 highlighted but not visible)
4782 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4784 * examples/Makefile.am: Fixed typo in the Makefile.am.
4786 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4788 Reviewed the use of MAEMO_GTK define, now we add the define in the
4789 compilation line, and we also add it to the pc file.
4791 * configure.ac: Added MAEMO_GTK define to the compilation command
4792 and removed it from the config.h.
4794 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4795 do not have to take care about this define if the library was
4799 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4801 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4803 * examples/Makefile.am,
4804 * examples/hildon-pannable-area-buttons-scroll-example.c,
4805 * examples/hildon-pannable-area-gesture-signals-example.c,
4806 * examples/hildon-pannable-area-scroll-jump-example.c,
4807 * examples/hildon-pannable-area-tree-view-example.c:
4808 Renamed the pannable area examples, now they have more meaningful
4811 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4813 * src/hildon-touch-selector.c:
4814 (hildon_touch_selector_set_column_selection_mode): Used of
4815 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4816 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4817 to avoid re-seting the same selection mode.
4819 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4820 breaks HildonPickerDialog)
4822 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4824 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4825 conditional in the Makefile.am
4827 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4829 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4830 Remove unused methods.
4832 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4834 * src/hildon-button.c (hildon_button_init):
4835 Make button images center-aligned by default
4837 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4840 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4841 activated, we have to think about how to deal with both defines
4842 MAEMO_GTK and MAEMO_CHANGES.
4844 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4846 * examples/hildon-app-menu-example.c (create_menu): Make all
4847 buttons finger size.
4849 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4851 Fixed the compilation without maemo gtk adding ifdefs with
4852 MAEMO_GTK define to the code, we have to check this version more
4855 * examples/Makefile.am: Added control to avoid some examples that
4856 just make sense with maemo gtk.
4859 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4860 hildon modes with the define.
4862 * examples/hildon-edit-toolbar-example.c,
4863 (create_icon_view): Create the icon view without hildon-gtk
4864 helpers if we are not using maemo gtk.
4866 * src/hildon-touch-selector.c,
4867 (_create_new_column): Create the treeview without hildon-gtk
4868 helpers if we are not using maemo gtk.
4870 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4872 * src/hildon-pnnable-area.c,
4873 (hildon_pannable_area_dispose),
4874 (hildon_pannable_area_button_press_cb),
4875 (hildon_pannable_area_child_mapped),
4876 (hildon_pannable_area_add),
4877 (hildon_pannable_area_remove): Added code to control the position
4878 of the event_window when adding and removing children from the
4879 pannable. We have to raise the event window when the child is
4882 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4883 selection mode using custom widget inside pannable)
4885 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4887 * configure.ac: post release version bump
4888 * debian/changelog: version bump
4890 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4895 * configure.ac: bump version
4896 * debian/changelog: updates
4898 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4900 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4901 search mode, in order to avoid lose the focus on the treeview when
4902 a hw key (like enter) is pressed.
4904 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4905 in HildonDateSelector dialog)
4907 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4909 * debian/rules: Added --enable-maintainer-mode
4910 * Makefile.am: Added ACLOCAL_AMFLAGS
4912 This allows to properly regenerate the Makefiles if you modify the
4913 configure.ac or any Makefile.am.
4915 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4917 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4918 properties, not needed at all.
4920 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4922 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4924 * src/hildon-note.c: (hildon_note_set_property),
4925 (hildon_note_get_property), (hildon_note_class_init),
4926 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4927 (hildon_note_new_confirmation_add_buttons): Remove icons.
4928 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4929 (hildon_note_new_information_with_icon_name): Deprecate.
4930 (hildon_note_new_confirmation): Act directly, without calling
4931 the deprecated constructor.
4932 (hildon_note_new_information): Act directly, without calling
4933 the deprecated constructor.
4934 * src/hildon-note.h: Mark deprecate methods as such.
4935 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4936 not run tests on the deprecated methods if built with deprecation
4939 Fixes: NB#91688 (Never show icons in information notes/confirmation
4942 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4944 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4945 (hildon_app_menu_key_press): Remove leftover usage of the
4946 private structure in HildonAppMenu struct.
4947 * src/hildon-app-menu.h: Remove leftover private structure
4948 from the HildonAppMenu struct.
4950 Fixes a crasher when using the HildonAppMenu.
4952 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4954 * src/hildon-picker-dialog.c: Use appropriate logical id
4955 for the default "Done" text.
4957 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4959 * configure.ac: post release version bump
4960 * debian/changelog: version bump
4962 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4964 Modified the way to scroll to the current selection just when the touch
4965 selector is shown on the screen, avoiding a g_idle. Added too a property
4966 to configure this behaviour. See hildon_pannable_area_jump_to_child
4967 documentation for more information.
4969 * src/hildon-touch-selector.c
4970 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4971 Added 'initial-scroll' property
4972 (hildon_touch_selector_set_property): Added
4973 (hildon_touch_selector_map): Removed as not required anymore
4974 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4975 only a concrete column, instead of iterate along all the columns
4977 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4982 * configure.ac: bump version
4983 * debian/changelog: updates
4985 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4987 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4988 compilation time warnings.
4990 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4992 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4993 the default value for HildonPannableArea::mov-mode to
4994 HILDON_PANNABLE_AREA_MODE_VERT.
4996 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4998 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5000 Reverting following commit:
5002 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5004 * src/hildon-app-menu-private.h
5005 * src/hildon-app-menu.[ch]
5006 * src/hildon-button.[ch]
5007 * src/hildon-check-button.[ch]
5008 * src/hildon-entry.[ch]
5009 * src/hildon-pannable-area.[ch]
5010 * src/hildon-text-view.[ch]:
5011 Added private field to the object's structure.
5013 because it causes an ABI breakage. We will need to introduce these
5014 changes later at some point. See NB#91636 for an extensive
5015 explanation and status.
5017 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5019 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5021 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5022 remove special cases that are no longer necessary.
5024 Fixes: NB#91016 (Change toolbar sizes, simplification)
5026 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5028 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5029 is shown in the cancel note.
5031 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5033 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5034 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5035 (hildon_seekbar_init): Remove steppers, remove expose event.
5036 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5038 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5040 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5042 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5043 label font to "SmallSystemFont" for vertically arranged buttons.
5045 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5048 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5050 * src/hildon-check-button.c
5051 (hildon_check_button_set_active, hildon_check_button_clicked):
5052 Don't access private parts directly, use getters instead.
5054 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5056 * src/hildon-check-button.c (hildon_check_button_new):
5057 Align the contents of the check button to the left.
5059 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5061 * src/hildon-pannable-area.c,
5062 (hildon_pannable_area_scroll_to),
5063 (hildon_pannable_area_jump_to),
5064 (hildon_pannable_area_scroll_to_child),
5065 (hildon_pannable_area_jump_to_child): Replace the mapped
5066 precondition of these functions with the realized, it is the
5067 correct state of the widget in this case. Changed the
5068 documentation according to this modification.
5070 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5072 Added a new EXTRA_CFLAGS option to add the deprecated define to
5073 the compilation command. This way we can avoid using the define in
5074 the documentation compilation.
5076 * configure.ac: Defined EXTRA_CFLAGS.
5078 * examples/Makefile.am:
5080 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5082 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5084 * src/hildon-picker-dialog.c:
5085 Defined a utility macro with the desired touch selector height
5086 Removed currently unused separator, and title_label variables from
5088 (hildon_picker_dialog_init): Removed code related to the creation
5089 of unused private variables title_label and separator.
5090 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5091 to ensure correct visualization of the touch selector inside the dialog.
5092 * src/hildon-touch-selector.c
5093 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5094 ensure a concrete height of the widget.
5096 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5099 * tests/Makefile.am:
5101 Remove spurious whitespaces.
5103 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5105 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5106 compilation warning after the cancel button removal.
5108 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5110 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5112 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5113 Makefile.am, that way we can choose not to compile some examples
5114 and tests of the deprecated widgets.
5116 * examples/Makefile.am: Divided the sources in deprecated and
5119 * src/Makefile.am: Added undef statement of the deprecated
5120 symbol to the enums file generation process.
5122 * src/hildon-color-chooser-dialog.c
5123 * src/hildon-color-chooser-dialog.h
5124 * src/hildon-color-button.c
5125 * src/hildon-color-button.h
5126 * src/hildon-color-chooser.c
5127 * src/hildon-color-chooser.h
5128 * src/hildon-controlbar.c
5129 * src/hildon-controlbar.h
5130 * src/hildon-date-editor.c
5131 * src/hildon-date-editor.h
5132 * src/hildon-hvolumebar.c
5133 * src/hildon-hvolumebar.h
5134 * src/hildon-private.c
5135 * src/hildon-private.h
5136 * src/hildon-range-editor.c
5137 * src/hildon-range-editor.h
5138 * src/hildon-seekbar.c
5139 * src/hildon-seekbar.h
5140 * src/hildon-time-editor.c
5141 * src/hildon-time-editor.h
5142 * src/hildon-time-picker.c
5143 * src/hildon-time-picker.h
5144 * src/hildon-volumebar.c
5145 * src/hildon-volumebar.h
5146 * src/hildon-vvolumebar.c
5147 * src/hildon-vvolumebar.h
5148 * src/hildon-bread-crumb-trail.h
5149 * src/hildon-bread-crumb-trail.c
5150 * src/hildon-calendar-popup.c
5151 * src/hildon-calendar-popup.h
5152 * src/hildon-weekday-picker.c:
5153 * src/hildon-weekday-picker.h:
5154 * src/hildon-bread-crumb-widget.c:
5155 * src/hildon-bread-crumb-widget.h:
5156 * src/hildon-bread-crumb.c:
5157 * src/hildon-bread-crumb.h:
5158 * src/hildon-calendar.c:
5159 * src/hildon-calendar.h:
5160 * src/hildon-caption.c:
5161 * src/hildon-code-dialog.c:
5162 * src/hildon-code-dialog.h:
5163 * src/hildon-font-selection-dialog.c:
5164 * src/hildon-font-selection-dialog.h:
5165 * src/hildon-get-password-dialog.c:
5166 * src/hildon-get-password-dialog.h:
5167 * src/hildon-login-dialog.c:
5168 * src/hildon-login-dialog.h:
5169 * src/hildon-number-editor.c:
5170 * src/hildon-number-editor.h:
5171 * src/hildon-set-password-dialog.c:
5172 * src/hildon-set-password-dialog.h:
5173 * src/hildon-sort-dialog.c:
5174 * src/hildon-sort-dialog.h: This is the list of deprecated
5177 * src/hildon-touch-selector.c:
5178 * src/hildon-window.c: Added undef statement to avoid compilation
5181 * tests/Makefile.am: Divided the sources in deprecated and
5184 * tests/check_test.c,
5185 (configure_tests): Marked the deprecated code that was adding
5186 suites with deprecated tests.
5188 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5190 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5192 * src/hildon-touch-selector.c: (_default_print_func): Do not
5193 duplicate a string returned by gtk_tree_model_get(), it is already
5196 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5199 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5201 * src/hildon-pannable-area.c
5202 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5203 method, it had problems when adding a widget with viewport the
5204 second time. Now checks if it already has a viewport and uses it.
5206 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5209 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5211 * src/hildon-pannable-area.c,
5212 (hildon_pannable_area_scroll_to),
5213 (hildon_pannable_area_jump_to),
5214 (hildon_pannable_area_scroll_to_child),
5215 (hildon_pannable_area_jump_to_child): Added a precondition to the
5216 scroll and jump to functions: the widget must be mapped before we
5217 can safely call these functions. We have also added documentation
5218 to the functions to explain how to use them in this situation.
5221 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5223 Reviewed the threading handling of the pannable widget, we have
5224 used the gdk_threads_add_timeout function instead of the usual
5225 glib handlers. This avoids some problems with the threads.
5227 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5228 (hildon_pannable_area_initial_effect),
5229 (hildon_pannable_area_scroll_indicator_fade),
5230 (hildon_pannable_area_button_press_cb),
5231 (hildon_pannable_area_timeout),
5232 (hildon_pannable_area_motion_notify_cb),
5233 (hildon_pannable_area_button_release_cb),
5234 (hildon_pannable_area_scroll_cb),
5235 (hildon_pannable_area_scroll_to): Removed the
5236 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5237 gdk_threads_add_timeout.
5239 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5241 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5246 * configure.ac: bump version
5247 * debian/changelog: updates
5249 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5251 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5252 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5253 * src/hildon-color-chooser-dialog.c:
5254 (hildon_color_chooser_dialog_init):
5255 * src/hildon-font-selection-dialog.c:
5256 (hildon_font_selection_dialog_init):
5257 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5259 Remove all cancel/close-like dialogs, as these are not going to be
5262 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5264 * src/hildon-note.c: (hildon_note_rebuild),
5265 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5268 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5270 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5272 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5273 sure all buttons are shown, even the Cancel/Close-like ones.
5275 Fixes: NB#90861 (Custom Confirmation dialogs should be
5276 protected from cancel button removal)
5278 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5280 * debian/control: Change libhildon1-examples dependency from libhildon1
5282 * debian/libhildon1-examples.install
5284 * Makefile.am: Modified the final install directory for the examples on
5285 package libhildon1-examples
5286 * Makefile.static: Update clean target in order to remove all the binary
5289 Changes suggested by Claudio after review new libhildon1-examples package
5291 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5293 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5294 * src/hildon-touch-selector.c: Ditto.
5296 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5298 * debian/control: Added new package libhildon1-examples, in order to pack
5299 the current hildon examples as documentation
5300 * debian/rules: Not to compress .c files, modify some includes on the
5301 examples (as normally are compiled locally, but when installed it will
5302 require to include the installed libhildon1 library), and rename
5304 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5305 install all the example files on the new example package
5306 * examples/Makefile.static: Added static makefile that can be used to
5307 compile the examples, once installed the new example package
5308 * examples: Most of the examples were modified in order to grant that
5309 all use only '#include "hildon.h"', in order to be easy to prepare
5310 it on the example package
5312 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5315 * debian/libhildon1-dev.install
5316 * debian/libhildon1-doc.install:
5317 Move all gtk-doc files to a separate libhildon1-doc package.
5319 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5321 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5323 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5325 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5327 * debian/rules: Fixed a error in order to avoid unnecessary calls
5328 to autogen.sh on package building
5330 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5332 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5334 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5336 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5339 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5341 * src/hildon-picker-button.c
5342 (hildon_picker_button_finalize):
5343 Free priv->done_button_text
5345 * src/hildon-time-button.c
5346 (hildon_time_button_set_time)
5347 * src/hildon-picker-button.c
5348 (hildon_picker_button_clicked)
5349 (hildon_picker_button_selector_selection_changed)
5350 (hildon_picker_button_set_selector)
5351 * src/hildon-date-button.c
5352 (hildon_date_button_set_date):
5353 Free strings returned by hildon_touch_selector_get_current_text()
5355 * src/hildon-button.c (hildon_button_construct_child):
5356 Fix leaks in priv->image and priv->label_box
5358 Fixes: NB#90535 (Memory leak in picker button)
5360 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5362 * src/hildon-button.c: (hildon_button_get_property): Do not access
5363 private elements directly, use getters instead.
5365 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5367 * src/hildon-app-menu-private.h
5368 * src/hildon-app-menu.c
5369 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5370 Store the menu's parent window.
5372 * src/hildon-stackable-window.c
5373 (hildon_stackable_window_toggle_menu)
5374 (hildon_stackable_window_finalize):
5375 Set the menu's parent window when the menu is shown, unset it when
5378 * src/hildon-app-menu.c
5379 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5380 (hildon_app_menu_class_init):
5381 Send unhandled keyboard accelerators to the parent window.
5383 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5385 * src/hildon-stackable-window.c
5386 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5388 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5390 * configure.ac: post release version bump
5392 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5395 * configure.ac: Bump version
5396 * debian/changelog: Updates
5397 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5400 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5402 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5405 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5406 GtkMenu with Hildon style.
5408 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5410 * src/hildon-picker-button.c:
5411 (hildon_picker_button_set_done_button_text): Set the dialog's
5412 done button text here as well.
5414 Fixes: NB#90232 (Picker button does not set the label on done button
5415 for the second time)
5417 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5419 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5422 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5424 * src/hildon-app-menu.c (hildon_app_menu_insert)
5425 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5426 the HildonAppMenu to be activatable using keyboard accelerators
5427 when the menu is not being shown.
5429 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5431 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5433 * src/hildon-stackable-window.c
5434 (hildon_stackable_window_show):
5435 Don't hide old windows automatically when new windows are shown:
5436 this is now a task for the window manager.
5437 (hildon_stackable_window_class_init)
5438 (hildon_stackable_window_hide):
5439 Remove windows from the stack everytime they're hidden.
5440 (hildon_stackable_window_realize):
5441 Don't change the _NET_WM_WINDOW_TYPE property. Use
5442 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5443 it as a stackable window.
5445 * src/hildon-program.c
5446 (hildon_program_pop_window_stack):
5447 Just hide the window to remove it from the stack.
5448 (hildon_program_go_to_root_window):
5449 Don't call gtk_widget_show(), this is now a task for the window
5452 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5454 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5456 * src/hildon-button.c
5457 (hildon_button_construct_child):
5458 Don't pack anything in the button until text or image are
5459 set. This allows adding a custom child after creating the button
5460 with hildon_button_new().
5461 (hildon_button_finalize, hildon_button_class_init)
5462 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5463 alignment and the label box even when they're not packed in the
5466 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5468 * src/hildon-touch-selector.h:
5469 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5470 currently the type definition was using GTK_TYPE_VBOX
5471 * src/hildon-touch-selector.c:
5472 Added some implementation notes in order to clarify that any other widget
5473 added without the column related API will not be included on the
5474 selection logic, and how the widget is freed, as some people ask about
5476 (hildon_touch_selector_remove): Reimplemented in order to free properly
5477 the column related data when you remove the private hbox.
5478 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5479 to get a proper HildonTouchSelectorColumn documentation
5481 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5483 * src/hildon-touch-selector-entry.c:
5484 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5485 text in the GtkEntry and there is no item selected. Fixes a
5488 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5490 * src/hildon-app-menu-private.h
5491 * src/hildon-app-menu.[ch]
5492 * src/hildon-button.[ch]
5493 * src/hildon-check-button.[ch]
5494 * src/hildon-entry.[ch]
5495 * src/hildon-pannable-area.[ch]
5496 * src/hildon-text-view.[ch]:
5497 Added private field to the object's structure.
5499 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5501 * configure.ac: post-release version bump
5503 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5507 * configure.ac: pre-release version bump
5509 * debian/changelog: updates.
5511 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5513 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5514 Disconnect the handler for HildonTouchSelector::changed.
5516 (hildon_picker_button_selector_selection_changed): Update the button
5517 value if the selection change was not triggered by the
5520 (hildon_picker_button_set_selector): connect to
5521 HildonTouchSelector::changed.
5523 Fixes: NB#89650 (Picker button is not updated, when selection in
5524 selector has changed)
5526 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5528 * src/hildon-picker-dialog.c
5529 (hildon_picker_dialog_realize): Removed as not required
5530 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5531 * src/hildon-picker-button.c
5532 (_current_selector_empty): New function, checks if the selector is empty
5533 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5534 if the current selector is empty, in order to avoid to show the dialog
5535 close the dialog in this case (and shows a g_warning).
5537 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5539 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5541 * src/hildon-pannable-area.c,
5542 (hildon_pannable_area_scroll): Added clause to stop movement when
5543 the child of pannable is smaller than one page.
5544 (hildon_pannable_area_scroll_to): Added conditions to avoid
5545 starting the scrolling movement if the child is smaller than one
5546 page, the complete child is in the screen, we do not have to move.
5548 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5550 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5552 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5553 this is managed automatically by the widget when the size of the
5556 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5558 * src/hildon-picker-button.c
5559 (hildon_picker_button_set_done_button_text): Make a copy of the
5560 text, and free the previous value.
5562 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5564 * src/hildon-touch-selector-entry.c:
5565 (hildon_touch_selector_entry_print_func): Return the selected row's
5566 text if the entry is empty.
5568 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5571 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5573 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5575 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5578 * src/hildon-check-button.h
5579 * src/hildon-check-button.c
5580 * examples/hildon-check-button-example.c:
5581 HildonCheckButton is now a new widget. 'toggled' signal added.
5583 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5585 * src/hildon-program-private.h
5586 * src/hildon-program.c (hildon_program_init)
5587 (hildon_program_finalize): Removed unused variables group_leader
5588 and name from HildonProgramPrivate.
5590 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5592 * src/hildon-check-button.c (hildon_check_button_set_active)
5593 (hildon_check_button_get_active, hildon_check_button_new): Use
5594 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5596 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5598 * src/hildon-touch-selector.h
5599 (hildon_touch_selector_set_column_attributes): added deprecation
5600 guard HILDON_DISABLE_DEPRECATED
5601 * src/hildon-time-selector.c
5602 (hildon_time_selector_set_time)
5603 (hildon_time_selector_get_time): Fixed a typo on documentation
5604 * src/hildon-touch-selector.c: update HildonTouchSelector and
5605 HildonTouchSelectorColumn documentation
5606 * src/hildon-touch-selector-entry.c: update "text-column" property
5608 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5609 to be added to the general documentation.
5611 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5613 * examples/hildon-pannable-area-example-4.c,
5615 * examples/hildon-pannable-area-example.c,
5616 (main): Modified the code in order to use the container add, with
5617 viewport treeviews could have problems if they are really big.
5619 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5621 * src/hildon-weekday-picker.c,
5622 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5623 the agreement regarding deprecation in the library.
5625 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5627 * examples/hildon-picker-button-multicolumn-example.c:
5628 (main): Use custom "done" button text.
5630 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5631 (hildon_picker_button_set_property),
5632 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5633 (hildon_picker_button_init),
5634 (+hildon_picker_button_get_done_button_text),
5635 (+hildon_picker_button_set_done_button_text): New methods to customize
5636 the "done" button label in the launched HildonPickerDialog. Also,
5639 * src/hildon-picker-button.h: add the public API.
5641 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5643 * src/hildon-date-selector.h:
5644 * src/hildon-picker-dialog.h:
5645 * src/hildon-time-selector.h:
5646 * src/hildon-touch-selector-column.h:
5647 * src/hildon-touch-selector.h:
5649 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5650 declarations. Fixes gtk-doc warnings.
5652 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5654 * src/hildon-picker-dialog.h
5655 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5656 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5658 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5659 long text is set as label for done button)
5661 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5663 * src/hildon-dialog.c (hildon_dialog_add_button):
5664 Set fixed width to all buttons in the HildonDialog.
5666 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5668 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5670 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5671 Set widget name using class name plus "-finger" or "-thumb".
5673 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5675 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5676 'clicked' when the state of the button is manually changed.
5678 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5680 * src/hildon-app-menu.c (hildon_app_menu_realize)
5681 (hildon_app_menu_unrealize, hildon_app_menu_init)
5682 (hildon_app_menu_class_init, item_visibility_changed):
5683 Change the menu layout when the size of the screen changes.
5684 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5685 Show warning only when changing the number of colums using the
5688 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5690 * debian/compat: Set to 5
5691 * debian/control: Update dependencies.
5692 * debian/libhildon1-dbg.install: Remove.
5693 * debian/libhildon1-dev.install: Update according to cdbs paths.
5694 * debian/libhildon1.install: Update according to cdbs paths.
5695 * debian/rules: Switch to cdbs.
5697 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5699 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5700 'item' variable renamed to 'filter'
5702 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5704 * src/hildon-app-menu.c (hildon_app_menu_insert)
5705 (hildon_app_menu_add_filter, remove_item_from_list)
5706 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5707 Don't leak hidden items when the menu is destroyed.
5709 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5711 * src/hildon-app-menu.c (hildon_app_menu_insert)
5712 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5713 (hildon_app_menu_set_columns, item_visibility_changed)
5714 (filter_visibility_changed, hildon_app_menu_repack_filters)
5715 (hildon_app_menu_repack_items):
5716 Repack items and filters separately.
5718 Don't repack all items, change only the ones that are needed to
5721 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5723 * src/Makefile.am: added hildon-touch-selector-column.h
5725 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5727 * src/hildon-touch-selector.c: added the property "text-column" to the
5728 class HildonTouchSelectorColumn, and related get/set functions
5729 (_default_printf_func): updated to use "text-column" property
5730 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5731 "text-column" in his documentation, as this is now included on
5732 HildonTouchSelectorColumn. The get/set_property can still be used,
5733 working as a wrapper to the concrete column "text-column" property
5734 (_text_column_modified): callback added in order to handle the signal
5735 "notify::text-column" of the concrete HildonTouchSelectorColumn
5736 (hildon_touch_selector_entry_get_text_column)
5737 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5738 modified in order to use the HildonTouchSelectorColumn "text-column"
5740 * src/hildon-time-selector.c:
5741 * src/hildon-date-selector.c:
5742 * examples/hildon-touch-selector-example.c
5743 * examples/hildon-touch-selector-multi-cells-example.c
5744 * examples/hildon-picker-button-multicolumn-example.c
5745 Set the right value to "text-column" property on the creation of a new
5746 column using hildon_touch_selector_append_column()
5748 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5750 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5752 * src/hildon-app-menu.c
5753 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5754 updating the layout of the menu, don't create all widgets again,
5755 just repack the items in their new places.
5757 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5759 * src/hildon-time-selector.c
5760 (hildon_time_selector_get_time)
5761 (hildon_time_selector_set_time)
5762 Added documentation of these public methods
5764 * src/hildon-date-button.h
5765 * src/hildon-touch-selector-column.h
5766 * src/hildon-time-button.h
5767 * src/hildon-picker-dialog.h
5768 * src/hildon-time-selector.h
5769 * src/hildon-picker-button.h
5770 * src/hildon-touch-selector.h
5771 * src/hildon-time-picker.h
5772 * src/hildon-date-selector.h
5773 * src/hildon-touch-selector-entry.h
5774 Modified in order to use hildon-widgets code style
5776 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5778 Added deprecated support to the compilation process using
5779 HILDON_DISABLE_DEPRECATED
5781 * configure.ac: Added the --disable-deprecated to the configure
5784 * src/hildon-weekday-picker.c:
5785 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5786 to use the deprecated support. We will update the other deprecated
5787 widgets status in a new patch.
5789 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5791 * configure.ac: Fixed typo with fatal warnings support, the
5792 variable name was not correct
5794 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5796 * src/hildon-app-menu.c
5797 * src/hildon-program.c: Update documentation.
5799 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5801 * configure.ac: Post-release version bump.
5803 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5808 * configure.ac: Pre-release version bump.
5809 * debian/changelog: Updates.
5811 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5813 * NEWS: Update news for previous releases.
5815 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5817 * examples/hildon-touch-selector-multi-cells-example.c:
5818 (create_selector): Update the example to use
5819 hildon_touch_selector_append_column() with a NULL renderer and set
5820 the renderers later.
5821 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5822 passed a NULL renderer. This is documented behavior now.
5824 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5825 This must be used if the developer wants full control on the layout of
5826 the renderers to be added to the column.
5828 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5830 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5832 * src/hildon-touch-selector.c: Documentation fixes.
5834 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5836 * src/hildon-wizard-dialog-private.h: Remove image and box.
5837 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5838 (hildon_wizard_dialog_set_property), (response): Completely remove
5839 image/icon support, and the containers required for the layout.
5841 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5843 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5845 * src/hildon-app-menu.c: Updated documentation.
5847 * src/hildon-stackable-window.c
5848 (hildon_stackable_window_set_main_menu): Unref the old menu after
5849 ref'ing the new one.
5851 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5853 * src/hildon-stackable-window.c
5854 (hildon_stackable_window_set_main_menu): Unref the previous menu
5855 instead of destroying it.
5857 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5858 floating reference and set has_user_ref_count to FALSE to make
5859 HildonAppMenu act like a normal ref-counted widget and not a
5862 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5865 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5867 * src/hildon-touch-selector-column.h: new file
5868 * src/hildon-touch-selector.h
5869 * src/hildon-touch-selector.c
5870 Implemented GtkCellLayout interface, in order to allow to configure
5871 the cell layout on each individual selector column
5872 (hildon_touch_selector_set_column_attributes): marked as deprecated
5873 * examples/hildon-touch-selector-multi-cells-example.c
5874 Example of how to use the GtkCellLayout interface on the selector
5876 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5878 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5880 * src/hildon-app-menu.h
5881 * src/hildon-app-menu.c
5882 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5883 (hildon_app_menu_append, hildon_app_menu_prepend):
5884 New methods to prepend, insert and move items in the menu.
5886 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5888 * src/hildon-wizard-dialog.c:
5890 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5892 (create_title): Update logical IDs and related code.
5893 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5895 * src/hildon-wizard-dialog.h: Note that
5896 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5897 point, as it is not used anymore.
5899 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5901 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5903 * src/hildon-note.c:
5904 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5905 shown. Do not display an icon in confirmation notes nor information
5907 (hildon_note_set_button_text): Update logical ID for cancel button.
5909 Fixes: NB#88850 (Update HildonNote button strings + signals)
5911 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5913 * src/hildon-stackable-window.c
5914 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5916 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5918 * src/hildon-app-menu-private.h
5919 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5920 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5921 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5922 temporary property 'columns' to change the number of columns.
5924 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5926 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5928 * examples/hildon-note-example.c: (on_information_clicked),
5929 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5930 debugging information.
5931 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5933 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5934 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5935 in order to close: this will be handled by the WM from now on.
5937 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5939 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5941 * src/hildon-app-menu-private.h
5942 * src/hildon-app-menu.c
5943 (hildon_app_menu_append, hildon_app_menu_add_filter)
5944 (button_visibility_changed, hildon_app_menu_apply_style)
5945 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5946 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5947 layout everytime a button (item or filter) is shown or hidden.
5949 * src/hildon-stackable-window.c
5950 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5953 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5955 * src/hildon-touch-selector.c:
5956 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5957 that the treeview inside the touch selector is in fremantle hildon mode
5958 * examples/hildon-date-button-example.c
5959 * examples/hildon-picker-button-multicolumn-example.c
5960 * examples/hildon-touch-selector-entry-example.c
5961 * examples/hildon-touch-selector-example.c
5962 * examples/hildon-time-button-example.c
5963 * examples/hildon-picker-button-example.c:
5964 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5966 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5968 * examples/hildon-text-view-example.c: (main): Remove the
5969 gtkrc bits, now handled by the theme.
5971 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5976 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5978 * po/Makefile.am: Install properly the mo files.
5979 * po/en_GB.po: Update translation, to ease testing purposes.
5981 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5983 * examples/hildon-picker-button-example.c: (main): Select an item
5984 in the selector before setting it to the button.
5986 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5988 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5989 Update button's value if the selector has an item active.
5991 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5992 'value' with the selector)
5994 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5996 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5997 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5998 (hildon_picker_button_class_init): Plug the finalize method.
5999 (hildon_picker_button_set_selector): If there's a previously set
6000 selector, unref'it before setting a new one.
6002 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6003 HildonTouchSelector)
6005 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6007 * src/hildon-touch-selector-entry.c:
6008 (hildon_touch_selector_entry_changed): Check if there is no text
6009 selected before setting the entry text.
6012 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6014 * src/hildon-touch-selector.h
6015 * src/hildon-touch-selector.c
6016 (hildon_touch_selector_get_active)
6017 (hildon_touch_selector_set_active): New methods to set/get the
6018 index of the selected item.
6020 * src/hildon-picker-button.h
6021 * src/hildon-picker-button.c
6022 (hildon_picker_button_get_active)
6023 (hildon_picker_button_set_active): New methods to set/get the
6024 index of the selected item.
6026 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6028 * configure.ac: post-release version bump.
6030 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6034 * configure.ac: Pre-release version bump.
6035 * debian/changelog: Updates.
6036 * debian/control: Add myself as maintainer and depend on l10n
6039 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6041 * src/hildon-window.c
6042 (hildon_window_set_main_menu)
6043 * src/hildon-stackable-window.c
6044 (hildon_stackable_window_set_main_menu):
6045 Updated documentation.
6047 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6050 Don't free selector->priv manually.
6053 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6056 (hildon_gtk_window_set_progress_indicator):
6057 * src/hildon-gtk.h: Added the new API
6058 hildon_gtk_window_set_progress_indicator, it changes the state of
6059 the window progress hint.
6061 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6063 * src/hildon-button.c
6064 * src/hildon-stackable-window.c: Minor documentation updates.
6066 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6068 * src/hildon-stackable-window.c: Updated documentation.
6070 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6072 * src/hildon-defines.h: Update margins definitions
6073 to the Fremantle sizes.
6076 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6078 * src/hildon-touch-selector.c,
6079 (_hildon_touch_selector_set_model): Cleaning the code after
6080 review, removed g_print and #if 0 from the code.
6082 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6084 * src/hildon-edit-toolbar.c: Update documentation.
6086 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-check-button.h
6089 * src/hildon-check-button.c
6090 (hildon_check_button_set_label, hildon_check_button_get_label)
6091 * examples/hildon-check-button-example.c
6092 (button_clicked_cb):
6093 Removed deprecated methods.
6095 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6097 * src/hildon-text-view.c:
6098 Add sample code to the documentation.
6100 * src/hildon-entry.h
6101 * src/hildon-text-view.h:
6102 Minor cosmetic changes.
6104 * src/hildon-entry.c:
6105 Add sample code to the documentation.
6106 (hildon_entry_init, hildon_entry_refresh_contents):
6107 Don't allow NULL values in the placeholder.
6109 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6111 * doc/hildon-docs.sgml
6113 * examples/Makefile.am
6114 * examples/hildon-text-view-example.c
6116 * src/hildon-text-view.c
6117 * src/hildon-text-view.h
6119 New HildonTextView widget, with example.
6121 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6123 * po/POTFILES.in: Add missing files with translatable strings.
6124 Partially fixes NB#88287.
6126 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6128 * examples/hildon-pannable-area-example-2.c: (main): No need to
6129 set the cellrenderer height inside hildon touch lists, the theme does
6132 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6134 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6135 they are integrated in the theme.
6137 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6139 * examples/hildon-entry-example.c: Update the example adding
6140 widgets to modify the text and the placeholder of the HildonEntry.
6142 * src/hildon-entry.c: Show the placeholder everytime the widget
6143 is empty and loses the focus.
6145 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6147 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6149 * src/hildon-pannable-area.c,
6150 (hildon_pannable_area_size_request): Fixed bug in height
6151 requisition, avoid increasing size and add border twice.
6153 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6155 * configure.ac: postrelease version bump.
6157 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6161 * configure.ac: Prerelease version bump.
6162 * debian/changelog: update.
6163 * debian/rules: make -dbg package contain useful debugging symbols.
6165 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6167 * src/hildon-dialog.h
6168 * src/hildon-dialog.c
6169 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6170 New methods to add buttons with finger size.
6171 (hildon_dialog_new_with_buttons):
6172 Create buttons with finger size.
6174 * examples/hildon-dialog-example.c (main): Use HildonDialog
6175 methods to add buttons.
6177 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6179 * src/hildon-entry.c: Updated HildonButton documentation.
6181 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6183 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6184 button value label with (FALSE, FALSE) to prevent NB#88126 from
6187 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6189 * examples/hildon-pannable-area-example.c,
6190 (main): Removed examples panning a vbox inside a pannable
6191 area. Check bug NB#87965
6193 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6195 Patch contributed by Kris Rietveld (kris@imendio.com)
6197 * src/hildon-pannable-area.c,
6198 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6199 get_size and get_position, this saves an X server roundtrip.
6201 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6203 * doc/hildon-docs.sgml
6205 * examples/Makefile.am
6206 * examples/hildon-entry-example.c
6208 * src/hildon-entry.c
6209 * src/hildon-entry.h
6211 New HildonEntry widget, with example.
6213 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6215 * src/hildon-button.c (hildon_button_construct_child): Pack the
6216 image with expand == fill == FALSE. This is a workaround for a bug
6219 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6221 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6222 labels for the text column, to make it more look more dynamic.
6224 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6226 * src/hildon-time-selector.c
6227 Define gettext auxiliar macro N_
6228 (_create_minutes_model)
6229 (_create_hours_model)
6230 (_create_ampm_model): use of strftime in order to fill the model
6231 * src/hildon-date-selector.c
6232 (hildon_date_selector_finalize):
6233 (_locales_init): remove the logic related to get the name of the months
6234 using nl_langinfo, as it is not required anymore
6236 (_create_year_model)
6237 (_create_month_model)
6238 (_update_day_model): use of strftime in order to fill the model properly
6241 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6243 * src/hildon-button.h
6244 * src/hildon-button.c (hildon_button_get_image): New method to
6247 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6249 * src/hildon-touch-selector.c:
6250 (hildon_touch_selector_remove_column): Remove from the correct parent
6251 and also remove the list element and free it.
6254 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6256 * src/hildon-time-selector.c
6257 (_create_hours_model): change the range on 12h ampm format in order to use
6258 a 12-11 range instead of previous 01-12 range
6259 (hildon_time_selector_set_time): change the way to select the current time
6260 on 12h ampm format, due the change on the range
6261 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6264 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6266 * src/hildon-touch-selector.c
6267 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6268 in order to allow use this function on multiple row selection mode if
6269 the column is different that the first one
6272 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6274 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6275 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6277 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6279 * src/hildon-date-selector.h: clean some comments, now on the .c
6280 * src/hildon-date-selector.c
6281 (hildon_date_selector_select_month): first implementation
6282 (hildon_date_selector_select_day): added documentation, reimplemented
6283 using hildon_date_selector_select_current_date to avoid repeat code
6286 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6288 Reviewed interaction logic based on device experiences, refactored
6291 * src/hildon-pannable-area.c,
6292 (hildon_pannable_area_class_init): Updated default vmax speed.
6293 (hildon_pannable_area_calculate_velocity): Added this function, it
6294 avoids duplicate valocity calculation. Adjusted calculation to
6295 avoid problems with zero dist events.
6297 (hildon_pannable_area_motion_notify_cb): Now we use the
6298 calculate_velocity function.
6300 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6302 * src/hildon-date-selector.c
6303 (hildon_date_selector_select_current_date): fix the day range check
6304 as it failed using the last day of the current month
6307 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6309 * src/hildon-touch-selector.c
6310 (hildon_touch_selector_get_num_columns): added a parameter validation
6313 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6315 * examples/Makefile.am
6316 * examples/hildon-edit-toolbar-example.c: Example of the
6317 HildonEditToolbar widget.
6319 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6321 * configure.ac: postrelease version bump.
6323 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6327 * configure.ac: prerelease version bump.
6328 * debian/changelog: update.
6330 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6332 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6333 renderer to display stock icons in the touch list. Also, set the sizes
6334 to the recommended in the style guide.
6336 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6337 * src/hildon-touch-selector.h
6338 (hildon_touch_selector_set_active_iter): renamed, now is
6339 hildon_touch_selector_select_iter
6340 (hildon_touch_selector_get_active_iter): renamed, now is
6341 hildon_touch_selector_get_selected
6342 (hildon_touch_selector_unselect_iter): added
6343 * src/hildon-touch-selector.c
6344 Update after API modification (methods renamed)
6345 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6346 order to avoid problems selecting multiple elements on the column
6347 (hildon_touch_selector_unselect_iter): added the implementation
6348 * src/hildon-time-selector.c
6349 * src/hildon-date-selector.c
6350 * src/hildon-touch-selector-entry.c
6351 Update methods calls after hildon-touch-selector.h API modification (methods
6354 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6356 * src/hildon-stackable-window.c
6357 (hildon_stackable_window_finalize): Call the parent class's finalize.
6359 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6361 * examples/hildon-touch-selector-example.c: (create_selector): Use
6362 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6365 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6367 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6368 set a cell background color, to respect theming.
6370 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6372 * doc/hildon-docs.sgml
6375 * src/hildon-edit-toolbar.c
6376 * src/hildon-edit-toolbar.h
6377 * src/hildon.h: New HildonEditToolbar widget.
6379 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6381 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6384 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6385 * src/hildon-touch-selector.c
6386 (_create_new_column): use g_object_set instead of two g_object_set_property
6388 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6389 * src/hildon-touch-selector.c
6390 (_create_new_column): use of hildon_gtk_tree_view_new to create
6391 the treeview, instead of use directly g_object_new
6392 (_create_new_column): update the property name "vindicator-mode" for the
6393 new one "vscrollbar-policy"
6394 * examples/hildon-date-button-example.c
6395 * examples/hildon-picker-button-multicolumn-example.c
6396 * examples/hildon-touch-selector-entry-example.c
6397 * examples/hildon-touch-selector-example.c
6398 * examples/hildon-time-button-example.c
6399 * examples/hildon-picker-button-example.c
6400 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6401 to all the treeviews inside a pannable area.
6403 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6405 * src/hildon-button.h
6406 * src/hildon-button.c (hildon_button_init)
6407 (hildon_button_set_arrangement, hildon_button_set_alignment)
6408 (hildon_button_set_title_alignment)
6409 (hildon_button_set_value_alignment)
6410 (hildon_button_set_image_alignment)
6411 (hildon_button_construct_child): New methods to set the alignment
6412 of the individual components of the button (title, value,
6413 image). Also, new method to alter the xscale and yscale properties
6414 of the GtkAlignment inside the button, so more complex layouts can
6417 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6419 * src/hildon-button.c (hildon_button_style_set)
6420 (hildon_button_class_init, hildon_button_set_arrangement)
6421 (hildon_button_construct_child): Apply style properties
6422 correctly. Use the 'image-spacing' style property too.
6424 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6426 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6427 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6430 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6432 * src/hildon-pannable-area.c,
6433 (hildon_pannable_area_size_request): Fixed problem with
6434 pannable-area size_request.
6436 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6438 Added management for the grab-focus to a child widget, like a
6439 range, we need to fade out the scrollbar when releasing.
6441 * src/hildon-pannable-area.c,
6442 (hildon_pannable_area_init): Connected the grab-focus signal to
6444 (hildon_pannable_area_grab_notify): Added this function in order
6445 to manage the situation when the grab-focus ends. We have to
6446 fade-out the scrollbar.
6448 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6450 * src/hildon-app-menu.c: Minor documentation update.
6452 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6454 * src/hildon-app-menu.c
6455 * examples/hildon-app-menu-example.c (create_menu): Update
6456 examples and documentation to explain how to connect callbacks.
6458 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6460 * examples/hildon-button-example.c
6461 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6462 hildon_stackable_window_new instead of gtk_window_new
6464 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6466 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6467 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6468 (hildon_pannable_area_set_property),
6469 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6470 (hildon_pannable_area_unrealize),
6471 (hildon_pannable_area_size_request),
6472 (hildon_pannable_area_size_allocate),
6473 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6474 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6475 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6476 (hildon_pannable_area_initial_effect),
6477 (hildon_pannable_area_redraw),
6478 (hildon_pannable_area_scroll_indicator_fade),
6479 (hildon_pannable_area_expose_event),
6480 (hildon_pannable_area_get_topmost), (synth_crossing),
6481 (hildon_pannable_area_button_press_cb),
6482 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6483 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6484 (hildon_pannable_area_motion_notify_cb),
6485 (hildon_pannable_area_button_release_cb),
6486 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6487 (hildon_pannable_area_remove),
6488 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6489 chage the code layout to a more GtkWidget like. Review the use of
6492 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6494 * examples/hildon-pannable-area-example-4.c,
6495 (main): Modified the name of the hindicator_mode to
6498 * src/hildon-pannable-area.c,
6499 (hildon_pannable_area_class_init),
6500 (hildon_pannable_area_motion_notify_cb),
6501 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6502 we have reduced the amount of signals and managed reviewed its
6503 rationale. Changed the default decelerate value.
6505 (hildon_pannable_area_add),
6506 (hildon_pannable_area_redraw): Refactored functions.
6508 (hildon_pannable_area_init),
6509 (hildon_pannable_area_get_property),
6510 (hildon_pannable_area_set_property):
6511 (hildon_pannable_draw_vscroll),
6512 (hildon_pannable_draw_hscroll),
6513 (hildon_pannable_area_initial_effect),
6514 (hildon_pannable_area_expose_event),
6515 (hildon_pannable_area_scroll),
6516 (hildon_pannable_area_button_press_cb),
6517 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6518 and vindicator_mode with hscrollbar_policy and
6519 vscrollbar_policy. Replaced hscroll and vscroll with
6520 hscroll_visible and vscroll_visible.
6522 (hildon_pannable_area_refresh): Refactor the function, remove
6523 variables and check the calls to this function, added resize
6524 conditions in case the children change their layout.
6526 (hildon_pannable_area_size_request): Added more detailed
6527 size_request calculation.
6530 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6532 * src/hildon-color-chooser.c
6533 (init_borders): use the correct gtk_border_free instead of g_free, to
6534 avoid a crash when this widget is used (ie: the three color selection
6537 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6539 * src/hildon-check-button.c,
6540 (hildon_check_button_set_active): Fixed problem when setting the
6541 active value, the widget was not redrawn.
6543 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6545 * src/hildon-pannable-area.c,
6546 (hildon_pannable_area_refresh),
6547 (hildon_pannable_area_scroll),
6548 (hildon_pannable_area_motion_notify_cb): Small code style change.
6550 (hildon_pannable_area_class_init): Default initial_hint set to
6551 FALSE, it is not in the specs.
6553 (hildon_pannable_area_initial_effect),
6554 (hildon_pannable_area_expose_event),
6555 (hildon_pannable_area_map),
6556 (hildon_pannable_area_init): Moved the launching point of the
6557 initial effect, it was in map but the sizes where not correct in
6558 that method so we do not know if we have the reproduce it. Now it
6559 is placed in the expose_event method and uses a variable to
6560 reproduce it just once.
6562 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6564 * src/hildon-pannable-area.c,
6565 (hildon_pannable_draw_vscroll),
6566 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6567 position allowed for the scrollbars.
6569 (hildon_pannable_area_size_allocate): Small style change.
6571 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6573 * src/hildon-pannable-area.c,
6574 (hildon_pannable_area_scroll_indicator_fade),
6575 (hildon_pannable_area_button_press_cb),
6576 (hildon_pannable_area_button_release_cb),
6577 (hildon_pannable_area_scroll_cb),
6578 (hildon_pannable_area_expose_event),
6579 (hildon_pannable_area_init): Added the define parameter
6580 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6581 and refactor the fade variable.
6583 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6585 * src/hildon-pannable-area.c,
6586 (hildon_pannable_area_redraw),
6587 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6588 lines, we were reimplemeting the redraw code.
6590 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6592 * src/hildon-pannable-area.c,
6593 (hildon_pannable_area_scroll_cb),
6594 (hildon_pannable_area_realize),
6595 (hildon_pannable_area_class_init): Added scroll_event management
6596 for pannable area, now we can scroll the usual desktop method.
6598 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6599 initialization of the parameters should depend on idle_id.
6601 (hildon_pannable_area_init),
6602 (hildon_pannable_area_map): Small code style modifications
6604 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6606 * src/hildon-pannable-area.c
6607 (hildon_pannable_area_button_press_cb),
6608 (hildon_pannable_area_motion_notify_cb),
6609 (hildon_pannable_area_button_release_cb),
6610 (hildon_pannable_area_size_allocate),
6611 (hildon_pannable_area_scroll_to): Improved the timeouts
6612 management, we avoid creating them each time.
6614 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6616 * src/hildon-pannable-area.c:
6617 (hildon_pannable_area_refresh),
6618 (hildon_pannable_area_motion_notify_cb),
6619 (hildon_pannable_area_class_init):
6620 * src/hildon-pannable-area.h:
6621 * src/hildon-touch-selector.c
6622 (_create_new_column):
6623 * examples/hildon-pannable-area-example-4.c:
6624 (horizontal_movement),
6625 (vertical_movement),
6627 Replaced the names of enums in the HildonPannableArea:
6628 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6629 HILDON_MOVEMENT_MODE_*
6630 - HILDON_PANNABLE_AREA_MOV_* ->
6632 - Removed HildonPannableAreaIndicatorMode, now we
6635 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6637 * examples/hildon-pannable-area-touch-grid-example.c
6638 * examples/hildon-pannable-area-touch-list-example.c: Fix
6639 compilation warnings.
6641 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6643 * src/hildon-gtk.c (hildon_gtk_button_new)
6644 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6645 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6646 images overriding the value of the "gtk-button-images" setting.
6648 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6650 * src/hildon-check-button.c (hildon_check_button_new):
6651 Instead of using a custom container, display the label and the
6652 checkbox using the standard GtkButton API.
6654 * examples/hildon-check-button-example.c (main): Don't use
6655 hildon_check_button_set_label() anymore
6657 * src/hildon-check-button.h
6658 * src/hildon-check-button.c
6659 (hildon_check_button_set_label, hildon_check_button_get_label):
6660 Set as deprecated, now we're using gtk_button_{get,set}_label()
6662 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6664 * src/hildon-pannable-area.c,
6665 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6666 GtkTreeview first line we detected it after the inclusion of the
6667 GtkWindowImpl in gtk+. We now check if the window is visible, not
6668 just if the pointer is over the window.
6669 (hildon_pannable_axis_scroll),
6670 (hildon_pannable_area_expose_event): Small style changes.
6672 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6674 * src/hildon-button.c: Update documentation.
6676 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6678 * examples/hildon-button-example.c: Add a switch to show images in
6681 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6683 * doc/hildon-docs.sgml: Some docs reorganization.
6685 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6687 * examples/hildon-pannable-area-touch-list-example.c
6689 * examples/hildon-pannable-area-touch-grid-example.c
6690 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6691 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6692 Fix memory leak when setting the tree model.
6694 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6698 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6700 * doc/hildon.types: Remove duplicated hildon_window_get_type
6701 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6702 documentation comment.
6704 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6706 * doc/Makefile.am: Complete list of private headers.
6708 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6710 * doc/hildon-docs.sgml
6711 * src/hildon-app-menu.c
6712 * src/hildon-bread-crumb.c
6713 * src/hildon-button.c
6715 * src/hildon-program.c
6716 * src/hildon-stackable-window.c
6717 * src/hildon-window.c: Lots of documentation updates.
6719 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6721 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6723 * configure.ac: Require Gtk+ 2.12.9 at least
6725 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6727 * src/hildon-pannable-area.c
6728 (hildon_pannable_area_scroll_indicator_fade),
6729 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6730 to protect the return of this timeout callbacks, avoiding deadlocks.
6732 2008-08-12 Christian Dywan <christian@imendio.com>
6735 * src/hildon-*.h: Ensure a consistent include order,
6736 include <gtk/gtk.h> instead of particular files and
6737 only include the topmost header in the gtk stack. See NB #39857
6739 2008-08-12 Christian Dywan <christian@imendio.com>
6741 * src/hildon-picker-dialog.c
6742 * src/hildon-touch-selector.c: Fix warnings about unused and
6743 uninitialized variables.
6745 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6747 * examples/Makefile.am
6748 * examples/hildon-check-button-example.c: Example of the hildon
6751 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6753 * src/hildon-window.h
6754 * src/hildon-window.c (hildon_window_class_init)
6755 (hildon_window_unset_program): Don't make
6756 hildon_window_unset_program a virtual function anymore.
6758 * src/hildon-stackable-window.c: Update documentation
6760 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6763 * doc/hildon-docs.sgml
6764 * doc/visual_index.xml
6765 * src/hildon-defines.c
6767 * src/hildon-helper.c
6768 * src/hildon-range-editor.c: Lots of documentation fixes.
6770 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6772 * examples/hildon-picker-button-multicolumn-example.c
6773 (create_touch_selector): Fix compilation warning.
6775 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6777 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6778 (hildon_pannable_area_button_release_cb)
6779 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6781 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6783 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6786 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6788 * src/hildon-bread-crumb-trail.h
6789 * src/hildon-date-editor.c
6790 * src/hildon-date-selector.c
6791 * src/hildon-pannable-area.c
6792 * src/hildon-picker-dialog.c
6793 * src/hildon-time-selector.c
6794 * src/hildon-touch-selector-entry.c
6795 * src/hildon-touch-selector.c
6796 * src/hildon-touch-selector.h: Misc documentation fixes
6798 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6800 * examples/hildon-date-editor-example.c (main): Updated date
6803 * examples/hildon-note-example.c (on_confirmation_clicked):
6804 Updated confirmation note example.
6806 * src/hildon-date-editor.c
6807 * src/hildon-note.c: Updated sample programs in documentation.
6810 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6812 * src/hildon-date-button.h:
6813 * src/hildon-picker-button.h:
6814 * src/hildon-time-button.c:
6815 * src/hildon-time-button.h:
6817 Some declarations changes to allow gtk-doc to document the widgets
6820 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6822 * src/hildon-date-button.c: Document the widget.
6823 * src/hildon-time-button.c: Document the widget.
6825 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6827 * src/hildon-picker-button.c: Document the widget.
6828 * src/hildon-touch-selector-entry.c: Document the widget.
6830 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6832 * doc/hildon-docs.sgml
6835 * src/hildon-check-button.h
6836 * src/hildon-check-button.c: New functions to create the Hildon
6840 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6842 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6844 * src/hildon-button.h
6845 * src/hildon-button.c
6846 (hildon_button_add_title_size_group)
6847 (hildon_button_add_value_size_group)
6848 (hildon_button_add_image_size_group)
6849 (hildon_button_add_size_groups): New functions to set size groups
6850 for the button labels and image.
6851 (hildon_button_new_full): Removed
6853 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6855 * src/hildon-time-selector.c
6856 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6857 in order to avoid a crash if gconf is not available
6859 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6861 * src/hildon-button.c (hildon_button_set_arrangement)
6862 (hildon_button_construct_child): Don't construct the button child
6863 before setting the arrangement.
6865 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6867 * src/hildon-program-private.h
6868 * src/hildon-program.c
6869 * src/hildon-program.h
6870 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6871 (hildon_program_peek_window_stack)
6872 (hildon_program_pop_window_stack)
6873 (hildon_program_go_to_root_window): HildonProgram now has a
6874 separate list for stackable windows. Functions are provided to
6875 manage that list with a stack-like API.
6877 * src/hildon-stackable-window.c: Stackable window management is
6878 now much simpler with the new HildonProgram API. Windows no
6879 longer need to be manually added to the program, they're
6880 automatically pushed to the top of the stack when shown.
6882 * examples/hildon-stackable-window-example.c: Updated example to
6883 reflect the API changes.
6885 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6887 * src/hildon-touch-selector.c: Comment out unimplemented
6888 hildon_touch_selector_insert_column() to avoid a compile warning.
6890 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6892 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6893 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6894 (hildon_touch_selector_set_column_selection_mode),
6895 (_hildon_touch_selector_set_model),
6896 (hildon_touch_selector_set_model):
6898 Complete review of HildonTouchSelector documentation.
6900 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6902 * doc/hildon-docs.sgml
6906 * src/hildon-gtk.c: Convenience functions for standard Gtk
6907 widgets, used to easily perform frequent operations.
6909 * src/hildon-button-helpers.h
6910 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6912 * src/hildon-helper.h
6913 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6914 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6916 * src/hildon-button.h
6917 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6919 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6921 * src/hildon-button.c (hildon_button_init)
6922 (hildon_button_set_arrangement, hildon_button_construct_child):
6923 Pack the image and the labels inside the same GtkAlignment so
6924 gtk_button_set_alignment() can be used
6926 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6928 * src/hildon-button.h
6929 * src/hildon-button.c
6930 (hildon_button_init, hildon_button_set_image)
6931 (hildon_button_set_image_position)
6932 (hildon_button_construct_child): New functions to add an image to
6935 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6937 * src/hildon-date-button.c
6938 * src/hildon-picker-button.c
6939 * src/hildon-time-button.c
6940 * src/hildon-button.c:
6941 (hildon_button_class_init): "size-flags" renamed to "size"
6942 (hildon_button_set_title): Hide the title label if set to NULL.
6944 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6946 HildonButtonFlags split into HildonButtonArrangement (to set the
6947 button layout) and HildonSizeType (which can be used for any
6950 * src/hildon-button.h
6951 * src/hildon-button.c
6952 (hildon_button_class_init)
6953 (hildon_button_set_arrangement)
6954 (hildon_button_set_property): New "size-flags"
6955 property. "arrangement-flags" renamed to "arrangement".
6956 (hildon_button_new, hildon_button_new_with_text)
6957 (hildon_button_new_full): Constructors updated to reflect type changes.
6959 * src/hildon-helper.h
6960 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6961 to set the size of a widget.
6965 * src/hildon-button-helpers.c
6966 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6968 * src/hildon-date-button.c
6969 * src/hildon-date-button.h
6970 * src/hildon-picker-button.c
6971 * src/hildon-picker-button.h
6972 * src/hildon-time-button.c
6973 * src/hildon-time-button.h: Updated widgets to reflect
6974 HildonButton API changes.
6976 * examples/hildon-button-example.c
6977 * examples/hildon-date-button-example.c
6978 * examples/hildon-picker-button-example.c
6979 * examples/hildon-picker-button-multicolumn-example.c
6980 * examples/hildon-time-button-example.c
6981 * examples/hildon-touch-selector-entry-example.c
6982 * examples/hildon-touch-selector-example.c: Updated examples to
6983 reflect HildonButton API changes.
6985 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6987 * doc/hildon-docs.sgml:
6989 * examples/Makefile.am:
6990 * examples/hildon-touch-selector-entry-example.c:
6992 * src/hildon-touch-selector-entry.c:
6993 * src/hildon-touch-selector-entry.h:
6996 Moved HildonTouchSelectorEntry from sandbox. Added its
6997 documentation and examples.
6999 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7001 * src/hildon-touch-selector.h:
7002 * examples/hildon-picker-button-multicolumn-example.c:
7003 (hildon_touch_selector_append_text_column): Add a gboolean
7004 parameter to determine if text must be centered in the column.
7006 * src/hildon-date-selector.c: (hildon_date_selector_init):
7007 * src/hildon-time-selector.c: (hildon_time_selector_init):
7008 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7009 (create_touch_selector): Update widgets and example to reflect
7012 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7014 * src/hildon-touch-selector.c:
7015 (hildon_touch_selector_set_active_iter): Set also the cursor in
7018 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7020 * doc/hildon-docs.sgml
7023 * src/hildon-toggle-button.c
7024 * src/hildon-toggle-button.h
7025 * src/hildon.h: Removed HildonToggleButton widget, a derived
7026 class is not necessary for this.
7028 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7030 * src/hildon-pannable-area.c,
7031 (hildon_pannable_area_realize),
7032 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7035 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7037 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7038 "done" button the default widget for the dialog.
7040 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7042 * src/hildon-touch-selector.c:
7043 (hildon_touch_selector_class_init),
7044 (hildon_touch_selector_get_property),
7045 (_hildon_touch_selector_set_model),
7046 (_hildon_touch_selector_has_multiple_selection),
7047 (hildon_touch_selector_has_multiple_selection):
7048 Add a "has-multiple-selection" property with a virtual
7049 has_multiple_selection() method to allow derived classes to
7050 override the default value for it. See the method and property
7051 documentation for details.
7053 * src/hildon-touch-selector.h: Add the new API.
7055 * src/hildon-picker-dialog.c: (requires_done_button): Call
7056 hildon_touch_selector_has_multiple_selection() instead of
7057 determining the need for a button itself.
7059 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7061 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7062 (_hildon_touch_selector_set_model),
7063 (hildon_touch_selector_set_model): Move working code to
7064 _hildon_touch_selector_set_mode(). Call the class method instead.
7066 * src/hildon-touch-selector.h: Add (*set_model) to
7067 HildonTouchSelectorClass.
7069 Make hildon_touch_selector_set_model() a virtual method, so that
7070 derived classes can extend it and do fancy stuff with the model.
7072 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7074 * configure.ac: Set back the tarname in AC_INIT to hildon.
7076 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7080 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7081 instead of libesd (NB#86876). Volume handling is still an open issue.
7083 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7086 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7088 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7089 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7090 derived class to ease placement of an entry widget in
7091 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7092 end, where the selector columns are packed now.
7094 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7096 * src/hildon-picker-button.c: Removed the simple _text() API.
7097 * src/hildon-picker-button.h: Likewise.
7099 * src/hildon-touch-selector.h:
7100 * src/hildon-touch-selector.c:
7101 (hildon_touch_selector_new_text),
7102 (hildon_touch_selector_append_text),
7103 (hildon_touch_selector_prepend_text),
7104 (hildon_touch_selector_insert_text):
7106 Moved the simple _text() API from HildonPickerButton to
7107 HildonTouchPicker, to provide better escalability and not to tie
7108 that API to HildonPickerButton.
7110 * examples/hildon-picker-button-example.c: (main): Example updated.
7112 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7114 * src/hildon-button.c: Updated documentation.
7116 * examples/hildon-button-example.c: Add the posibility to create
7117 the buttons using horizontal layout for title and value.
7119 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7121 * src/hildon-app-menu-private.h
7122 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7123 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7124 GtkSizeGroup for the filters, use the 'homogeneous' property of
7127 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7129 * examples/hildon-button-example.c: Updated example.
7131 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7133 * doc/hildon-docs.sgml:
7136 Update documentation.
7138 * examples/Makefile.am: Update renamed examples.
7140 * examples/hildon-picker-button-multicolumn-example.c:
7141 (create_touch_selector), (main): Update after the rename.
7143 * examples/hildon-touch-picker-example.c: Removed.
7144 * examples/hildon-touch-selector-example.c: (value_changed),
7145 (create_selector), (get_visible_content), (main): Renamed from
7146 hildon-touch-picker-example.c
7148 * src/Makefile.am: Updated renamed files.
7150 * src/hildon-date-button.c: (hildon_date_button_init),
7151 (hildon_date_button_get_date), (hildon_date_button_set_date):
7152 * src/hildon-date-selector.c: (hildon_date_selector_init),
7153 (_custom_print_func), (_update_day_model),
7154 (_manage_selector_change_cb),
7155 (hildon_date_selector_select_current_date),
7156 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7157 * src/hildon-date-selector.h:
7158 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7159 (hildon_picker_button_set_property),
7160 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7161 (hildon_picker_button_init), (hildon_picker_button_new_text),
7162 (hildon_picker_button_append_text),
7163 (hildon_picker_button_prepend_text),
7164 (hildon_picker_button_insert_text),
7165 (hildon_picker_button_set_selector),
7166 (hildon_picker_button_get_selector):
7167 * src/hildon-picker-button.h:
7168 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7169 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7170 (_update_title_on_selector_changed_cb), (requires_done_button),
7171 (_hildon_picker_dialog_set_selector),
7172 (hildon_picker_dialog_set_selector),
7173 (hildon_picker_dialog_get_selector):
7174 * src/hildon-picker-dialog.h:
7175 * src/hildon-time-button.c: (hildon_time_button_init),
7176 (hildon_time_button_get_time), (hildon_time_button_set_time):
7177 * src/hildon-time-selector.c: (hildon_time_selector_init),
7178 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7179 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7180 * src/hildon-time-selector.h:
7183 Massive code updates after the rename.
7185 * src/hildon-touch-picker.c: Removed.
7186 * src/hildon-touch-picker.h: Removed.
7188 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7189 (hildon_touch_selector_init), (hildon_touch_selector_map),
7190 (hildon_touch_selector_remove), (_default_print_func),
7191 (_selection_changed_cb), (_create_new_column),
7192 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7193 (hildon_touch_selector_append_text_column),
7194 (hildon_touch_selector_remove_column),
7195 (hildon_touch_selector_set_column_attributes),
7196 (hildon_touch_selector_insert_column),
7197 (hildon_touch_selector_get_num_columns),
7198 (hildon_touch_selector_get_column_selection_mode),
7199 (hildon_touch_selector_set_column_selection_mode),
7200 (hildon_touch_selector_set_print_func),
7201 (hildon_touch_selector_get_print_func),
7202 (hildon_touch_selector_get_active_iter),
7203 (hildon_touch_selector_set_active_iter),
7204 (hildon_touch_selector_get_selected_rows),
7205 (hildon_touch_selector_get_model),
7206 (hildon_touch_selector_set_model),
7207 (hildon_touch_selector_get_current_text),
7208 (_hildon_touch_selector_center_on_selected_items):
7209 * src/hildon-touch-selector.h: Renamed from
7210 hildon-touch-picker.[ch]
7212 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7213 references, code examples, and related documentation.
7215 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7217 * doc/hildon-docs.sgml
7220 * src/hildon-toggle-button.c
7221 * src/hildon-toggle-button.h
7222 * src/hildon.h: New HildonToggleButton widget.
7224 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7226 * src/hildon-button.c: Add API documentation.
7227 (hildon_button_set_size_groups): Check input parameters
7229 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7231 * src/hildon-pannable-area.c
7232 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7233 effect after reaching the movement thredshold. This way we start
7234 using the distance after passing the thredshold.
7236 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7238 * src/hildon-button.c: (hildon_button_set_property): Use the
7239 appropriate g_value_get_flags() method.
7241 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7243 * doc/hildon-docs.sgml:
7246 Add the touch pickers, picker dialogs, and picker button widgets
7247 to the documentation.
7249 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7251 * src/hildon-button.c: (hildon_button_set_property),
7252 (hildon_button_class_init): Make "arrangement-flags" a proper
7253 G_TYPE_FLAGS derived property.
7255 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7257 * examples/Makefile.am: Add below examples.
7258 * examples/hildon-date-button-example.c:
7259 * examples/hildon-picker-button-example.c:
7260 * examples/hildon-picker-button-multicolumn-example.c:
7261 * examples/hildon-time-button-example.c:
7262 * examples/hildon-touch-picker-example.c:
7264 Add examples for the recently added touch pickers,
7265 picker dialogs, and picker button widgets.
7267 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7269 * src/hildon-button.c: Add some API documentation
7271 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7273 * src/hildon-button.h
7274 * src/hildon-button.c
7276 (hildon_button_new_with_text): New constructor to create a button
7277 with no text at all.
7278 (hildon_button_init, hildon_button_set_arrangement)
7279 (hildon_button_set_title, hildon_button_set_value)
7280 (hildon_button_set_text)
7281 (hildon_button_construct_child): Hide the value when it's not used
7282 so the rest of the text is properly aligned.
7283 Allow creating buttons with arbitrary widgets inside (not just
7284 title/value labels).
7286 * examples/hildon-button-example.c (vertical_buttons_window)
7287 (horizontal_buttons_window): Update example to use new API.
7289 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7291 * src/Makefile.am: Added HildonTimeButton.
7292 * src/hildon-time-button.c: Added missing LGPL header.
7293 * src/hildon-time-button.h: Added missing LGPL header.
7294 * src/hildon.h: Add hildon-time-button.h
7296 Copied HildonTimeButton from sandbox to trunk. Future work on this
7297 widget must take place in trunk.
7299 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7301 * src/Makefile.am: Added HildonDateButton.
7302 * src/hildon-date-button.c: Update includes.
7303 * src/hildon.h: Add hildon-date-button.h
7305 Copied HildonDateButton from sandbox to trunk. Future work on this
7306 widget must take place in trunk.
7308 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7310 * src/Makefile.am: Added HildonPickerButton.
7311 * src/hildon-picker-button.h: Update includes.
7312 * src/hildon.h: Add hildon-picker-button.h
7314 Copied HildonPickerButton from sandbox to trunk. Future work on
7315 this widget must take place in trunk.
7317 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7319 * src/Makefile.am: Added HildonPickerDialog.
7320 * src/hildon-picker-dialog.c: Update includes.
7321 * src/hildon.h: Add hildon-picker-dialog.h
7323 Copied HildonPickerDialog from sandbox to trunk. Future work
7324 on this widget must take place in trunk.
7326 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7328 * src/Makefile.am: Added HildonTimeSelector.
7329 * src/hildon.h: Add hildon-time-selector.h
7331 Copied HildonTimeSelector widget from sandbox to trunk. Future
7332 work on this widget must happen in trunk.
7334 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7336 * src/Makefile.am: Added HildonDateSelector.
7337 * src/hildon.h: Add hildon-date-selector.h
7339 Copied HildonDateSelector widget from sandbox to trunk. Future
7340 work on this widget must happen in trunk.
7342 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7344 * src/Makefile.am: Added HildonTouchPicker.
7345 * src/hildon-touch-picker.c: Update includes.
7346 * src/hildon.h: Add hildon-touch-picker.h
7348 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7349 on this widget must happen in trunk.
7351 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7353 * src/hildon-pannable-area.c:
7354 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7356 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7358 * examples/hildon-app-menu-example.c (main): Let the window
7361 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7363 * src/hildon-pannable-area.c
7364 (hildon_pannable_area_class_init): Set the min value of the
7365 overshoot properties to zero, which points out that not
7366 overshooting allowed.
7368 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7370 Modified the procedure to get the widget at a point inside the
7371 pannable area when using the movement type signals. Now the user
7372 has to call a function to get the child, that way we just
7373 calculate the child in case the user really want to use it and not
7376 * src/hildon-marshalers.list: Modified the marshallers, now we do
7377 not have the widget as a parameter.
7379 * src/hildon-pannable-area.c
7380 (hildon_pannable_area_motion_notify_cb),
7381 (hildon_pannable_area_class_init),
7382 (hildon_pannable_get_child_widget_at): Removed the widget
7383 parameter from the signal callback. We have also refactored the
7384 emission of the signals.
7386 * src/hildon-pannable-area.h: Added a new method to the API to
7387 calculate a widget at a point inside the pannable area,
7388 hildon_pannable_get_child_widget_at.
7390 * examples/hildon-pannable-area-example-4.c
7391 (horizontal_movement): Modified the example to use the new API,
7392 added condition to control which widget is under the event. This
7393 way we can avoid scrolling laterally over other widgets.
7395 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7397 * src/hildon-pannable-area.c
7398 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7399 modes, we stop getting the pointer events due to returning the
7400 callback without properly calling the get pointer again. Fixed
7401 also an error using the hscroll and vscroll.
7403 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7405 * src/hildon-app-menu-private.h
7406 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7407 (hildon_app_menu_button_release, hildon_app_menu_init)
7408 (hildon_app_menu_class_init): Don't hide the menu on button
7409 release if the user didn't press outside first.
7411 * src/hildon-window.h
7412 * src/hildon-window.c (hildon_window_toggle_menu)
7413 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7414 hildon_window_toggle_menu a virtual function for the stackable
7415 window to override it.
7417 * src/hildon-stackable-window.h
7418 * src/hildon-stackable-window-private.h
7419 * src/hildon-stackable-window.c
7420 (hildon_stackable_window_realize)
7421 (hildon_stackable_window_finalize)
7422 (hildon_stackable_window_class_init)
7423 (hildon_stackable_window_init)
7424 (hildon_stackable_window_set_main_menu): New function to set the
7425 app menu of a HildonStackableWindow.
7427 * examples/hildon-app-menu-example.c: Remove the button to show
7428 the app menu, now it'll be shown when clicking on the title bar
7431 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7433 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7434 set the widget name if the arrangement flags do not specify
7437 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7439 * src/hildon-button.c: (hildon_button_set_property),
7440 (hildon_button_class_init), (hildon_button_new_full),
7441 (hildon_button_set_arrangement): Added "arrangement-flags"
7444 Make the HildonButtonFlags a construction-only property, to allow
7445 subclasses to set them properly.
7447 2008-07-21 Tim Janik <timj@imendio.com>
7449 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7450 insertion position after backspace, so additional digits are appended,
7453 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7455 * src/hildon-pannable-area.c,
7456 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7457 TODO list, it was complete and removed the g_debug and g_print
7460 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7462 Added the movement modes to the hildon-pannable-area, with this
7463 modes the developers can control in which directions the widget
7464 can scroll. They can also connect to signals in order to do
7465 something when that happens, allowing applications scroll. There
7466 is an example uploaded showing how to use it.
7468 * examples/Makefile.am:
7469 * examples/hildon-pannable-area-example-4.c: Added this example of
7470 an application using the modes.
7472 * src/hildon-marshalers.list: Added a new marshaller for the new
7475 * src/hildon-pannable-area.h: Added new enumerations and flags in
7476 order to control the movement modes and the new signals to warn
7477 about the movements in the area.
7479 * src/hildon-pannable-area.c:
7480 (hildon_pannable_axis_scroll),
7481 (hildon_pannable_area_scroll),
7482 (hildon_pannable_area_motion_notify_cb),
7483 (hildon_pannable_area_get_property),
7484 (hildon_pannable_area_set_property),
7485 (hildon_pannable_area_map),
7486 (hildon_pannable_area_class_init),
7487 (hildon_pannable_area_init),
7488 (hildon_pannable_area_jump_to): Added the modes to control the
7489 movement in the widget. We have added properties to control it,
7490 signals to warn about the movements and refactored some code.
7492 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7494 Changes required in order to allow vfast_factor set to zero to
7497 * src/hildon-pannable-area.c:
7498 (hildon_pannable_area_button_press_cb): Changed the condition, it
7499 is required for not allowing click when vfast_factor is zero.
7500 (hildon_pannable_area_timeout): Initialized velocity variables
7501 when we stop moving, it was less than 1 but not zero and we need
7502 to check zero in some situations.
7503 (hildon_pannable_area_class_init): Changed the default value of
7504 the speed factor, now the button_press is just sent in case the
7505 speed is 2 per cent of the max speed.
7506 (hildon_pannable_area_init): Initialization with 0.
7508 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7510 * src/hildon-pannable-area.c,
7511 (hildon_pannable_area_get_topmost): replaced
7512 gdk_window_get_children with gdk_window_peek_children, this way we
7513 do not have to free the list because it is not a copy.
7515 (hildon_pannable_axis_scroll),
7516 (hildon_pannable_area_scroll),
7517 (hildon_pannable_area_timeout),
7518 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7519 two parameters that were only used inside the
7520 hildon_pannable_area_scroll function.
7522 * examples/hildon-pannable-area-example.c,
7523 (get_sawtooth_label): Fixed small memory leak.
7525 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7527 More checks for the case where the overshoot is bigger than the
7530 * src/hildon-pannable-area.c:
7531 (hildon_pannable_draw_vscroll),
7532 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7533 to draw the slider of the scrollbar under the other scrollbar.
7534 (hildon_pannable_area_expose_event): added new checks to control
7535 the drawing of the overshooting area rectangle, in case it is too
7536 big for the area of the widget.
7537 (hildon_pannable_area_size_allocate): add more checks to avoid
7538 setting a position to the child widget outside the area.
7540 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7542 * src/hildon-pannable-area.c
7543 (hildon_pannable_area_size_allocate): Added conditions to control
7544 when overshooting is bigger than the allocated space for the
7545 children, this avoids negative allocations.
7547 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7549 * doc/hildon-docs.sgml
7551 * examples/Makefile.am
7552 * examples/hildon-button-example.c
7554 * src/hildon-button.c
7555 * src/hildon-button.h
7556 * src/hildon.h: Initial version of the new HildonButton widget,
7559 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7561 * src/hildon-pannable-area.c:
7562 (hildon_pannable_area_button_press_cb),
7563 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7564 (hildon_pannable_area_motion_notify_cb),
7565 (hildon_pannable_area_button_release_cb),
7566 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7567 (hildon_pannable_area_jump_to_child):
7569 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7571 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7573 * examples/Makefile.am
7574 * examples/hildon-pannable-area-touch-grid-example.c
7575 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7576 the Hildon Touch List and Hildon Touch Grid using the
7577 HildonPannableArea widget.
7579 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7581 * src/hildon-pannable-area.c,
7582 (hildon_pannable_area_button_press_cb),
7583 (hildon_pannable_area_refresh),
7584 (hildon_pannable_area_scroll),
7585 (hildon_pannable_area_motion_notify_cb),
7586 (hildon_pannable_area_button_release_cb),
7587 (hildon_pannable_area_expose_event),
7588 (hildon_pannable_area_add),
7589 (hildon_pannable_area_remove),
7590 (hildon_pannable_area_realize),
7591 (hildon_pannable_area_size_allocate),
7592 (hildon_pannable_area_class_init),
7593 (hildon_pannable_area_init),
7594 (hildon_pannable_area_scroll_to_child),
7595 (hildon_pannable_area_jump_to_child): Fixed the problem of
7596 removing the child from the GtkBin, we have rearranged the widget
7597 hierarchy, now there is no GtkAlignment which was not doing
7598 anything interesting but breaking some of the assumptions of
7599 GtkContainer. Now developers if they want to add a GtkAlignment
7600 they could, but it is not inside the area.
7602 We had to review the whole allocation/expose process, now it is
7603 improved and we save at least three signals which would be saving
7604 some time when rendering the widget. The allocation of the
7605 scrollbars is now made in the allocate method as usual.
7607 We have also added some conditions in order to control when there
7608 is no child of the pannable area. Maybe we will need more work
7611 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7613 * src/hildon-pannable-area.c,
7614 (hildon_pannable_area_dispose): Released the fade-out timeout when
7615 disposing the widget.
7617 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7619 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7620 zero, we are going to use that property in order to deactivate the
7622 (hildon_pannable_axis_scroll),
7623 (hildon_pannable_area_size_allocate): Added conditions to control
7624 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7625 call, now it is called in all situations and we can remove calls
7626 in the allocate method.
7627 (hildon_pannable_area_map): Control the situation when
7628 overshoot_max is zero, we do not need the timeout.
7629 (hildon_pannable_area_class_init): Added documentation in order to
7630 point out that setting zero to overshoot_max means deactivate
7633 NOTE: removed trailing whitespaces from my previous comments of
7636 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7638 * src/hildon-pannable-area.c
7639 (hildon_pannable_area_get_property),
7640 (hildon_pannable_area_set_property),
7641 (hildon_pannable_area_map),
7642 (hildon_pannable_area_class_init),
7643 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7644 to cause the widget give a hint about its panning abilities upon
7647 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7649 * src/hildon-pannable-area.c: Several documentation improvements.
7651 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7653 * src/hildon-program.c
7654 * src/hildon-stackable-window.c: Update documentation.
7656 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7658 * src/hildon-stackable-window.c (get_previous_window_if_last):
7659 Renamed get_last_window()
7660 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7661 (hildon_stackable_window_unset_program):
7663 (get_previous_window_if_last):
7664 Detect if the window hasn't been added to a HildonProgram.
7666 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7668 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7670 * src/hildon-pannable-area.c
7671 (hildon_pannable_area_button_press_cb),
7672 (hildon_pannable_axis_scroll),
7673 (hildon_pannable_area_scroll),
7674 (hildon_pannable_area_timeout),
7675 (hildon_pannable_calculate_vel_factor),
7676 (hildon_pannable_area_get_property),
7677 (hildon_pannable_area_set_property),
7678 (hildon_pannable_area_class_init),
7679 (hildon_pannable_area_init),
7680 (hildon_pannable_area_scroll_to),
7681 (hildon_pannable_area_jump_to),
7682 (hildon_pannable_area_scroll_to_child),
7683 (hildon_pannable_area_jump_to_child):
7684 * src/hildon-pannable-area.h: Added the new API functions:
7685 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7686 hildon_pannable_area_scroll_to_child,
7687 hildon_pannable_area_jump_to_child
7690 * examples/Makefile.am
7691 * examples/hildon-pannable-area-example-2.c
7692 * examples/hildon-pannable-area-example-3.c: Added these two new
7693 examples in order to test and show how the new APIs work.
7695 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7697 * examples/hildon-stackable-window-example.c (new_window):
7698 * src/Makefile.am (noinst_HEADERS):
7699 * src/hildon-program.c (hildon_program_go_to_root_window):
7700 * src/hildon-program.h:
7701 * src/hildon-stackable-window-private.h:
7702 * src/hildon-stackable-window.c:
7703 * src/hildon-stackable-window.h:
7704 Create hildon-stackable-window-private.h
7705 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7707 * examples/hildon-app-menu-example.c (create_menu):
7708 * examples/hildon-hvolumebar-insensitive-example.c (main):
7709 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7710 * examples/hildon-toolbar-seekbar-example.c (main):
7711 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7712 * src/hildon-banner.c (hildon_banner_set_property):
7713 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7714 Fix compilation warnings
7716 * src/hildon-window.c:
7719 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7721 * src/hildon-stackable-window.c
7722 (hildon_stackable_window_unset_program):
7723 Calculate correctly whether to show the previous window if the
7724 last one is removed from the stack.
7725 (hildon_stackable_window_go_to_root_window):
7726 Send delete events starting from the topmost window.
7727 Stop if one of the windows is not destroyed.
7729 (hildon_stackable_window_delete_event)
7730 (hildon_stackable_window_class_init):
7731 Ignore the delete event if the window is not the topmost one.
7733 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7735 * src/hildon-pannable-area.c
7736 (hildon_pannable_area_expose_event): Fixed a problem when
7737 selecting the background color of the scrollbars.
7739 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7741 * examples/hildon-stackable-window-example.c
7742 * src/hildon-stackable-window.c
7743 * src/hildon-stackable-window.h
7744 hildon_stackable_window_go_home() renamed to
7745 hildon_stackable_window_go_to_root_window()
7746 Send delete events to windows rather than closing them with
7747 gtk_widget_destroy()
7749 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7751 * src/hildon-pannable-area.c
7752 (hildon_pannable_area_button_release_cb): Fix overshooting in
7755 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7757 * src/hildon-pannable-area.c
7758 (hildon_pannable_area_init): Initially show the scroll indicators.
7759 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7761 Add initial effect showing the widget is pannable.
7763 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7765 * src/hildon-pannable-area.c
7766 (hildon_pannable_area_class_init)
7767 (hildon_pannable_area_set_property)
7768 (hildon_pannable_area_get_property)
7769 (hildon_pannable_area_button_press_cb):
7770 New 'velocity_fast_factor' property to decide which velocity is
7773 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7775 * src/hildon-pannable-area.c
7776 (hildon_pannable_draw_hscroll)
7777 (hildon_pannable_draw_vscroll):
7778 Use float variables to calculate the size of the scrollbars to
7779 avoid error propagation and resizing during scrolling.
7781 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7783 * src/hildon-pannable-area.c
7784 (hildon_pannable_draw_vscroll)
7785 (hildon_pannable_draw_hscroll):
7786 Define a minimum size for the scroll bars
7788 * src/hildon-stackable-window.c
7789 (hildon_stackable_window_go_home): Fix compilation warning
7790 (get_last_window): Minor optimizations
7791 (hildon_stackable_window_class_init): Fix initialization of
7794 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7796 * src/hildon-stackable-window.c: Fixed typos in doc
7798 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7800 * src/hildon-pannable-area.c
7801 (hildon_pannable_area_scroll):
7802 Calculate here whether we need to scroll instead of using the booleans
7803 that tell us whether to /draw/ the scrolling bars.
7805 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7807 * src/hildon-app-menu.h
7809 * src/hildon-app-menu.c
7810 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7811 multiple filter groups related code and API. Now we support only
7813 * examples/hildon-app-menu-example.c:
7815 Update to reflect API changes.
7817 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7819 * src/hildon-stackable-window.c
7820 (hildon_stackable_window_class_init):
7821 Add hildon_stackable_window_realize.
7822 (hildon_stackable_window_realize):
7823 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7824 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7825 to apply theming and behavior specific to HildonStackableWindow
7828 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7830 * src/hildon-note.c (hildon_note_button_release):
7831 Close information notes also when tapping on them
7833 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7835 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7836 ELASTICITY, refactor and review, fix some issues with drawing
7839 * src/hildon-pannable-area.c:
7840 (hildon_pannable_area_button_press_cb): removed the conditions to
7841 avoid clicks when overshooting. It is not required
7843 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7844 define. Refatored and reviewed the code, now we do not need to
7845 manage velocity in motion_notify.
7847 (hildon_pannable_area_motion_notify_cb): We have moved the code
7848 that controls the area_scroll to the axis_scroll function and get
7849 rid of duplicated code.
7851 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7853 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7855 (hildon_pannable_draw_vscroll),
7856 (hildon_pannable_draw_hscroll): Fixed the problems with the
7857 scrollbar drawing, now we do not use two surfaces, it is easier
7858 and saves resources.
7860 (hildon_pannable_area_get_property): Style modification.
7862 (hildon_pannable_area_class_init): Changed some default values.
7864 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7866 * src/hildon-stackable-window.c: Fix some typos in the
7869 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7871 * src/hildon-dialog.c:
7872 Change indentation style
7875 (hildon_note_button_release):
7876 Use root coordinates to check if the release event happened
7879 * src/hildon-app-menu.c
7880 (hildon_app_menu_button_release):
7881 Remove unnecessary check
7883 * examples/hildon-app-menu-example.c
7885 Add cast to fix warning
7887 * src/hildon-app-menu.c
7888 (hildon_app_menu_class_init):
7889 New inner-border style property.
7890 Set all default spacings to 16
7891 (hildon_app_menu_init):
7892 Use vertical-spacing to set the space between filter buttons and
7893 regular menu buttons.
7894 Set the default container border using the inner-border value.
7896 * examples/hildon-app-menu-example.c
7898 Don't set the menu border explicitly, now we have the inner-border
7899 style property for that.
7901 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7903 * src/hildon-app-menu.c (hildon_app_menu_init):
7904 Make the window modal
7906 * src/hildon-note.c (hildon_note_map)
7907 * src/hildon-app-menu.c (hildon_app_menu_map):
7908 Destroy the grab window if we're unable to grab the pointer
7910 * src/hildon-app-menu-private.h
7911 * src/hildon-app-menu.c
7912 (hildon_app_menu_init, hildon_app_menu_finalize)
7913 (hildon_app_menu_map, hildon_app_menu_unmap)
7914 (hildon_app_menu_button_release)
7915 (grab_transfer_window_get):
7916 Bring back the grab window
7917 (hildon_app_menu_realize):
7918 Decorate the window, set WM hint for Matchbox
7920 * src/hildon-note.c (hildon_note_realize):
7921 * src/hildon-banner.c (hildon_banner_realize):
7922 Add WM hints for Matchbox
7924 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7926 * src/hildon-app-menu-private.h
7927 * src/hildon-app-menu.c
7928 (hildon_app_menu_init, hildon_app_menu_finalize)
7929 (hildon_app_menu_map, hildon_app_menu_unmap)
7930 (hildon_app_menu_button_release):
7931 Remove the grab window, it's not needed anymore
7933 * src/hildon-program.c
7934 Fixed typo in documentation
7936 * src/hildon-app-menu.h
7937 * src/hildon-app-menu.c
7938 * examples/hildon-app-menu-example.c
7939 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7941 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7944 Added new transfer_window and close_if_pressed_outside private
7946 (hildon_note_rebuild):
7947 Don't add a cancel button to the information note. It will be
7948 closed when tapping outside
7949 Remove the comment about the OK button in the documentation
7950 (hildon_note_realize):
7951 Set the notification type hint
7952 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7953 Grab/ungrab pointer and keyboard if the note has to be closed when
7955 (hildon_note_button_release):
7956 Close the note when tapping outside (if applicable)
7958 * src/hildon-app-menu.c
7959 Grab/ungrab pointer and keyboard on map/unmap
7960 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7961 Close the menu on button release, not button press
7963 * src/hildon-banner.c
7964 (hildon_banner_set_property)
7965 (hildon_banner_check_position):
7966 Make the banner use the full width of the screen
7967 (hildon_banner_show_information)
7968 (hildon_banner_show_information_with_markup):
7969 Don't display an icon by default
7971 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7973 Added fading scrollbars and adapted all the overshooting code to
7974 horizontal scrolling. We have also fixed bugs with overshooting
7975 and current fading implementation.
7977 * src/hildon-pannable-area.c
7978 (hildon_pannable_area_scroll_indicator_fade): Time out function
7979 used to change the transparency of the scrollbars.
7981 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7982 control and fixed a problem with fading, we now remove the fade
7983 timeout before adding a new one.
7985 (hildon_pannable_axis_scroll):
7986 (hildon_pannable_area_scroll):
7987 (hildon_pannable_area_timeout): Added this functions so we can use
7988 the scroll code both for vertical and horizontal.
7990 (hildon_pannable_area_motion_notify_cb):
7991 (hildon_pannable_area_button_release_cb): Added the horizontal
7992 scrolling control, fixed a problem with the overshooting timeout.
7994 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7995 painting of the scrolls.
7997 (hildon_pannable_draw_vscroll):
7998 (hildon_pannable_draw_hscroll):
7999 (hildon_pannable_area_expose_event):
8000 Draw both scrollbars and rectangles in the overshooting area.
8002 (hildon_pannable_area_get_property):
8003 (hildon_pannable_area_set_property):
8004 Modified the overshoot property to overshoot_max
8006 (hildon_pannable_area_map):
8007 Replaced the comments symbols.
8009 (hildon_pannable_area_size_allocate):
8010 (hildon_pannable_area_class_init):
8011 (hildon_pannable_area_init): Added horizontal scroll, fading
8012 effect properties, fixed a problem when overshooting in the bottom
8015 * examples/hildon-pannable-area-example.c:
8016 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8017 looks better in the example.
8019 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8021 * src/hildon-window.c
8022 * src/hildon-window.h
8023 (hildon_window_class_init)
8024 (hildon_window_unset_program)
8025 (hildon_window_unset_program_real):
8026 Make unset_program a virtual function
8028 * src/hildon-stackable-window.c
8029 * src/hildon-stackable-window.h
8030 Added hildon_stackable_window_go_home()
8032 * examples/Makefile.am
8033 * examples/hildon-stackable-window-example.c
8034 HildonStackableWindow example
8036 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8038 * hildon-pannable-area.c: Added the overshoot property and removed
8039 the OVERSHOOT define. Fixed an indent style error.
8040 (hildon_pannable_area_motion_notify_cb):
8041 (hildon_pannable_area_get_property):
8042 (hildon_pannable_area_set_property): Add overshoot property.
8044 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8047 (hildon_pannable_area_class_init): Installed the new property.
8049 * hildon-pannable-area-example.c: Added a sawtooth function, this
8050 way it is easier to check the movement in the pannable.
8051 (get_sawtooth_label): Added this function.
8052 (main): Now we get the labels from the new get_sawtooth_label
8055 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8057 * src/hildon-app-menu.h
8058 * src/hildon-app-menu.c
8059 Renamed API variables for consistency
8061 (hildon_app_menu_popup): Use also the default window size to
8062 decide where to place the menu
8064 (hildon_app_menu_init, hildon_app_menu_class_init): New
8065 external-border style property
8067 2008-05-26 Michael Natterer <mitch@imendio.com>
8069 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8070 widget_class->tap_and_hold_setup signal slot doesn't exist any
8071 longer, stop overriding it.
8073 (hildon_time_editor_init): g_signal_connect() to the
8074 tap-and-hold-setup signal instead.
8076 (hildon_time_editor_entry_keypress): add cast to fix warning.
8078 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8080 * doc/hildon-docs.sgml
8082 * examples/Makefile.am
8083 * examples/hildon-app-menu-example.c
8085 * src/hildon-app-menu-private.h
8086 * src/hildon-app-menu.c
8087 * src/hildon-app-menu.h
8089 New HildonAppMenu widget
8091 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8093 Rearranged the inheritance of the pannable area, now it inherits
8094 from GtkBin. This will allow us to control the event_window and
8095 the allocation process of the widget, required for some effects.
8097 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8098 GtkBin structures. * src/hildon-pannable-area.c: Added the
8099 event_window variable.
8100 (hildon_pannable_area_button_press_cb):
8101 (hildon_pannable_area_button_release_cb):
8102 (hildon_pannable_area_motion_notify_cb):
8103 Changed the signature of the method, now we override the event
8104 callback instead of connecting to the signal.
8106 (hildon_pannable_area_realize):
8107 (hildon_pannable_area_unrealize):
8108 (hildon_pannable_area_map):
8109 (hildon_pannable_area_unmap):
8110 (hildon_pannable_area_size_allocate):
8111 Added functions to control the widget construction. We add a
8112 INPUT_ONLY window and we put it over the widgets inside the
8113 container, this event_window handles the events.
8115 (hildon_pannable_area_class_init):
8116 Replaced the signal connections with overrides of the event
8119 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8121 Bouncing effect added when touching the borders, you can change
8122 the elasticity of the border changing the ELASTICITY define.
8124 * src/hildon-pannable-area.c: Added ELASTICITY define.
8125 (hildon_pannable_area_timeout): Added inverse velocity when
8126 touching the border of the child widget, that causes a bounce.
8128 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8130 Improved performance, we now do not go to the X server in order to
8131 get the list of window children. Apparently the effect is the
8132 same, we have to be careful and check if this breaks something in
8135 * src/hildon-pannable-area.c:
8136 (get_ordered_children): Removed this function.
8137 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8138 the children windows function with gdk_window_get_children.
8140 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8142 * src/hildon-pannable-area.c:
8143 (hildon_pannable_area_dispose): Fixed a crash when closing the
8144 window and kinetics is activated.
8146 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8148 * src/hildon-pannable-area.h
8149 * src/hildon-pannable-area.c
8150 Changed indentation style to meet the one used in Hildon
8152 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8154 Reviewed the interaction of the AUTO mode, now we use the time
8155 attribute of the events and calculate the velocity in the motion,
8156 doing a gimp like calculation. The velocity is calculated in each
8157 motion event using the last velocity and the current one, the
8158 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8160 * src/hildon-pannable-area.c: Replaced the time based algorithm
8162 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8163 timeout for the AUTO mode when we are still moving the cursor. We
8164 added also the velocity calculation in this function.
8165 (hildon_pannable_area_button_release_cb): launch the timeout in
8166 case we are in AUTO mode. There are still some constants here that
8167 come from the old implementation that should be reviewed and
8170 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8172 * doc/hildon-docs.sgml
8175 * src/hildon-stackable-window.c
8176 * src/hildon-stackable-window.h
8178 New HildonStackableWindow widget
8180 * examples/hildon-dialog-example.c
8181 * examples/hildon-pannable-area-example.c
8184 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8186 * src/hildon-dialog.c
8187 (hildon_dialog_new_with_buttons): New constructor.
8189 * examples/hildon-dialog-example.c
8190 (main): Update the example to use the new
8191 hildon_dialog_new_with_buttons().
8193 * examples/hildon-pannable-area-example.c
8194 (main): Update example.
8196 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8198 * doc/hildon-docs.sgml
8200 Added HildonPannableArea to the documentation.
8202 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8204 * doc/visual_index.xml
8205 Fix reference to HildonLoginDialog in documentation
8207 * doc/hildon-docs.sgml
8209 * examples/Makefile.am
8210 * examples/hildon-dialog-example.c
8212 * src/hildon-dialog.c
8213 * src/hildon-dialog.h
8215 New HildonDialog widget.
8217 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8219 * src/hildon-pannable-area.c
8220 Merge latest changes (r4318, r4342) from libmokoui trunk
8222 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8224 * examples/Makefile.am
8225 * examples/hildon-pannable-area-example.c
8227 * src/hildon-pannable-area.c
8228 * src/hildon-pannable-area.h
8230 New HildonPannableArea widget.
8232 2008-04-15 18:05:19 <timj@imendio.com>
8234 * src/hildon-banner.c: revert the recent change, that introduced
8235 gtk_window_present() calls. this reopens:
8236 Bug 78481 - [freetest] information banners are hidden under browser menu
8237 But resolves another variant of:
8238 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8240 2008-04-15 13:21:13 <timj@imendio.com>
8242 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8243 recreated its layout, spotted by Kris. this fixes all remaining
8244 artefacts and stability issues with the banner code. in particular:
8245 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8247 2008-04-14 16:52:59 <timj@imendio.com>
8249 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8250 operating on unrealized widgets, fixes:
8251 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8253 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8255 2008-04-09 Kristian Rietveld <kris@imendio.com>
8257 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8258 makes banner disappear.
8259 Fixes: NB#79182: info banner flickering with certain message lengts.
8261 * src/hildon-banner.c (hildon_banner_constructor),
8262 (hildon_banner_init), (hildon_banner_set_text),
8263 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8264 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8265 FALSE, reset size requests of label and banner,
8266 (force_to_wrap_truncated): when the text is too wide, always enforce
8267 the maximum possible width instead of recalculating it from the
8268 layout; enforce the maximum banner height of 3 lines,
8269 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8270 nicer wrapping and no truncated chars if space gets tight.
8272 * src/hildon-banner-private.h: add has_been_wrapped and
8273 has_been_truncated fields.
8275 2008-04-07 Sven Herzberg <sven@imendio.com>
8277 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8278 local values in hildon_date_editor_size_allocate
8280 * src/hildon-date-editor.c: moved the real allocation code into the
8283 2008-04-07 Sven Herzberg <sven@imendio.com>
8285 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8286 local values in hildon_date_editor_size_allocate
8288 * src/hildon-date-editor.c: merged the two if() branches together
8290 2008-04-07 Sven Herzberg <sven@imendio.com>
8292 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8293 local values in hildon_date_editor_size_allocate
8295 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
8304 from the real allocation
8306 2008-03-27 Michael Natterer <mitch@imendio.com>
8308 Fixes: NB#81696: The passcode is not overwritten even after
8311 * src/hildon-code-dialog.c
8312 (hildon_code_dialog_button_clicked)
8313 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8314 because that doesn't overwrite selected text. Instead, emit the
8315 "commit" signal on the entry's im_context so the entry's normal
8316 insert logic is triggered. Set the cursor to the end of the entry
8317 after each insert operation so that we *only* insert in the middle
8318 of the text if something was selected.
8320 2008-03-27 Michael Natterer <mitch@imendio.com>
8322 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8323 selector cannot be opened
8325 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8326 when the popup color selector is created. Please connect to this
8327 signal in order to set the dialog's help ID.
8329 2008-03-25 Sven Herzberg <sven@imendio.com>
8331 Fixes: MB#1212: Hide info banners (infoprints) on click
8333 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8334 extracted the close event simulation into an extra function
8335 (hildon_banner_button_press_event): simulate a close event and destroy
8336 the widget if the event wasn't handled
8337 (hildon_banner_class_init): added the button_press_event handler
8338 (hildon_banner_init): added button-press events to the widget
8340 2008-03-25 Sven Herzberg <sven@imendio.com>
8342 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8343 Patch from: Mohammad Anwari <mdamt@maemo.org>
8345 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8346 instead of the right in RTL mode
8347 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8348 breadcrumb button list in RTL mode
8349 * src/hildon-caption.c: mirror the appearance of the caption widget in
8351 * src/hildon-date-editor.c: mirror appearance of the date editor in
8353 * src/hildon-time-editor.c: mirror appearance of the time editor in
8355 * src/hildon-window.c: fix the position of the popup in RTL mode
8357 2008-03-25 Sven Herzberg <sven@imendio.com>
8359 Amendment to the fix of NB#22072. Fix compilation.
8361 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8363 2008-03-19 Sven Herzberg <sven@imendio.com>
8365 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8368 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8369 timeout id properly when the timeout will disappear this leaves no
8370 artifacts around in the destroy(); there will only be the timeout
8371 created by hildon_banner_ensure_timeout() and adding a new timeout
8372 will also work if the timeout gets removed because the timeout_handler
8375 2008-03-19 Michael Natterer <mitch@imendio.com>
8377 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8379 * src/hildon-volumebar.c
8380 * src/hildon-vvolumebar.c
8381 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8382 the widget becomes focussable at all.
8384 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8385 set the focus to wither the mute button or the volumebar.
8387 Remove own "can-focus" property and instead listen to
8388 notify::can-focus in order to update the widget's state.
8390 Implement GtkWidget::focus() and make sure we can also *leave* the
8391 widget, not only enter it, depending on volumebar orientation and
8392 requested focus direction.
8394 Clean up set_mute() to cooperate nicely with all the above.
8396 2008-03-04 Michael Natterer <mitch@imendio.com>
8398 Fixes: NB#78481: information banners are hidden under browser menu
8400 * src/hildon-banner.c: call gtk_window_present() on the banners so
8401 they are risen if they are already visible.
8403 2008-03-03 Sven Herzberg <sven@imendio.com>
8405 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8407 * examples/hildon-window-menu-example.c: (main): extended the window
8408 menu example to serve as a testcase for automatically added
8409 accelerator groups, too
8410 * src/hildon-window.c: (hildon_window_add_accel_group),
8411 (hildon_window_set_menu): added patch by Tommi Komulainen
8413 2008-03-03 Sven Herzberg <sven@imendio.com>
8415 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8417 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8418 knowledge about the border allocators used within GTK+
8420 2008-02-26 Sven Herzberg <sven@imendio.com>
8422 Fixes: MB#2981: Build with asserts broken
8424 * src/hildon-date-editor.c,
8425 * src/hildon-number-editor.c,
8426 * src/hildon-time-editor.c,
8427 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8428 the proper GType instance check
8430 2008-02-25 Sven Herzberg <sven@imendio.com>
8432 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8434 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8435 * examples/hildon-window-menu-example.c: (main): explicitly show
8437 * src/hildon-window.c:
8438 (hildon_window_set_main_menu): moved most of the code from set_menu()
8439 to this place; skipped the call to gtk_widget_show_all(); also didn't
8440 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8441 (hildon_window_set_menu): removed most of the code, just keep the
8442 questionable gtk_widget_show_all()
8443 * src/hildon-window.h: added the new function and deprecate the old
8446 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8452 * debian/changelog: Updating.
8454 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8457 * pkgconfig/Makefile.am:
8458 * pkgconfig/hildon.pc.in:
8461 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8462 use newly created API_MAJOR_VERSION.
8464 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8470 * debian/changelog: Updating.
8472 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8474 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8476 Add outer_border style property, we use it but don't define it (!).
8480 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8482 * examples/hildon-bread-crumb-trail-example.c (main):
8486 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8488 Fix logic for the bread crumb trail node removal.
8492 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8498 * debian/changelog: Updating.
8500 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8502 Patch by Alejandro to get/set passwords dialogs accesibility.
8504 * hildon-1/src/hildon-get-password-dialog.c:
8505 * hildon-1/src/hildon-set-password-dialog.c:
8506 Set atk_set_name to the passwd entries in order to allow
8507 accessibility by name on this entries.
8509 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8514 * debian/control: Updating gtk dep.
8516 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8518 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8519 USE_MAEMO_GTK is enabled.
8521 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8523 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8524 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8526 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8532 * debian/changelog: Updating.
8534 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8536 * examples/Makefile.am:
8537 * examples/hildon-logical-color-example.c:
8538 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8539 applied + adding a test case. Fixes: NB#71660.
8541 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8543 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8544 to be visible, fixes warning on map for windows without toolbars.
8546 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8548 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8549 2.11.0, add a check for that besides the MAEMO_GTK check.
8551 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8557 * debian/changelog: Updating.
8559 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8561 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8562 visibility. Fixes: NB#70842 and MB#615.
8564 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8566 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8567 set the separator as no-show-all so it doesn't unintentionally appear when
8568 someone does a show_all.
8570 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8572 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8573 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8574 toplevel item. Fixes: NB#62031
8576 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8578 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8579 fix the name of the function in the docs.
8581 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8587 * debian/changelog: Updating.
8589 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8591 * examples/hildon-banner-long-example.c: Adding a test-case for long
8594 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8596 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8598 * src/hildon-color-chooser-dialog.c:
8599 * src/hildon-color-chooser.c:
8600 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8601 memory leaks in font selector and color selector. Fixes: NB#70499 and
8604 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8606 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8608 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8610 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8611 little bit bigger. Fixes: #NB63694.
8613 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8619 * debian/changelog: Updating.
8621 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8624 * doc/hildon-docs.sgml:
8625 * doc/images/bread-crumb-trail.png:
8626 * doc/images/calendar-popup.png:
8627 * doc/images/caption.png:
8628 * doc/images/code-dialog.png:
8629 * doc/images/color-button.png:
8630 * doc/images/color-chooser-dialog.png:
8631 * doc/images/color-chooser.png:
8632 * doc/images/controlbar.png:
8633 * doc/images/date-editor.png:
8634 * doc/images/font-selection-dialog.png:
8635 * doc/images/get-password-dialog.png:
8636 * doc/images/hvolumebar.png:
8637 * doc/images/login-dialog.png:
8638 * doc/images/note.png:
8639 * doc/images/number-editor.png:
8640 * doc/images/range-editor.png:
8641 * doc/images/seekbar.png:
8642 * doc/images/set-password-dialog.png:
8643 * doc/images/sort-dialog.png:
8644 * doc/images/time-editor.png:
8645 * doc/images/time-picker.png:
8646 * doc/images/vvolumebar.png:
8647 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8648 Adding the bread-crumb-trial and helpers to the documentation.
8650 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8652 * examples/hildon-find-toolbar-example.c:
8653 * src/hildon-find-toolbar.c:
8654 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8655 actually continue firing the other handlers if connected. Adding a new
8657 hildon_find_toolbar_get_last_index that gets the index of the most
8658 recently added (last) item. Fixes: NB#52301.
8660 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8662 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8663 behaviour. Fixes: NB#68610.
8665 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8667 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8670 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8672 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8673 when realizing the banner. Should make the infonbanner effect a bit more
8676 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8678 * src/hildon-volumebar.c:
8679 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8680 hildon_volumebar_set_range_insensitive_message and
8681 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8683 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8685 * src/hildon-window.c: Fixing the border freeing on destroy.
8687 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8689 * src/hildon-code-dialog-private.h:
8690 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8691 kw keyboard support in HildonCodeDialog.
8693 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8699 * debian/changelog: Updating.
8701 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8703 * src/hildon-date-editor.c:
8704 * src/hildon-number-editor.c:
8705 * src/hildon-private.c:
8706 * src/hildon-private.h:
8707 * src/hildon-time-editor.c:
8708 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8709 handling in subclassed composite widgets. Fixes: NB#66628.
8711 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8714 from destroy_ callback as it introduces problems in async dbus signal
8715 handlers. Fixes NB#66673.
8717 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8719 * examples/hildon-hvolumebar-example.c:
8720 * src/hildon-volumebar.c: Improving the focus handling in the
8721 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8722 set_property accessor so that "mute" property can be actually set. I'm
8723 scared that nobody noticed it's totally broken.
8725 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8727 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8730 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8732 * src/hildon-calendar.c:
8733 * src/hildon-number-editor.c:
8734 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8735 matches the spec of 6 chars per second. Fixes: NB#60489.
8737 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8739 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8740 gtk_style_lookup_color sometime returns FALSE even though color was
8741 found and values were filled properly. Weird. Removing the warning for the
8744 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8746 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8747 expand vertically. Adding some extra space to the find toolbar buttons to
8748 make them thumbable. Fixes NB#66060.
8750 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8753 popup with "Ok" and "Cancel". Fixes NB#59299.
8755 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8757 * src/hildon-calendar.c: Process all window updates before executing next
8758 timeout. Fixes: NB#54146.
8760 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * debian/changelog: Updating.
8768 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8770 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8771 the client event and ignore it, since we use the delete event to close
8774 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8776 * src/hildon-helper.c: Remove the bogus warning about color not being
8777 found. Fixes NB#58352.
8779 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * examples/Makefile.am:
8782 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8783 HildonSeekbar widget inside a toolbar.
8785 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8787 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8788 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8789 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8790 don't want to be closed by non-temporary windows on map.
8792 Also use G_DEFINE_TYPE instead of manually typed code.
8794 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8801 * debian/rules: Updating.
8803 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8805 * examples/Makefile.am:
8806 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8807 bug NB#61128. Strangely it works.
8809 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8811 * src/hildon-date-editor.c: When the date editor entry has been changed
8812 but the numbers of characters < max, turn off the skip validation flag.
8813 Prevents a situation when we enter first a valid year and later re-write
8814 it with an invalid one. Fixes NB#60154.
8816 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8818 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8819 code dialog. Fixes NB#64355.
8821 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8823 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8824 switching the page. Fixes NB#49374.
8826 * examples/Makefile.am:
8827 * examples/hildon-wizard-dialog-example.c: Adding an example for
8828 HildonWizardDialog that shows how to handle manual sensitivity setting on
8831 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * src/hildon-version.h.in:
8836 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8838 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * src/hildon-volumebar.c: Updating the docs.
8842 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8848 * debian/changelog: Updating.
8850 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8852 * src/hildon-find-toolbar.c:
8853 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8854 selected item: hildon_find_toolbar_set_active,
8855 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8856 hildon_find_toolbar_get_active_iter . They correspond to respective
8857 GtkComboBox functions.
8859 * examples/Makefile.am:
8860 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8863 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8865 * examples/Makefile.am:
8866 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8869 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8870 when font size > 32 and we pack a focusable widget inside. Actually using
8871 the default response would work too, but since we don't show default
8872 response state in any way (no theming) it would not be visible to the
8873 user. Fixes NB#63430.
8875 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8877 * src/hildon-date-editor.c: Adding the missing variable setter in the
8878 set_property handler. Fixes NB#54182.
8880 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8882 * src/hildon-window.h: Changing the long key press time from 1500ms to
8883 800ms as requested in NB#63700. I have a bad feeling about this, let's
8884 see... Fixes NB#63700.
8886 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8888 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8889 hildon_time_picker_map, hildon_time_picker_realize,
8890 hildon_time_picker_style_set): Split the contents of map to more
8891 appropriate functions; set window decorations on realize and update
8892 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8894 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8899 * debian/changelog: Updating.
8901 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8903 * src/Makefile.am: fixed installation of the header files
8905 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8911 * debian/changelog: Updating.
8913 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8915 * configure.ac: Removing some remaining of --enable-xan.
8917 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8919 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8920 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8922 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8923 2.10.12-osso6 because the move-focus signal needs to be available in
8926 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8928 * examples/Makefile.am:
8929 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8930 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8931 fine. Prolly NB#61128 is fixed now.
8933 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8935 * src/hildon-volumebar.c:
8936 * src/hildon-volumebar.h: Adding the
8937 hildon_volumebar_set_range_insensitive_message and
8938 hildon_volumebar_set_range_insensitive_messagef functions to set
8939 insensitive message on the slider of the volumebar. Fixes NB#61129.
8941 * examples/Makefile.am:
8942 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8943 test the new insensitive messsage functionality on HildonVolumebar.
8945 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8947 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8950 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8952 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8953 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8954 button on after clearing the trail.
8956 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8958 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8960 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8962 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8963 by splitting the installed headers in generated and non-generated groups. Use
8964 only the non-generated headers to create the hildon-enum-types.h file.
8966 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8968 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * src/hildon-window.c: Hide the window before performing the destroy.
8971 Should make the app closing a little tiny bit more snappy.
8973 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8975 * src/hildon-seekbar.c: add gtkrange.h header
8976 * src/hildon-caption.c: remove unused variable
8978 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8980 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8983 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * debian/changelog: Updating.
8991 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8993 * src/hildon-window.c (hildon_window_window_state_event,
8994 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8995 escape timeout on focus-out-event rather than notify::is-topmost; the
8996 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8998 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9001 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9003 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9005 * src/hildon-window: actually, you need to use the macro always, there's
9006 no private pointer in the instance structure. We should have cleaned this up
9007 when we had the chance...
9009 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9011 * src/hildon-window.c: do not get the private date from HildonWindow before
9012 it passes the g_return_if_fail check. Once it's passed the test, there's no
9013 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9014 if you are only going to access the data once. Whitespace cleanups.
9016 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9018 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9019 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9021 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * debian/changelog: Updating.
9029 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9031 * src/hildon-window.c: When destroying the window, remove (if exists) the
9032 escape timeout handler. Fixes #NB59276.
9034 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9036 * src/hildon-banner.c: When realizing the widget, set the window
9037 transiency. Setting the transiency in the gobject constructor is not
9038 good, as the widget is not realized at that point. Fixes: #NB56624.
9040 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9042 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9043 Add padding for future expansions.
9045 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9047 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9048 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9049 will fake an activation on the previous to the last item of the trail, so
9050 the effect can be overrided by the developer as usual.
9051 Also change the callback for the back button to do the same thing, so its
9052 effect can be overrided too. Fixes: NB#58982
9054 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9056 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9057 HildonCaption. Fixes NB#52379.
9059 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9061 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9062 the internal state of the trail after the user has had the chance of executing
9063 his handler for the signal. Specifically, it may happen that the activated button
9064 is removed and the user still lets the default handler run. This would segfault
9067 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9069 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9070 scrollbar to the preview dialog. Fixes NB#54147.
9072 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9074 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9075 max/min year properties can be altered, so the client can modify it
9076 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9078 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9080 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9081 hildonlike by default. Fixing a problem with disappearing arrows when
9082 scrolling through months and years. Fixes NB#54127.
9084 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9086 * examples/hildon-date-editor-example.c: Adding error callback to the date
9089 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * configure.ac: Updating.
9097 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9099 * configure.ac: Adding a special '--enable-xan' configure option that
9100 turns off the -Werror compilation setting. Usefull for development.
9102 * src/hildon-calendar.c:
9103 * src/hildon-number-editor.c:
9104 * src/hildon-time-picker.c: Adding the 5* multiplier to
9107 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9109 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9110 instead of g_object_ref + gtk_object_sink.
9112 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9118 * debian/changelog: Updating.
9120 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9122 * src/hildon-color-chooser-dialog.c:
9123 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9124 straight from Tommi labs.
9126 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9128 * examples/hildon-finger-example.c: Correcting the header file path.
9130 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9131 the changed signal. Fixes a small memory leak.
9133 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9137 * src/hildon-banner.c: Importing several usefull fixes from the
9138 ubuntu-mobile branch.
9140 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9142 * examples/Makefile.am:
9143 * examples/hildon-finger-example.c: Adding a finger-checking code
9146 * src/hildon-font-selection-dialog.c: Do not allocate the color
9147 structure using the g_new. Fixes NB#54061.
9149 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9151 * src/hildon-helper.c: Correcting tabs in file.
9153 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9155 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9156 control the visibility of the children.
9158 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9160 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9166 * debian/changelog: Updating.
9168 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9170 * src/hildon-bread-crumb-trail.c:
9171 (hildon_bread_crumb_trail_size_allocate):
9173 Make the back button always a square.
9175 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9177 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9178 from the .c file as it's a private file.
9180 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9182 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9183 uses slightly bigger height.
9185 * src/hildon-font-selection-dialog.c: Adding some checks before
9186 freeing memory in the font selection dialog.
9188 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9190 * src/hildon-font-selection-dialog.c: Adding a small check when
9193 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9194 buttons sensitivity on page switching.
9196 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9198 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9199 internal details of adding a bread crumb to the trail.
9201 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9207 * debian/changelog: Updating.
9209 * src/hildon-bread-crumb-trail.h:
9210 * src/hildon-bread-crumb.h: Changing the API guard to
9211 HILDON_ENABLE_UNSTABLE_API.
9213 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9221 * src/hildon-helper.h: Updating.
9223 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9231 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9235 * src/hildon-helper.h: Small fix to make the package actually compile.
9237 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9239 * src/hildon-bread-crumb-trail.h:
9240 * src/hildon-bread-crumb.h:
9242 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9243 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9245 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9247 * examples/hildon-bread-crumb-trail-example.c:
9249 * src/hildon-bread-crumb-trail.c:
9250 * src/hildon-bread-crumb-trail.h:
9251 * src/hildon-bread-crumb.c:
9252 * src/hildon-bread-crumb.h:
9253 * src/hildon-marshalers.list:
9254 * src/hildon-bread-crumb-widget.c:
9255 * src/hildon-bread-crumb-widget.h:
9257 Slight change in the widget design. The bread crumb trail API is
9258 unchanged, but HildonBreadCrumb is now an interface. A *private*
9259 implementation, hildon-bread-crumb-widget, is provided and used
9260 internally by the trail for the push_text/push_icon functions.
9262 The generic push API is still available, so anyone can implement
9263 and use its own bread crumb widget.
9265 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9267 * debian/rules: Fixing the shlibs.
9269 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9271 * src/hildon-banner.c: Fixing a problem with timed banners having
9272 their parrent destroyed before they are.
9274 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9276 * src/hildon-bread-crumb.c:
9277 * src/hildon-bread-crumb.h:
9279 Make the get_natural_size function a vfunc.
9281 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9283 * src/hildon-bread-crumb.c:
9284 * src/hildon-bread-crumb-trail.c:
9288 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9295 * debian/changelog: Updating for release.
9297 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9299 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9300 don't leak the pango layout.
9302 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9305 * examples/hildon-bread-crumb-trail-example.c:
9309 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9311 * debian/changelog: Removing the bug-fixed entries that were actually
9312 resolved as WONTFIX.
9314 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9317 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9319 * src/hildon-bread-crumb-trail.c:
9320 * src/hildon-bread-crumb-trail.h:
9321 * src/hildon-bread-crumb.c:
9322 * src/hildon-bread-crumb.h:
9326 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9328 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9329 until it's passed the type check.
9331 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9333 * examples/hildon-bread-crumb-trail-example.c
9337 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9339 * examples/Makefile.am
9340 * examples/hildon-bread-crumb-trail-example.c
9342 * src/hildon-bread-crumb-trail.c
9343 * src/hildon-bread-crumb-trail.h
9344 * src/hildon-bread-crumb.c
9345 * src/hildon-bread-crumb.h
9347 New HildonBreadCrumbTrail widget.
9349 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9351 * src/hildon-range-editor.c (hildon_range_editor_init),
9352 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9353 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9354 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9355 hildon_time_editor_class_init, hildon_time_editor_init),
9356 src/hildon-get-password-dialog.c (invalid_input,
9357 hildon_get_password_set_property, hildon_get_password_get_property,
9358 create_contents, hildon_get_password_dialog_set_max_characters),
9359 src/hildon-set-password-dialog.c (create_contents),
9360 src/hildon-date-editor.c (hildon_date_editor_init),
9361 src/hildon-login-dialog.c (hildon_login_dialog_init),
9362 src/hildon-number-editor.c (hildon_number_editor_init),
9363 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9364 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9365 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9366 configure option and adding the respective checks in the code.
9367 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9368 hildon_calendar_drag_data_received): fixed some build warnings.
9370 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9372 * debian/changelog: A 1.0.0 release notes.