1 2009-08-04 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-text-view.c
4 * hildon/hildon-entry.c:
5 Remove all placeholder code from HildonEntry and HildonTextView
6 and use the API in GtkEntry and GtkTextView instead.
8 * examples/hildon-entry-example.c
9 * examples/hildon-text-view-example.c
10 * examples/hildon-wizard-dialog-example.c
11 * hildon/hildon-get-password-dialog.c
12 * hildon/hildon-login-dialog.c
13 * hildon/hildon-picker-dialog.c
14 * hildon/hildon-set-password-dialog.c
15 * hildon/hildon-touch-selector-entry.c:
16 Replace all deprecated calls to HildonEntry and HildonTextView
17 with their Gtk counterparts.
19 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
22 2009-08-03 Alejandro G. Castro <alex@igalia.com>
24 * hildon/hildon-pannable-area.c,
25 (hildon_pannable_area_check_move),
26 (hildon_pannable_area_button_release_cb),
27 (hildon_pannable_area_scroll_to): Reverted the priority change of
28 the timeout, in some situations, slow renderers, the click do not
29 make it to the mainloop on time.
31 Fixes NB#131013 (unable to stop panning file manager by tapping on
34 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
36 * configure.ac: bump version
38 * debian/changelog: updates
40 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
42 * hildon/hildon-touch-selector.[ch]
43 (hildon_touch_selector_center_on_index): New method that allows to center
44 on a item not selected
46 Fixes NB#130291 (New HildonTouchSelector API is required to center on
49 2009-07-29 Alberto Garcia <agarcia@igalia.com>
51 * hildon/hildon-text-view.c
52 (+set_logical_color, +hildon_text_view_style_set)
53 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
54 (hildon_text_view_init)
55 * hildon/hildon-entry.c
56 (+set_logical_color, +hildon_entry_style_set)
57 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
58 (hildon_entry_class_init, hildon_entry_init)
59 * hildon/hildon-button.c
60 (+set_logical_font, +set_logical_color)
61 (hildon_button_style_set, hildon_button_init)
62 (hildon_button_set_arrangement, hildon_button_set_style):
63 Remove all calls to hildon_helper_set_logical_font() and
64 hildon_helper_set_logical_color(), which are recursive, from
67 Fixes: NB#123409 (Showing dialog consumes significant amount of
70 2009-07-29 Alejandro G. Castro <alex@igalia.com>
72 * hildon/hildon-pannable-area.c,
73 (hildon_pannable_area_timeout): Added the process updates of the
74 scrollbars window in the pannable.
76 Fixes: NB#130043 (scrollindicator not smooth while panning)
78 2009-07-23 Alejandro G. Castro <alex@igalia.com>
80 * hildon/hildon-pannable-area.c,
81 (hildon_pannable_area_check_move),
82 (hildon_pannable_area_button_release_cb),
83 (hildon_pannable_area_scroll_to): Increased the priority of the
84 timeout this way it is going to be handled before the events.
86 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
90 * configure.ac: bump version
91 * debian/changelog: updates
93 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
95 * hildon/hildon-entry.c: (set_property): Do not allow to set
96 automatic height and use finger height instead, to prevent an to
97 have a smaller size than than its theme pixbuf.
99 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
101 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
103 * configure.ac: postrelease version bump.
104 * debian/changelog: post release version bump
106 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
111 * configure.ac: Bump version.
112 * debian/changelog: Updates.
114 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
116 * hildon/hildon-note.c: (label_size_request): Take the note
117 padding into account when setting the size request.
119 Fixes: NB#127896 (Information notes text truncated)
121 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
123 * configure.ac: postrelease version bump.
124 * debian/changelog: post release version bump
126 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
131 * configure.ac: Bump version.
132 * debian/changelog: Updates.
134 2009-07-16 Alejandro G. Castro <alex@igalia.com>
137 * hildon/hildon-text-view.c,
138 (hildon_text_view_button_press_event): Grabbed the focus in button
139 press, this way we are sure the widget has the focus in the
140 release event, required for HIM.
142 Fixes: NB#121445 (Virtual keyboard opening is not working in same
143 way for each text entry field)
145 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
147 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
148 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
149 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
150 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
151 (hildon_pannable_area_[gs]et_center_on_child_focus)
152 Redefined GtkContainer set-focus-child signal, in order to center
153 properly on a child when it receives the focus. Defined a new property
154 "center-on-child-focus" in order to activate this feature (deactivated
155 by default). Public get/set methods defined to manage the property.
157 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
159 2009-07-14 László Pere <lpere@blumsoft.eu>
161 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
162 the new size is applied.
164 Fixes: NB#124510 (The Application Menu is distorted when switched
165 between portrait and landscape mode)
166 Fixes: NB#115388 (Power key menu does not resize itself)
168 2009-07-01 Alberto Garcia <agarcia@igalia.com>
170 * hildon/hildon-banner.c (hildon_banner_map):
171 Set banner position after mapping.
173 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
175 * configure.ac: postrelease version bump.
176 * debian/changelog: post release version bump
178 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
183 * configure.ac: Bump version.
184 * debian/changelog: Updates.
186 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
188 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
191 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
193 * tests/check-hildon-banner.c
195 * tests/test_suites.h
196 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
197 were testing deprecated functions.
198 * examples/hildon-banner-example.c: typo on button3 type, that causes
199 a fail compiling with --with-examples but without --disable-deprecated
201 Missed commit in order to fix compilation using '--enable-fatal' and
202 '--disable-deprecated' (see previous commit)
204 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
206 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
207 functions with #ifndef HILDON_DISABLE_DEPRECATED
208 * examples/hildon-find-toolbar.c: Protect deprecated
209 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
210 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
211 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
212 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
214 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
215 to allow proper compilation of deprecated functions defined on the header
217 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
219 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
221 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
222 Cache the panning indicator color.,
223 (hildon_pannable_area_style_set): Query the color on style changes.
224 (hildon_pannable_draw_vscroll),
225 (hildon_pannable_draw_hscroll),
226 (hildon_pannable_area_expose_event): Use the cached panning indicator
227 color instead of looking it up on every expose and more.
229 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
231 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
232 (hildon_pannable_draw_hscroll),
233 (hildon_pannable_area_expose_event): Fix the panning indicator color,
234 so that it's "SecondaryTextColor", as desired.
236 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
238 * hildon/hildon-picker-dialog.c:
239 (selection_completed): take into account HILDON_UI_MODE_NORMAL
240 * hildon/hildon-touch-selector.c
241 (hildon_touch_selector_init): Initialize hildon-ui-mode
242 (hildon_touch_selector_row_activated): new callback for the
243 "row-activated" signal, in order to save the last activated
244 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
245 if the current hildon-ui-mode is coherent with the touch selector
246 (hildon_touch_selector_class_init)
247 (hildon_touch_selector_get_property)
248 (hildon_touch_selector_set_property)
249 Added "hildon-ui-mode" property
250 (disconnect_model_handlers): renamed to clean_column
251 (hildon_touch_selector_remove): use clean_column function
252 (_create_new_column): use the hildon-ui-mode to create the treeview, and
253 only select the first element on HILDON_UI_MODE_EDIT
254 (hildon_touch_selector_column_init): Initialize last_activate
255 (hildon_touch_selector_append_column): check that the touch selector
256 is coherent with the current hildon-ui-mode
257 (hildon_touch_selector_get_hildon_ui_mode)
258 (hildon_touch_selector_set_hildon_ui_mode)
259 Added a getter/setter for the hildon-ui-mode property
260 (hildon_touch_selector_get_last_activated_row): Added this method in
261 order to get the last activated row.
262 * examples/hildon-touch-selector-normal-mode-example.c
263 New example, that shows how to use the HildonTouchSelector in
264 HILDON_UI_MODE_NORMAL
266 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
267 Kristian Rietveld <kris@lanedo.com> advices
269 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
271 * hildon/hildon-time-selector.c: (update_format_policy): Do
272 not call update_format_dependant_columns() if not necessary.
273 (update_format_dependant_columns): Remove unnecessary check for
274 the number of columns.
276 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
278 * hildon/hildon-note.c (+hildon_note_constructor),
279 (hildon_note_class_init), (+hildon_note_set_padding),
280 (hildon_note_rebuild): Install a constructor where to set the
281 padding properties in the note, so that it actually works fine.
282 Use hildon_note_set_padding() for this, and also to set it during
285 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
287 * configure.ac: Bump GTK+ requirement to 2.14.3.
288 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
289 when using maemo-gtk to define proper margins for the notes.
291 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
292 with the dialog edge)
294 2009-06-24 Alberto Garcia <agarcia@igalia.com>
296 * hildon/hildon-banner.c
297 (hildon_banner_class_init):
299 (+hildon_banner_size_request):
300 Request always the full width of the screen.
301 (hildon_banner_realize)
302 (-hildon_banner_check_position, hildon_banner_map):
303 hildon_banner_check_position() is not needed in Hildon 2.2.
304 (-hildon_banner_reset_wrap_state)
305 (hildon_banner_constructor, hildon_banner_init):
306 Remove unnecessary calls to hildon_banner_reset_wrap_state()
307 (+banner_do_set_text)
308 (force_to_wrap_truncated):
309 Remove has_been_wrapped and has_been_truncated attributes.
310 (+reshow_banner, hildon_banner_real_show_information)
311 (hildon_banner_show_information_with_markup)
312 (hildon_banner_show_animation, hildon_banner_show_progress)
313 (hildon_banner_set_text, hildon_banner_set_markup):
314 Refactor code. Shrink banner vertically to use the minimum space
315 necessary everytime the text of the label is updated.
316 (screen_size_changed):
317 Call force_to_wrap_truncated() when the size of the screen
320 Fixes: NB#120500 (only device memory connect mmc in use info
321 banner is left aligned)
323 Fixes: NB#120613 (Size of HildonBanner varies depending on
324 previously opened banners)
326 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
328 * hildon/hildon-color-chooser.c
329 (hildon_color_chooser_pointer_motion): Take the widget allocation
332 Fixes: NB#124385 (Unable to select exact point in color mixing box
333 in color palette dialog)
335 2009-06-23 Alejandro G. Castro <alex@igalia.com>
337 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
338 (hildon_pannable_area_dispose)
339 (hildon_pannable_area_button_press_cb)
340 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
341 (hildon_pannable_area_button_release_cb)
342 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
343 New 'panning-started' and 'panning-finished' signals.
345 Fixes: NB#121732 (New feature request: Signal to pannable area
346 that informs when panning is stopped.)
348 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
350 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
351 instead of hardcoded colon.
353 Fixes: NB#124090 (New calendar wizard title is not using
354 ecdg_ti_caption_separator)
356 2009-06-22 David King <davidk@openismus.com>
358 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
359 constants and functions, as well as correct many typos throughout the
362 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
365 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
367 * configure.ac: postrelease version bump.
368 * debian/changelog: post release version bump
370 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
375 * configure.ac: Bump version.
376 * debian/changelog: Updates.
378 2009-06-18 Alberto Garcia <agarcia@igalia.com>
380 * hildon/hildon-window-stack.c
381 (hildon_window_stack_pop_and_push_list):
382 Prevent windows from having the same stack index
384 2009-06-18 Alberto Garcia <agarcia@igalia.com>
386 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
387 Use the index of the previous window rather than the stack length
388 to calculate the new index.
392 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
394 * hildon/hildon-date-selector.c
395 (hildon_date_selector_select_current_date)
396 (hildon_date_selector_get_date)
397 (hildon_date_selector_select_day):
398 Update the documentation: uses always the range (1-31), as it is obvious
399 that the final one will depend on the month and the year, but globally
400 the range is this, in a similar GtkCalendar approach
401 (hildon_date_selector_get_date):
402 Update the documentation: add NULL as a valid value for the day, month
405 Fix some details, after talk with David King on bug MB#4698
407 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
409 * hildon/hildon-touch-selector-entry.c
410 * hildon/hildon-touch-selector.c
411 Update the documentation of the "text-column" property
413 2009-06-18 David King <davidk@openismus.com>
415 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
416 several typos and errors throughout the documentation.
418 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
421 2009-06-18 Alberto Garcia <agarcia@igalia.com>
423 * hildon/hildon-note.c (hildon_note_realize):
424 Make HildonNote support portrait mode.
426 Fixes: NB#123448 (HildonNote is not portrait-friendly)
428 2009-06-17 Alberto Garcia <agarcia@igalia.com>
430 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
431 Document this function
433 2009-06-17 David King <davidk@openismus.com>
435 * hildon/hildon-date-selector.c
436 (hildon_date_selector_select_current_date)
437 (hildon_date_selector_get_date): Update documentation regarding days,
438 as the day of the month is dependent on both the month and the year.
439 (hildon_date_selector_get_date): Fix documentation of output arguments.
441 Fixes: MB#4698 (DateSelector documentation has bad output argument
442 description, and the day depends on both the month and the year)
444 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
446 * hildon/hildon-caption.c: Other documentation fixes to
449 2009-06-17 David King <davidk@openismus.com>
451 * hildon/hildon-caption.c: Minor documentation updates for
452 HildonCaption. Fixes MB#4697.
454 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
456 * doc/hildon-docs.sgml: Add hildon-version section.
457 * doc/hildon-sections.txt:
458 * hildon/hildon-version.h.in: Document versioning macros and
461 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
463 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
464 from HildonPickerDialog section.
466 2009-06-16 Alberto Garcia <agarcia@igalia.com>
468 * hildon/hildon-banner.c (hildon_banner_bind_style)
469 (screen_size_changed, hildon_banner_init)
470 (hildon_banner_real_show_information)
471 (hildon_banner_show_information_with_markup)
472 (hildon_banner_show_animation, hildon_banner_show_progress):
473 Set a different widget name to banners in portrait mode, for them
474 to be themed correctly.
476 2009-06-16 Alberto Garcia <agarcia@igalia.com>
478 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
479 Set a different widget name to notes in portrait mode, for them to
482 Partially fixes: NB#118401 (HildonNote causes unnecessary
485 2009-06-16 Alberto Garcia <agarcia@igalia.com>
487 * hildon/hildon-note.c (hildon_note_class_init)
488 (+hildon_note_size_request, screen_size_changed):
489 Always request the full width of the screen.
491 Fixes: NB#118375 (unnecessary rescaling of images)
493 2009-06-16 Alejandro G. Castro <alex@igalia.com>
495 * hildon/hildon-pannable-area.c,
496 (hildon_pannable_area_init),
497 (hildon_pannable_area_realize): Replaced old code adding flags in
498 the object init, now we add it with the other flags in the realize
501 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
503 * hildon/hildon-note.c: (hildon_note_class_init): Several
504 documentation improvements to the HildonNote widget.
506 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
508 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
510 Fixes: MB#4556 (HildonNoteType is undocumented)
512 2009-06-15 Alberto Garcia <agarcia@igalia.com>
514 * hildon/hildon-picker-button.c:
515 Explain how HildonPickerButton sets the title of its dialog
517 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
518 the title of its dialog)
520 2009-06-15 Alberto Garcia <agarcia@igalia.com>
522 * hildon/hildon-check-button.c:
523 Documentation updates
525 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
528 2009-06-15 Alberto Garcia <agarcia@igalia.com>
531 * hildon/hildon-edit-toolbar-private.h
532 * hildon/hildon-edit-toolbar.c
533 (+hildon_edit_toolbar_set_progress_indicator)
534 (hildon_edit_toolbar_init): Add progress indicator to the
537 * hildon/hildon-gtk.c
538 (hildon_gtk_window_set_progress_indicator):
539 If the window contains a HildonEditToolbar, enable the progress
542 * hildon/hildon-private.h
543 * hildon/hildon-private.c
544 (+hildon_private_create_animation)
545 * hildon/hildon-banner.c
546 (-hildon_banner_create_animation):
547 Moved to hildon-private.c
549 Fixes: NB#102373 (Progress indicator also for the Edit mode
552 2009-06-15 Alberto Garcia <agarcia@igalia.com>
554 * hildon/hildon-app-menu-private.h
555 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
556 (hildon_app_menu_add_filter, +menu_item_button_event)
557 (hildon_app_menu_button_release, hildon_app_menu_init):
558 Make sure that buttons receive 'button-release-event' in spite of
559 the grab held by HildonAppMenu
561 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
563 2009-06-15 Alberto Garcia <agarcia@igalia.com>
565 * hildon/hildon-app-menu.c
566 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
567 New style property to set the size of the group of filter buttons.
569 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
571 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
576 * configure.ac: Bump version.
577 * debian/changelog: Updates.
579 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
581 * hildon/hildon-main.c: Minor documentation fixes.
583 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
585 * doc/hildon-sections.txt:
586 * hildon/hildon-defines.h: Document the defines, organize them,
587 and mark deprecations as such.
589 Fixes: MB#4463 (Hildon size #defines are undocumented)
591 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
593 * hildon/hildon-animation-actor.c:
594 * hildon/hildon-app-menu.c:
595 * hildon/hildon-button.c:
596 * hildon/hildon-date-editor.c:
597 * hildon/hildon-dialog.c:
598 * hildon/hildon-edit-toolbar.c:
599 * hildon/hildon-entry.c:
600 * hildon/hildon-program.c:
601 * hildon/hildon-remote-texture.c:
602 * hildon/hildon-stackable-window.c:
603 * hildon/hildon-text-view.c:
604 * hildon/hildon-touch-selector.c:
605 * hildon/hildon-window-stack.c:
606 * hildon/hildon-window.c:
608 Remove redundant "represents" wording from most of the documentation.
610 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
612 2009-06-12 Alberto Garcia <agarcia@igalia.com>
617 * hildon/hildon-banner-private.h
618 * hildon/hildon-banner.c:
619 Move HildonBannerPrivate to hildon-banner.c and remove
620 hildon-banner-private.h
621 Use a bit field to store private booleans.
623 2009-06-12 Alberto Garcia <agarcia@igalia.com>
625 * hildon/hildon-app-menu.c (hildon_app_menu_map):
626 Don't install a new idle function if there's already one
631 2009-06-11 Alberto Garcia <agarcia@igalia.com>
633 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
634 (+legacy_menu_realized, +legacy_menu_unmapped)
635 (+set_legacy_menu_type):
636 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
637 they can be identified by the window manager.
639 Fixes: NB#101437 (Invoking CSM on the left side of page area is
640 displayed in wrong location)
642 Fixes: MB#4563 (Popup menu won't locate at the left side of the
645 2009-06-11 Alberto Garcia <agarcia@igalia.com>
647 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
649 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
652 2009-06-11 Alberto Garcia <agarcia@igalia.com>
654 * hildon/hildon-code-dialog.c
655 * hildon/hildon-date-editor.c
656 * hildon/hildon-number-editor.c
657 * hildon/hildon-seekbar.c
658 * hildon/hildon-stackable-window.c
659 * hildon/hildon-window.c:
660 Misc documentation updates
662 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
664 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
665 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
667 Fixes: NB#117931 (Theming issues in accounts dialogs)
669 2009-06-09 Alejandro G. Castro <alex@igalia.com>
671 * hildon/hildon-pannable-area.c,
672 (hildon_pannable_area_button_release_cb): Changed the coordinates
673 of the original release in case we want to discard the release,
674 some widgets in Fremantle do not handle the leave-notify.
676 2009-06-09 Alejandro G. Castro <alex@igalia.com>
678 * hildon/hildon-pannable-area.c,
679 (hildon_pannable_area_button_release_cb): Reviewed the logic of
680 the release using the last refactored functions and avoiding the
681 movement if an element was selected.
683 2009-06-09 Alejandro G. Castro <alex@igalia.com>
685 * hildon/hildon-pannable-area.c,
686 (hildon_pannable_area_check_move),
687 (hildon_pannable_area_handle_move),
688 (hildon_pannable_area_motion_notify_cb): Refactored the
689 motion_notify method using a couple of new functions.
691 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
693 * hildon/hildon-date-selector.c:
694 (hildon_date_selector_construct_ui):
695 * hildon/hildon-time-selector.c:
696 (hildon_time_selector_constructor):
697 * hildon/hildon-touch-selector-entry.c:
698 (hildon_touch_selector_entry_set_text_column),
699 (hildon_touch_selector_entry_get_text_column):
700 * hildon/hildon-touch-selector.c: (_default_print_func),
701 (hildon_touch_selector_new_text): Use
702 hildon_touch_selector_set/get_text_column() instead of
703 setting/getting the "text-column" property.
705 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
707 * doc/hildon-sections.txt: Add the new public methods below.
709 * examples/hildon-picker-button-multicolumn-example.c:
710 (create_touch_selector):
711 * examples/hildon-touch-selector-example.c: (create_selector):
712 * examples/hildon-touch-selector-multi-cells-example.c:
714 Use hildon_touch_selector_column_set_text_column()
716 * hildon/hildon-touch-selector-column.h:
717 * hildon/hildon-touch-selector.c:
718 (hildon_touch_selector_column_set_text_column),
719 (hildon_touch_selector_column_get_text_column):
720 Make hildon_touch_selector_column_set/get_column() public, use
721 them in the inline example, document them, and reference to them
724 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
726 * hildon/hildon-time-selector.c: Fix the docs for
727 hildon_time_selector_new_step().
729 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
731 * hildon/hildon-touch-selector.c: Improve the documentation for
732 hildon_touch_selector_append_column().
734 Fixes MB#4641 (Documentation:
735 hildon_touch_selector_append_column() ref-counting)
737 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
739 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
740 Comment out test 5, since the hildon_controlbar_set_range() range
741 check is broken and fixing it would have side effects. Also,
742 this finally fixes make distcheck.
744 Fixes: NB#101420 (Update unit tests and fix make distcheck)
746 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
748 * tests/TEST-CASES.txt: Remove other bogus test.
749 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
750 Remove bogus test that was setting/retrieving a valid value.
752 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
754 * tests/TEST-CASES.txt: Remove bogus tests.
755 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
756 Remove three bogus tests that were actually setting valid colors.
758 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
760 * configure.ac: post release version bump
761 * debian/changelog: post release version bump
763 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
768 * configure.ac: Bump version.
769 * debian/changelog: Updates.
771 2009-06-08 Christian Dywan <christian@lanedo.com>
775 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
776 Correct errors in hildon_format_file-size_for_display and use
777 translations from the hildon-fm package instead of osso-filemanager.
779 2009-06-08 Alejandro G. Castro <alex@igalia.com>
781 * hildon/hildon-pannable-area.c,
782 (hildon_pannable_area_init): Initialized new values to handle the
784 (hildon_pannable_area_adjust_value_changed): Check if the values
785 changed before even call the redraw function.
786 (hildon_pannable_area_size_allocate),
787 (hildon_pannable_axis_scroll),
788 (hildon_pannable_area_scroll),
789 (hildon_pannable_area_jump_to): Improved the diagonal movement
792 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
795 2009-06-08 Alberto Garcia <agarcia@igalia.com>
797 * examples/hildon-banner-example.c:
798 Several style updates
799 (on_animation_clicked, on_animation_idle)
800 (on_progress_clicked, on_progress_idle):
801 Add additional reference for the cases when the parent window is
804 2009-06-08 Alberto Garcia <agarcia@igalia.com>
806 * doc/hildon-sections.txt
807 * hildon/hildon-pannable-area.c
808 * hildon/hildon-banner.h
809 * hildon/hildon-banner.c: Documentation updates.
811 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
814 2009-06-05 Alejandro G. Castro <alex@igalia.com>
816 * hildon/hildon-calendar-popup.h:
817 * hildon/hildon-caption.h:
818 * hildon/hildon-code-dialog.h:
819 * hildon/hildon-controlbar.h:
820 * hildon/hildon-date-editor.h:
821 * hildon/hildon-dialog.h:
822 * hildon/hildon-get-password-dialog.h:
823 * hildon/hildon-hvolumebar.h:
824 * hildon/hildon-login-dialog.h:
825 * hildon/hildon-note.h:
826 * hildon/hildon-number-editor.h:
827 * hildon/hildon-range-editor.h:
828 * hildon/hildon-seekbar.h:
829 * hildon/hildon-set-password-dialog.h:
830 * hildon/hildon-sort-dialog.h:
831 * hildon/hildon-time-editor.h:
832 * hildon/hildon-time-picker.h:
833 * hildon/hildon-volumebar-range.h:
834 * hildon/hildon-volumebar.h:
835 * hildon/hildon-vvolumebar.h:
836 * hildon/hildon-weekday-picker.h:
837 * hildon/hildon-window.h:
838 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
839 macros with the current replacements
841 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
843 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
845 * hildon/hildon-color-button.c (hildon_color_button_init): Use
846 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
847 itself, to make it fit better with Fremantle style.
849 Fixes: NB#109878 (height and width of focus on color icon is not
850 consistent with other item in the application tool bar)
852 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
854 * hildon/hildon-touch-selector.c:
855 (hildon_touch_selector_optimal_size_request): use the current requisition
856 as the base, in order to include any possible extra widget, like the
857 hildon entry on HildonTouchSelectorEntry
859 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
861 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
863 * configure.ac: post release version bump
864 * debian/changelog: post release version bump
866 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
871 * configure.ac: Bump version.
872 * debian/changelog: Updates.
874 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
876 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
878 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
879 to ensure the banner contents are centered, instead of relying on
880 the expand and fill properties in GtkHBox.
881 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
883 Fixes: NB#108265 (Animation banner not properly centered)
885 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
887 * hildon/hildon-pannable-area.c
888 (hildon_pannable_area_initial_effect): Remove the initial_effect
889 management, check initial_hint
890 (hildon_pannable_are_expose_event): Remove the initial_hint management,
891 set initial_effect to FALSE
892 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
893 by launching the fade_timeout if the scrollbars state has changed and are
895 * examples/hildon-pannable-area-initial-hint-example.c
896 Modified to allow to remove rows too. Add and remove rows one by one.
898 2009-05-28 Alberto Garcia <agarcia@igalia.com>
900 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
901 Don't close the menu if there's an animation actor below it.
903 Fixes: NB#117927 (Application menu not usable with animation
906 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
908 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
909 "focus-on-click" from the dialog button, to avoid stealing the
910 focus from the entry.
912 Fixes: NB#118903 (Account setup wizard: Text in Search field
913 should be focused when "Region" touch list picker is reopened
916 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
918 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
919 (prepare_action_area): Completely hide the dialog separator.
921 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
923 * hildon/hildon-touch-selector-entry.c
924 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
925 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
926 now that the entry is exposed.
928 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
930 * hildon/hildon-touch-selector-entry.c
931 (hildon_touch_selector_entry_init): Change the entry's size
932 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
934 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
936 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
937 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
938 avoid unnecessary scaling.
940 2009-05-27 Alberto Garcia <agarcia@igalia.com>
942 * hildon/hildon-app-menu.c (hildon_app_menu_map):
943 Create grab transfer window before calling parent's map function.
945 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
946 "crushed" button(s) in the top left corner)
948 2009-05-26 Alberto Garcia <agarcia@igalia.com>
950 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
951 Check if the window is already realized when pushing it.
953 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
955 * configure.ac: post release version bump
956 * debian/changelog: post release version bump
958 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
963 * configure.ac: Bump version.
964 * debian/changelog: Updates.
966 2009-05-25 Alberto Garcia <agarcia@igalia.com>
968 * hildon/hildon-app-menu.c: Doc updates.
970 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
972 * hildon/hildon-banner.c: Remove leftover macro.
974 2009-05-25 Alejandro G. Castro <alex@igalia.com>
976 * hildon/hildon-pannable-area.c,
977 (hildon_pannable_area_scroll_indicator_fade),
978 (hildon_pannable_area_button_release_cb): Reviewed vmin
979 conditions, it could cause problems in the fadeout procedure.
981 2009-05-25 Alejandro G. Castro <alex@igalia.com>
983 * hildon/hildon-pannable-area.c
984 (hildon_pannable_area_button_release_cb): Added a threshold to
985 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
987 2009-05-25 Alejandro G. Castro <alex@igalia.com>
989 * hildon/hildon-pannable-area.c,
990 (hildon_pannable_area_set_property): Added code to sync the gtk
991 dnd threshold with the panning threshold.
993 2009-05-25 Alejandro G. Castro <alex@igalia.com>
995 * hildon/hildon-pannable-area.c,
996 (hildon_pannable_area_class_init): Changed some of the default
997 values, now it should be less responsive and more accurate.
999 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1001 * hildon/hildon-pannable-area.c,
1002 (hildon_pannable_area_init),
1003 (hildon_pannable_area_scroll_indicator_fade),
1004 (hildon_pannable_area_button_press_cb),
1005 (hildon_pannable_axis_scroll),
1006 (hildon_pannable_area_timeout),
1007 (hildon_pannable_area_motion_notify_cb),
1008 (hildon_pannable_area_button_release_cb): Changed the name of the
1009 clicked attribute to button_pressed, it is more clear about its use.
1011 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1013 * src/hildon-pannable-area.c
1014 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1016 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1017 vertical scrollbar visibility, and use the data on private section instead,
1018 remove the initial_hint check
1019 (hildon_pannable_area_expose_event): add the initial_hint check here
1021 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1023 * src/hildon-pannable-area.c
1024 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1025 if the fadeout effect was used
1026 (hildon_pannable_area_expose_event): check if it is required to
1027 manage the initial effect on the begining of the function. Previously
1028 it was made at the end, but this doesn't ensure that the scrollbars
1029 will be painted on the first show. Do not set to FALSE initial_effect,
1030 to ensure that the initial hint is showed the first time the pannable
1032 * examples/Makefile.am
1033 * examples/hildon-pannable-area-initial-hint-example.c:
1034 New example, to show that the initial-hint is showed when the widget
1037 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1038 initially if the application can be scrolled)
1040 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1042 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1043 Resize table before adding new items to make sure that
1044 gtk_table_resize() is called just once.
1046 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1048 * hildon/hildon-app-menu-private.h
1049 * hildon/hildon-app-menu.c (item_visibility_changed)
1050 (filter_visibility_changed, hildon_app_menu_show_all)
1051 (hildon_app_menu_hide_all, hildon_app_menu_init):
1052 Rearrange items just once when gtk_widget_show_all()/hide_all()
1055 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1057 * hildon/hildon-app-menu.c
1058 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1059 Don't call gtk_widget_show() on added items.
1061 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1062 automatically when they're added)
1064 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1066 * hildon/hildon-banner.c
1067 (hildon_banner_realize, +hildon_banner_unrealize)
1068 (+screen_size_changed, hildon_banner_class_init):
1069 Redisplay the banner if the screen is rotated.
1071 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1072 on transition from landscape to portrait)
1074 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1076 * hildon/hildon-banner.[ch]:
1077 (hildon_banner_show_information_override_dnd): remove icon_name from the
1078 method definition as it is ignored.
1079 * examples/hildon-banner-dnd-example.c: updated with the change on
1082 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1084 * hildon/hildon-banner-private.h: new require_override_dnd and
1085 overrides_dnd variables
1086 * hildon/hildon-banner.h:
1087 (hildon_banner_show_information_override_dnd): new method, that shows
1088 the information but sets the override flag, in order to show important
1090 * hildon/hildon-banner.c
1091 (hildon_banner_show_information_override_dnd): new method
1092 (hildon_banner_set_override_flag): new utility function
1093 (hildon_banner_real_show_information): new utility function, in order to
1094 generalize the current hildon_banner_show_information_override_dnd and
1095 hildon_banner_show_information_override_dnd
1096 * examples/Makefile.am
1097 * examples/hildon-banner-dnd-example.c: New example that show how to
1098 use the new hildon_banner_show_information_override_dnd
1100 Fixes: NB#114874 (There is no possibility to show hildon banners with
1103 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1105 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1106 behind hildon_pannable_calculate_vel_factor().
1108 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1110 * hildon/hildon-pannable-area.c
1111 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1112 deceleration factors.
1114 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1116 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1117 Reduce the default value for 'scroll_time' to 1 second, since the
1118 current initial scrolling takes too much time.
1120 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1122 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1123 calculate velocity factor during initialization, since the properties
1126 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1128 * hildon/hildon-pannable-area.c
1129 (hildon_pannable_area_set_property): Calculate the velocity factor
1130 after setting the deceleration property and not after.
1132 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1134 * hildon/hildon-entry.c
1135 (hildon_entry_class_init, +set_property, hildon_entry_new)
1136 * hildon/hildon-check-button.c
1137 (hildon_check_button_class_init)
1138 (+set_property, hildon_check_button_new):
1139 Make the theme size a property.
1141 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1142 others) do too much in the _new function)
1144 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1146 * configure.ac: post release version bump
1147 * debian/changelog: post release version bump
1149 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1154 * configure.ac: Bump version.
1155 * debian/changelog: Updates.
1157 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1159 * hildon/hildon-gtk.h
1160 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1161 New API function to take a screenshot of a window
1163 Fixes: NB#106374 (Need API to take a loading screenshot)
1165 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1167 * hildon/hildon-time-selector.c
1168 (update_format_policy): prevent to use hours and minutes unitialized
1170 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1172 * hildon/hildon-window.c (hildon_window_size_request):
1173 Always request the full size of the screen (minus the title bar if
1174 not in fullscreen mode).
1176 Fixes: NB#107486 (HildonWindow should size itself properly)
1178 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1180 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1181 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1182 (on_show_cb), (sound_handling): Disconnect the idle handler for
1183 the sound when the note is finalized to avoid possible crashes.
1185 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1188 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1190 * src/hildon-animation-actor.c,
1191 * src/hildon-remote-texture.c:
1192 Added proper object cleanup to remove signal handler and object
1193 references as HildonAnimationActor and HildonRemoteTexture
1194 objects get destroyed.
1196 Fixes: NB#116682 (Destroying parented animation actors when
1197 parent in unmapped leads to crash)
1199 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1201 Based on a patch by Christian Dywan (christian@imendio.com)
1203 * doc/hildon-sections.txt:
1204 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1205 * hildon/hildon-helper.h: New file size formatting method.
1207 * debian/control: Depend on osso-filemanager l10n package for
1208 proper localization strings.
1210 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1212 * tests/Makefile.am: Include top_srcdir to make possible to build
1213 tests in a different builddir.
1214 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1215 on a different builddir.
1217 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1219 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1220 (hildon_touch_selector_remove): Disconnect model's signal handler
1223 Fixes: NB#116289 (Hildon home crashes while adding task
1226 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1228 * hildon/hildon-button.c
1229 (hildon_button_set_title, hildon_button_set_value):
1230 Hide labels containing an empty string.
1232 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1234 * configure.ac: post release version bump
1235 * debian/changelog: post release version bump
1237 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1242 * configure.ac: Bump version.
1243 * debian/changelog: Updates.
1245 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1247 * hildon/hildon-note-private.h: Removed sound_signal_handler
1248 * hildon/hildon-note.c
1249 (on_show_cb): new callback on note "show" event, this simply adds
1250 a idle, with the function sound_handling
1251 (sound_handling): removed the sound_signal_handler management
1252 (hildon_note_init): connect note "show" event to on_show_cb
1253 (hildon_note_realize): remove the connection to "expose-event"
1255 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1256 device?' confirmation note)
1258 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1260 * hildon/hildon-note.c
1261 (hildon_note_new_information_with_icon_name)
1262 (hildon_note_new_confirmation_with_icon_name):
1263 Terminate the list of parameters in g_object_set() calls
1265 Fixes: NB#115166 (Formatting memory card is not taking place)
1267 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1269 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1270 "dialog-information" role for the sound being played.
1272 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1274 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1275 Don't make the menu a modal window, it causes strange interactions
1276 with the pointer grab and it's not really needed.
1278 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1280 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1282 * hildon/hildon-touch-selector.[ch]
1283 (hildon_touch_selector_optimal_size_request): function added to get a
1284 optimal size request from the touch selector, when you want a dialog to
1285 show as much of the selector
1286 * hildon/hildon-picker-dialog.c:
1287 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1288 (hildon_app_menu_class_init):
1289 New "max-height-landscape" and "max-height-portrait" style properties
1290 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1291 (hildon_picker_dialog_get_max_height): returns the maximum height using
1292 the style properties defined and checking the current portrait/landscape
1294 (_hildon_picker_dialog_set_selector): removed the set_size_request
1296 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1298 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1300 * hildon/hildon-bread-crumb-trail.c:
1301 * hildon/hildon-bread-crumb.c:
1302 * hildon/hildon-seekbar.c:
1303 Add reference to replacements for these deprecated widgets.
1305 Fixes: MB#4461 (Documentation: All deprecations should mention
1308 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1310 * examples/hildon-remote-texture-example.c
1312 Change the include to the hildon-remote-texture in order to compile
1313 properly the examples on the installed libhildon1-examples package
1315 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1317 * tests/Makefile.am: Add check for HildonPickerButton.
1318 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1319 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1320 checks for the HildonPickerButton.
1321 * tests/check_test.c (configure_tests): Add the test suite.
1322 * tests/test_suites.h: likewise.
1324 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1326 * hildon/hildon-touch-selector.c
1327 (+on_row_changed): Emit HildonTouchSelector:changed when the
1328 contents of a selected row change.
1329 (_create_new_column), (_hildon_touch_selector_set_model): connect
1330 to GtkTreeModel:row-changed on a newly set model.
1332 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1334 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1336 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1338 * hildon/hildon-banner.c (hildon_banner_destroy)
1339 (hildon_banner_show_progress, hildon_banner_set_fraction):
1340 Remove the progress bar from HildonBanner and use a progress
1343 Fixes: NB#113761 (Update progress banner to use progress
1346 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1348 * hildon/hildon-banner.c:
1349 Calculate size of the banner label using the actual screen width
1350 rather than using a fixed value.
1352 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1355 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1357 * hildon/hildon-pannable-area.c,
1358 (hildon_pannable_area_class_init): Fixed signals documentation
1361 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1363 * configure.ac: post release version bump
1364 * debian/changelog: post release version bump
1366 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1371 * configure.ac: Bump version.
1372 * debian/changelog: Updates.
1374 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1376 * hildon/hildon-edit-toolbar.c
1377 (hildon_edit_toolbar_init):
1378 Don't let buttons in HildonEditToolbar receive focus.
1380 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1381 typing on an HW arrows key)
1383 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1385 * doc/Makefile.am: Fix build.
1387 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1389 * doc/Makefile.am: Do not redefine content_files.
1391 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1399 Renamed src/ to hildon/
1404 Include <hildon/hildon.h> directly in all examples.
1406 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1408 * src/hildon-sort-dialog.c
1409 (hildon_sort_dialog_add_sort_key_with_sorting)
1413 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1415 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1416 make distcheck passes.
1418 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1420 * Makefile.am: Enable gtk-doc during distcheck.
1422 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1424 * Makefile.am: Do not distribute the debian/ directory.
1426 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1428 * doc/Makefile.am: Add the extra SGML files to content_files,
1429 so that they are distributed properly.
1431 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1433 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1436 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1438 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1439 (hildon_note_new_information_with_icon_name): Set the "icon" property
1440 to preserve soundness.
1442 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1444 * src/hildon-font-selection-dialog.c
1445 (hildon_font_selection_dialog_set_property): Fail when the "family"
1446 property is set to NULL.
1448 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1450 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1453 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1455 * src/hildon-time-selector.h:
1456 Added HildonTimeSelectorFormatPolicy
1457 * src/hildon-time-selector.c:
1458 Added PROP_TIME_FORMAT_POLICY
1459 (_check_ampm_format): renamed to check_automatic_ampm_format
1460 (update_format_policy), (update_format_dependant_columns): new functions
1461 (hildon_time_selector_class_init)
1462 (hildon_time_selector_contructor)
1463 (hildon_time_selector_init)
1464 (hildon_time_selector_get_property)
1465 (hildon_time_selector_set_property)
1466 (hildon_time_selector_get_time)
1467 (hildon_time_selector_set_time)
1468 * src/hildon-touch-selector.h: new file
1469 * src/hildon-touch-selector.c
1470 (hildon_touch_selector_emit_changed)
1471 (hildon_touch_selector_block_changed)
1472 (hildon_touch_selector_unblock_changed)
1473 Added functions to allow to block the emission of the "changed" signal
1474 * src/hildon-picker-dialog.c
1475 (hildon_picker_dialog_show): call the parent show before the custom code
1476 * examples/hildon-time-button-example.c
1477 Modified, so now you can configure the time format using the new property
1479 Added a new property "time-format-policy" that allow to choose the time
1480 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1481 case it uses gconf in order to check if the time selector must use
1484 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1487 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1489 * src/hildon-note.c (hildon_note_init):
1490 Label in HildonNote must be left aligned, not centered. This
1491 reverts the last commit in HildonNote.
1493 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1494 is connectivity dialog)
1496 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1501 * doc/hildon-sections.txt:
1502 Added hildon_gtk_window_set_do_not_disturb()
1504 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-note.c (hildon_note_init): Center label.
1508 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1511 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1516 * configure.ac: Bump version.
1517 * debian/changelog: Updates.
1519 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1521 * src/hildon-note-private.h: Add button-width to the private data.
1522 * src/hildon-note.c (+resize_button),
1523 (+hildon_note_orientation_update): methods to repack widgets on orientation
1525 (screen_size_changed): Call above method for confirmation notes.
1526 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1527 (hildon_note_rebuild): Store the original width request from buttons.
1529 Fixes: NB#109635 (Confirmation notes do not support portrait)
1531 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1533 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1534 when it is a progress note.
1536 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1538 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1539 in the note, since there are no horizontally arranged contents.
1541 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1543 * src/hildon-gtk.c (+set_flag): new generic method to
1544 set/delay a flag setting in a window.
1545 (hildon_gtk_window_set_progress_indicator):
1546 (hildon_gtk_window_set_do_not_disturb),
1547 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1548 avoid code redundance.
1550 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1552 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1554 * src/hildon-gtk.c (set_clear_window_flag),
1555 (do_set_progress_indicator), (do_set_do_not_disturb),
1556 (do_set_portrait_flags),
1557 (hildon_gtk_window_set_progress_indicator),
1558 (hildon_gtk_window_set_do_not_disturb),
1559 (hildon_gtk_window_set_portrait_flags):
1560 Allow setting dnd-flag, progress indicator, and portrait flags
1561 when the window is not realized.
1563 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1565 * src/hildon-pannable-area.c,
1566 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1567 the size request policy function and defines.
1569 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1571 * doc/hildon-sections.txt: Add the new API.
1572 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1573 method to set the portrait flags.
1574 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1576 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1578 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1580 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1581 to allow using this method with other flags.
1582 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1583 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1585 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1587 * src/hildon-touch-selector.c
1588 (hildon_touch_selector_append_text_column):
1589 Make the cell renderer use the smallest width possible.
1591 Fixes: NB#108470 (Selected items in multiple selection are either
1592 having a tick that is cut or not visible at all.)
1594 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1596 * src/hildon-touch-selector.c
1597 (hildon_touch_selector_append_text_column):
1600 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1602 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1603 Use g_strdup_printf() instead of a fixed size buffer.
1605 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1607 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1608 Close banners when a HildonAppMenu is popped up.
1610 Fixes: NB#111027 (Title menu closed immediately if activated when
1611 "Invalid e-mail address" banner is shown)
1613 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1618 * configure.ac: Bump version.
1619 * debian/changelog: Updates.
1621 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1623 * src/hildon-banner.c (hildon_banner_realize):
1624 Mark HildonBanner as supporting portrait mode.
1625 Use GDK to set window properties insetad of direct Xlib calls.
1627 Fixes: NB#111830 (HildonBanner should be marked as supporting
1630 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1632 * src/hildon-note.c (hildon_note_rebuild):
1633 Hide action area in information notes. Prevents text from being
1634 slightly aligned to the left.
1636 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1639 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1641 Patch by Mox Soini (ext-mox.soini@nokia.com)
1643 * src/hildon-banner.c (hildon_banner_create_animation):
1644 Use stylus-sized icons in animation banner.
1646 Fixes: NB#111206 (stylus sized icon for animation banner)
1648 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1652 (+hildon_gtk_window_set_do_not_disturb):
1653 New API to set the do-not-disturb flag.
1655 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1657 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1659 * examples/hildon-progress-indicator-example.c: Fix example
1661 * src/hildon-gtk.c (set_clear_window_flag)
1662 (hildon_gtk_window_set_progress_indicator):
1663 Create a generic function for setting flags to a window.
1664 Use GDK instead of direct Xlib calls.
1666 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1668 * src/hildon-button.c (hildon_button_set_arrangement):
1669 Due to NB#88126, if one of the labels is too long it will be
1670 painted outside the button. The 'value' label is more likely to be
1671 the longest one, so we change its packing options in order to
1672 truncate it if necessary. As a side effect, the 'title' label will
1673 no longer be truncated.
1675 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1677 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1682 * configure.ac: Bump version.
1683 * debian/changelog: Updates.
1685 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1687 Deprecation of the hildon_pannable_area_set_size_request_policy
1688 API, the only policy properly supported in gtk+ nowadays is the
1691 * src/hildon-pannable-area.c,
1692 (hildon_pannable_area_size_request): Added a workaround for the
1693 size_request to avoid the problems of huge pixmaps in case someone
1694 is still using the function.
1695 * src/hildon-pannable-area.h: Deprecated the enum with the
1698 Fixes: NB#110244 (Problems with the
1699 hildon_pannable_area_set_size_request_policy API)
1701 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1703 * src/hildon-pannable-area.c,
1704 (hildon_pannable_area_init),
1705 (hildon_pannable_area_size_request),
1706 (hildon_pannable_area_style_set),
1707 (hildon_pannable_draw_vscroll),
1708 (hildon_pannable_draw_hscroll),
1709 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1710 indicator_width to clarify the use of the attribute.
1712 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1717 * configure.ac: Bump version.
1718 * debian/changelog: Updates.
1720 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1722 * src/hildon-picker-dialog.c
1723 * src/hildon-touch-selector.c
1724 Reverting the change that tried to avoid the hardcoded height on
1725 the picker dialog, as causes problems on the hildon-touch-selector
1728 Fixes: NB#110029 (selectors not scrolling to selected value)
1730 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1732 * src/hildon-touch-selector.c: Fix typos
1734 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1736 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1737 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1738 request more motions after using it.
1740 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1742 * src/hildon-calendar.c (hildon_calendar_expose),
1743 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1744 Remove unused variables.
1746 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1748 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1749 variable assignment.
1751 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1753 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1754 Check the return value of gtk_tree_selection_get_selected()
1757 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1759 * src/hildon-animation-actor.c
1760 * src/hildon-button.c
1762 * src/hildon-pannable-area.c
1763 * src/hildon-picker-button.c
1764 * src/hildon-program.c
1765 * src/hildon-remote-texture.c
1766 * src/hildon-text-view.c
1767 * src/hildon-touch-selector.c
1768 * src/hildon-window-stack.c
1769 * src/hildon-window.c:
1770 Add missing 'Since: 2.2' tags.
1772 * doc/hildon-sections.txt:
1773 Add some missing symbols.
1775 * doc/hildon-docs.sgml:
1776 New 'Other' section for HildonAnimationActor and
1779 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1781 Patch by Iván Gómez (igomez@igalia.com)
1784 * doc/compiling.sgml
1785 * doc/hildon-docs.sgml
1786 * doc/hildon-sections.txt
1787 * doc/migration.sgml
1788 * doc/resources.sgml
1790 New chapters on using the Hildon library.
1791 Updated the general structure of the reference manual.
1792 Other minor documentation fixes.
1794 * src/hildon-calendar-popup.c
1795 * src/hildon-calendar.c
1796 * src/hildon-controlbar.c
1797 * src/hildon-date-editor.c
1798 * src/hildon-dialog.c
1799 * src/hildon-hvolumebar.c
1800 * src/hildon-number-editor.c
1801 * src/hildon-range-editor.c
1802 * src/hildon-sort-dialog.c
1803 * src/hildon-time-editor.c
1804 * src/hildon-time-picker.c
1805 * src/hildon-volumebar-range.c
1806 * src/hildon-volumebar.c
1807 * src/hildon-vvolumebar.c
1808 * src/hildon-weekday-picker.c:
1809 Add deprecation notes
1811 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1812 Document 'horizontal-movement' and 'vertical-movement' signals.
1814 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1819 * configure.ac: Bump version.
1820 * debian/changelog: Updates.
1822 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1824 * src/hildon-pannable-area.c,
1825 (hildon_pannable_area_class_init): increased the minimum velocity.
1826 (hildon_pannable_area_button_release_cb): Updated the
1827 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1828 setup. Review the code to control that last event.
1830 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1833 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1835 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1837 * src/hildon-get-password-dialog.c
1838 (hildon_get_password_set_property),
1839 (hildon_get_password_get_property), (create_contents):
1840 * src/hildon-login-dialog-private.h:
1841 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1842 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1843 (hildon_login_dialog_get_password):
1844 * src/hildon-set-password-dialog-private.h:
1845 * src/hildon-set-password-dialog.c
1846 (hildon_set_password_set_property),
1847 (hildon_set_password_get_property), (create_contents),
1848 (hildon_set_password_response_change),
1849 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1851 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1852 instead and look more Fremantle style.
1854 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1856 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1858 * doc/hildon-sections.txt
1859 * src/hildon-window-stack.h
1860 * src/hildon-window-stack.c
1861 (+hildon_window_stack_get_windows):
1862 New API to obtain the list of windows on a stack.
1864 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-app-menu.c (hildon_app_menu_popup)
1867 (hildon_app_menu_class_init, -hildon_app_menu_show):
1868 Remove hildon_app_menu_show() and move all its checks to
1869 hildon_app_menu_popup()
1871 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1873 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1874 (_hildon_picker_dialog_set_selector): removed call to
1875 gtk_widget_set_size_request
1876 * src/hildon-touch-selector.c
1877 (_create_new_column): change the pannable size request policy
1879 Avoid to use a hardcoded height for the hildon picker dialog. In order
1880 to get that, we needed to change the hildon pannable size request
1882 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1884 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1886 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1887 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1890 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1892 * debian/control: Depend on osso-system-lock localization package.
1893 * src/hildon-code-dialog.c: Obtain the secu_application_title
1894 translation from osso-system-lock.
1895 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1896 for translation the atk related strings, that's not necessary.
1897 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1898 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1899 cancel button, it is not required.
1901 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1903 * src/hildon-pannable-area.c,
1904 (hildon_pannable_area_class_init): Modified the default value of
1905 the overshooting max speed, we have reduced it.
1907 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1909 * doc/hildon-sections.txt
1910 * src/hildon-window-private.h
1911 * src/hildon-window.h
1912 * src/hildon-window.c (hildon_window_class_init)
1913 (hildon_window_init, hildon_window_finalize)
1914 (hildon_window_realize, hildon_window_get_property)
1915 (hildon_window_set_property, hildon_window_update_markup)
1916 (hildon_window_get_markup, hildon_window_set_markup):
1917 New "markup" property and hildon_window_{get,set}_markup() methods.
1919 * examples/hildon-stackable-window-example.c (new_window):
1920 Update example to use hildon_window_set_markup()
1922 Fixes: NB#106375 (Need API to retitle a window with a title
1925 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1927 * src/hildon-pannable-area.c,
1928 (hildon_pannable_area_class_init): Changed the default value of
1929 the initial_hint to TRUE.
1930 (hildon_pannable_area_initial_effect): Changed the initial effect,
1931 not the effect is just the fade-out of the scrollbars.
1933 Fixes: NB#107775 (No scrollbars can be seen when several items are
1934 available in a dialog)
1936 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-program.c (hildon_program_update_top_most):
1941 Fixes: NB#109179 (Memory leak in Hildon program)
1943 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1945 * src/hildon-banner.c (-get_current_app_window):
1946 Remove unused function.
1948 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1950 * src/hildon-pannable-area.c: Modified the documentation of the
1951 get adjustments functions to explain the problem of using the
1952 adjustment directly.
1953 (hildon_pannable_area_class_init): Improved the explanation about
1956 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1958 * src/hildon-app-menu-private.h
1959 * src/hildon-app-menu.c
1960 (hildon_app_menu_class_init):
1961 Bring back the 'external-border' style property
1962 (hildon_app_menu_class_init, hildon_app_menu_init)
1963 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1964 Set a fixed width-request for the menu, independent of the number
1967 Fixes: NB#94957 (Smoothly opened application menu)
1969 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1973 * src/hildon-banner.c
1974 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1976 Make sure that the banner is correctly placed the first time it's
1978 (hildon_banner_check_position, -check_fullscreen_state):
1979 Show the banner in the same place no matter if the window is in
1980 fullscreen mode or not.
1982 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1984 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1986 * src/hildon-touch-selector.c (_default_print_func): reorder
1987 concatenation for clarity.
1989 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1991 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1992 for multicolumn selectors.
1994 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1996 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2001 * configure.ac: Bump version.
2002 * debian/changelog: Updates.
2004 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2006 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2009 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2011 * configure.ac: removed libcangerra-gtk dependency
2012 * debian/control: removed libcanberra-gtk dependency
2013 * src/Makefile.am: removed libcanberra gtk related flags
2014 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2015 context, and manage a global canberra context instead
2017 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2019 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2021 Patch by Daniel Borgmann (danielb@openismus.com)
2023 * src/hildon-edit-toolbar.c:
2024 Adjust the left padding.
2025 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2026 Paint background of the edit toolbar.
2028 Fixes: NB#107897 (Patch to make editmodetoolbar background
2029 themeable and adjust margin)
2031 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2033 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2035 * src/hildon-program.c (hildon_program_update_top_most):
2036 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2038 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2039 change when the user tasks in/out of an application)
2041 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2043 * configure.ac: added libcangerra-gtk dependency
2044 * debian/control: added libcanberra-gtk dependency
2045 * src/Makefile.am: added libcanberra gtk related flags
2046 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2049 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2051 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2053 * src/hildon-program.c (hildon_program_remove_window)
2054 (hildon_program_add_window): Add checks for the window
2055 parameter. Don't decrease the window counter if the window is not
2058 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2060 * src/hildon-pannable-area.c,
2061 (hildon_pannable_area_realize): Fixed position of the event_window
2062 in the realize method.
2064 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2066 * src/hildon-app-menu-private.h
2067 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2068 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2069 (hildon_app_menu_key_press, hildon_app_menu_init)
2070 (hildon_app_menu_finalize):
2071 Make sure that all idle functions are removed when the widget is
2074 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2076 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2081 * configure.ac: Bump version.
2082 * debian/changelog: Updates.
2084 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2086 * src/hildon-entry.c
2087 (+hildon_entry_show_placeholder),
2088 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2089 that replace hildon_entry_update_contents().
2090 (hildon_entry_set_text),
2091 (hildon_entry_set_placeholder),
2092 (hildon_entry_focus_in_event),
2093 (hildon_entry_focus_out_event): Determine when it is needed
2094 either to show or hide the placeholder and call the above methods.
2096 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2097 when the placeholder text is already set)
2099 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2101 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2102 simple GdkPixbufAnim using the new icons for the banner.
2103 (hildon_banner_show_animation): Use the above mentioned method to
2104 create the animation widget.
2106 Fixes: NB#103564 (Make hildon animation banner use individual
2107 image files as the animation)
2109 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2111 * src/hildon-pannable-area.c,
2112 (hildon_pannable_leave_notify_event): Check if the child is NULL
2113 to avoid sending the leave.
2115 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2117 * src/hildon-pannable-area.c,
2118 (hildon_pannable_area_class_init),
2119 (hildon_pannable_leave_notify_event): Added a handler of the
2120 leave-notify-signal to consider when no motion notify before
2123 Fixes: NB#107494 (Items stay selected when clicking and moving
2124 away when inside pannable area)
2126 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2131 * configure.ac: Bump version.
2132 * debian/changelog: Updates.
2134 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2136 Patch by Alberto Garcia (agarcia@igalia.com)
2138 * src/hildon-date-button.c,
2139 (hildon_date_button_class_init),
2140 (hildon_date_button_init): Removed the construct property handling
2141 and created a default selector in the init method.
2142 * src/hildon-picker-button.c,
2143 (hildon_picker_button_class_init): Removed the construct flag of the
2146 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2148 * src/hildon-main.c (hildon_init):
2149 Don't allow hildon_init() to be called more than once.
2151 Fixes: NB#106607 (hildon_init should issue error message upon
2154 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2156 * examples/hildon-pannable-area-touch-list-example.c
2157 * examples/hildon-pannagle-area-touch-grid-example.c
2158 * examples/hildon-edit-toolbar-example.c
2159 * examples/hildon-touch-selector-multi-cells-example.c
2160 Removed the call to gtk_rc_parse_string, as it is not required since
2163 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2165 * src/hildon-pannable-area.c,
2166 (hildon_pannable_area_class_init): Modified the default panning
2167 threshold of the widget to 6px.
2169 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2170 than the threshold value ) within the button is not sending the
2173 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2175 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2176 for the treeview in the new column. This way, the touch list will never
2179 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2180 be selected manually for the HW keys to work)
2182 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2185 comparison instead of using strcmp(). Fixes a compiler warning as well.
2187 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2189 * doc/hildon-docs.sgml: Do not set the library version in the
2190 document title, use the releaseinfo tag for that purpose instead.
2192 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2194 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2195 Do not jump to the first item if the text in the entry is removed.
2197 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2202 * configure.ac: Bump version.
2203 * debian/changelog: Updates.
2205 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2207 * src/hildon-entry.c (hildon_entry_refresh_contents):
2208 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2209 Use "ReversedSecondaryTextColor" for the placeholder text.
2211 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2213 * src/hildon-text-view.c: Fix compilation warning.
2215 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2217 * src/hildon-button.c (hildon_button_class_init): Don't make
2218 "title" and "value" construction properties, to prevent them from
2219 overwriting labels set from derived classes.
2221 * src/hildon-picker-button.c
2222 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2223 (hildon_picker_button_class_init): Make touch-selector a
2224 construction property.
2226 * src/hildon-date-button.c (hildon_date_button_class_init)
2227 (+hildon_date_button_constructed): Add a default date selector if
2230 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2232 * src/hildon-touch-selector.c: Small documentation fixes.
2234 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2236 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2238 * src/hildon-entry.c (hildon_entry_refresh_contents),
2239 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2240 widget name, set the logical color directly instead and a boolean
2241 showing_placeholder instead.
2242 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2243 use the widget name here either.
2245 Fixes: NB#105678 (HildonTextView should use logical colours
2246 instead of setting widget name)
2248 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2250 Patch by Daniel Elster (danielk@openismus.com)
2252 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2253 Add user_data parameter.
2254 (hildon_touch_selector_set_print_func_full): New function akin
2255 hildon_touch_selector_set_print_func() but with support for user
2256 data and a destroy callback.
2257 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2258 to clean up the print function user data.
2259 (hildon_touch_selector_class_init): Install dispose function.
2260 (HildonTouchSelectorPrivate::print_user_data),
2261 (HildonTouchSelectorPrivate::print_destroy_func): New private
2263 (hildon_touch_selector_init): Initialize new private members.
2264 (hildon_touch_selector_get_current_text): Pass along user data
2265 to the print function.
2266 (_default_print_func): Add dummy user_data to parameter list.
2267 * hildon-date-selector.c (_custom_print_func): ditto,
2268 * hildon-time-selector.c (_custom_print_func): ditto,
2269 * hildon-touch-selector-entry.c
2270 (hildon_touch_selector_entry_print_func): ditto.
2272 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2274 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2276 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2278 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2280 * src/hildon-pannable-area.c,
2281 (hildon_pannable_area_init),
2282 (hildon_pannable_area_button_press_cb),
2283 (hildon_pannable_area_motion_notify_cb): We have added code to
2284 handle the leave and enter events when using the motion events.
2286 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2288 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2290 * src/hildon-date-button.c (hildon_date_button_get_date)
2291 (hildon_date_button_set_date): Make sure that the button has a
2294 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2296 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2298 * src/hildon-pannable-area.c,
2299 (hildon_pannable_area_class_init),
2300 (hildon_pannable_area_calculate_velocity): Modify the use of the
2301 force and adapt the value.
2303 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2305 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2306 (hildon_app_menu_class_init): Hide the menu if it receives a
2307 delete-event, but don't destroy it
2309 Fixes: NB#104485 (Not able to address the call when application
2310 menu is opened at background)
2312 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-app-menu.c
2315 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2316 Remove the "external-border" style property, let the menu take its
2317 natural size (or the one set by the window manager)
2318 (hildon_app_menu_repack_items):
2319 Don't reshow the menu, avoid flickers.
2321 Partially fixes NB#94957 (Smoothly opened application menu)
2323 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2328 * configure.ac: Bump version.
2329 * debian/changelog: Updates.
2331 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2333 * src/hildon-pannable-area.c,
2334 (hildon_pannable_area_motion_notify_cb): We control that the
2335 direction error margin is used just in case the movement is
2336 allowed in the other direction.
2338 Fixes: NB#105012 (buttons inside a pannable area not getting
2339 release event when dragging/releasing)
2341 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2343 * src/hildon-pannable-area.c,
2344 (hildon_pannable_area_class_init),
2345 (hildon_pannable_area_get_property),
2346 (hildon_pannable_area_set_property),
2347 (hildon_pannable_area_initial_effect),
2348 (hildon_pannable_axis_scroll),
2349 (hildon_pannable_area_button_release_cb): Reviewed the
2350 overshooting effect, now it has its own max
2351 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2352 speed when bouncing.
2354 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2359 * configure.ac: Bump version.
2360 * debian/changelog: Updates.
2362 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2364 * src/hildon-pannable-area.c,
2365 (hildon_pannable_area_class_init): Changed the max speed, now
2366 users can launch the widget very fast. Reduced the default force,
2367 that way it is easier to control the launch speed.
2369 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2371 * src/hildon-pannable-area.c,
2372 (hildon_pannable_area_button_release_cb): Removed this check
2373 because it causes problems when the device is overloaded.
2375 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2378 add a current_text field to store the text entered in the
2379 touch selector entry.
2380 (_clean_current_selection): clean up the current text as well.
2381 (_save_current_selection), (_restore_current_selection):
2382 Save/restore the text in the entry if the selector is a
2383 HildonTouchSelectorEntry.
2385 Fixes: NB#102541 (value entered in the touch selector entry is not
2386 shown when opened for second time)
2388 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2390 * doc/hildon-sections.txt:
2391 * src/hildon-touch-selector-entry.c
2392 (+hildon_touch_selector_entry_get_entry):
2393 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2395 Fixes: NB#104815 (I need accessor to the entry inside
2396 HildonTouchSelectorEntry)
2398 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2400 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2401 (hildon_app_menu_class_init):
2402 New "filter-vertical-spacing" style property.
2404 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-find-toolbar.c
2407 (hildon_find_toolbar_emit_close)
2408 (hildon_find_toolbar_emit_invalid_input)
2409 (hildon_find_toolbar_entry_activate):
2410 Use g_signal_emit() instead of g_signal_emit_by_name()
2412 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2414 Patch by Mox Soini (ext-mox.soini@nokia.com)
2416 * tests/TEST-CASES.txt
2417 * tests/check-hildon-banner.c
2418 * tests/check-hildon-note.c
2419 * src/hildon-banner.c
2420 * src/hildon-code-dialog.c
2421 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2422 * src/hildon-time-editor.c
2423 * examples/hildon-lookup-example.c (main):
2424 Replace obsolete icon names with new ones.
2426 * src/hildon-find-toolbar-private.h:
2427 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2428 (-hildon_find_toolbar_emit_search):
2429 Remove find button and change icon of close button.
2431 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2433 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2435 * src/hildon-time-button.c (hildon_time_button_new_step):
2436 Use the "touch-selector" property to set the selector directly
2437 when creating the object.
2439 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2441 Added a new example application that allows tuning the pannable
2442 area and replaced defines with properties in order to simplify the
2443 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2444 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2445 PROP_DIRECTION_ERROR_MARGIN.
2447 * examples/hildon-pannable-area-tuning-example.c: New example
2449 * src/hildon-pannable-area.c,
2450 (hildon_pannable_area_class_init),
2451 (hildon_pannable_area_init),
2452 (hildon_pannable_area_get_property),
2453 (hildon_pannable_area_set_property),
2454 (hildon_pannable_area_launch_fade_timeout),
2455 (hildon_pannable_area_adjust_value_changed),
2456 (hildon_pannable_axis_scroll),
2457 (hildon_pannable_area_motion_notify_cb),
2458 (hildon_pannable_area_scroll_cb),
2459 (hildon_pannable_area_button_release_cb): We have converted some
2460 of the defines that control the widget to properties to simplify
2463 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2465 * src/hildon-app-menu.c (hildon_app_menu_map)
2466 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2467 so it's closed if a new window appears.
2469 Fixes: NB#104485 (Not able to address the call when application
2470 menu is opened at background)
2472 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2474 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2475 missing 'break' statement in in 'case' construct to avoid
2478 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2480 * src/hildon-touch-selector-entry.c
2481 (hildon_touch_selector_entry_get_property),
2482 (hildon_touch_selector_entry_set_property): Add missing 'break'
2483 statements in in 'case' constructs to avoid incorrect warnings.
2485 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2487 * src/hildon-time-editor.c
2488 (hildon_time_editor_get_time_separators): Do not crash if
2489 the first label is NULL.
2491 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2493 * src/hildon-date-selector.c (_month_days): Check for month to be
2494 strictly less than 12, since otherwise we may overrun the array.
2496 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2498 * src/hildon-date-button.c (+hildon_date_button_new_full)
2499 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2500 (hildon_date_button_init): Set the date selector using a
2501 construction property, to make it happen after HildonButton's
2502 "value" property is set.
2504 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2505 current date by default)
2507 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2509 * doc/hildon-sections.txt
2510 * src/hildon-program.c
2511 * src/hildon-stackable-window.c
2512 * src/hildon-window.c:
2513 Documentation updates
2515 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2518 (hildon_window_stack_new, +hildon_window_stack_set_property)
2519 (+hildon_window_stack_get_property)
2520 (hildon_window_stack_class_init)
2521 (+hildon_window_stack_set_window_group)
2522 (+hildon_window_stack_get_window_group):
2523 Make the window group a construction property.
2525 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2527 * doc/hildon-sections.txt
2528 * src/hildon-stackable-window-private.h
2529 * src/hildon-stackable-window.h
2530 * src/hildon-stackable-window.c
2531 (-hildon_stackable_window_set_app_menu)
2532 (-hildon_stackable_window_get_app_menu)
2533 (-hildon_stackable_window_toggle_menu)
2534 (-hildon_stackable_window_finalize)
2535 (hildon_stackable_window_class_init)
2536 (hildon_stackable_window_init)
2537 * src/hildon-window-private.h
2538 * src/hildon-window.h
2539 * src/hildon-window.c (hildon_window_init)
2540 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2541 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2542 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2543 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2544 Moved all HildonAppMenu code to HildonWindow. The menu does not
2545 require a HildonStackableWindow anymore.
2547 * src/hildon-app-menu.c
2548 * src/hildon-program.c
2549 * examples/hildon-app-menu-example.c (main):
2550 Update examples and documentation to reflect HildonAppMenu
2553 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2555 * src/hildon-remote-texture.c
2556 * src/hildon-animation-actor.c:
2557 Don't include unused private headers.
2559 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2561 * src/hildon-program-private.h
2562 * src/hildon-program.c
2563 (hildon_program_set_common_menu)
2564 (hildon_program_get_common_menu)
2565 (hildon_program_set_common_app_menu)
2566 (hildon_program_get_common_app_menu):
2567 Change common menu pointers from GtkWidget* to GtkMenu* and
2568 HildonAppMenu* to avoid unnecessary casts.
2570 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2572 * src/hildon-window.c (hildon_window_set_main_menu):
2573 Removed incorrect 'Since:' tag
2575 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2577 * src/hildon-pannable-area.c,
2578 (hildon_pannable_area_calculate_velocity): We use now the
2579 RATIO_TOLERANCE here to check the distance, fixed typo in the
2581 (hildon_pannable_area_motion_notify_cb): We have to set the type
2582 and time even if we are not sending the motion.
2584 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2586 * doc/hildon-sections.txt
2587 * src/hildon-app-menu.h
2588 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2589 (+hildon_app_menu_get_filters): New methods to get the contents of
2592 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2595 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2597 * src/hildon-app-menu.c (hildon_app_menu_popup):
2600 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2602 * src/hildon-window.h
2603 * src/hildon-window.c (+hildon_window_get_main_menu)
2604 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2605 and deprecated hildon_window_get_menu().
2607 * src/hildon-stackable-window.h
2608 * src/hildon-stackable-window.c
2609 (+hildon_stackable_window_set_app_menu)
2610 (+hildon_stackable_window_get_app_menu)
2611 (hildon_stackable_window_set_main_menu): Created
2612 hildon_stackable_window_{get,set}_app_menu() and deprecated
2613 hildon_stackable_window_set_main_menu().
2615 * doc/hildon-sections.txt
2616 * examples/hildon-app-menu-example.c (main)
2617 * src/hildon-app-menu.c
2618 * src/hildon-program.c:
2619 Updated examples and documentation.
2621 Fixes: NB#103758 (No way to obtain a menu from a
2622 HildonStackableWindow)
2624 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2629 * configure.ac: Bump version.
2630 * debian/changelog: Updates.
2632 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2634 * examples/hildon-remote-texture-example.c: Include
2635 hildon-remote-texture.h explicitely.
2636 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2637 applications not defining _XOPEN_SOURCE which don't require this header.
2639 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2641 * doc/hildon-sections.txt
2642 * src/hildon-app-menu.h
2643 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2644 New function to pop up a HildonAppMenu
2646 * src/hildon-stackable-window.c
2647 (hildon_stackable_window_toggle_menu):
2648 Use hildon_app_menu_popup() to show the menu.
2650 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2652 * src/hildon-app-menu.c (hildon_app_menu_show)
2653 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2654 menu if there's another window between it and its parent window.
2656 Fixes: NB#100468 (Application menu window is launched even when a
2657 new secondary-window/dialog is pending to be shown/realized)
2659 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2661 * src/hildon-window-stack.c (hildon_window_stack_push)
2662 (hildon_window_stack_pop_and_push):
2663 Don't forget to push/pop the first window.
2664 Reverse the window list before calling _push_list()
2666 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2668 * src/hildon-picker-button.h
2669 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2670 Remove "value_changed" slot to avoid ABI breakage
2672 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2674 * src/hildon-pannable-area.c,
2675 (hildon_pannable_area_realize),
2676 (hildon_pannable_area_unrealize),
2677 (hildon_pannable_draw_vscroll),
2678 (hildon_pannable_draw_hscroll): Changed the method to handle the
2679 GC used to draw the transparent scrollbar, this way we avoid
2680 creating the GC all the time when drawing the scrollbars.
2682 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2684 * src/hildon-pannable-area.c,
2685 (hildon_pannable_area_init),
2686 (hildon_pannable_area_remove): Removed some unnecessary casts.
2687 (hildon_pannable_area_dispose): Disconnected some signals before
2688 releasing the adjustments.
2690 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2692 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2693 Make sure that all widgets contained in the toolbar are shown.
2695 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2697 * doc/hildon-sections.txt
2698 * src/hildon-picker-button.h
2699 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2700 (_selection_changed, hildon_picker_button_on_dialog_response)
2701 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2702 New hildon_picker_button_value_changed() method.
2705 * src/hildon-picker-button-private.h
2706 * src/hildon-picker-button.c (hildon_picker_button_init)
2707 (+hildon_picker_button_disable_value_changed): Add protected
2708 function for disabling the "value-changed" signal.
2710 * src/hildon-date-button.c (hildon_date_button_set_date):
2711 Don't emit "value-changed" for each one of the three columns.
2713 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2714 before actual change of values)
2716 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2718 * src/hildon-pannable-area.c,
2719 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2720 for the treeview overshooting.
2722 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2724 * src/hildon-banner.c (+hildon_banner_bind_style):
2725 Renamed from hildon_banner_bind_label_style(), now naming the
2726 banner itself as well.
2727 (hildon_banner_show_information),
2728 (hildon_banner_show_information_with_markup),
2729 (hildon_banner_show_animation), (hildon_banner_show_progress):
2730 Name the widgets and labels, based on their type.
2732 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2735 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2737 * src/hildon-note.c (hildon_note_set_property): call
2738 hildon_note_rename() on HildonNote:note-type set.
2739 (hildon_note_rename): Name the note and its label, based on the
2740 HildonNote:note-type property.
2742 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2745 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2747 * src/hildon-pannable-area.c,
2748 (hildon_pannable_area_class_init),
2749 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2750 panning parameters, increased SPS and deceleration factor. Added
2751 also a margin to control fake directions.
2753 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2755 Patch by Sven Herzberg (sven@imendio.com)
2757 * configure.ac: Add missing AM_PROG_CC_C_0
2758 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2760 See NB#101420 (Update unit tests and fix make check)
2762 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2764 This patch was applied before but reverted because it caused
2765 problems, we have changed the main condition and tested the
2766 regressions we detected before and they work ok. We have done a
2767 complete review of the topmost algorithm in order to get a more
2770 * src/hildon-pannable-area.c,
2771 (hildon_pannable_area_get_topmost): Added a new parameter to
2772 filter the the windows that do not include those events.
2773 (hildon_pannable_area_button_press_cb),
2774 (hildon_pannable_area_button_release_cb),
2775 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2776 topmost function, we have added the new parameter.
2778 Fixes: NB#97458 (Pannable area prevents propagation of button
2781 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2783 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2784 if all columns in the selector have an item selected.
2785 (_on_dialog_response): Stop "response" signal emission if there is
2786 any selector column without selected items.
2788 Fixes: NB#101889 (Picker dialog should not close when nothing is
2789 selected in multiple selection list)
2791 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2793 * src/hildon-font-selection-dialog.c
2794 (hildon_font_selection_dialog_class_init),
2795 (hildon_font_selection_dialog_init): Remove the preview
2796 button and dialog, since previewing with default theming is likely
2797 to be overcomplicated. The :preview property has now no effect.
2798 Update documentation blurbs to inform about this.
2800 Fixes: NB#92297 (Preview content is not clearly visible for
2801 default colour text)
2803 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2805 Reviewed the geometry that handles the children size and
2806 scrollbar, now it tries a size and reviews the results depending
2807 on the scrollbars visibility.
2809 * src/hildon-pannable-area.c,
2810 (hildon_pannable_area_realize): Fixed a typo.
2811 (hildon_pannable_area_child_allocate_calculate): Added this
2812 function to calculate the child allocation.
2813 (hildon_pannable_area_size_allocate): Reviewed the allocation
2815 (hildon_pannable_area_check_scrollbars),
2816 (hildon_pannable_area_refresh): Refactored refresh function, this
2817 way we can call the code handling the scrollbars without causing a
2818 size_request, it is interesting in the allocate.
2819 (hildon_pannable_area_init): Replace the callbacks of the
2820 value_changed and changed signals to propertly deal with the
2822 (hildon_pannable_area_grab_notify),
2823 (hildon_pannable_area_initial_effect),
2824 (hildon_pannable_area_launch_fade_timeout),
2825 (hildon_pannable_area_adjust_changed),
2826 (hildon_pannable_area_adjust_value_changed),
2827 (hildon_pannable_area_redraw),
2828 (hildon_pannable_area_button_press_cb),
2829 (hildon_pannable_area_button_release_cb),
2830 (hildon_pannable_area_scroll_cb),
2831 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2832 code and use the new functions adjust_changed and
2833 adjust_value_changed.
2835 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2836 Contact editor dialog)
2838 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2843 * configure.ac: Bump version.
2844 * debian/changelog: Updates.
2846 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2848 * src/hildon-pannable-area.c,
2849 (hildon_pannable_area_get_topmost),
2850 (hildon_pannable_area_button_press_cb),
2851 (hildon_pannable_area_button_release_cb),
2852 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2853 topmost function adding the event mask. We have to try a
2854 differente approach because it is still causing problems (NB#9745,
2857 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2859 * src/hildon-banner.c:
2860 Update the maximum width of timed banners.
2861 (force_to_wrap_truncated): Enforce the maximum text width if the
2864 Fixes: NB#102413 (The text margins (wrapping) in information
2865 banner should be HILDON_MARGIN_TRIPLE)
2867 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2869 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2871 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2872 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2873 bound when calculating the scroll indicator position.
2875 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2876 treat ->lower correctly)
2878 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2881 expose event handling, since it is not necessary to draw the focus
2884 Fixes: NB#102467 (Do not show highlight on the text in
2887 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2890 full height of the toolbar for the button and the label.
2892 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2894 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2895 padding before the label and after the button.
2897 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2899 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2901 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2902 Add a GtkVSeparator between the button and the back arrow.
2903 Let the button have automatic size.
2904 Set a name to the widget for theming handling.
2906 Fixes: NB#101793 (Make edit toolbar the same height as window
2907 title bar (use title area theming))
2909 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-helper.c (attach_new_color_element): Fix memory
2914 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2916 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2918 * examples/hildon-button-example.c (common_buttons_window): Don't
2921 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2924 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2926 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2928 * src/hildon-gtk.c: Check that the window is realized.
2930 Fixes: NB#102225 (Crash setting the progress indicator to a non
2933 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2935 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2936 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2937 instead of modifying the one in the widget style.
2939 Fixes: NB#101043 (Second row of all the command button are
2940 displayed in transparent mode.)
2942 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2944 * src/hildon-date-button.c
2945 * src/hildon-time-button.c: Add gettext macros
2947 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-date-button.c (hildon_date_button_new):
2950 * src/hildon-time-button.c (hildon_time_button_new_step):
2951 Use new logical strings to set the button default title.
2953 Fixes: NB#99915 (Date and Time options are not localised in Date
2956 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2958 * src/hildon-pannable-area.c
2959 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2960 the PANNING_THRESHOLD.
2962 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2964 * src/hildon-pannable-area.c,
2965 (hildon_pannable_area_class_init): Increased the maximum speed.
2966 (hildon_pannable_area_get_property),
2967 (hildon_pannable_area_set_property),
2968 (hildon_pannable_area_timeout): Added a new low friction mode, it
2969 allows the user avoid friction when launching the widget fast
2970 enough. It is interesting to traverse long lists.
2972 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2974 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2975 (+hildon_stackable_window_delete_event): Ignore delete events if
2976 the window is not the topmost one.
2978 Fixes: NB#101698 (Back button long press and delete-event handling)
2980 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2982 * src/hildon-pannable-area.c,
2983 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2984 gtk-dnd-drag-threshold, it was too big. We have defined our own
2985 dnd define and set a smaller value: PANNIG_THRESHOLD.
2987 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2989 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2990 user-defined icons, use always the default one.
2992 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2994 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2996 This patch was applied before but reverted because it caused
2997 problems, we have changed the main condition and tested the
2998 regressions we detected before and they work ok.
3000 * src/hildon-pannable-area.c,
3001 (hildon_pannable_area_get_topmost): Added a new parameter to
3002 filter the the windows that do not include those events. Added
3003 also a condition when finding the window to filter windows that do
3004 not ask for those events.
3005 (hildon_pannable_area_button_press_cb),
3006 (hildon_pannable_area_button_release_cb),
3007 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3008 topmost function, we have added the new parameter.
3010 Fixes: NB#97458 (Pannable area prevents propagation of button
3013 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3015 * tests/check-hildon-color-button.c (START_TEST): do not leak
3018 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3020 * src/hildon-font-selection-dialog.c
3021 (hildon_font_selection_dialog_get_preview_text): Return NULL
3022 instead of FALSE on the g_return_val_if_fail().
3024 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3026 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3027 * src/hildon-date-selector.c
3028 (hildon_date_selector_select_current_date):
3029 Do not compare unsigned integers to be greater than or equal 0,
3030 because it's always TRUE.
3032 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3034 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3035 (hildon_date_selector_constructor): Do not select the current
3036 date until we are handle the "changed" signal, to avoid having bogus
3037 elements in the days model.
3039 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3041 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3042 for num_days, since _month_days() can return a negative value.
3044 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3046 * src/hildon-caption.c (hildon_caption_size_allocate):
3047 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3048 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3050 Initialize allocation variables to 0, to avoid eventually using
3051 unitialized variables.
3053 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3055 * src/hildon-bread-crumb-trail.c
3056 (hildon_bread_crumb_trail_size_allocate):
3057 * src/hildon-calendar.c (hildon_calendar_set_background):
3058 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3059 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3060 * src/hildon-seekbar.c (hildon_seekbar_init):
3061 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3062 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3063 * src/hildon-touch-selector-entry.c
3064 (hildon_touch_selector_get_text_from_model):
3065 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3066 * src/hildon-window.c (hildon_window_finalize):
3068 Remove many unused variables.
3070 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3072 * src/hildon-seekbar.c: (hildon_seekbar_init),
3073 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3075 Remove unnecessary g_assert() calls.
3077 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3079 * src/hildon-caption.c: (hildon_caption_expose),
3080 (hildon_caption_set_property), (hildon_caption_init),
3081 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3082 (hildon_caption_size_request), (hildon_caption_size_allocate),
3083 (hildon_caption_forall), (hildon_caption_set_separator),
3084 (hildon_caption_activate), (hildon_caption_set_child_expand),
3085 (hildon_caption_set_label_text),
3086 (hildon_caption_get_label_alignment):
3088 Remove unnecessary g_assert() calls.
3090 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3092 * src/hildon-banner.c
3093 (hildon_banner_map, hildon_banner_init): Make banner temporary
3094 before mapping it to avoid closing other temporary windows, but
3095 make it non-temporary afterwards to avoid being closed by other
3096 non-temporary windows.
3097 (-hildon_banner_client_event, hildon_banner_init):
3098 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3100 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3103 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3105 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3108 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3110 * src/hildon-remote-texture.c
3111 * src/hildon-remote-texture.h
3112 * src/hildon-remote-texture-private.h
3113 * examples/hildon-remote-texture-example.c:
3114 Updates/fixes to remote-texture and its example.
3116 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3118 Patch by Mox Soini (ext-mox.soini@nokia.com)
3120 * src/hildon-code-dialog.c: Update logical id.
3121 * src/hildon-set-password-dialog.c: Update logical id.
3123 Fixes: NB#100646 (Logical strings is shown for ok in set
3124 password,Password needed dialogs)
3126 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3129 * src/hildon-remote-texture.c
3130 * src/hildon-remote-texture.h
3131 * src/hildon-remote-texture-private.h
3133 Added remote texture widget (for Clutter shared memory textures)
3135 * examples/hildon-remote-texture-example.c
3136 * examples/Makefile.am
3137 Added example file for remote texture usage
3139 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3141 * configure.ac: post release version bump.
3142 * debian/changelog: version bump.
3144 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3149 * configure.ac: Bump version.
3150 * debian/changelog: Updates.
3152 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3154 * src/hildon-date-selector.c (hildon_date_selector_init)
3155 (hildon_date_selector_constructor): Don't connect to the "changed"
3156 signal until the selector is completely constructed.
3158 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3160 * src/hildon-touch-selector.c: (_create_new_column),
3161 (hildon_touch_selector_append_column),
3162 (hildon_touch_selector_set_column_selection_mode),
3163 (hildon_touch_selector_set_active),
3164 (hildon_touch_selector_select_iter):
3165 Emit the HildonTouchSelector::changed signal every time selection
3166 is changed in any of the methods above. This behavior was already
3167 documented but not fully functional.
3169 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3170 selection is programmatically changed)
3172 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3174 * doc/hildon-sections.txt: Remove obsolete icon
3175 sizes from here as well.
3177 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3179 * examples/hildon-stackable-window-example.c (add_window): Remove
3182 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-app-menu.c
3185 (hildon_app_menu_show): Check whether the parent window of a menu
3186 is topmost before popping it up.
3188 Fixes: NB#100468 (Application menu window is launched even when a
3189 new secondary-window/dialog is pending to be shown/realized.)
3191 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3193 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3196 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3198 Patch by Mox Soini (ext-mox.soini@nokia.com)
3200 * src/hildon-banner.c: (hildon_banner_show_animation):
3201 use stylus size instead of obsolete note size.
3202 * src/hildon-defines.h: Update icon sizes.
3204 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3206 * src/hildon-touch-selector-entry.c:
3207 (hildon_touch_selector_entry_init): Disable unsupported
3209 (hildon_touch_selector_entry_get_text_column): Emit a warning
3210 if an unsupported input modes is used and explicitile state
3211 these modes in the documentation.
3213 Fixes: NB#99802 (Hildon touch selector entry not working properly
3214 for some of the input modes)
3216 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3218 * src/hildon-pannable-area.c,
3219 (hildon_pannable_area_init): Added the changed signal handlers of
3222 Fixes: NB#100320 (HildonPannableArea does not listen to
3223 GtkAdjustment "change" signals)
3225 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3227 * doc/hildon-sections.txt
3228 * src/hildon-window-private.h
3229 * src/hildon-window.h
3230 * src/hildon-window.c (hildon_window_init)
3231 (hildon_window_realize, hildon_window_unrealize)
3232 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3233 (hildon_window_size_request, hildon_window_size_allocate)
3234 (hildon_window_forall, hildon_window_show_all)
3235 (hildon_window_destroy, +paint_edit_toolbar)
3236 (+hildon_window_set_edit_toolbar):
3237 New hildon_window_set_edit_toolbar() method, to add a
3238 HildonEditToolbar to a window without having to pack it manually.
3240 Reorganize hildon_window_size_allocate()
3242 * src/hildon-edit-toolbar.c: Update documentation.
3244 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3245 example to use the new API.
3247 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3249 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3251 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3252 Remove from stack before calling parent's hide.
3254 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3256 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3257 window is removed from the middle of the stack, update the
3258 transiency of the previous one.
3260 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3263 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3265 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3266 block/unblock the signal handler if it's not actually being used.
3267 Fixes some critical warnings.
3269 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3271 Based on a patch by Iván Gómez (igomez@igalia.com)
3273 * src/hildon-banner.c
3277 * src/hildon-pannable-area.c
3278 * src/hildon-picker-dialog.c
3279 * src/hildon-wizard-dialog.h
3280 * src/hildon-wizard-dialog.c: Documentation updates.
3282 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3283 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3285 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3287 * configure.ac: post release version bump.
3288 * debian/changelog: version bump.
3290 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3295 * configure.ac: Bump version.
3296 * debian/changelog: Updates.
3298 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3300 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3301 a stock icon nor change the relief of the back arrow.
3303 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3304 graphics from theme)
3306 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3308 * src/hildon-button.c (hildon_button_set_alignment): Use
3309 priv->alignment if the button has no child yet.
3311 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3313 * src/hildon-button.c: (hildon_button_init): Set the
3314 button style during initialization to give it the proper
3317 Fixes: NB#99713 (HildonButton value label color is wrong)
3319 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3321 * src/hildon-touch-selector.c: Document
3322 hildon_touch_selector_center_on_selected()
3324 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3326 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3327 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3328 all menu items, but not the menu itself.
3329 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3330 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3331 items after adding them to the menu so keyboard accelerators work.
3332 (hildon_app_menu_show): Don't show the menu if it contains items
3333 but none of them are visible.
3335 * examples/hildon-app-menu-example.c (create_menu): Use
3336 gtk_widget_show_all() to show all menu items.
3338 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3340 * src/hildon-picker-dialog.c:
3341 (-_update_title_on_selector_changed_cb),
3342 (-_dialog_update_title): Removed.
3343 (_select_on_selector_changed_cb), (_on_dialog_response),
3344 (on_selector_columns_changed): Do not update the dialog title.
3345 (setup_interaction_mode): Do not connect to
3346 HildonTouchSelector::changed signal if there's a "done" button, as
3347 the dialog title doesn't need to be updated.
3349 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3352 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3354 Patch by Kristian Rietveld (kris@imendio.com)
3356 * src/hildon-touch-selector.c: (_create_new_column): Use new
3357 GtkTreeView::hildon-row-tapped signal to react to user interactions
3358 instead of ::changed.
3360 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3361 with some dynamic tree model)
3363 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3366 (+screen_size_changed, +label_size_request)
3367 (hildon_note_class_init): Make the Hildon information note have a
3368 minimum height, and make its text hvae a maximum width.
3370 Fixes: NB#98614 (Hildon information note (background) should have
3371 minimum height and maximum text width)
3373 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3375 * src/hildon-banner.h
3376 * src/hildon-banner.c (hildon_banner_show_information)
3377 (hildon_banner_show_informationf)
3378 (hildon_banner_show_information_with_markup): Update documentation
3379 to reflect that the icon_name parameter is not used anymore.
3380 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3381 Remove all code from these functions and mark them as deprecated.
3382 (hildon_banner_show_progress): Mark as deprecated.
3384 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3386 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3388 * src/hildon-pannable-area.c,
3389 (hildon_pannable_area_class_init),
3390 (tranparency_color),
3391 (hildon_pannable_draw_vscroll),
3392 (hildon_pannable_draw_hscroll),
3393 (hildon_pannable_area_expose_event): Added a new way to render the
3394 scrollbars of the pannable area avoiding using cairo at all. This
3395 way we improve the performance of the pannable area rendering. The
3396 cairo rendering procedure is still in the code, we can control
3397 which one to use changing the value of the define
3398 USE_CAIRO_SCROLLBARS.
3400 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3402 * configure.ac: post release version bump.
3403 * debian/changelog: version bump.
3405 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3410 * configure.ac: Bump version.
3411 * debian/changelog: Updates.
3413 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3415 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3416 banners instead of destroying them when they receive a button
3419 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3421 Reverted commit 34028, it was causing regressions, probably the
3422 topmost condition is not correct, we have to check it in more
3423 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3424 propagation of button press events)
3426 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3428 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3429 that the selection is not empty before attempting to retrieve the
3430 current ampm selection.
3432 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3434 * src/hildon-picker-button.c:
3435 (hildon_picker_button_on_dialog_response): Directly update the
3436 button contents when required instead of calling _selection_changed.
3438 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3440 * src/hildon-program.c (hildon_program_update_top_most): Update
3441 'is-topmost' property also when wm_hints is not set.
3443 Fixes: NB#98383 (is-topmost signal is not emitted when task
3444 switcher is clicked.)
3446 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3448 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3452 * src/hildon-animation-actor.c,
3453 * src/hildon-animation-actor.h: Added the animation actor class,
3454 this widget represents an animation actor for WM-assisted
3455 animation effects in the Hildon framework.
3457 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-window-stack-private.h
3460 * src/hildon-window-stack.c
3461 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3462 Avoid calling gtk_widget_show() again indirectly from
3463 hildon_stackable_window_show()
3465 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3467 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3470 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3472 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3473 (hildon_time_selector_init): Move the construction of the hours and
3474 ampm columns to the constructor to preserve the order the columns
3477 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3479 * src/hildon-picker-dialog.c:
3480 (hildon_picker_dialog_class_init): Connect a realize method.
3481 (+hildon_picker_dialog_realize): Setup the interaction mode here
3483 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3484 yet, do it during the realize instead.
3485 (_on_dialog_response):
3486 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3487 if the widget is not realized, to avoid the dialog response before it
3490 Avoid premature responses in the HildonPickerDialog that can cause it
3491 to be hidden before it's even shown.
3493 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3495 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3496 (on_selector_columns_changed), (requires_done_button),
3497 (+prepare_action_area), (setup_interaction_mode),
3498 (_hildon_picker_dialog_set_selector):
3500 Split the interaction mode setup into preparation of the
3501 action area (prepare_action_area()) and the connection of
3502 the signals in setup_interaction_mode() and update the code to
3505 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3507 * src/hildon-pannable-area.c,
3508 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3509 per second to 15, we will check if this is ok regarding
3512 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3514 * src/hildon-pannable-area.c,
3515 (hildon_pannable_axis_scroll): Avoid resize if we already have
3516 reached overshoot_max.
3518 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3520 * src/hildon-pannable-area.c,
3521 (hildon_pannable_area_init),
3522 (hildon_pannable_area_realize),
3523 (hildon_pannable_area_size_allocate),
3524 (hildon_pannable_area_map),
3525 (hildon_pannable_area_unmap),
3526 (hildon_pannable_draw_vscroll),
3527 (hildon_pannable_draw_hscroll),
3528 (hildon_pannable_area_expose_event),
3529 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3530 pannable are to avoid the expose events go to the window and
3531 redraw the window. We save this way that part of the stack and the
3532 paint_boxes. We had to change the positions of the elements when
3535 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3537 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3538 * src/hildon-color-chooser-dialog.c:
3539 (hildon_color_chooser_dialog_init):
3540 * src/hildon-font-selection-dialog.c:
3541 (hildon_font_selection_dialog_init),
3542 (hildon_font_selection_dialog_show_preview):
3543 * src/hildon-get-password-dialog.c:
3544 * src/hildon-login-dialog.c:
3545 * src/hildon-set-password-dialog.c:
3546 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3547 * src/hildon-time-picker.c: (hildon_time_picker_init):
3549 Remove obsolete logical string IDs and update to the appropriate ones.
3551 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3553 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3555 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3556 that happens if the window hasn't been realized yet.
3558 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3559 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3561 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3563 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3564 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3567 Fixes: NB#98537 (Device hangs in account settings dialog)
3569 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3571 * configure.ac: post release version bump.
3572 * debian/changelog: version bump
3574 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3579 * configure.ac: Bump version.
3580 * debian/changelog: Updates.
3582 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3584 Added a new function to the HildonTimeButton widget that allows to
3585 change the step of the minutes in the selector associated with the
3586 button: hildon_time_button_new_step
3588 * src/hildon-time-button.c,
3589 (hildon_time_button_init),
3590 (hildon_time_button_new),
3591 (hildon_time_button_new_step):
3592 * src/hildon-time-button.h: Added the new function and refactored
3594 * examples/hildon-time-button-example.c,
3595 (main): We have replaced the function without parameters with the
3596 function with the steps set to 5
3598 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3600 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3602 * src/hildon-time-selector.c,
3603 (hildon_time_selector_class_init),
3604 (hildon_time_selector_constructor),
3605 (hildon_time_selector_get_property),
3606 (hildon_time_selector_set_property),
3607 (_create_minutes_model),
3608 (hildon_time_selector_new_step),
3609 (hildon_time_selector_set_time),
3610 * src/hildon-time-selector.h: Added a new property to the
3611 HildonTimeSelector (minutes-step), we use that property to control
3612 the steps between the minutes in the list of the selector. We have
3613 added a new function to the API to create a widget changing the
3614 step: hildon_time_selector_new_step.
3616 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3618 * src/hildon-time-selector.c,
3619 (hildon_time_selector_class_init),
3620 (hildon_time_selector_constructor),
3621 (hildon_time_selector_init): Overrided the construct function when
3622 creating the time selector object. We have moved the minutes model
3623 handling code from the init to the new construction function:
3624 hildon_time_selector_constructor.
3626 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3628 * examples/hildon-date-button-example.c: (main): Use the new
3629 hildon_date_button_new_with_year_range() method in the example.
3630 * src/hildon-date-button.c:
3631 (+hildon_date_button_new_with_year_range): New public method
3632 to conveniently create a HildonDateButton with a custom year range
3633 in its HildonDateSelector.
3634 * src/hildon-date-button.h: Add the new public method definition.
3636 Fixes: NB#97908 (Not possible to change the year range in
3637 HildonDateSelector/HildonDateButton)
3639 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3641 * src/hildon-date-selector.c:
3642 (+hildon_date_selector_set_property),
3643 (+hildon_date_selector_get_property),
3644 (hildon_date_selector_class_init): Install new properties "min-year"
3645 and "max-year" to define boundaries for the year column.
3646 (_create_year_model): Use the boundary properties to populate the model.
3647 (+hildon_date_selector_new_with_year_range): New public method to
3648 create a HildonDateSelector with a user defined year range.
3649 (hildon_date_selector_select_current_date): Use the new boundaries to
3650 calculate the iterator of current year.
3651 * src/hildon-date-selector.h: Add the new public method definition.
3653 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3655 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3656 Install a constructor method.
3657 (+hildon_date_selector_construct_ui): construct the widget.
3658 (+hildon_date_selector_constructor): new constructor.
3659 (+hildon_date_selector_init): move out widget construction code to
3660 the new constructor.
3662 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3665 that there's actually a month or year selected before obtaining them.
3666 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3667 of the HildonTouchSelector::changed signal, as it was emitted on every
3668 single item selection.
3670 Fix some warnings and possible crashers due to the selection restoring.
3672 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3674 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3675 the signal handlers only after creating the dialog instead of on every
3678 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3680 * src/hildon-button.c (hildon_button_init)
3681 * src/hildon-check-button.c (hildon_check_button_init)
3682 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3683 focus when clicked by default.
3685 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3687 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3690 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3692 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3693 Alejandro G. Castro (alex@igalia.com)
3695 * src/hildon-picker-dialog.c:
3696 (hildon_picker_dialog_class_init): install new "center-on-show"
3698 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3699 (hildon_picker_dialog_set_property): add setter code for the new
3701 (hildon_picker_dialog_get_property): add getter code for the new
3703 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3704 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3707 Fixes: NB#92849 (Selected item is not always visible when
3708 HildonTouchSelector is shown)
3710 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3712 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3713 Alejandro G. Castro (alex@igalia.com)
3715 * src/hildon-touch-selector.c:
3716 (_create_new_column): Do not connect to the "realize" signal of the
3718 (hildon_touch_selector_append_column): center on the selected items
3719 when a new column is appended.
3720 (hildon_touch_selector_select_iter): Factor out the code to select a
3721 column to hildon_touch_selector_scroll_to().
3722 (+search_nearest_element): Method to retrieve the nearest selected
3723 element to the visible area of the pannable area in a column.
3724 (+on_realize_cb): scroll to the initially selected item.
3725 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3726 the pannable area is realized, otherwise delay this until it is.
3727 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3728 selected items of a given column.
3729 (+hildon_touch_selector_center_on_selected): Public method to center
3730 all columns on the nearest selected item.
3731 * src/hildon-touch-selector.h: Add definition for
3732 hildon_touch_selector_center_on_selected().
3734 Implement public API to ensure visibility of all selected items in
3735 a HildonTouchSelector.
3737 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3739 Fixed a problem in the fading when calling the scroll_to API, and
3740 improve scrollbar fading handling.
3742 * src/hildon-pannable-area.c,
3743 (hildon_pannable_area_grab_notify): avoid the timeout when the
3745 (hildon_pannable_area_button_press_cb),
3746 (hildon_pannable_area_motion_notify_cb): Code style changes.
3747 (hildon_pannable_area_button_release_cb): Review the conditions
3748 when releasing the mouse button to avoid unrequired fading
3750 (hildon_pannable_area_scroll_to): Do not calculate and set the
3751 velocity if the scroll is not required.
3753 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3755 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3756 Don't check whether the new selector is NULL: it cannot be.
3757 Hold a reference to the selector while doing the replacement.
3759 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3761 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3762 unnecessary size_request in a removed widget.
3764 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3766 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3767 an unnecessary reference tracking that was leaking.
3769 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3771 Added delayed motion notify event handling, this way we can
3772 discard redrawing if more than 25 events arrive per second.
3774 * src/hildon-pannable-area.c,
3775 (hildon_pannable_area_init): Initialized the new private atributes
3776 controlling this timeout
3777 (hildon_pannable_area_dispose): Remove the timeout that controls
3778 the motion notify events.
3779 (hildon_pannable_area_scroll): Added a condition to control the
3780 use of the acceleration.
3781 (hildon_pannable_area_motion_event_scroll_timeout),
3782 (hildon_pannable_area_motion_event_scroll): Added this two
3783 functions, they handle the motion notify events inside the
3785 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3786 to the scroll method with the new function.
3787 (hildon_pannable_area_button_release_cb): We have to remove the
3788 timeout handler and move to the last position if the last motion
3789 events were not handled.
3791 Fixes: NB#97028 (Pannable area updates on every motion event)
3793 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3795 * src/hildon-pannable-area.c,
3796 (hildon_pannable_area_get_topmost): Added a new parameter to
3797 filter the the windows that do not include those events. Added
3798 also a condition when finding the window to filter windows that do
3799 not ask for those events.
3800 (hildon_pannable_area_button_press_cb),
3801 (hildon_pannable_area_button_release_cb),
3802 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3803 topmost function, we have added the new parameter.
3805 Fixes: NB#97458 (Pannable area prevents propagation of button
3808 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3810 * src/hildon-pannable-area.c,
3811 (hildon_pannable_area_initial_effect): Added controls before
3812 launching the timeout and the idle functions.
3813 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3814 of the method, in some situations it can return with TRUE and 0 in
3816 (hildon_pannable_area_button_press_cb): We do not need to set
3817 DELAY for fading out here.
3819 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3821 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3823 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3824 post-cleaning if the selection is not NULL.
3826 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3828 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3829 all items before restoring the selection.
3831 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3833 * src/hildon-touch-selector.c:
3834 (+hildon_touch_selector_unselect_all):
3835 * src/hildon-touch-selector.h: New API to unselect all items in a
3836 column of the touch selector.
3838 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3840 * src/hildon-pannable-area.c,
3841 (hildon_pannable_area_redraw): Added a call to the refresh
3842 function inside the redraw because apparently in some cases the
3843 change in the adjustment does not imply a size allocate.
3845 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3846 despite the view not being scrollable)
3848 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3850 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3851 leak. Check for NULL before attempting to set the window title.
3853 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3855 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3856 whether to show or not the 'Done' button each time the dialog is
3857 shown, as it depends on the HildonTouchSelector selection mode.
3859 Fixes: NB#96226 (In multiple selection mode Done button is shown
3860 sometimes in listpicker)
3862 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3864 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3865 for the number of columns in the HildonTouchSelector more than once.
3867 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3869 * src/hildon-touch-selector.c: Minor documentation fixes.
3871 * src/hildon-picker-dialog.c (+_dialog_update_title)
3872 (_select_on_selector_changed_cb)
3873 (_update_title_on_selector_changed_cb)
3874 (on_selector_columns_changed): Update dialog title when there's no
3875 'Done' button and also when the number of columns in the selector
3879 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3880 (+_selection_changed, hildon_picker_button_on_dialog_response)
3881 (hildon_picker_button_selector_selection_changed)
3882 (+hildon_picker_button_selector_columns_changed)
3883 (hildon_picker_button_set_selector): Update button value and emit
3884 'value-changed' when the number of columns in the selector
3888 Fixes: NB#96225 (Dialog titles are not shown according to the
3889 values selected in the list picker)
3891 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3893 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3894 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3895 New "arrow-width" and "arrow-height" style properties to set the
3896 size of the arrow button.
3897 Set name of arrow button ("hildon-edit-toolbar-arrow").
3899 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3900 graphics from theme)
3902 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3904 * src/hildon-picker-button.c:
3905 (hildon_picker_button_selector_selection_changed): Use
3906 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3907 the dialog is present.
3909 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3910 the selection is accepted in the dialog)
3912 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3914 * src/hildon-color-chooser.h
3915 * src/hildon-color-chooser-dialog.h:
3916 Added G_BEGIN_DECLS and G_END_DECLS
3918 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3920 (_clean_current_selection): plug a leak in the list.
3922 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3924 * src/hildon-picker-dialog.c:
3925 (+free_path_list): Method to free a GList of GtkTreePaths.
3926 (_clean_current_selection), (_save_current_selection),
3927 (_restore_current_selection): Save the current selection in
3928 as a list of lists, to support multiple selection properly.
3930 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3932 patch by Claudio Saavedra (csaavedra@igalia.com)
3934 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3935 Store the press position.
3936 (+hildon_text_view_button_release_event): If the release position is
3937 close enough to the press position, move the cursor here. Otherwise,
3939 (hildon_text_view_class_init): Override GtkTextView press, release, and
3940 motion event handlers, disabling this way text selection through
3941 pointer interaction, and allowing the container widget to handle the
3944 Fixes: NB#95828 (HildonTextView functionality)
3946 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3948 Based on a patch by Iván Gómez (igomez@igalia.com)
3950 * src/hildon-button.[ch]
3951 * src/hildon-calendar.c
3952 * src/hildon-check-button.c
3953 * src/hildon-date-editor.c
3954 * src/hildon-date-selector.c
3955 * src/hildon-picker-button.c
3956 * src/hildon-time-editor.c
3957 * src/hildon-time-selector.c
3958 * src/hildon-touch-selector.[ch]:
3959 Documentation updates
3961 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3963 * src/hildon-pannable-area.c,
3964 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3965 threshold, it was required due to X events handling.
3967 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3969 * src/hildon-pannable-area.c,
3970 (hildon_pannable_area_grab_notify),
3971 (hildon_pannable_area_initial_effect),
3972 (hildon_pannable_area_button_press_cb),
3973 (hildon_pannable_area_button_release_cb),
3974 (hildon_pannable_area_scroll_cb),
3975 (hildon_pannable_area_scroll_to): Review the timeout management of
3976 the scrollbar, the frecuency was incorrectly set.
3978 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3980 * src/hildon-picker-button.c:
3981 (+hildon_picker_button_on_dialog_response),
3982 (hildon_picker_button_clicked): Present the dialog instead of
3983 running it with gtk_dialog_run().
3985 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3988 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3990 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3991 (hildon_app_menu_finalize): When a window is hidden it doesn't
3992 emit notify::is-topmost, so make sure than the menu also
3993 disappears in that case.
3994 (parent_window_topmost_notify): Renamed from parent_window_hidden
3996 Fixes: NB#94460 (stackable window's menu is not closed when its
3999 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4001 * src/hildon-touch-selector-entry.c:
4002 (+hildon_touch_selector_entry_set_input_mode),
4003 (+hildon_touch_selector_entry_get_input_mode):
4004 * src/hildon-touch-selector-entry.h: New methods to access the input
4005 mode in the selector's entry.
4007 Fixes: NB#93410 (API required for setting IM mode in
4008 HildonTouchSelectorEntry)
4010 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4012 * configure.ac: post release version bump.
4013 * debian/changelog: version bump
4015 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4020 * configure.ac: Bump version.
4021 * debian/changelog: Updates.
4023 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4025 * src/hildon-touch-selector.c:
4026 (_hildon_touch_selector_has_multiple_selection): No need
4027 to initialize the variables here.
4029 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4031 * src/hildon-note-private.h
4032 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4033 (hildon_note_finalize, hildon_note_rebuild): Close information
4034 notes when they receive a button press.
4036 Fixes: NB#89890 (Information notes does not get disappeared after
4039 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4041 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4042 mark from the wizard title, as it's not really necessary. Also,
4043 do not display the page title if not set.
4045 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4047 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4048 (parent_window_hidden): Use the window's "is-topmost" property to
4049 detect when to hide the menu.
4051 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4053 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4054 (hildon_app_menu_finalize): If the parent window of the menu is
4055 hidden, hide the menu too.
4057 Fixes: NB#94460 (stackable window's menu is not closed when its
4060 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4063 * debian/libhildon1-examples.install
4065 * examples/Makefile.am:
4066 Use dh_install to install all examples.
4067 Use DEB_SRCDIR instead of defining SOURCE_DIR
4069 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4071 * configure.ac: post release version bump.
4072 * debian/changelog: version bump
4074 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4079 * configure.ac: bump version
4080 * debian/changelog: updates
4081 * debian/control: bump gtk+ dependency
4083 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4085 patch by Christian Dywan (christian@imendio.com)
4087 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4088 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4090 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4092 * src/hildon-check-button.c (hildon_check_button_init)
4093 (hildon_check_button_class_init, hildon_check_button_style_set)
4094 (hildon_check_button_apply_style):
4095 New "checkbox-size" style property.
4097 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4098 larger / configurable size)
4100 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4102 * configure.ac: post release version bump.
4103 * debian/changelog: version bump
4105 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4110 * configure.ac: bump version
4111 * debian/changelog: updates
4113 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4115 * doc/hildon-sections.txt
4116 * src/hildon-pannable-area.c
4117 * src/hildon-program.c
4118 * src/hildon-time-editor.c
4119 * src/hildon-touch-selector-entry.c:
4121 More documentation updates.
4123 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4125 * doc/hildon-sections.txt
4126 * src/hildon-caption.c
4127 * src/hildon-code-dialog.c
4128 * src/hildon-color-button.c
4129 * src/hildon-controlbar.c
4130 * src/hildon-date-editor.c
4131 * src/hildon-date-selector.c
4132 * src/hildon-edit-toolbar.c
4133 * src/hildon-find-toolbar.c
4134 * src/hildon-font-selection-dialog.c
4136 * src/hildon-program.c
4137 * src/hildon-range-editor.c
4138 * src/hildon-seekbar.c
4139 * src/hildon-time-editor.c
4140 * src/hildon-time-selector.c
4141 * src/hildon-volumebar-range.c
4142 * src/hildon-volumebar.c
4143 * src/hildon-vvolumebar.c
4144 * src/hildon-weekday-picker.c
4145 * src/hildon-window.c
4146 * src/hildon-wizard-dialog.c:
4148 Lots of documentation fixes.
4150 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4152 Patch contributed by Iván Gómez (igomez@igalia.com)
4154 * src/hildon-check-button.c:
4155 * src/hildon-date-button.c:
4156 * src/hildon-date-selector.c:
4157 * src/hildon-dialog.c:
4158 * src/hildon-edit-toolbar.c:
4159 * src/hildon-entry.c:
4160 * src/hildon-picker-button.c:
4161 * src/hildon-program.c:
4162 * src/hildon-text-view.c:
4163 * src/hildon-time-button.c:
4164 * src/hildon-touch-selector-entry.c:
4165 * src/hildon-window-stack.c:
4167 Add more "since" tags to the new API.
4169 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4171 * doc/hildon-sections.txt: Add below method.
4172 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4173 version for the hildonized scale.
4174 * src/hildon-gtk.h: Add the definition.
4176 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4178 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4180 * doc/hildon-sections.txt: Add missing entries for new methods.
4182 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4184 Added API to pannable are in order to get its adjustments. We
4185 added two properties to manage the values we had in the private
4188 * src/hildon-pannable-area.c:
4189 (hildon_pannable_area_class_init): Added hadjustment and
4190 vadjustment properties in order to expose horizontal and vertical
4192 (hildon_pannable_area_get_property),
4193 (hildon_pannable_area_set_property): Added code to handle the new
4195 (hildon_pannable_area_get_hadjustment),
4196 (hildon_pannable_area_get_vadjustment): API functions to get the
4198 * src/hildon-pannable-area.h:
4199 (hildon_pannable_area_get_hadjustment),
4200 (hildon_pannable_area_get_vadjustment): API functions to get the
4203 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4205 Fixed some leaks, after valgrinding.
4207 * src/hildon-touch-selector.c:
4208 (_default_print_func): Fixed a leak.
4209 (hildon_touch_selector_append_column): Fixed a leak.
4210 * src/hildon-date-button.c:
4211 (hildon_date_button_init): Fixed a leak.
4212 * src/hildon-date-selector.c
4213 (hildon_date_selector_finalize): Fixed a leak.
4215 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4217 Based on a patch by Christian Dywan (christian@imendio.com)
4219 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4221 * src/hildon-gtk.h: Add definition.
4223 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4225 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4227 * src/hildon-picker-button.c: (hildon_picker_button_init),
4228 (hildon_picker_button_new): Set the HildonButton::style property
4229 in the init method, to propagate the value to the derived classes.
4231 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4233 * src/hildon-button.c: (hildon_button_class_init): Do not make
4234 the "style" property a construct property.
4236 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4238 * src/hildon-wizard-dialog.h
4239 * src/hildon-wizard-dialog.c
4240 (hildon_wizard_dialog_set_forward_page_func)
4241 * src/hildon-pannable-area.h
4242 * src/hildon-pannable-area.c
4243 (hildon_pannable_area_set_size_request_policy):
4244 Documentation fixes.
4246 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4248 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4250 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4252 * doc/hildon-sections.txt: Added sections file.
4254 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4257 * src/*.[ch]: Updates.
4259 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4261 * examples/hildon-progress-indicator-example.c: new file
4262 * examples/Makefile.am: include the new example program
4264 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4266 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4268 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4270 * configure.ac: post release version bump
4271 * debian/changelog: version bump
4273 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4278 * configure.ac: bump version
4279 * debian/changelog: updates
4280 * debian/control: bump gtk+ dependency
4282 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4284 * src/hildon-dialog.c: Mark as deprecated.
4285 * src/hildon-dialog.h: Mark as deprecated.
4286 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4287 from HildonDialog and still work, even if
4288 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4289 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4291 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4292 maemo changes) instead)
4294 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4296 * src/hildon-pannable_area.h:
4297 * src/hildon-pannable_area.c:
4298 (hildon_pannable_area_class_init),
4299 (hildon_pannable_area_set_property),
4300 (hildon_pannable_area_get_property),
4301 (hildon_pannable_area_size_request),
4302 (hildon_pannable_area_get_size_request_policy),
4303 (hildon_pannable_area_set_size_request_policy): Added new API
4304 allowing applications to control the request policy. Now they can
4305 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4306 children allocation (HILDON_MOVEMENT_CHILDREN).
4308 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4312 (hildon_gtk_tree_view_set_ui_mode)
4313 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4314 mode of treeviews and iconviews.
4316 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-touch-selector-entry.c:
4319 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4320 of a GtkEntry to get proper theming.
4322 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4323 widget, not GtkEntry)
4325 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4327 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4328 no HildonWizardDialogPageFunc.
4330 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4332 Patch contributed by Iván Gómez (igomez@igalia.com)
4334 * src/hildon-app-menu.c:
4335 * src/hildon-button.c:
4336 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4337 * src/hildon-stackable-window.c:
4338 * src/hildon-time-selector.c:
4339 * src/hildon-touch-selector.c:
4340 * src/hildon-window.c:
4342 Add more "since" tags to the new API in hildon 2.2.
4344 2008-12-05 Tim Janik <timj@imendio.com>
4346 Patch contributed by Christian Dywan (christian@imendio.com)
4348 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4349 HildonSizeType, which are supplied by Gtk+ now.
4351 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4353 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4354 (with maemo changes) instead)
4356 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4358 Patch contributed by Iván Gómez (igomez@igalia.com)
4360 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4363 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4365 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4366 (some_page_func), (main): Update the example to use a
4367 HildonWizardDialogPageFunc function.
4369 * src/hildon-wizard-dialog-private.h: Add private data for
4370 the HildonWizardDialogPageFunc function usage.
4372 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4373 (destroy), (hildon_wizard_dialog_init), (response),
4374 (hildon_wizard_dialog_set_forward_page_func):
4375 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4376 that applications can use to stop a HildonWizardDialog to jump to
4379 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4382 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-program.h
4385 * src/hildon-program-private.h
4386 * src/hildon-program.c (hildon_program_init)
4387 (hildon_program_set_common_app_menu)
4388 (hildon_program_get_common_app_menu):
4389 New API for setting a common HildonAppMenu for all
4390 HildonStackableWindows registered with the HildonProgram.
4392 * src/hildon-stackable-window.c
4393 (hildon_stackable_window_toggle_menu):
4394 Use the common HildonAppMenu if a window doesn't have a specific
4397 * src/hildon-app-menu-private.h
4398 * src/hildon-app-menu.c
4399 (hildon_app_menu_get_parent_window):
4400 Function to obtain the window a HildonAppMenu is attached to.
4401 (hildon_app_menu_set_parent_window):
4402 Hide the menu if the parent window is set to NULL.
4404 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4406 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4407 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4408 search widget to popup.
4410 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4412 * configure.ac: post release version bump
4413 * debian/changelog: version bump
4415 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4420 * configure.ac: bump version
4421 * debian/changelog: updates
4423 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4425 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4427 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4428 (hildon_window_stack_window_realized)
4429 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4430 Set the leader GdkWindow when a window is stacked and realized,
4431 unset it when it's unstacked.
4432 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4434 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4436 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4438 * src/hildon-stackable-window.h
4439 * src/hildon-window-stack.h:
4440 Protect definition of HildonWindowStack using the preprocessor.
4442 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4444 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4445 Fix warning if all menu items are hidden.
4447 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4449 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4451 * src/hildon-controlbar.c:
4452 * src/hildon-hvolumebar.c:
4453 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4454 Multiple scale size defines updates.
4456 Fixes: NB#94322 (Scale Updates)
4458 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4460 * examples/hildon-app-menu-example.c (create_menu)
4461 Show items after adding them to the menu, as in the future the
4462 menu will no longer call gtk_widget_show() on the added items.
4464 * src/hildon-app-menu.c:
4465 Update example as explained above.
4467 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4469 * src/hildon-app-menu.c
4470 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4471 Make sure that all menu items have finger height.
4473 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4475 * src/hildon-picker-dialog.c:
4476 (_on_dialog_response), (_save_current_selection),
4477 (_restore_current_selection), (_clean_current_selection),
4478 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4479 Defined new functions in order to save the current internal selector
4480 selection previous open the dialog, in case that the use cancel the
4481 interaction, so the widget restores the previous selection.
4483 Fixes: NB#92032 (In calendar application, date values in 'new event'
4486 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4488 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4490 * src/hildon-button.c: Add a reference to the button examples in
4491 hildon-button-example.c
4493 * examples/hildon-button-example.c: Added examples of the most
4494 common button layouts.
4496 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4498 * src/hildon-app-menu.c (hildon_app_menu_show)
4499 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4501 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4503 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4505 * src/hildon-picker-dialog.c:
4506 (hildon_picker_dialog_init): Initialize the signal id for
4507 HildonTouchSelector::columns-changed.
4508 (+on_selector_columns_changed): Set up the interaction mode everytime a
4509 column is added or removed from the HildonTouchSelector.
4510 (_hildon_picker_dialog_set_selector): Connect to
4511 HildonTouchSelector::columns-changed and keep track of it.
4513 Make sure to update the interaction mode of the dialog everytime a
4514 column is added or removed in the HildonTouchSelector.
4516 Fixes: NB#93228 (Done button is not shown always in listpicker)
4518 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4520 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4521 a new ::columns-changed signal.
4522 (hildon_touch_selector_append_column): Emit ::columns-changed.
4523 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4525 Add a ::columns-changed signal, emitted when the number of columns in a
4526 HildonTouchSelector changes.
4528 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4530 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4531 (_hildon_picker_dialog_set_selector): Factor out the code
4532 to set up the dialog interaction mode.
4534 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4536 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4537 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4538 to signal_changed_id.
4540 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4542 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4545 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4547 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4548 Updated the logical ids related to ampm format, as now it is required to
4549 show it correctly localized even on languages with no default
4550 abbreviations for am or pm
4551 (_check_am_pm_format): check correctly the 24h format gconf property
4553 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4555 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4557 * src/hildon-button.c: Documentation updates.
4559 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4561 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4562 * src/hildon-caption.c: (hildon_caption_class_init):
4563 * src/hildon-color-button.c: (hildon_color_button_class_init):
4564 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4565 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4566 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4567 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4569 Remove deprecated GTK+ marshalers and replace them with the ones
4570 provided by GLib, for those available, add a marshaler for
4571 BOOLEAN:VOID, which is not available in GLib, and use it.
4573 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4575 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4576 the text from the previous column if there is no
4577 HildonTouchSelectorColumn::text-property set.
4579 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4581 * src/hildon-button.h
4582 * src/hildon-button.c (hildon_button_set_property)
4583 (hildon_button_get_property, hildon_button_class_init)
4584 (hildon_button_set_style, hildon_button_get_style):
4585 New "style" property to change the visual appearance of the
4588 * src/hildon-picker-button.c (hildon_picker_button_new):
4589 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4591 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4592 HildonButton look like PickerButton)
4594 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4596 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4597 column while building the default string.
4599 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4601 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4602 scroll indicator by default.
4604 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4606 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4608 * src/hildon-main.c: Fix the documentation for hildon_init()
4610 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4612 * doc/hildon-docs.sgml
4616 * src/hildon-window-stack-private.h
4617 * src/hildon-window-stack.h
4618 * src/hildon-window-stack.c:
4619 New HildonWindowStack object, that adds support for multiple
4620 stacks of windows per process.
4622 * src/hildon-stackable-window-private.h
4623 * src/hildon-stackable-window.h
4624 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4625 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4626 (hildon_stackable_window_show, hildon_stackable_window_hide)
4627 (hildon_stackable_window_class_init)
4628 (hildon_stackable_window_init):
4629 Use HildonWindowStack for stack management.
4631 * src/hildon-program.c (hildon_program_pop_window_stack)
4632 (hildon_program_peek_window_stack)
4633 (hildon_program_go_to_root_window):
4634 Add a fallback implementation to the deprecated functions using
4637 * examples/hildon-stackable-window-example.c:
4638 Use the new HildonWindowStack API.
4640 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4642 * src/hildon-stackable-window-private.h
4643 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4644 (hildon_stackable_window_hide, hildon_stackable_window_init):
4645 Remove all window stack management.
4647 * src/hildon-program-private.h
4648 * src/hildon-program.h
4649 * src/hildon-program.c (hildon_program_init)
4650 (hildon_program_pop_window_stack)
4651 (hildon_program_peek_window_stack)
4652 (hildon_program_go_to_root_window):
4653 Remove all window stack management and mark functions as
4656 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4658 * src/hildon-app-menu.c (hildon_app_menu_realize):
4659 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4661 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4663 * configure.ac: post release version bump
4664 * debian/changelog: version bump
4666 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4671 * configure.ac: bump version
4672 * debian/changelog: updates
4674 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4676 Based on initial code by Christian Dywan (christian@imendio.com)
4678 * doc/hildon-docs.sgml: Add section for hildon-main.
4679 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4680 * src/Makefile.am: Add new hildon-main.[ch]
4681 * src/hildon-defines.h: Update the icon sizes.
4682 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4683 new library initialization files and register icon sizes.
4684 * src/hildon-main.h: New declarations.
4685 * src/hildon.h: Include hildon-main.h
4687 Add new initialization functions to the library. These methods
4688 will register the hildon specific icon sizes and can be used in the
4689 future for other hildon specific bits.
4691 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4693 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4695 * src/hildon-window.c: (hildon_window_realize),
4696 (hildon_window_notify), (-hildon_window_update_title): Do not set
4697 the application name in the window title.
4699 Fixes: NB#89754 (Applications shouldn't display their names in the
4702 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/hildon-note-private.h:
4705 * src/hildon-note.c: (hildon_note_set_property),
4706 (hildon_note_get_property), (hildon_note_class_init),
4707 (hildon_note_init), (hildon_note_finalize),
4708 (hildon_note_new_confirmation_with_icon_name),
4709 (hildon_note_new_information_with_icon_name):
4711 No need to mark as deprecated the actual code. Revert
4712 to avoid missing symbols in widgets using deprecated API.
4714 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4716 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4718 * src/hildon-volumebar.h
4719 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4720 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4722 * src/hildon-helper.h
4723 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4724 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4726 * examples/Makefile.am:
4727 Deprecate hildon-insensitive-example
4729 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4731 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4733 * examples/hildon-pannable-area-buttons-scroll-example.c:
4734 Make all buttons finger height
4736 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4738 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4740 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4741 update the day model only if it is really required, and to avoid the
4742 full-reconstruction aproach. Now it only add or remove the required days.
4744 The purpose of this is avoid superfluous HildonTouchSelector::changed
4747 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4748 with strange parameters)
4750 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4752 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4754 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4755 the WINDOW_TYPE property.
4757 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4759 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4762 Fix dependency to allow parallel compilation with make -jX
4764 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4766 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4767 color frame and some minor tweaks to make it more consistent with
4770 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4771 highlighted but not visible)
4773 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4775 * examples/Makefile.am: Fixed typo in the Makefile.am.
4777 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4779 Reviewed the use of MAEMO_GTK define, now we add the define in the
4780 compilation line, and we also add it to the pc file.
4782 * configure.ac: Added MAEMO_GTK define to the compilation command
4783 and removed it from the config.h.
4785 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4786 do not have to take care about this define if the library was
4790 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4792 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4794 * examples/Makefile.am,
4795 * examples/hildon-pannable-area-buttons-scroll-example.c,
4796 * examples/hildon-pannable-area-gesture-signals-example.c,
4797 * examples/hildon-pannable-area-scroll-jump-example.c,
4798 * examples/hildon-pannable-area-tree-view-example.c:
4799 Renamed the pannable area examples, now they have more meaningful
4802 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4804 * src/hildon-touch-selector.c:
4805 (hildon_touch_selector_set_column_selection_mode): Used of
4806 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4807 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4808 to avoid re-seting the same selection mode.
4810 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4811 breaks HildonPickerDialog)
4813 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4815 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4816 conditional in the Makefile.am
4818 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4820 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4821 Remove unused methods.
4823 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4825 * src/hildon-button.c (hildon_button_init):
4826 Make button images center-aligned by default
4828 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4831 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4832 activated, we have to think about how to deal with both defines
4833 MAEMO_GTK and MAEMO_CHANGES.
4835 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4837 * examples/hildon-app-menu-example.c (create_menu): Make all
4838 buttons finger size.
4840 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4842 Fixed the compilation without maemo gtk adding ifdefs with
4843 MAEMO_GTK define to the code, we have to check this version more
4846 * examples/Makefile.am: Added control to avoid some examples that
4847 just make sense with maemo gtk.
4850 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4851 hildon modes with the define.
4853 * examples/hildon-edit-toolbar-example.c,
4854 (create_icon_view): Create the icon view without hildon-gtk
4855 helpers if we are not using maemo gtk.
4857 * src/hildon-touch-selector.c,
4858 (_create_new_column): Create the treeview without hildon-gtk
4859 helpers if we are not using maemo gtk.
4861 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4863 * src/hildon-pnnable-area.c,
4864 (hildon_pannable_area_dispose),
4865 (hildon_pannable_area_button_press_cb),
4866 (hildon_pannable_area_child_mapped),
4867 (hildon_pannable_area_add),
4868 (hildon_pannable_area_remove): Added code to control the position
4869 of the event_window when adding and removing children from the
4870 pannable. We have to raise the event window when the child is
4873 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4874 selection mode using custom widget inside pannable)
4876 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4878 * configure.ac: post release version bump
4879 * debian/changelog: version bump
4881 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4886 * configure.ac: bump version
4887 * debian/changelog: updates
4889 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4891 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4892 search mode, in order to avoid lose the focus on the treeview when
4893 a hw key (like enter) is pressed.
4895 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4896 in HildonDateSelector dialog)
4898 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4900 * debian/rules: Added --enable-maintainer-mode
4901 * Makefile.am: Added ACLOCAL_AMFLAGS
4903 This allows to properly regenerate the Makefiles if you modify the
4904 configure.ac or any Makefile.am.
4906 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4908 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4909 properties, not needed at all.
4911 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4913 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4915 * src/hildon-note.c: (hildon_note_set_property),
4916 (hildon_note_get_property), (hildon_note_class_init),
4917 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4918 (hildon_note_new_confirmation_add_buttons): Remove icons.
4919 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4920 (hildon_note_new_information_with_icon_name): Deprecate.
4921 (hildon_note_new_confirmation): Act directly, without calling
4922 the deprecated constructor.
4923 (hildon_note_new_information): Act directly, without calling
4924 the deprecated constructor.
4925 * src/hildon-note.h: Mark deprecate methods as such.
4926 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4927 not run tests on the deprecated methods if built with deprecation
4930 Fixes: NB#91688 (Never show icons in information notes/confirmation
4933 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4935 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4936 (hildon_app_menu_key_press): Remove leftover usage of the
4937 private structure in HildonAppMenu struct.
4938 * src/hildon-app-menu.h: Remove leftover private structure
4939 from the HildonAppMenu struct.
4941 Fixes a crasher when using the HildonAppMenu.
4943 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4945 * src/hildon-picker-dialog.c: Use appropriate logical id
4946 for the default "Done" text.
4948 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4950 * configure.ac: post release version bump
4951 * debian/changelog: version bump
4953 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4955 Modified the way to scroll to the current selection just when the touch
4956 selector is shown on the screen, avoiding a g_idle. Added too a property
4957 to configure this behaviour. See hildon_pannable_area_jump_to_child
4958 documentation for more information.
4960 * src/hildon-touch-selector.c
4961 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4962 Added 'initial-scroll' property
4963 (hildon_touch_selector_set_property): Added
4964 (hildon_touch_selector_map): Removed as not required anymore
4965 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4966 only a concrete column, instead of iterate along all the columns
4968 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4973 * configure.ac: bump version
4974 * debian/changelog: updates
4976 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4978 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4979 compilation time warnings.
4981 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4983 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4984 the default value for HildonPannableArea::mov-mode to
4985 HILDON_PANNABLE_AREA_MODE_VERT.
4987 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4989 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4991 Reverting following commit:
4993 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4995 * src/hildon-app-menu-private.h
4996 * src/hildon-app-menu.[ch]
4997 * src/hildon-button.[ch]
4998 * src/hildon-check-button.[ch]
4999 * src/hildon-entry.[ch]
5000 * src/hildon-pannable-area.[ch]
5001 * src/hildon-text-view.[ch]:
5002 Added private field to the object's structure.
5004 because it causes an ABI breakage. We will need to introduce these
5005 changes later at some point. See NB#91636 for an extensive
5006 explanation and status.
5008 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5010 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5012 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5013 remove special cases that are no longer necessary.
5015 Fixes: NB#91016 (Change toolbar sizes, simplification)
5017 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5019 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5020 is shown in the cancel note.
5022 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5024 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5025 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5026 (hildon_seekbar_init): Remove steppers, remove expose event.
5027 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5029 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5031 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5033 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5034 label font to "SmallSystemFont" for vertically arranged buttons.
5036 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5039 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5041 * src/hildon-check-button.c
5042 (hildon_check_button_set_active, hildon_check_button_clicked):
5043 Don't access private parts directly, use getters instead.
5045 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5047 * src/hildon-check-button.c (hildon_check_button_new):
5048 Align the contents of the check button to the left.
5050 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5052 * src/hildon-pannable-area.c,
5053 (hildon_pannable_area_scroll_to),
5054 (hildon_pannable_area_jump_to),
5055 (hildon_pannable_area_scroll_to_child),
5056 (hildon_pannable_area_jump_to_child): Replace the mapped
5057 precondition of these functions with the realized, it is the
5058 correct state of the widget in this case. Changed the
5059 documentation according to this modification.
5061 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5063 Added a new EXTRA_CFLAGS option to add the deprecated define to
5064 the compilation command. This way we can avoid using the define in
5065 the documentation compilation.
5067 * configure.ac: Defined EXTRA_CFLAGS.
5069 * examples/Makefile.am:
5071 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5073 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5075 * src/hildon-picker-dialog.c:
5076 Defined a utility macro with the desired touch selector height
5077 Removed currently unused separator, and title_label variables from
5079 (hildon_picker_dialog_init): Removed code related to the creation
5080 of unused private variables title_label and separator.
5081 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5082 to ensure correct visualization of the touch selector inside the dialog.
5083 * src/hildon-touch-selector.c
5084 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5085 ensure a concrete height of the widget.
5087 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5090 * tests/Makefile.am:
5092 Remove spurious whitespaces.
5094 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5096 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5097 compilation warning after the cancel button removal.
5099 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5101 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5103 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5104 Makefile.am, that way we can choose not to compile some examples
5105 and tests of the deprecated widgets.
5107 * examples/Makefile.am: Divided the sources in deprecated and
5110 * src/Makefile.am: Added undef statement of the deprecated
5111 symbol to the enums file generation process.
5113 * src/hildon-color-chooser-dialog.c
5114 * src/hildon-color-chooser-dialog.h
5115 * src/hildon-color-button.c
5116 * src/hildon-color-button.h
5117 * src/hildon-color-chooser.c
5118 * src/hildon-color-chooser.h
5119 * src/hildon-controlbar.c
5120 * src/hildon-controlbar.h
5121 * src/hildon-date-editor.c
5122 * src/hildon-date-editor.h
5123 * src/hildon-hvolumebar.c
5124 * src/hildon-hvolumebar.h
5125 * src/hildon-private.c
5126 * src/hildon-private.h
5127 * src/hildon-range-editor.c
5128 * src/hildon-range-editor.h
5129 * src/hildon-seekbar.c
5130 * src/hildon-seekbar.h
5131 * src/hildon-time-editor.c
5132 * src/hildon-time-editor.h
5133 * src/hildon-time-picker.c
5134 * src/hildon-time-picker.h
5135 * src/hildon-volumebar.c
5136 * src/hildon-volumebar.h
5137 * src/hildon-vvolumebar.c
5138 * src/hildon-vvolumebar.h
5139 * src/hildon-bread-crumb-trail.h
5140 * src/hildon-bread-crumb-trail.c
5141 * src/hildon-calendar-popup.c
5142 * src/hildon-calendar-popup.h
5143 * src/hildon-weekday-picker.c:
5144 * src/hildon-weekday-picker.h:
5145 * src/hildon-bread-crumb-widget.c:
5146 * src/hildon-bread-crumb-widget.h:
5147 * src/hildon-bread-crumb.c:
5148 * src/hildon-bread-crumb.h:
5149 * src/hildon-calendar.c:
5150 * src/hildon-calendar.h:
5151 * src/hildon-caption.c:
5152 * src/hildon-code-dialog.c:
5153 * src/hildon-code-dialog.h:
5154 * src/hildon-font-selection-dialog.c:
5155 * src/hildon-font-selection-dialog.h:
5156 * src/hildon-get-password-dialog.c:
5157 * src/hildon-get-password-dialog.h:
5158 * src/hildon-login-dialog.c:
5159 * src/hildon-login-dialog.h:
5160 * src/hildon-number-editor.c:
5161 * src/hildon-number-editor.h:
5162 * src/hildon-set-password-dialog.c:
5163 * src/hildon-set-password-dialog.h:
5164 * src/hildon-sort-dialog.c:
5165 * src/hildon-sort-dialog.h: This is the list of deprecated
5168 * src/hildon-touch-selector.c:
5169 * src/hildon-window.c: Added undef statement to avoid compilation
5172 * tests/Makefile.am: Divided the sources in deprecated and
5175 * tests/check_test.c,
5176 (configure_tests): Marked the deprecated code that was adding
5177 suites with deprecated tests.
5179 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5181 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5183 * src/hildon-touch-selector.c: (_default_print_func): Do not
5184 duplicate a string returned by gtk_tree_model_get(), it is already
5187 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5190 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5192 * src/hildon-pannable-area.c
5193 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5194 method, it had problems when adding a widget with viewport the
5195 second time. Now checks if it already has a viewport and uses it.
5197 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5200 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5202 * src/hildon-pannable-area.c,
5203 (hildon_pannable_area_scroll_to),
5204 (hildon_pannable_area_jump_to),
5205 (hildon_pannable_area_scroll_to_child),
5206 (hildon_pannable_area_jump_to_child): Added a precondition to the
5207 scroll and jump to functions: the widget must be mapped before we
5208 can safely call these functions. We have also added documentation
5209 to the functions to explain how to use them in this situation.
5212 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5214 Reviewed the threading handling of the pannable widget, we have
5215 used the gdk_threads_add_timeout function instead of the usual
5216 glib handlers. This avoids some problems with the threads.
5218 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5219 (hildon_pannable_area_initial_effect),
5220 (hildon_pannable_area_scroll_indicator_fade),
5221 (hildon_pannable_area_button_press_cb),
5222 (hildon_pannable_area_timeout),
5223 (hildon_pannable_area_motion_notify_cb),
5224 (hildon_pannable_area_button_release_cb),
5225 (hildon_pannable_area_scroll_cb),
5226 (hildon_pannable_area_scroll_to): Removed the
5227 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5228 gdk_threads_add_timeout.
5230 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5232 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5237 * configure.ac: bump version
5238 * debian/changelog: updates
5240 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5242 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5243 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5244 * src/hildon-color-chooser-dialog.c:
5245 (hildon_color_chooser_dialog_init):
5246 * src/hildon-font-selection-dialog.c:
5247 (hildon_font_selection_dialog_init):
5248 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5250 Remove all cancel/close-like dialogs, as these are not going to be
5253 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5255 * src/hildon-note.c: (hildon_note_rebuild),
5256 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5259 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5261 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5263 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5264 sure all buttons are shown, even the Cancel/Close-like ones.
5266 Fixes: NB#90861 (Custom Confirmation dialogs should be
5267 protected from cancel button removal)
5269 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5271 * debian/control: Change libhildon1-examples dependency from libhildon1
5273 * debian/libhildon1-examples.install
5275 * Makefile.am: Modified the final install directory for the examples on
5276 package libhildon1-examples
5277 * Makefile.static: Update clean target in order to remove all the binary
5280 Changes suggested by Claudio after review new libhildon1-examples package
5282 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5284 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5285 * src/hildon-touch-selector.c: Ditto.
5287 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5289 * debian/control: Added new package libhildon1-examples, in order to pack
5290 the current hildon examples as documentation
5291 * debian/rules: Not to compress .c files, modify some includes on the
5292 examples (as normally are compiled locally, but when installed it will
5293 require to include the installed libhildon1 library), and rename
5295 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5296 install all the example files on the new example package
5297 * examples/Makefile.static: Added static makefile that can be used to
5298 compile the examples, once installed the new example package
5299 * examples: Most of the examples were modified in order to grant that
5300 all use only '#include "hildon.h"', in order to be easy to prepare
5301 it on the example package
5303 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5306 * debian/libhildon1-dev.install
5307 * debian/libhildon1-doc.install:
5308 Move all gtk-doc files to a separate libhildon1-doc package.
5310 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5312 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5314 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5316 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5318 * debian/rules: Fixed a error in order to avoid unnecessary calls
5319 to autogen.sh on package building
5321 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5323 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5325 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5327 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5330 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5332 * src/hildon-picker-button.c
5333 (hildon_picker_button_finalize):
5334 Free priv->done_button_text
5336 * src/hildon-time-button.c
5337 (hildon_time_button_set_time)
5338 * src/hildon-picker-button.c
5339 (hildon_picker_button_clicked)
5340 (hildon_picker_button_selector_selection_changed)
5341 (hildon_picker_button_set_selector)
5342 * src/hildon-date-button.c
5343 (hildon_date_button_set_date):
5344 Free strings returned by hildon_touch_selector_get_current_text()
5346 * src/hildon-button.c (hildon_button_construct_child):
5347 Fix leaks in priv->image and priv->label_box
5349 Fixes: NB#90535 (Memory leak in picker button)
5351 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5353 * src/hildon-button.c: (hildon_button_get_property): Do not access
5354 private elements directly, use getters instead.
5356 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5358 * src/hildon-app-menu-private.h
5359 * src/hildon-app-menu.c
5360 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5361 Store the menu's parent window.
5363 * src/hildon-stackable-window.c
5364 (hildon_stackable_window_toggle_menu)
5365 (hildon_stackable_window_finalize):
5366 Set the menu's parent window when the menu is shown, unset it when
5369 * src/hildon-app-menu.c
5370 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5371 (hildon_app_menu_class_init):
5372 Send unhandled keyboard accelerators to the parent window.
5374 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5376 * src/hildon-stackable-window.c
5377 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5379 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5381 * configure.ac: post release version bump
5383 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5386 * configure.ac: Bump version
5387 * debian/changelog: Updates
5388 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5391 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5393 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5396 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5397 GtkMenu with Hildon style.
5399 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5401 * src/hildon-picker-button.c:
5402 (hildon_picker_button_set_done_button_text): Set the dialog's
5403 done button text here as well.
5405 Fixes: NB#90232 (Picker button does not set the label on done button
5406 for the second time)
5408 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5410 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5413 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5415 * src/hildon-app-menu.c (hildon_app_menu_insert)
5416 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5417 the HildonAppMenu to be activatable using keyboard accelerators
5418 when the menu is not being shown.
5420 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5422 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5424 * src/hildon-stackable-window.c
5425 (hildon_stackable_window_show):
5426 Don't hide old windows automatically when new windows are shown:
5427 this is now a task for the window manager.
5428 (hildon_stackable_window_class_init)
5429 (hildon_stackable_window_hide):
5430 Remove windows from the stack everytime they're hidden.
5431 (hildon_stackable_window_realize):
5432 Don't change the _NET_WM_WINDOW_TYPE property. Use
5433 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5434 it as a stackable window.
5436 * src/hildon-program.c
5437 (hildon_program_pop_window_stack):
5438 Just hide the window to remove it from the stack.
5439 (hildon_program_go_to_root_window):
5440 Don't call gtk_widget_show(), this is now a task for the window
5443 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5445 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5447 * src/hildon-button.c
5448 (hildon_button_construct_child):
5449 Don't pack anything in the button until text or image are
5450 set. This allows adding a custom child after creating the button
5451 with hildon_button_new().
5452 (hildon_button_finalize, hildon_button_class_init)
5453 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5454 alignment and the label box even when they're not packed in the
5457 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5459 * src/hildon-touch-selector.h:
5460 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5461 currently the type definition was using GTK_TYPE_VBOX
5462 * src/hildon-touch-selector.c:
5463 Added some implementation notes in order to clarify that any other widget
5464 added without the column related API will not be included on the
5465 selection logic, and how the widget is freed, as some people ask about
5467 (hildon_touch_selector_remove): Reimplemented in order to free properly
5468 the column related data when you remove the private hbox.
5469 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5470 to get a proper HildonTouchSelectorColumn documentation
5472 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5474 * src/hildon-touch-selector-entry.c:
5475 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5476 text in the GtkEntry and there is no item selected. Fixes a
5479 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5481 * src/hildon-app-menu-private.h
5482 * src/hildon-app-menu.[ch]
5483 * src/hildon-button.[ch]
5484 * src/hildon-check-button.[ch]
5485 * src/hildon-entry.[ch]
5486 * src/hildon-pannable-area.[ch]
5487 * src/hildon-text-view.[ch]:
5488 Added private field to the object's structure.
5490 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5492 * configure.ac: post-release version bump
5494 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5498 * configure.ac: pre-release version bump
5500 * debian/changelog: updates.
5502 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5504 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5505 Disconnect the handler for HildonTouchSelector::changed.
5507 (hildon_picker_button_selector_selection_changed): Update the button
5508 value if the selection change was not triggered by the
5511 (hildon_picker_button_set_selector): connect to
5512 HildonTouchSelector::changed.
5514 Fixes: NB#89650 (Picker button is not updated, when selection in
5515 selector has changed)
5517 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5519 * src/hildon-picker-dialog.c
5520 (hildon_picker_dialog_realize): Removed as not required
5521 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5522 * src/hildon-picker-button.c
5523 (_current_selector_empty): New function, checks if the selector is empty
5524 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5525 if the current selector is empty, in order to avoid to show the dialog
5526 close the dialog in this case (and shows a g_warning).
5528 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5530 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5532 * src/hildon-pannable-area.c,
5533 (hildon_pannable_area_scroll): Added clause to stop movement when
5534 the child of pannable is smaller than one page.
5535 (hildon_pannable_area_scroll_to): Added conditions to avoid
5536 starting the scrolling movement if the child is smaller than one
5537 page, the complete child is in the screen, we do not have to move.
5539 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5541 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5543 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5544 this is managed automatically by the widget when the size of the
5547 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5549 * src/hildon-picker-button.c
5550 (hildon_picker_button_set_done_button_text): Make a copy of the
5551 text, and free the previous value.
5553 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5555 * src/hildon-touch-selector-entry.c:
5556 (hildon_touch_selector_entry_print_func): Return the selected row's
5557 text if the entry is empty.
5559 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5562 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5564 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5566 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5569 * src/hildon-check-button.h
5570 * src/hildon-check-button.c
5571 * examples/hildon-check-button-example.c:
5572 HildonCheckButton is now a new widget. 'toggled' signal added.
5574 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5576 * src/hildon-program-private.h
5577 * src/hildon-program.c (hildon_program_init)
5578 (hildon_program_finalize): Removed unused variables group_leader
5579 and name from HildonProgramPrivate.
5581 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5583 * src/hildon-check-button.c (hildon_check_button_set_active)
5584 (hildon_check_button_get_active, hildon_check_button_new): Use
5585 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5587 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5589 * src/hildon-touch-selector.h
5590 (hildon_touch_selector_set_column_attributes): added deprecation
5591 guard HILDON_DISABLE_DEPRECATED
5592 * src/hildon-time-selector.c
5593 (hildon_time_selector_set_time)
5594 (hildon_time_selector_get_time): Fixed a typo on documentation
5595 * src/hildon-touch-selector.c: update HildonTouchSelector and
5596 HildonTouchSelectorColumn documentation
5597 * src/hildon-touch-selector-entry.c: update "text-column" property
5599 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5600 to be added to the general documentation.
5602 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5604 * examples/hildon-pannable-area-example-4.c,
5606 * examples/hildon-pannable-area-example.c,
5607 (main): Modified the code in order to use the container add, with
5608 viewport treeviews could have problems if they are really big.
5610 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5612 * src/hildon-weekday-picker.c,
5613 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5614 the agreement regarding deprecation in the library.
5616 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5618 * examples/hildon-picker-button-multicolumn-example.c:
5619 (main): Use custom "done" button text.
5621 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5622 (hildon_picker_button_set_property),
5623 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5624 (hildon_picker_button_init),
5625 (+hildon_picker_button_get_done_button_text),
5626 (+hildon_picker_button_set_done_button_text): New methods to customize
5627 the "done" button label in the launched HildonPickerDialog. Also,
5630 * src/hildon-picker-button.h: add the public API.
5632 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5634 * src/hildon-date-selector.h:
5635 * src/hildon-picker-dialog.h:
5636 * src/hildon-time-selector.h:
5637 * src/hildon-touch-selector-column.h:
5638 * src/hildon-touch-selector.h:
5640 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5641 declarations. Fixes gtk-doc warnings.
5643 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5645 * src/hildon-picker-dialog.h
5646 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5647 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5649 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5650 long text is set as label for done button)
5652 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5654 * src/hildon-dialog.c (hildon_dialog_add_button):
5655 Set fixed width to all buttons in the HildonDialog.
5657 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5659 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5661 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5662 Set widget name using class name plus "-finger" or "-thumb".
5664 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5666 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5667 'clicked' when the state of the button is manually changed.
5669 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-app-menu.c (hildon_app_menu_realize)
5672 (hildon_app_menu_unrealize, hildon_app_menu_init)
5673 (hildon_app_menu_class_init, item_visibility_changed):
5674 Change the menu layout when the size of the screen changes.
5675 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5676 Show warning only when changing the number of colums using the
5679 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5681 * debian/compat: Set to 5
5682 * debian/control: Update dependencies.
5683 * debian/libhildon1-dbg.install: Remove.
5684 * debian/libhildon1-dev.install: Update according to cdbs paths.
5685 * debian/libhildon1.install: Update according to cdbs paths.
5686 * debian/rules: Switch to cdbs.
5688 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5690 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5691 'item' variable renamed to 'filter'
5693 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5695 * src/hildon-app-menu.c (hildon_app_menu_insert)
5696 (hildon_app_menu_add_filter, remove_item_from_list)
5697 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5698 Don't leak hidden items when the menu is destroyed.
5700 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5702 * src/hildon-app-menu.c (hildon_app_menu_insert)
5703 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5704 (hildon_app_menu_set_columns, item_visibility_changed)
5705 (filter_visibility_changed, hildon_app_menu_repack_filters)
5706 (hildon_app_menu_repack_items):
5707 Repack items and filters separately.
5709 Don't repack all items, change only the ones that are needed to
5712 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5714 * src/Makefile.am: added hildon-touch-selector-column.h
5716 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5718 * src/hildon-touch-selector.c: added the property "text-column" to the
5719 class HildonTouchSelectorColumn, and related get/set functions
5720 (_default_printf_func): updated to use "text-column" property
5721 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5722 "text-column" in his documentation, as this is now included on
5723 HildonTouchSelectorColumn. The get/set_property can still be used,
5724 working as a wrapper to the concrete column "text-column" property
5725 (_text_column_modified): callback added in order to handle the signal
5726 "notify::text-column" of the concrete HildonTouchSelectorColumn
5727 (hildon_touch_selector_entry_get_text_column)
5728 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5729 modified in order to use the HildonTouchSelectorColumn "text-column"
5731 * src/hildon-time-selector.c:
5732 * src/hildon-date-selector.c:
5733 * examples/hildon-touch-selector-example.c
5734 * examples/hildon-touch-selector-multi-cells-example.c
5735 * examples/hildon-picker-button-multicolumn-example.c
5736 Set the right value to "text-column" property on the creation of a new
5737 column using hildon_touch_selector_append_column()
5739 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5741 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5743 * src/hildon-app-menu.c
5744 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5745 updating the layout of the menu, don't create all widgets again,
5746 just repack the items in their new places.
5748 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5750 * src/hildon-time-selector.c
5751 (hildon_time_selector_get_time)
5752 (hildon_time_selector_set_time)
5753 Added documentation of these public methods
5755 * src/hildon-date-button.h
5756 * src/hildon-touch-selector-column.h
5757 * src/hildon-time-button.h
5758 * src/hildon-picker-dialog.h
5759 * src/hildon-time-selector.h
5760 * src/hildon-picker-button.h
5761 * src/hildon-touch-selector.h
5762 * src/hildon-time-picker.h
5763 * src/hildon-date-selector.h
5764 * src/hildon-touch-selector-entry.h
5765 Modified in order to use hildon-widgets code style
5767 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5769 Added deprecated support to the compilation process using
5770 HILDON_DISABLE_DEPRECATED
5772 * configure.ac: Added the --disable-deprecated to the configure
5775 * src/hildon-weekday-picker.c:
5776 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5777 to use the deprecated support. We will update the other deprecated
5778 widgets status in a new patch.
5780 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5782 * configure.ac: Fixed typo with fatal warnings support, the
5783 variable name was not correct
5785 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-app-menu.c
5788 * src/hildon-program.c: Update documentation.
5790 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5792 * configure.ac: Post-release version bump.
5794 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5799 * configure.ac: Pre-release version bump.
5800 * debian/changelog: Updates.
5802 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5804 * NEWS: Update news for previous releases.
5806 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5808 * examples/hildon-touch-selector-multi-cells-example.c:
5809 (create_selector): Update the example to use
5810 hildon_touch_selector_append_column() with a NULL renderer and set
5811 the renderers later.
5812 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5813 passed a NULL renderer. This is documented behavior now.
5815 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5816 This must be used if the developer wants full control on the layout of
5817 the renderers to be added to the column.
5819 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5821 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5823 * src/hildon-touch-selector.c: Documentation fixes.
5825 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5827 * src/hildon-wizard-dialog-private.h: Remove image and box.
5828 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5829 (hildon_wizard_dialog_set_property), (response): Completely remove
5830 image/icon support, and the containers required for the layout.
5832 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5834 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5836 * src/hildon-app-menu.c: Updated documentation.
5838 * src/hildon-stackable-window.c
5839 (hildon_stackable_window_set_main_menu): Unref the old menu after
5840 ref'ing the new one.
5842 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5844 * src/hildon-stackable-window.c
5845 (hildon_stackable_window_set_main_menu): Unref the previous menu
5846 instead of destroying it.
5848 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5849 floating reference and set has_user_ref_count to FALSE to make
5850 HildonAppMenu act like a normal ref-counted widget and not a
5853 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5856 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5858 * src/hildon-touch-selector-column.h: new file
5859 * src/hildon-touch-selector.h
5860 * src/hildon-touch-selector.c
5861 Implemented GtkCellLayout interface, in order to allow to configure
5862 the cell layout on each individual selector column
5863 (hildon_touch_selector_set_column_attributes): marked as deprecated
5864 * examples/hildon-touch-selector-multi-cells-example.c
5865 Example of how to use the GtkCellLayout interface on the selector
5867 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5869 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5871 * src/hildon-app-menu.h
5872 * src/hildon-app-menu.c
5873 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5874 (hildon_app_menu_append, hildon_app_menu_prepend):
5875 New methods to prepend, insert and move items in the menu.
5877 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5879 * src/hildon-wizard-dialog.c:
5881 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5883 (create_title): Update logical IDs and related code.
5884 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5886 * src/hildon-wizard-dialog.h: Note that
5887 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5888 point, as it is not used anymore.
5890 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5892 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5894 * src/hildon-note.c:
5895 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5896 shown. Do not display an icon in confirmation notes nor information
5898 (hildon_note_set_button_text): Update logical ID for cancel button.
5900 Fixes: NB#88850 (Update HildonNote button strings + signals)
5902 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5904 * src/hildon-stackable-window.c
5905 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5907 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5909 * src/hildon-app-menu-private.h
5910 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5911 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5912 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5913 temporary property 'columns' to change the number of columns.
5915 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5917 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5919 * examples/hildon-note-example.c: (on_information_clicked),
5920 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5921 debugging information.
5922 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5924 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5925 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5926 in order to close: this will be handled by the WM from now on.
5928 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5930 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5932 * src/hildon-app-menu-private.h
5933 * src/hildon-app-menu.c
5934 (hildon_app_menu_append, hildon_app_menu_add_filter)
5935 (button_visibility_changed, hildon_app_menu_apply_style)
5936 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5937 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5938 layout everytime a button (item or filter) is shown or hidden.
5940 * src/hildon-stackable-window.c
5941 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5944 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5946 * src/hildon-touch-selector.c:
5947 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5948 that the treeview inside the touch selector is in fremantle hildon mode
5949 * examples/hildon-date-button-example.c
5950 * examples/hildon-picker-button-multicolumn-example.c
5951 * examples/hildon-touch-selector-entry-example.c
5952 * examples/hildon-touch-selector-example.c
5953 * examples/hildon-time-button-example.c
5954 * examples/hildon-picker-button-example.c:
5955 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5957 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5959 * examples/hildon-text-view-example.c: (main): Remove the
5960 gtkrc bits, now handled by the theme.
5962 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5964 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5967 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5969 * po/Makefile.am: Install properly the mo files.
5970 * po/en_GB.po: Update translation, to ease testing purposes.
5972 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5974 * examples/hildon-picker-button-example.c: (main): Select an item
5975 in the selector before setting it to the button.
5977 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5979 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5980 Update button's value if the selector has an item active.
5982 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5983 'value' with the selector)
5985 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5987 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5988 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5989 (hildon_picker_button_class_init): Plug the finalize method.
5990 (hildon_picker_button_set_selector): If there's a previously set
5991 selector, unref'it before setting a new one.
5993 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5994 HildonTouchSelector)
5996 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5998 * src/hildon-touch-selector-entry.c:
5999 (hildon_touch_selector_entry_changed): Check if there is no text
6000 selected before setting the entry text.
6003 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6005 * src/hildon-touch-selector.h
6006 * src/hildon-touch-selector.c
6007 (hildon_touch_selector_get_active)
6008 (hildon_touch_selector_set_active): New methods to set/get the
6009 index of the selected item.
6011 * src/hildon-picker-button.h
6012 * src/hildon-picker-button.c
6013 (hildon_picker_button_get_active)
6014 (hildon_picker_button_set_active): New methods to set/get the
6015 index of the selected item.
6017 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6019 * configure.ac: post-release version bump.
6021 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6025 * configure.ac: Pre-release version bump.
6026 * debian/changelog: Updates.
6027 * debian/control: Add myself as maintainer and depend on l10n
6030 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6032 * src/hildon-window.c
6033 (hildon_window_set_main_menu)
6034 * src/hildon-stackable-window.c
6035 (hildon_stackable_window_set_main_menu):
6036 Updated documentation.
6038 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6040 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6041 Don't free selector->priv manually.
6044 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6047 (hildon_gtk_window_set_progress_indicator):
6048 * src/hildon-gtk.h: Added the new API
6049 hildon_gtk_window_set_progress_indicator, it changes the state of
6050 the window progress hint.
6052 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-button.c
6055 * src/hildon-stackable-window.c: Minor documentation updates.
6057 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6059 * src/hildon-stackable-window.c: Updated documentation.
6061 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6063 * src/hildon-defines.h: Update margins definitions
6064 to the Fremantle sizes.
6067 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6069 * src/hildon-touch-selector.c,
6070 (_hildon_touch_selector_set_model): Cleaning the code after
6071 review, removed g_print and #if 0 from the code.
6073 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6075 * src/hildon-edit-toolbar.c: Update documentation.
6077 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6079 * src/hildon-check-button.h
6080 * src/hildon-check-button.c
6081 (hildon_check_button_set_label, hildon_check_button_get_label)
6082 * examples/hildon-check-button-example.c
6083 (button_clicked_cb):
6084 Removed deprecated methods.
6086 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-text-view.c:
6089 Add sample code to the documentation.
6091 * src/hildon-entry.h
6092 * src/hildon-text-view.h:
6093 Minor cosmetic changes.
6095 * src/hildon-entry.c:
6096 Add sample code to the documentation.
6097 (hildon_entry_init, hildon_entry_refresh_contents):
6098 Don't allow NULL values in the placeholder.
6100 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6102 * doc/hildon-docs.sgml
6104 * examples/Makefile.am
6105 * examples/hildon-text-view-example.c
6107 * src/hildon-text-view.c
6108 * src/hildon-text-view.h
6110 New HildonTextView widget, with example.
6112 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6114 * po/POTFILES.in: Add missing files with translatable strings.
6115 Partially fixes NB#88287.
6117 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6119 * examples/hildon-pannable-area-example-2.c: (main): No need to
6120 set the cellrenderer height inside hildon touch lists, the theme does
6123 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6125 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6126 they are integrated in the theme.
6128 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6130 * examples/hildon-entry-example.c: Update the example adding
6131 widgets to modify the text and the placeholder of the HildonEntry.
6133 * src/hildon-entry.c: Show the placeholder everytime the widget
6134 is empty and loses the focus.
6136 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6138 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6140 * src/hildon-pannable-area.c,
6141 (hildon_pannable_area_size_request): Fixed bug in height
6142 requisition, avoid increasing size and add border twice.
6144 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6146 * configure.ac: postrelease version bump.
6148 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6152 * configure.ac: Prerelease version bump.
6153 * debian/changelog: update.
6154 * debian/rules: make -dbg package contain useful debugging symbols.
6156 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6158 * src/hildon-dialog.h
6159 * src/hildon-dialog.c
6160 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6161 New methods to add buttons with finger size.
6162 (hildon_dialog_new_with_buttons):
6163 Create buttons with finger size.
6165 * examples/hildon-dialog-example.c (main): Use HildonDialog
6166 methods to add buttons.
6168 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6170 * src/hildon-entry.c: Updated HildonButton documentation.
6172 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6174 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6175 button value label with (FALSE, FALSE) to prevent NB#88126 from
6178 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6180 * examples/hildon-pannable-area-example.c,
6181 (main): Removed examples panning a vbox inside a pannable
6182 area. Check bug NB#87965
6184 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6186 Patch contributed by Kris Rietveld (kris@imendio.com)
6188 * src/hildon-pannable-area.c,
6189 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6190 get_size and get_position, this saves an X server roundtrip.
6192 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6194 * doc/hildon-docs.sgml
6196 * examples/Makefile.am
6197 * examples/hildon-entry-example.c
6199 * src/hildon-entry.c
6200 * src/hildon-entry.h
6202 New HildonEntry widget, with example.
6204 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6206 * src/hildon-button.c (hildon_button_construct_child): Pack the
6207 image with expand == fill == FALSE. This is a workaround for a bug
6210 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6212 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6213 labels for the text column, to make it more look more dynamic.
6215 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6217 * src/hildon-time-selector.c
6218 Define gettext auxiliar macro N_
6219 (_create_minutes_model)
6220 (_create_hours_model)
6221 (_create_ampm_model): use of strftime in order to fill the model
6222 * src/hildon-date-selector.c
6223 (hildon_date_selector_finalize):
6224 (_locales_init): remove the logic related to get the name of the months
6225 using nl_langinfo, as it is not required anymore
6227 (_create_year_model)
6228 (_create_month_model)
6229 (_update_day_model): use of strftime in order to fill the model properly
6232 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6234 * src/hildon-button.h
6235 * src/hildon-button.c (hildon_button_get_image): New method to
6238 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6240 * src/hildon-touch-selector.c:
6241 (hildon_touch_selector_remove_column): Remove from the correct parent
6242 and also remove the list element and free it.
6245 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6247 * src/hildon-time-selector.c
6248 (_create_hours_model): change the range on 12h ampm format in order to use
6249 a 12-11 range instead of previous 01-12 range
6250 (hildon_time_selector_set_time): change the way to select the current time
6251 on 12h ampm format, due the change on the range
6252 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6255 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6257 * src/hildon-touch-selector.c
6258 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6259 in order to allow use this function on multiple row selection mode if
6260 the column is different that the first one
6263 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6265 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6266 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6268 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6270 * src/hildon-date-selector.h: clean some comments, now on the .c
6271 * src/hildon-date-selector.c
6272 (hildon_date_selector_select_month): first implementation
6273 (hildon_date_selector_select_day): added documentation, reimplemented
6274 using hildon_date_selector_select_current_date to avoid repeat code
6277 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6279 Reviewed interaction logic based on device experiences, refactored
6282 * src/hildon-pannable-area.c,
6283 (hildon_pannable_area_class_init): Updated default vmax speed.
6284 (hildon_pannable_area_calculate_velocity): Added this function, it
6285 avoids duplicate valocity calculation. Adjusted calculation to
6286 avoid problems with zero dist events.
6288 (hildon_pannable_area_motion_notify_cb): Now we use the
6289 calculate_velocity function.
6291 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6293 * src/hildon-date-selector.c
6294 (hildon_date_selector_select_current_date): fix the day range check
6295 as it failed using the last day of the current month
6298 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6300 * src/hildon-touch-selector.c
6301 (hildon_touch_selector_get_num_columns): added a parameter validation
6304 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6306 * examples/Makefile.am
6307 * examples/hildon-edit-toolbar-example.c: Example of the
6308 HildonEditToolbar widget.
6310 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6312 * configure.ac: postrelease version bump.
6314 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6318 * configure.ac: prerelease version bump.
6319 * debian/changelog: update.
6321 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6323 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6324 renderer to display stock icons in the touch list. Also, set the sizes
6325 to the recommended in the style guide.
6327 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6328 * src/hildon-touch-selector.h
6329 (hildon_touch_selector_set_active_iter): renamed, now is
6330 hildon_touch_selector_select_iter
6331 (hildon_touch_selector_get_active_iter): renamed, now is
6332 hildon_touch_selector_get_selected
6333 (hildon_touch_selector_unselect_iter): added
6334 * src/hildon-touch-selector.c
6335 Update after API modification (methods renamed)
6336 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6337 order to avoid problems selecting multiple elements on the column
6338 (hildon_touch_selector_unselect_iter): added the implementation
6339 * src/hildon-time-selector.c
6340 * src/hildon-date-selector.c
6341 * src/hildon-touch-selector-entry.c
6342 Update methods calls after hildon-touch-selector.h API modification (methods
6345 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6347 * src/hildon-stackable-window.c
6348 (hildon_stackable_window_finalize): Call the parent class's finalize.
6350 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6352 * examples/hildon-touch-selector-example.c: (create_selector): Use
6353 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6356 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6358 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6359 set a cell background color, to respect theming.
6361 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6363 * doc/hildon-docs.sgml
6366 * src/hildon-edit-toolbar.c
6367 * src/hildon-edit-toolbar.h
6368 * src/hildon.h: New HildonEditToolbar widget.
6370 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6372 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6375 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6376 * src/hildon-touch-selector.c
6377 (_create_new_column): use g_object_set instead of two g_object_set_property
6379 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6380 * src/hildon-touch-selector.c
6381 (_create_new_column): use of hildon_gtk_tree_view_new to create
6382 the treeview, instead of use directly g_object_new
6383 (_create_new_column): update the property name "vindicator-mode" for the
6384 new one "vscrollbar-policy"
6385 * examples/hildon-date-button-example.c
6386 * examples/hildon-picker-button-multicolumn-example.c
6387 * examples/hildon-touch-selector-entry-example.c
6388 * examples/hildon-touch-selector-example.c
6389 * examples/hildon-time-button-example.c
6390 * examples/hildon-picker-button-example.c
6391 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6392 to all the treeviews inside a pannable area.
6394 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6396 * src/hildon-button.h
6397 * src/hildon-button.c (hildon_button_init)
6398 (hildon_button_set_arrangement, hildon_button_set_alignment)
6399 (hildon_button_set_title_alignment)
6400 (hildon_button_set_value_alignment)
6401 (hildon_button_set_image_alignment)
6402 (hildon_button_construct_child): New methods to set the alignment
6403 of the individual components of the button (title, value,
6404 image). Also, new method to alter the xscale and yscale properties
6405 of the GtkAlignment inside the button, so more complex layouts can
6408 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6410 * src/hildon-button.c (hildon_button_style_set)
6411 (hildon_button_class_init, hildon_button_set_arrangement)
6412 (hildon_button_construct_child): Apply style properties
6413 correctly. Use the 'image-spacing' style property too.
6415 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6417 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6418 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6421 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6423 * src/hildon-pannable-area.c,
6424 (hildon_pannable_area_size_request): Fixed problem with
6425 pannable-area size_request.
6427 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6429 Added management for the grab-focus to a child widget, like a
6430 range, we need to fade out the scrollbar when releasing.
6432 * src/hildon-pannable-area.c,
6433 (hildon_pannable_area_init): Connected the grab-focus signal to
6435 (hildon_pannable_area_grab_notify): Added this function in order
6436 to manage the situation when the grab-focus ends. We have to
6437 fade-out the scrollbar.
6439 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6441 * src/hildon-app-menu.c: Minor documentation update.
6443 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6445 * src/hildon-app-menu.c
6446 * examples/hildon-app-menu-example.c (create_menu): Update
6447 examples and documentation to explain how to connect callbacks.
6449 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6451 * examples/hildon-button-example.c
6452 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6453 hildon_stackable_window_new instead of gtk_window_new
6455 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6457 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6458 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6459 (hildon_pannable_area_set_property),
6460 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6461 (hildon_pannable_area_unrealize),
6462 (hildon_pannable_area_size_request),
6463 (hildon_pannable_area_size_allocate),
6464 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6465 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6466 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6467 (hildon_pannable_area_initial_effect),
6468 (hildon_pannable_area_redraw),
6469 (hildon_pannable_area_scroll_indicator_fade),
6470 (hildon_pannable_area_expose_event),
6471 (hildon_pannable_area_get_topmost), (synth_crossing),
6472 (hildon_pannable_area_button_press_cb),
6473 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6474 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6475 (hildon_pannable_area_motion_notify_cb),
6476 (hildon_pannable_area_button_release_cb),
6477 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6478 (hildon_pannable_area_remove),
6479 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6480 chage the code layout to a more GtkWidget like. Review the use of
6483 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6485 * examples/hildon-pannable-area-example-4.c,
6486 (main): Modified the name of the hindicator_mode to
6489 * src/hildon-pannable-area.c,
6490 (hildon_pannable_area_class_init),
6491 (hildon_pannable_area_motion_notify_cb),
6492 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6493 we have reduced the amount of signals and managed reviewed its
6494 rationale. Changed the default decelerate value.
6496 (hildon_pannable_area_add),
6497 (hildon_pannable_area_redraw): Refactored functions.
6499 (hildon_pannable_area_init),
6500 (hildon_pannable_area_get_property),
6501 (hildon_pannable_area_set_property):
6502 (hildon_pannable_draw_vscroll),
6503 (hildon_pannable_draw_hscroll),
6504 (hildon_pannable_area_initial_effect),
6505 (hildon_pannable_area_expose_event),
6506 (hildon_pannable_area_scroll),
6507 (hildon_pannable_area_button_press_cb),
6508 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6509 and vindicator_mode with hscrollbar_policy and
6510 vscrollbar_policy. Replaced hscroll and vscroll with
6511 hscroll_visible and vscroll_visible.
6513 (hildon_pannable_area_refresh): Refactor the function, remove
6514 variables and check the calls to this function, added resize
6515 conditions in case the children change their layout.
6517 (hildon_pannable_area_size_request): Added more detailed
6518 size_request calculation.
6521 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6523 * src/hildon-color-chooser.c
6524 (init_borders): use the correct gtk_border_free instead of g_free, to
6525 avoid a crash when this widget is used (ie: the three color selection
6528 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6530 * src/hildon-check-button.c,
6531 (hildon_check_button_set_active): Fixed problem when setting the
6532 active value, the widget was not redrawn.
6534 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6536 * src/hildon-pannable-area.c,
6537 (hildon_pannable_area_refresh),
6538 (hildon_pannable_area_scroll),
6539 (hildon_pannable_area_motion_notify_cb): Small code style change.
6541 (hildon_pannable_area_class_init): Default initial_hint set to
6542 FALSE, it is not in the specs.
6544 (hildon_pannable_area_initial_effect),
6545 (hildon_pannable_area_expose_event),
6546 (hildon_pannable_area_map),
6547 (hildon_pannable_area_init): Moved the launching point of the
6548 initial effect, it was in map but the sizes where not correct in
6549 that method so we do not know if we have the reproduce it. Now it
6550 is placed in the expose_event method and uses a variable to
6551 reproduce it just once.
6553 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6555 * src/hildon-pannable-area.c,
6556 (hildon_pannable_draw_vscroll),
6557 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6558 position allowed for the scrollbars.
6560 (hildon_pannable_area_size_allocate): Small style change.
6562 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6564 * src/hildon-pannable-area.c,
6565 (hildon_pannable_area_scroll_indicator_fade),
6566 (hildon_pannable_area_button_press_cb),
6567 (hildon_pannable_area_button_release_cb),
6568 (hildon_pannable_area_scroll_cb),
6569 (hildon_pannable_area_expose_event),
6570 (hildon_pannable_area_init): Added the define parameter
6571 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6572 and refactor the fade variable.
6574 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6576 * src/hildon-pannable-area.c,
6577 (hildon_pannable_area_redraw),
6578 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6579 lines, we were reimplemeting the redraw code.
6581 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6583 * src/hildon-pannable-area.c,
6584 (hildon_pannable_area_scroll_cb),
6585 (hildon_pannable_area_realize),
6586 (hildon_pannable_area_class_init): Added scroll_event management
6587 for pannable area, now we can scroll the usual desktop method.
6589 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6590 initialization of the parameters should depend on idle_id.
6592 (hildon_pannable_area_init),
6593 (hildon_pannable_area_map): Small code style modifications
6595 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6597 * src/hildon-pannable-area.c
6598 (hildon_pannable_area_button_press_cb),
6599 (hildon_pannable_area_motion_notify_cb),
6600 (hildon_pannable_area_button_release_cb),
6601 (hildon_pannable_area_size_allocate),
6602 (hildon_pannable_area_scroll_to): Improved the timeouts
6603 management, we avoid creating them each time.
6605 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6607 * src/hildon-pannable-area.c:
6608 (hildon_pannable_area_refresh),
6609 (hildon_pannable_area_motion_notify_cb),
6610 (hildon_pannable_area_class_init):
6611 * src/hildon-pannable-area.h:
6612 * src/hildon-touch-selector.c
6613 (_create_new_column):
6614 * examples/hildon-pannable-area-example-4.c:
6615 (horizontal_movement),
6616 (vertical_movement),
6618 Replaced the names of enums in the HildonPannableArea:
6619 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6620 HILDON_MOVEMENT_MODE_*
6621 - HILDON_PANNABLE_AREA_MOV_* ->
6623 - Removed HildonPannableAreaIndicatorMode, now we
6626 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6628 * examples/hildon-pannable-area-touch-grid-example.c
6629 * examples/hildon-pannable-area-touch-list-example.c: Fix
6630 compilation warnings.
6632 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6634 * src/hildon-gtk.c (hildon_gtk_button_new)
6635 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6636 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6637 images overriding the value of the "gtk-button-images" setting.
6639 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6641 * src/hildon-check-button.c (hildon_check_button_new):
6642 Instead of using a custom container, display the label and the
6643 checkbox using the standard GtkButton API.
6645 * examples/hildon-check-button-example.c (main): Don't use
6646 hildon_check_button_set_label() anymore
6648 * src/hildon-check-button.h
6649 * src/hildon-check-button.c
6650 (hildon_check_button_set_label, hildon_check_button_get_label):
6651 Set as deprecated, now we're using gtk_button_{get,set}_label()
6653 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6655 * src/hildon-pannable-area.c,
6656 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6657 GtkTreeview first line we detected it after the inclusion of the
6658 GtkWindowImpl in gtk+. We now check if the window is visible, not
6659 just if the pointer is over the window.
6660 (hildon_pannable_axis_scroll),
6661 (hildon_pannable_area_expose_event): Small style changes.
6663 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6665 * src/hildon-button.c: Update documentation.
6667 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6669 * examples/hildon-button-example.c: Add a switch to show images in
6672 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6674 * doc/hildon-docs.sgml: Some docs reorganization.
6676 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6678 * examples/hildon-pannable-area-touch-list-example.c
6680 * examples/hildon-pannable-area-touch-grid-example.c
6681 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6682 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6683 Fix memory leak when setting the tree model.
6685 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6689 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6691 * doc/hildon.types: Remove duplicated hildon_window_get_type
6692 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6693 documentation comment.
6695 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6697 * doc/Makefile.am: Complete list of private headers.
6699 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6701 * doc/hildon-docs.sgml
6702 * src/hildon-app-menu.c
6703 * src/hildon-bread-crumb.c
6704 * src/hildon-button.c
6706 * src/hildon-program.c
6707 * src/hildon-stackable-window.c
6708 * src/hildon-window.c: Lots of documentation updates.
6710 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6712 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6714 * configure.ac: Require Gtk+ 2.12.9 at least
6716 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6718 * src/hildon-pannable-area.c
6719 (hildon_pannable_area_scroll_indicator_fade),
6720 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6721 to protect the return of this timeout callbacks, avoiding deadlocks.
6723 2008-08-12 Christian Dywan <christian@imendio.com>
6726 * src/hildon-*.h: Ensure a consistent include order,
6727 include <gtk/gtk.h> instead of particular files and
6728 only include the topmost header in the gtk stack. See NB #39857
6730 2008-08-12 Christian Dywan <christian@imendio.com>
6732 * src/hildon-picker-dialog.c
6733 * src/hildon-touch-selector.c: Fix warnings about unused and
6734 uninitialized variables.
6736 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6738 * examples/Makefile.am
6739 * examples/hildon-check-button-example.c: Example of the hildon
6742 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6744 * src/hildon-window.h
6745 * src/hildon-window.c (hildon_window_class_init)
6746 (hildon_window_unset_program): Don't make
6747 hildon_window_unset_program a virtual function anymore.
6749 * src/hildon-stackable-window.c: Update documentation
6751 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6754 * doc/hildon-docs.sgml
6755 * doc/visual_index.xml
6756 * src/hildon-defines.c
6758 * src/hildon-helper.c
6759 * src/hildon-range-editor.c: Lots of documentation fixes.
6761 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6763 * examples/hildon-picker-button-multicolumn-example.c
6764 (create_touch_selector): Fix compilation warning.
6766 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6768 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6769 (hildon_pannable_area_button_release_cb)
6770 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6772 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6774 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6777 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6779 * src/hildon-bread-crumb-trail.h
6780 * src/hildon-date-editor.c
6781 * src/hildon-date-selector.c
6782 * src/hildon-pannable-area.c
6783 * src/hildon-picker-dialog.c
6784 * src/hildon-time-selector.c
6785 * src/hildon-touch-selector-entry.c
6786 * src/hildon-touch-selector.c
6787 * src/hildon-touch-selector.h: Misc documentation fixes
6789 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6791 * examples/hildon-date-editor-example.c (main): Updated date
6794 * examples/hildon-note-example.c (on_confirmation_clicked):
6795 Updated confirmation note example.
6797 * src/hildon-date-editor.c
6798 * src/hildon-note.c: Updated sample programs in documentation.
6801 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6803 * src/hildon-date-button.h:
6804 * src/hildon-picker-button.h:
6805 * src/hildon-time-button.c:
6806 * src/hildon-time-button.h:
6808 Some declarations changes to allow gtk-doc to document the widgets
6811 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6813 * src/hildon-date-button.c: Document the widget.
6814 * src/hildon-time-button.c: Document the widget.
6816 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6818 * src/hildon-picker-button.c: Document the widget.
6819 * src/hildon-touch-selector-entry.c: Document the widget.
6821 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6823 * doc/hildon-docs.sgml
6826 * src/hildon-check-button.h
6827 * src/hildon-check-button.c: New functions to create the Hildon
6831 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6833 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6835 * src/hildon-button.h
6836 * src/hildon-button.c
6837 (hildon_button_add_title_size_group)
6838 (hildon_button_add_value_size_group)
6839 (hildon_button_add_image_size_group)
6840 (hildon_button_add_size_groups): New functions to set size groups
6841 for the button labels and image.
6842 (hildon_button_new_full): Removed
6844 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6846 * src/hildon-time-selector.c
6847 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6848 in order to avoid a crash if gconf is not available
6850 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6852 * src/hildon-button.c (hildon_button_set_arrangement)
6853 (hildon_button_construct_child): Don't construct the button child
6854 before setting the arrangement.
6856 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6858 * src/hildon-program-private.h
6859 * src/hildon-program.c
6860 * src/hildon-program.h
6861 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6862 (hildon_program_peek_window_stack)
6863 (hildon_program_pop_window_stack)
6864 (hildon_program_go_to_root_window): HildonProgram now has a
6865 separate list for stackable windows. Functions are provided to
6866 manage that list with a stack-like API.
6868 * src/hildon-stackable-window.c: Stackable window management is
6869 now much simpler with the new HildonProgram API. Windows no
6870 longer need to be manually added to the program, they're
6871 automatically pushed to the top of the stack when shown.
6873 * examples/hildon-stackable-window-example.c: Updated example to
6874 reflect the API changes.
6876 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6878 * src/hildon-touch-selector.c: Comment out unimplemented
6879 hildon_touch_selector_insert_column() to avoid a compile warning.
6881 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6883 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6884 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6885 (hildon_touch_selector_set_column_selection_mode),
6886 (_hildon_touch_selector_set_model),
6887 (hildon_touch_selector_set_model):
6889 Complete review of HildonTouchSelector documentation.
6891 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6893 * doc/hildon-docs.sgml
6897 * src/hildon-gtk.c: Convenience functions for standard Gtk
6898 widgets, used to easily perform frequent operations.
6900 * src/hildon-button-helpers.h
6901 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6903 * src/hildon-helper.h
6904 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6905 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6907 * src/hildon-button.h
6908 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6910 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6912 * src/hildon-button.c (hildon_button_init)
6913 (hildon_button_set_arrangement, hildon_button_construct_child):
6914 Pack the image and the labels inside the same GtkAlignment so
6915 gtk_button_set_alignment() can be used
6917 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6919 * src/hildon-button.h
6920 * src/hildon-button.c
6921 (hildon_button_init, hildon_button_set_image)
6922 (hildon_button_set_image_position)
6923 (hildon_button_construct_child): New functions to add an image to
6926 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6928 * src/hildon-date-button.c
6929 * src/hildon-picker-button.c
6930 * src/hildon-time-button.c
6931 * src/hildon-button.c:
6932 (hildon_button_class_init): "size-flags" renamed to "size"
6933 (hildon_button_set_title): Hide the title label if set to NULL.
6935 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6937 HildonButtonFlags split into HildonButtonArrangement (to set the
6938 button layout) and HildonSizeType (which can be used for any
6941 * src/hildon-button.h
6942 * src/hildon-button.c
6943 (hildon_button_class_init)
6944 (hildon_button_set_arrangement)
6945 (hildon_button_set_property): New "size-flags"
6946 property. "arrangement-flags" renamed to "arrangement".
6947 (hildon_button_new, hildon_button_new_with_text)
6948 (hildon_button_new_full): Constructors updated to reflect type changes.
6950 * src/hildon-helper.h
6951 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6952 to set the size of a widget.
6956 * src/hildon-button-helpers.c
6957 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6959 * src/hildon-date-button.c
6960 * src/hildon-date-button.h
6961 * src/hildon-picker-button.c
6962 * src/hildon-picker-button.h
6963 * src/hildon-time-button.c
6964 * src/hildon-time-button.h: Updated widgets to reflect
6965 HildonButton API changes.
6967 * examples/hildon-button-example.c
6968 * examples/hildon-date-button-example.c
6969 * examples/hildon-picker-button-example.c
6970 * examples/hildon-picker-button-multicolumn-example.c
6971 * examples/hildon-time-button-example.c
6972 * examples/hildon-touch-selector-entry-example.c
6973 * examples/hildon-touch-selector-example.c: Updated examples to
6974 reflect HildonButton API changes.
6976 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6978 * doc/hildon-docs.sgml:
6980 * examples/Makefile.am:
6981 * examples/hildon-touch-selector-entry-example.c:
6983 * src/hildon-touch-selector-entry.c:
6984 * src/hildon-touch-selector-entry.h:
6987 Moved HildonTouchSelectorEntry from sandbox. Added its
6988 documentation and examples.
6990 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6992 * src/hildon-touch-selector.h:
6993 * examples/hildon-picker-button-multicolumn-example.c:
6994 (hildon_touch_selector_append_text_column): Add a gboolean
6995 parameter to determine if text must be centered in the column.
6997 * src/hildon-date-selector.c: (hildon_date_selector_init):
6998 * src/hildon-time-selector.c: (hildon_time_selector_init):
6999 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7000 (create_touch_selector): Update widgets and example to reflect
7003 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7005 * src/hildon-touch-selector.c:
7006 (hildon_touch_selector_set_active_iter): Set also the cursor in
7009 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7011 * doc/hildon-docs.sgml
7014 * src/hildon-toggle-button.c
7015 * src/hildon-toggle-button.h
7016 * src/hildon.h: Removed HildonToggleButton widget, a derived
7017 class is not necessary for this.
7019 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7021 * src/hildon-pannable-area.c,
7022 (hildon_pannable_area_realize),
7023 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7026 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7028 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7029 "done" button the default widget for the dialog.
7031 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7033 * src/hildon-touch-selector.c:
7034 (hildon_touch_selector_class_init),
7035 (hildon_touch_selector_get_property),
7036 (_hildon_touch_selector_set_model),
7037 (_hildon_touch_selector_has_multiple_selection),
7038 (hildon_touch_selector_has_multiple_selection):
7039 Add a "has-multiple-selection" property with a virtual
7040 has_multiple_selection() method to allow derived classes to
7041 override the default value for it. See the method and property
7042 documentation for details.
7044 * src/hildon-touch-selector.h: Add the new API.
7046 * src/hildon-picker-dialog.c: (requires_done_button): Call
7047 hildon_touch_selector_has_multiple_selection() instead of
7048 determining the need for a button itself.
7050 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7052 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7053 (_hildon_touch_selector_set_model),
7054 (hildon_touch_selector_set_model): Move working code to
7055 _hildon_touch_selector_set_mode(). Call the class method instead.
7057 * src/hildon-touch-selector.h: Add (*set_model) to
7058 HildonTouchSelectorClass.
7060 Make hildon_touch_selector_set_model() a virtual method, so that
7061 derived classes can extend it and do fancy stuff with the model.
7063 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7065 * configure.ac: Set back the tarname in AC_INIT to hildon.
7067 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7071 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7072 instead of libesd (NB#86876). Volume handling is still an open issue.
7074 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7077 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7079 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7080 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7081 derived class to ease placement of an entry widget in
7082 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7083 end, where the selector columns are packed now.
7085 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7087 * src/hildon-picker-button.c: Removed the simple _text() API.
7088 * src/hildon-picker-button.h: Likewise.
7090 * src/hildon-touch-selector.h:
7091 * src/hildon-touch-selector.c:
7092 (hildon_touch_selector_new_text),
7093 (hildon_touch_selector_append_text),
7094 (hildon_touch_selector_prepend_text),
7095 (hildon_touch_selector_insert_text):
7097 Moved the simple _text() API from HildonPickerButton to
7098 HildonTouchPicker, to provide better escalability and not to tie
7099 that API to HildonPickerButton.
7101 * examples/hildon-picker-button-example.c: (main): Example updated.
7103 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7105 * src/hildon-button.c: Updated documentation.
7107 * examples/hildon-button-example.c: Add the posibility to create
7108 the buttons using horizontal layout for title and value.
7110 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7112 * src/hildon-app-menu-private.h
7113 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7114 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7115 GtkSizeGroup for the filters, use the 'homogeneous' property of
7118 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7120 * examples/hildon-button-example.c: Updated example.
7122 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7124 * doc/hildon-docs.sgml:
7127 Update documentation.
7129 * examples/Makefile.am: Update renamed examples.
7131 * examples/hildon-picker-button-multicolumn-example.c:
7132 (create_touch_selector), (main): Update after the rename.
7134 * examples/hildon-touch-picker-example.c: Removed.
7135 * examples/hildon-touch-selector-example.c: (value_changed),
7136 (create_selector), (get_visible_content), (main): Renamed from
7137 hildon-touch-picker-example.c
7139 * src/Makefile.am: Updated renamed files.
7141 * src/hildon-date-button.c: (hildon_date_button_init),
7142 (hildon_date_button_get_date), (hildon_date_button_set_date):
7143 * src/hildon-date-selector.c: (hildon_date_selector_init),
7144 (_custom_print_func), (_update_day_model),
7145 (_manage_selector_change_cb),
7146 (hildon_date_selector_select_current_date),
7147 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7148 * src/hildon-date-selector.h:
7149 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7150 (hildon_picker_button_set_property),
7151 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7152 (hildon_picker_button_init), (hildon_picker_button_new_text),
7153 (hildon_picker_button_append_text),
7154 (hildon_picker_button_prepend_text),
7155 (hildon_picker_button_insert_text),
7156 (hildon_picker_button_set_selector),
7157 (hildon_picker_button_get_selector):
7158 * src/hildon-picker-button.h:
7159 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7160 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7161 (_update_title_on_selector_changed_cb), (requires_done_button),
7162 (_hildon_picker_dialog_set_selector),
7163 (hildon_picker_dialog_set_selector),
7164 (hildon_picker_dialog_get_selector):
7165 * src/hildon-picker-dialog.h:
7166 * src/hildon-time-button.c: (hildon_time_button_init),
7167 (hildon_time_button_get_time), (hildon_time_button_set_time):
7168 * src/hildon-time-selector.c: (hildon_time_selector_init),
7169 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7170 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7171 * src/hildon-time-selector.h:
7174 Massive code updates after the rename.
7176 * src/hildon-touch-picker.c: Removed.
7177 * src/hildon-touch-picker.h: Removed.
7179 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7180 (hildon_touch_selector_init), (hildon_touch_selector_map),
7181 (hildon_touch_selector_remove), (_default_print_func),
7182 (_selection_changed_cb), (_create_new_column),
7183 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7184 (hildon_touch_selector_append_text_column),
7185 (hildon_touch_selector_remove_column),
7186 (hildon_touch_selector_set_column_attributes),
7187 (hildon_touch_selector_insert_column),
7188 (hildon_touch_selector_get_num_columns),
7189 (hildon_touch_selector_get_column_selection_mode),
7190 (hildon_touch_selector_set_column_selection_mode),
7191 (hildon_touch_selector_set_print_func),
7192 (hildon_touch_selector_get_print_func),
7193 (hildon_touch_selector_get_active_iter),
7194 (hildon_touch_selector_set_active_iter),
7195 (hildon_touch_selector_get_selected_rows),
7196 (hildon_touch_selector_get_model),
7197 (hildon_touch_selector_set_model),
7198 (hildon_touch_selector_get_current_text),
7199 (_hildon_touch_selector_center_on_selected_items):
7200 * src/hildon-touch-selector.h: Renamed from
7201 hildon-touch-picker.[ch]
7203 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7204 references, code examples, and related documentation.
7206 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7208 * doc/hildon-docs.sgml
7211 * src/hildon-toggle-button.c
7212 * src/hildon-toggle-button.h
7213 * src/hildon.h: New HildonToggleButton widget.
7215 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7217 * src/hildon-button.c: Add API documentation.
7218 (hildon_button_set_size_groups): Check input parameters
7220 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7222 * src/hildon-pannable-area.c
7223 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7224 effect after reaching the movement thredshold. This way we start
7225 using the distance after passing the thredshold.
7227 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7229 * src/hildon-button.c: (hildon_button_set_property): Use the
7230 appropriate g_value_get_flags() method.
7232 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7234 * doc/hildon-docs.sgml:
7237 Add the touch pickers, picker dialogs, and picker button widgets
7238 to the documentation.
7240 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7242 * src/hildon-button.c: (hildon_button_set_property),
7243 (hildon_button_class_init): Make "arrangement-flags" a proper
7244 G_TYPE_FLAGS derived property.
7246 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7248 * examples/Makefile.am: Add below examples.
7249 * examples/hildon-date-button-example.c:
7250 * examples/hildon-picker-button-example.c:
7251 * examples/hildon-picker-button-multicolumn-example.c:
7252 * examples/hildon-time-button-example.c:
7253 * examples/hildon-touch-picker-example.c:
7255 Add examples for the recently added touch pickers,
7256 picker dialogs, and picker button widgets.
7258 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7260 * src/hildon-button.c: Add some API documentation
7262 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7264 * src/hildon-button.h
7265 * src/hildon-button.c
7267 (hildon_button_new_with_text): New constructor to create a button
7268 with no text at all.
7269 (hildon_button_init, hildon_button_set_arrangement)
7270 (hildon_button_set_title, hildon_button_set_value)
7271 (hildon_button_set_text)
7272 (hildon_button_construct_child): Hide the value when it's not used
7273 so the rest of the text is properly aligned.
7274 Allow creating buttons with arbitrary widgets inside (not just
7275 title/value labels).
7277 * examples/hildon-button-example.c (vertical_buttons_window)
7278 (horizontal_buttons_window): Update example to use new API.
7280 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7282 * src/Makefile.am: Added HildonTimeButton.
7283 * src/hildon-time-button.c: Added missing LGPL header.
7284 * src/hildon-time-button.h: Added missing LGPL header.
7285 * src/hildon.h: Add hildon-time-button.h
7287 Copied HildonTimeButton from sandbox to trunk. Future work on this
7288 widget must take place in trunk.
7290 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7292 * src/Makefile.am: Added HildonDateButton.
7293 * src/hildon-date-button.c: Update includes.
7294 * src/hildon.h: Add hildon-date-button.h
7296 Copied HildonDateButton 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 HildonPickerButton.
7302 * src/hildon-picker-button.h: Update includes.
7303 * src/hildon.h: Add hildon-picker-button.h
7305 Copied HildonPickerButton from sandbox to trunk. Future work on
7306 this widget must take place in trunk.
7308 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7310 * src/Makefile.am: Added HildonPickerDialog.
7311 * src/hildon-picker-dialog.c: Update includes.
7312 * src/hildon.h: Add hildon-picker-dialog.h
7314 Copied HildonPickerDialog from sandbox to trunk. Future work
7315 on this widget must take place in trunk.
7317 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7319 * src/Makefile.am: Added HildonTimeSelector.
7320 * src/hildon.h: Add hildon-time-selector.h
7322 Copied HildonTimeSelector widget from sandbox to trunk. Future
7323 work on this widget must happen in trunk.
7325 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7327 * src/Makefile.am: Added HildonDateSelector.
7328 * src/hildon.h: Add hildon-date-selector.h
7330 Copied HildonDateSelector widget from sandbox to trunk. Future
7331 work on this widget must happen in trunk.
7333 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7335 * src/Makefile.am: Added HildonTouchPicker.
7336 * src/hildon-touch-picker.c: Update includes.
7337 * src/hildon.h: Add hildon-touch-picker.h
7339 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7340 on this widget must happen in trunk.
7342 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7344 * src/hildon-pannable-area.c:
7345 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7347 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7349 * examples/hildon-app-menu-example.c (main): Let the window
7352 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7354 * src/hildon-pannable-area.c
7355 (hildon_pannable_area_class_init): Set the min value of the
7356 overshoot properties to zero, which points out that not
7357 overshooting allowed.
7359 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7361 Modified the procedure to get the widget at a point inside the
7362 pannable area when using the movement type signals. Now the user
7363 has to call a function to get the child, that way we just
7364 calculate the child in case the user really want to use it and not
7367 * src/hildon-marshalers.list: Modified the marshallers, now we do
7368 not have the widget as a parameter.
7370 * src/hildon-pannable-area.c
7371 (hildon_pannable_area_motion_notify_cb),
7372 (hildon_pannable_area_class_init),
7373 (hildon_pannable_get_child_widget_at): Removed the widget
7374 parameter from the signal callback. We have also refactored the
7375 emission of the signals.
7377 * src/hildon-pannable-area.h: Added a new method to the API to
7378 calculate a widget at a point inside the pannable area,
7379 hildon_pannable_get_child_widget_at.
7381 * examples/hildon-pannable-area-example-4.c
7382 (horizontal_movement): Modified the example to use the new API,
7383 added condition to control which widget is under the event. This
7384 way we can avoid scrolling laterally over other widgets.
7386 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7388 * src/hildon-pannable-area.c
7389 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7390 modes, we stop getting the pointer events due to returning the
7391 callback without properly calling the get pointer again. Fixed
7392 also an error using the hscroll and vscroll.
7394 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7396 * src/hildon-app-menu-private.h
7397 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7398 (hildon_app_menu_button_release, hildon_app_menu_init)
7399 (hildon_app_menu_class_init): Don't hide the menu on button
7400 release if the user didn't press outside first.
7402 * src/hildon-window.h
7403 * src/hildon-window.c (hildon_window_toggle_menu)
7404 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7405 hildon_window_toggle_menu a virtual function for the stackable
7406 window to override it.
7408 * src/hildon-stackable-window.h
7409 * src/hildon-stackable-window-private.h
7410 * src/hildon-stackable-window.c
7411 (hildon_stackable_window_realize)
7412 (hildon_stackable_window_finalize)
7413 (hildon_stackable_window_class_init)
7414 (hildon_stackable_window_init)
7415 (hildon_stackable_window_set_main_menu): New function to set the
7416 app menu of a HildonStackableWindow.
7418 * examples/hildon-app-menu-example.c: Remove the button to show
7419 the app menu, now it'll be shown when clicking on the title bar
7422 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7424 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7425 set the widget name if the arrangement flags do not specify
7428 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7430 * src/hildon-button.c: (hildon_button_set_property),
7431 (hildon_button_class_init), (hildon_button_new_full),
7432 (hildon_button_set_arrangement): Added "arrangement-flags"
7435 Make the HildonButtonFlags a construction-only property, to allow
7436 subclasses to set them properly.
7438 2008-07-21 Tim Janik <timj@imendio.com>
7440 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7441 insertion position after backspace, so additional digits are appended,
7444 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7446 * src/hildon-pannable-area.c,
7447 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7448 TODO list, it was complete and removed the g_debug and g_print
7451 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7453 Added the movement modes to the hildon-pannable-area, with this
7454 modes the developers can control in which directions the widget
7455 can scroll. They can also connect to signals in order to do
7456 something when that happens, allowing applications scroll. There
7457 is an example uploaded showing how to use it.
7459 * examples/Makefile.am:
7460 * examples/hildon-pannable-area-example-4.c: Added this example of
7461 an application using the modes.
7463 * src/hildon-marshalers.list: Added a new marshaller for the new
7466 * src/hildon-pannable-area.h: Added new enumerations and flags in
7467 order to control the movement modes and the new signals to warn
7468 about the movements in the area.
7470 * src/hildon-pannable-area.c:
7471 (hildon_pannable_axis_scroll),
7472 (hildon_pannable_area_scroll),
7473 (hildon_pannable_area_motion_notify_cb),
7474 (hildon_pannable_area_get_property),
7475 (hildon_pannable_area_set_property),
7476 (hildon_pannable_area_map),
7477 (hildon_pannable_area_class_init),
7478 (hildon_pannable_area_init),
7479 (hildon_pannable_area_jump_to): Added the modes to control the
7480 movement in the widget. We have added properties to control it,
7481 signals to warn about the movements and refactored some code.
7483 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7485 Changes required in order to allow vfast_factor set to zero to
7488 * src/hildon-pannable-area.c:
7489 (hildon_pannable_area_button_press_cb): Changed the condition, it
7490 is required for not allowing click when vfast_factor is zero.
7491 (hildon_pannable_area_timeout): Initialized velocity variables
7492 when we stop moving, it was less than 1 but not zero and we need
7493 to check zero in some situations.
7494 (hildon_pannable_area_class_init): Changed the default value of
7495 the speed factor, now the button_press is just sent in case the
7496 speed is 2 per cent of the max speed.
7497 (hildon_pannable_area_init): Initialization with 0.
7499 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7501 * src/hildon-pannable-area.c,
7502 (hildon_pannable_area_get_topmost): replaced
7503 gdk_window_get_children with gdk_window_peek_children, this way we
7504 do not have to free the list because it is not a copy.
7506 (hildon_pannable_axis_scroll),
7507 (hildon_pannable_area_scroll),
7508 (hildon_pannable_area_timeout),
7509 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7510 two parameters that were only used inside the
7511 hildon_pannable_area_scroll function.
7513 * examples/hildon-pannable-area-example.c,
7514 (get_sawtooth_label): Fixed small memory leak.
7516 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7518 More checks for the case where the overshoot is bigger than the
7521 * src/hildon-pannable-area.c:
7522 (hildon_pannable_draw_vscroll),
7523 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7524 to draw the slider of the scrollbar under the other scrollbar.
7525 (hildon_pannable_area_expose_event): added new checks to control
7526 the drawing of the overshooting area rectangle, in case it is too
7527 big for the area of the widget.
7528 (hildon_pannable_area_size_allocate): add more checks to avoid
7529 setting a position to the child widget outside the area.
7531 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7533 * src/hildon-pannable-area.c
7534 (hildon_pannable_area_size_allocate): Added conditions to control
7535 when overshooting is bigger than the allocated space for the
7536 children, this avoids negative allocations.
7538 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7540 * doc/hildon-docs.sgml
7542 * examples/Makefile.am
7543 * examples/hildon-button-example.c
7545 * src/hildon-button.c
7546 * src/hildon-button.h
7547 * src/hildon.h: Initial version of the new HildonButton widget,
7550 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7552 * src/hildon-pannable-area.c:
7553 (hildon_pannable_area_button_press_cb),
7554 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7555 (hildon_pannable_area_motion_notify_cb),
7556 (hildon_pannable_area_button_release_cb),
7557 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7558 (hildon_pannable_area_jump_to_child):
7560 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7562 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7564 * examples/Makefile.am
7565 * examples/hildon-pannable-area-touch-grid-example.c
7566 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7567 the Hildon Touch List and Hildon Touch Grid using the
7568 HildonPannableArea widget.
7570 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7572 * src/hildon-pannable-area.c,
7573 (hildon_pannable_area_button_press_cb),
7574 (hildon_pannable_area_refresh),
7575 (hildon_pannable_area_scroll),
7576 (hildon_pannable_area_motion_notify_cb),
7577 (hildon_pannable_area_button_release_cb),
7578 (hildon_pannable_area_expose_event),
7579 (hildon_pannable_area_add),
7580 (hildon_pannable_area_remove),
7581 (hildon_pannable_area_realize),
7582 (hildon_pannable_area_size_allocate),
7583 (hildon_pannable_area_class_init),
7584 (hildon_pannable_area_init),
7585 (hildon_pannable_area_scroll_to_child),
7586 (hildon_pannable_area_jump_to_child): Fixed the problem of
7587 removing the child from the GtkBin, we have rearranged the widget
7588 hierarchy, now there is no GtkAlignment which was not doing
7589 anything interesting but breaking some of the assumptions of
7590 GtkContainer. Now developers if they want to add a GtkAlignment
7591 they could, but it is not inside the area.
7593 We had to review the whole allocation/expose process, now it is
7594 improved and we save at least three signals which would be saving
7595 some time when rendering the widget. The allocation of the
7596 scrollbars is now made in the allocate method as usual.
7598 We have also added some conditions in order to control when there
7599 is no child of the pannable area. Maybe we will need more work
7602 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7604 * src/hildon-pannable-area.c,
7605 (hildon_pannable_area_dispose): Released the fade-out timeout when
7606 disposing the widget.
7608 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7610 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7611 zero, we are going to use that property in order to deactivate the
7613 (hildon_pannable_axis_scroll),
7614 (hildon_pannable_area_size_allocate): Added conditions to control
7615 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7616 call, now it is called in all situations and we can remove calls
7617 in the allocate method.
7618 (hildon_pannable_area_map): Control the situation when
7619 overshoot_max is zero, we do not need the timeout.
7620 (hildon_pannable_area_class_init): Added documentation in order to
7621 point out that setting zero to overshoot_max means deactivate
7624 NOTE: removed trailing whitespaces from my previous comments of
7627 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7629 * src/hildon-pannable-area.c
7630 (hildon_pannable_area_get_property),
7631 (hildon_pannable_area_set_property),
7632 (hildon_pannable_area_map),
7633 (hildon_pannable_area_class_init),
7634 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7635 to cause the widget give a hint about its panning abilities upon
7638 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7640 * src/hildon-pannable-area.c: Several documentation improvements.
7642 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7644 * src/hildon-program.c
7645 * src/hildon-stackable-window.c: Update documentation.
7647 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7649 * src/hildon-stackable-window.c (get_previous_window_if_last):
7650 Renamed get_last_window()
7651 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7652 (hildon_stackable_window_unset_program):
7654 (get_previous_window_if_last):
7655 Detect if the window hasn't been added to a HildonProgram.
7657 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7659 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7661 * src/hildon-pannable-area.c
7662 (hildon_pannable_area_button_press_cb),
7663 (hildon_pannable_axis_scroll),
7664 (hildon_pannable_area_scroll),
7665 (hildon_pannable_area_timeout),
7666 (hildon_pannable_calculate_vel_factor),
7667 (hildon_pannable_area_get_property),
7668 (hildon_pannable_area_set_property),
7669 (hildon_pannable_area_class_init),
7670 (hildon_pannable_area_init),
7671 (hildon_pannable_area_scroll_to),
7672 (hildon_pannable_area_jump_to),
7673 (hildon_pannable_area_scroll_to_child),
7674 (hildon_pannable_area_jump_to_child):
7675 * src/hildon-pannable-area.h: Added the new API functions:
7676 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7677 hildon_pannable_area_scroll_to_child,
7678 hildon_pannable_area_jump_to_child
7681 * examples/Makefile.am
7682 * examples/hildon-pannable-area-example-2.c
7683 * examples/hildon-pannable-area-example-3.c: Added these two new
7684 examples in order to test and show how the new APIs work.
7686 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7688 * examples/hildon-stackable-window-example.c (new_window):
7689 * src/Makefile.am (noinst_HEADERS):
7690 * src/hildon-program.c (hildon_program_go_to_root_window):
7691 * src/hildon-program.h:
7692 * src/hildon-stackable-window-private.h:
7693 * src/hildon-stackable-window.c:
7694 * src/hildon-stackable-window.h:
7695 Create hildon-stackable-window-private.h
7696 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7698 * examples/hildon-app-menu-example.c (create_menu):
7699 * examples/hildon-hvolumebar-insensitive-example.c (main):
7700 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7701 * examples/hildon-toolbar-seekbar-example.c (main):
7702 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7703 * src/hildon-banner.c (hildon_banner_set_property):
7704 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7705 Fix compilation warnings
7707 * src/hildon-window.c:
7710 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7712 * src/hildon-stackable-window.c
7713 (hildon_stackable_window_unset_program):
7714 Calculate correctly whether to show the previous window if the
7715 last one is removed from the stack.
7716 (hildon_stackable_window_go_to_root_window):
7717 Send delete events starting from the topmost window.
7718 Stop if one of the windows is not destroyed.
7720 (hildon_stackable_window_delete_event)
7721 (hildon_stackable_window_class_init):
7722 Ignore the delete event if the window is not the topmost one.
7724 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7726 * src/hildon-pannable-area.c
7727 (hildon_pannable_area_expose_event): Fixed a problem when
7728 selecting the background color of the scrollbars.
7730 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7732 * examples/hildon-stackable-window-example.c
7733 * src/hildon-stackable-window.c
7734 * src/hildon-stackable-window.h
7735 hildon_stackable_window_go_home() renamed to
7736 hildon_stackable_window_go_to_root_window()
7737 Send delete events to windows rather than closing them with
7738 gtk_widget_destroy()
7740 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7742 * src/hildon-pannable-area.c
7743 (hildon_pannable_area_button_release_cb): Fix overshooting in
7746 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7748 * src/hildon-pannable-area.c
7749 (hildon_pannable_area_init): Initially show the scroll indicators.
7750 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7752 Add initial effect showing the widget is pannable.
7754 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7756 * src/hildon-pannable-area.c
7757 (hildon_pannable_area_class_init)
7758 (hildon_pannable_area_set_property)
7759 (hildon_pannable_area_get_property)
7760 (hildon_pannable_area_button_press_cb):
7761 New 'velocity_fast_factor' property to decide which velocity is
7764 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7766 * src/hildon-pannable-area.c
7767 (hildon_pannable_draw_hscroll)
7768 (hildon_pannable_draw_vscroll):
7769 Use float variables to calculate the size of the scrollbars to
7770 avoid error propagation and resizing during scrolling.
7772 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7774 * src/hildon-pannable-area.c
7775 (hildon_pannable_draw_vscroll)
7776 (hildon_pannable_draw_hscroll):
7777 Define a minimum size for the scroll bars
7779 * src/hildon-stackable-window.c
7780 (hildon_stackable_window_go_home): Fix compilation warning
7781 (get_last_window): Minor optimizations
7782 (hildon_stackable_window_class_init): Fix initialization of
7785 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7787 * src/hildon-stackable-window.c: Fixed typos in doc
7789 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7791 * src/hildon-pannable-area.c
7792 (hildon_pannable_area_scroll):
7793 Calculate here whether we need to scroll instead of using the booleans
7794 that tell us whether to /draw/ the scrolling bars.
7796 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7798 * src/hildon-app-menu.h
7800 * src/hildon-app-menu.c
7801 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7802 multiple filter groups related code and API. Now we support only
7804 * examples/hildon-app-menu-example.c:
7806 Update to reflect API changes.
7808 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7810 * src/hildon-stackable-window.c
7811 (hildon_stackable_window_class_init):
7812 Add hildon_stackable_window_realize.
7813 (hildon_stackable_window_realize):
7814 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7815 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7816 to apply theming and behavior specific to HildonStackableWindow
7819 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7821 * src/hildon-note.c (hildon_note_button_release):
7822 Close information notes also when tapping on them
7824 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7826 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7827 ELASTICITY, refactor and review, fix some issues with drawing
7830 * src/hildon-pannable-area.c:
7831 (hildon_pannable_area_button_press_cb): removed the conditions to
7832 avoid clicks when overshooting. It is not required
7834 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7835 define. Refatored and reviewed the code, now we do not need to
7836 manage velocity in motion_notify.
7838 (hildon_pannable_area_motion_notify_cb): We have moved the code
7839 that controls the area_scroll to the axis_scroll function and get
7840 rid of duplicated code.
7842 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7844 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7846 (hildon_pannable_draw_vscroll),
7847 (hildon_pannable_draw_hscroll): Fixed the problems with the
7848 scrollbar drawing, now we do not use two surfaces, it is easier
7849 and saves resources.
7851 (hildon_pannable_area_get_property): Style modification.
7853 (hildon_pannable_area_class_init): Changed some default values.
7855 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7857 * src/hildon-stackable-window.c: Fix some typos in the
7860 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7862 * src/hildon-dialog.c:
7863 Change indentation style
7866 (hildon_note_button_release):
7867 Use root coordinates to check if the release event happened
7870 * src/hildon-app-menu.c
7871 (hildon_app_menu_button_release):
7872 Remove unnecessary check
7874 * examples/hildon-app-menu-example.c
7876 Add cast to fix warning
7878 * src/hildon-app-menu.c
7879 (hildon_app_menu_class_init):
7880 New inner-border style property.
7881 Set all default spacings to 16
7882 (hildon_app_menu_init):
7883 Use vertical-spacing to set the space between filter buttons and
7884 regular menu buttons.
7885 Set the default container border using the inner-border value.
7887 * examples/hildon-app-menu-example.c
7889 Don't set the menu border explicitly, now we have the inner-border
7890 style property for that.
7892 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7894 * src/hildon-app-menu.c (hildon_app_menu_init):
7895 Make the window modal
7897 * src/hildon-note.c (hildon_note_map)
7898 * src/hildon-app-menu.c (hildon_app_menu_map):
7899 Destroy the grab window if we're unable to grab the pointer
7901 * src/hildon-app-menu-private.h
7902 * src/hildon-app-menu.c
7903 (hildon_app_menu_init, hildon_app_menu_finalize)
7904 (hildon_app_menu_map, hildon_app_menu_unmap)
7905 (hildon_app_menu_button_release)
7906 (grab_transfer_window_get):
7907 Bring back the grab window
7908 (hildon_app_menu_realize):
7909 Decorate the window, set WM hint for Matchbox
7911 * src/hildon-note.c (hildon_note_realize):
7912 * src/hildon-banner.c (hildon_banner_realize):
7913 Add WM hints for Matchbox
7915 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7917 * src/hildon-app-menu-private.h
7918 * src/hildon-app-menu.c
7919 (hildon_app_menu_init, hildon_app_menu_finalize)
7920 (hildon_app_menu_map, hildon_app_menu_unmap)
7921 (hildon_app_menu_button_release):
7922 Remove the grab window, it's not needed anymore
7924 * src/hildon-program.c
7925 Fixed typo in documentation
7927 * src/hildon-app-menu.h
7928 * src/hildon-app-menu.c
7929 * examples/hildon-app-menu-example.c
7930 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7932 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7935 Added new transfer_window and close_if_pressed_outside private
7937 (hildon_note_rebuild):
7938 Don't add a cancel button to the information note. It will be
7939 closed when tapping outside
7940 Remove the comment about the OK button in the documentation
7941 (hildon_note_realize):
7942 Set the notification type hint
7943 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7944 Grab/ungrab pointer and keyboard if the note has to be closed when
7946 (hildon_note_button_release):
7947 Close the note when tapping outside (if applicable)
7949 * src/hildon-app-menu.c
7950 Grab/ungrab pointer and keyboard on map/unmap
7951 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7952 Close the menu on button release, not button press
7954 * src/hildon-banner.c
7955 (hildon_banner_set_property)
7956 (hildon_banner_check_position):
7957 Make the banner use the full width of the screen
7958 (hildon_banner_show_information)
7959 (hildon_banner_show_information_with_markup):
7960 Don't display an icon by default
7962 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7964 Added fading scrollbars and adapted all the overshooting code to
7965 horizontal scrolling. We have also fixed bugs with overshooting
7966 and current fading implementation.
7968 * src/hildon-pannable-area.c
7969 (hildon_pannable_area_scroll_indicator_fade): Time out function
7970 used to change the transparency of the scrollbars.
7972 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7973 control and fixed a problem with fading, we now remove the fade
7974 timeout before adding a new one.
7976 (hildon_pannable_axis_scroll):
7977 (hildon_pannable_area_scroll):
7978 (hildon_pannable_area_timeout): Added this functions so we can use
7979 the scroll code both for vertical and horizontal.
7981 (hildon_pannable_area_motion_notify_cb):
7982 (hildon_pannable_area_button_release_cb): Added the horizontal
7983 scrolling control, fixed a problem with the overshooting timeout.
7985 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7986 painting of the scrolls.
7988 (hildon_pannable_draw_vscroll):
7989 (hildon_pannable_draw_hscroll):
7990 (hildon_pannable_area_expose_event):
7991 Draw both scrollbars and rectangles in the overshooting area.
7993 (hildon_pannable_area_get_property):
7994 (hildon_pannable_area_set_property):
7995 Modified the overshoot property to overshoot_max
7997 (hildon_pannable_area_map):
7998 Replaced the comments symbols.
8000 (hildon_pannable_area_size_allocate):
8001 (hildon_pannable_area_class_init):
8002 (hildon_pannable_area_init): Added horizontal scroll, fading
8003 effect properties, fixed a problem when overshooting in the bottom
8006 * examples/hildon-pannable-area-example.c:
8007 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8008 looks better in the example.
8010 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8012 * src/hildon-window.c
8013 * src/hildon-window.h
8014 (hildon_window_class_init)
8015 (hildon_window_unset_program)
8016 (hildon_window_unset_program_real):
8017 Make unset_program a virtual function
8019 * src/hildon-stackable-window.c
8020 * src/hildon-stackable-window.h
8021 Added hildon_stackable_window_go_home()
8023 * examples/Makefile.am
8024 * examples/hildon-stackable-window-example.c
8025 HildonStackableWindow example
8027 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8029 * hildon-pannable-area.c: Added the overshoot property and removed
8030 the OVERSHOOT define. Fixed an indent style error.
8031 (hildon_pannable_area_motion_notify_cb):
8032 (hildon_pannable_area_get_property):
8033 (hildon_pannable_area_set_property): Add overshoot property.
8035 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8038 (hildon_pannable_area_class_init): Installed the new property.
8040 * hildon-pannable-area-example.c: Added a sawtooth function, this
8041 way it is easier to check the movement in the pannable.
8042 (get_sawtooth_label): Added this function.
8043 (main): Now we get the labels from the new get_sawtooth_label
8046 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8048 * src/hildon-app-menu.h
8049 * src/hildon-app-menu.c
8050 Renamed API variables for consistency
8052 (hildon_app_menu_popup): Use also the default window size to
8053 decide where to place the menu
8055 (hildon_app_menu_init, hildon_app_menu_class_init): New
8056 external-border style property
8058 2008-05-26 Michael Natterer <mitch@imendio.com>
8060 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8061 widget_class->tap_and_hold_setup signal slot doesn't exist any
8062 longer, stop overriding it.
8064 (hildon_time_editor_init): g_signal_connect() to the
8065 tap-and-hold-setup signal instead.
8067 (hildon_time_editor_entry_keypress): add cast to fix warning.
8069 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8071 * doc/hildon-docs.sgml
8073 * examples/Makefile.am
8074 * examples/hildon-app-menu-example.c
8076 * src/hildon-app-menu-private.h
8077 * src/hildon-app-menu.c
8078 * src/hildon-app-menu.h
8080 New HildonAppMenu widget
8082 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8084 Rearranged the inheritance of the pannable area, now it inherits
8085 from GtkBin. This will allow us to control the event_window and
8086 the allocation process of the widget, required for some effects.
8088 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8089 GtkBin structures. * src/hildon-pannable-area.c: Added the
8090 event_window variable.
8091 (hildon_pannable_area_button_press_cb):
8092 (hildon_pannable_area_button_release_cb):
8093 (hildon_pannable_area_motion_notify_cb):
8094 Changed the signature of the method, now we override the event
8095 callback instead of connecting to the signal.
8097 (hildon_pannable_area_realize):
8098 (hildon_pannable_area_unrealize):
8099 (hildon_pannable_area_map):
8100 (hildon_pannable_area_unmap):
8101 (hildon_pannable_area_size_allocate):
8102 Added functions to control the widget construction. We add a
8103 INPUT_ONLY window and we put it over the widgets inside the
8104 container, this event_window handles the events.
8106 (hildon_pannable_area_class_init):
8107 Replaced the signal connections with overrides of the event
8110 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8112 Bouncing effect added when touching the borders, you can change
8113 the elasticity of the border changing the ELASTICITY define.
8115 * src/hildon-pannable-area.c: Added ELASTICITY define.
8116 (hildon_pannable_area_timeout): Added inverse velocity when
8117 touching the border of the child widget, that causes a bounce.
8119 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8121 Improved performance, we now do not go to the X server in order to
8122 get the list of window children. Apparently the effect is the
8123 same, we have to be careful and check if this breaks something in
8126 * src/hildon-pannable-area.c:
8127 (get_ordered_children): Removed this function.
8128 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8129 the children windows function with gdk_window_get_children.
8131 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8133 * src/hildon-pannable-area.c:
8134 (hildon_pannable_area_dispose): Fixed a crash when closing the
8135 window and kinetics is activated.
8137 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8139 * src/hildon-pannable-area.h
8140 * src/hildon-pannable-area.c
8141 Changed indentation style to meet the one used in Hildon
8143 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8145 Reviewed the interaction of the AUTO mode, now we use the time
8146 attribute of the events and calculate the velocity in the motion,
8147 doing a gimp like calculation. The velocity is calculated in each
8148 motion event using the last velocity and the current one, the
8149 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8151 * src/hildon-pannable-area.c: Replaced the time based algorithm
8153 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8154 timeout for the AUTO mode when we are still moving the cursor. We
8155 added also the velocity calculation in this function.
8156 (hildon_pannable_area_button_release_cb): launch the timeout in
8157 case we are in AUTO mode. There are still some constants here that
8158 come from the old implementation that should be reviewed and
8161 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8163 * doc/hildon-docs.sgml
8166 * src/hildon-stackable-window.c
8167 * src/hildon-stackable-window.h
8169 New HildonStackableWindow widget
8171 * examples/hildon-dialog-example.c
8172 * examples/hildon-pannable-area-example.c
8175 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8177 * src/hildon-dialog.c
8178 (hildon_dialog_new_with_buttons): New constructor.
8180 * examples/hildon-dialog-example.c
8181 (main): Update the example to use the new
8182 hildon_dialog_new_with_buttons().
8184 * examples/hildon-pannable-area-example.c
8185 (main): Update example.
8187 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8189 * doc/hildon-docs.sgml
8191 Added HildonPannableArea to the documentation.
8193 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8195 * doc/visual_index.xml
8196 Fix reference to HildonLoginDialog in documentation
8198 * doc/hildon-docs.sgml
8200 * examples/Makefile.am
8201 * examples/hildon-dialog-example.c
8203 * src/hildon-dialog.c
8204 * src/hildon-dialog.h
8206 New HildonDialog widget.
8208 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8210 * src/hildon-pannable-area.c
8211 Merge latest changes (r4318, r4342) from libmokoui trunk
8213 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8215 * examples/Makefile.am
8216 * examples/hildon-pannable-area-example.c
8218 * src/hildon-pannable-area.c
8219 * src/hildon-pannable-area.h
8221 New HildonPannableArea widget.
8223 2008-04-15 18:05:19 <timj@imendio.com>
8225 * src/hildon-banner.c: revert the recent change, that introduced
8226 gtk_window_present() calls. this reopens:
8227 Bug 78481 - [freetest] information banners are hidden under browser menu
8228 But resolves another variant of:
8229 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8231 2008-04-15 13:21:13 <timj@imendio.com>
8233 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8234 recreated its layout, spotted by Kris. this fixes all remaining
8235 artefacts and stability issues with the banner code. in particular:
8236 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8238 2008-04-14 16:52:59 <timj@imendio.com>
8240 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8241 operating on unrealized widgets, fixes:
8242 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8244 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8246 2008-04-09 Kristian Rietveld <kris@imendio.com>
8248 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8249 makes banner disappear.
8250 Fixes: NB#79182: info banner flickering with certain message lengts.
8252 * src/hildon-banner.c (hildon_banner_constructor),
8253 (hildon_banner_init), (hildon_banner_set_text),
8254 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8255 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8256 FALSE, reset size requests of label and banner,
8257 (force_to_wrap_truncated): when the text is too wide, always enforce
8258 the maximum possible width instead of recalculating it from the
8259 layout; enforce the maximum banner height of 3 lines,
8260 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8261 nicer wrapping and no truncated chars if space gets tight.
8263 * src/hildon-banner-private.h: add has_been_wrapped and
8264 has_been_truncated fields.
8266 2008-04-07 Sven Herzberg <sven@imendio.com>
8268 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8269 local values in hildon_date_editor_size_allocate
8271 * src/hildon-date-editor.c: moved the real allocation code into the
8274 2008-04-07 Sven Herzberg <sven@imendio.com>
8276 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8277 local values in hildon_date_editor_size_allocate
8279 * src/hildon-date-editor.c: merged the two if() branches together
8281 2008-04-07 Sven Herzberg <sven@imendio.com>
8283 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8284 local values in hildon_date_editor_size_allocate
8286 * src/hildon-date-editor.c: changed the arguments of the if()
8289 2008-04-07 Sven Herzberg <sven@imendio.com>
8291 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8292 local values in hildon_date_editor_size_allocate
8294 * src/hildon-date-editor.c: split the calculation of the allocation
8295 from the real allocation
8297 2008-03-27 Michael Natterer <mitch@imendio.com>
8299 Fixes: NB#81696: The passcode is not overwritten even after
8302 * src/hildon-code-dialog.c
8303 (hildon_code_dialog_button_clicked)
8304 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8305 because that doesn't overwrite selected text. Instead, emit the
8306 "commit" signal on the entry's im_context so the entry's normal
8307 insert logic is triggered. Set the cursor to the end of the entry
8308 after each insert operation so that we *only* insert in the middle
8309 of the text if something was selected.
8311 2008-03-27 Michael Natterer <mitch@imendio.com>
8313 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8314 selector cannot be opened
8316 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8317 when the popup color selector is created. Please connect to this
8318 signal in order to set the dialog's help ID.
8320 2008-03-25 Sven Herzberg <sven@imendio.com>
8322 Fixes: MB#1212: Hide info banners (infoprints) on click
8324 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8325 extracted the close event simulation into an extra function
8326 (hildon_banner_button_press_event): simulate a close event and destroy
8327 the widget if the event wasn't handled
8328 (hildon_banner_class_init): added the button_press_event handler
8329 (hildon_banner_init): added button-press events to the widget
8331 2008-03-25 Sven Herzberg <sven@imendio.com>
8333 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8334 Patch from: Mohammad Anwari <mdamt@maemo.org>
8336 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8337 instead of the right in RTL mode
8338 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8339 breadcrumb button list in RTL mode
8340 * src/hildon-caption.c: mirror the appearance of the caption widget in
8342 * src/hildon-date-editor.c: mirror appearance of the date editor in
8344 * src/hildon-time-editor.c: mirror appearance of the time editor in
8346 * src/hildon-window.c: fix the position of the popup in RTL mode
8348 2008-03-25 Sven Herzberg <sven@imendio.com>
8350 Amendment to the fix of NB#22072. Fix compilation.
8352 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8354 2008-03-19 Sven Herzberg <sven@imendio.com>
8356 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8359 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8360 timeout id properly when the timeout will disappear this leaves no
8361 artifacts around in the destroy(); there will only be the timeout
8362 created by hildon_banner_ensure_timeout() and adding a new timeout
8363 will also work if the timeout gets removed because the timeout_handler
8366 2008-03-19 Michael Natterer <mitch@imendio.com>
8368 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8370 * src/hildon-volumebar.c
8371 * src/hildon-vvolumebar.c
8372 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8373 the widget becomes focussable at all.
8375 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8376 set the focus to wither the mute button or the volumebar.
8378 Remove own "can-focus" property and instead listen to
8379 notify::can-focus in order to update the widget's state.
8381 Implement GtkWidget::focus() and make sure we can also *leave* the
8382 widget, not only enter it, depending on volumebar orientation and
8383 requested focus direction.
8385 Clean up set_mute() to cooperate nicely with all the above.
8387 2008-03-04 Michael Natterer <mitch@imendio.com>
8389 Fixes: NB#78481: information banners are hidden under browser menu
8391 * src/hildon-banner.c: call gtk_window_present() on the banners so
8392 they are risen if they are already visible.
8394 2008-03-03 Sven Herzberg <sven@imendio.com>
8396 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8398 * examples/hildon-window-menu-example.c: (main): extended the window
8399 menu example to serve as a testcase for automatically added
8400 accelerator groups, too
8401 * src/hildon-window.c: (hildon_window_add_accel_group),
8402 (hildon_window_set_menu): added patch by Tommi Komulainen
8404 2008-03-03 Sven Herzberg <sven@imendio.com>
8406 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8408 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8409 knowledge about the border allocators used within GTK+
8411 2008-02-26 Sven Herzberg <sven@imendio.com>
8413 Fixes: MB#2981: Build with asserts broken
8415 * src/hildon-date-editor.c,
8416 * src/hildon-number-editor.c,
8417 * src/hildon-time-editor.c,
8418 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8419 the proper GType instance check
8421 2008-02-25 Sven Herzberg <sven@imendio.com>
8423 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8425 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8426 * examples/hildon-window-menu-example.c: (main): explicitly show
8428 * src/hildon-window.c:
8429 (hildon_window_set_main_menu): moved most of the code from set_menu()
8430 to this place; skipped the call to gtk_widget_show_all(); also didn't
8431 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8432 (hildon_window_set_menu): removed most of the code, just keep the
8433 questionable gtk_widget_show_all()
8434 * src/hildon-window.h: added the new function and deprecate the old
8437 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8443 * debian/changelog: Updating.
8445 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8448 * pkgconfig/Makefile.am:
8449 * pkgconfig/hildon.pc.in:
8452 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8453 use newly created API_MAJOR_VERSION.
8455 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8461 * debian/changelog: Updating.
8463 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8465 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8467 Add outer_border style property, we use it but don't define it (!).
8471 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8473 * examples/hildon-bread-crumb-trail-example.c (main):
8477 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8479 Fix logic for the bread crumb trail node removal.
8483 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8489 * debian/changelog: Updating.
8491 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8493 Patch by Alejandro to get/set passwords dialogs accesibility.
8495 * hildon-1/src/hildon-get-password-dialog.c:
8496 * hildon-1/src/hildon-set-password-dialog.c:
8497 Set atk_set_name to the passwd entries in order to allow
8498 accessibility by name on this entries.
8500 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8505 * debian/control: Updating gtk dep.
8507 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8509 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8510 USE_MAEMO_GTK is enabled.
8512 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8514 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8515 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8517 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8523 * debian/changelog: Updating.
8525 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8527 * examples/Makefile.am:
8528 * examples/hildon-logical-color-example.c:
8529 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8530 applied + adding a test case. Fixes: NB#71660.
8532 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8534 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8535 to be visible, fixes warning on map for windows without toolbars.
8537 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8539 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8540 2.11.0, add a check for that besides the MAEMO_GTK check.
8542 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8548 * debian/changelog: Updating.
8550 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8552 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8553 visibility. Fixes: NB#70842 and MB#615.
8555 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8557 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8558 set the separator as no-show-all so it doesn't unintentionally appear when
8559 someone does a show_all.
8561 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8563 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8564 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8565 toplevel item. Fixes: NB#62031
8567 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8569 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8570 fix the name of the function in the docs.
8572 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8578 * debian/changelog: Updating.
8580 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8582 * examples/hildon-banner-long-example.c: Adding a test-case for long
8585 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8587 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8589 * src/hildon-color-chooser-dialog.c:
8590 * src/hildon-color-chooser.c:
8591 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8592 memory leaks in font selector and color selector. Fixes: NB#70499 and
8595 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8597 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8599 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8601 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8602 little bit bigger. Fixes: #NB63694.
8604 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8610 * debian/changelog: Updating.
8612 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8615 * doc/hildon-docs.sgml:
8616 * doc/images/bread-crumb-trail.png:
8617 * doc/images/calendar-popup.png:
8618 * doc/images/caption.png:
8619 * doc/images/code-dialog.png:
8620 * doc/images/color-button.png:
8621 * doc/images/color-chooser-dialog.png:
8622 * doc/images/color-chooser.png:
8623 * doc/images/controlbar.png:
8624 * doc/images/date-editor.png:
8625 * doc/images/font-selection-dialog.png:
8626 * doc/images/get-password-dialog.png:
8627 * doc/images/hvolumebar.png:
8628 * doc/images/login-dialog.png:
8629 * doc/images/note.png:
8630 * doc/images/number-editor.png:
8631 * doc/images/range-editor.png:
8632 * doc/images/seekbar.png:
8633 * doc/images/set-password-dialog.png:
8634 * doc/images/sort-dialog.png:
8635 * doc/images/time-editor.png:
8636 * doc/images/time-picker.png:
8637 * doc/images/vvolumebar.png:
8638 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8639 Adding the bread-crumb-trial and helpers to the documentation.
8641 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8643 * examples/hildon-find-toolbar-example.c:
8644 * src/hildon-find-toolbar.c:
8645 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8646 actually continue firing the other handlers if connected. Adding a new
8648 hildon_find_toolbar_get_last_index that gets the index of the most
8649 recently added (last) item. Fixes: NB#52301.
8651 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8653 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8654 behaviour. Fixes: NB#68610.
8656 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8658 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8661 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8663 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8664 when realizing the banner. Should make the infonbanner effect a bit more
8667 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8669 * src/hildon-volumebar.c:
8670 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8671 hildon_volumebar_set_range_insensitive_message and
8672 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8674 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8676 * src/hildon-window.c: Fixing the border freeing on destroy.
8678 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8680 * src/hildon-code-dialog-private.h:
8681 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8682 kw keyboard support in HildonCodeDialog.
8684 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8690 * debian/changelog: Updating.
8692 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8694 * src/hildon-date-editor.c:
8695 * src/hildon-number-editor.c:
8696 * src/hildon-private.c:
8697 * src/hildon-private.h:
8698 * src/hildon-time-editor.c:
8699 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8700 handling in subclassed composite widgets. Fixes: NB#66628.
8702 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8704 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8705 from destroy_ callback as it introduces problems in async dbus signal
8706 handlers. Fixes NB#66673.
8708 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8710 * examples/hildon-hvolumebar-example.c:
8711 * src/hildon-volumebar.c: Improving the focus handling in the
8712 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8713 set_property accessor so that "mute" property can be actually set. I'm
8714 scared that nobody noticed it's totally broken.
8716 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8718 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8721 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8723 * src/hildon-calendar.c:
8724 * src/hildon-number-editor.c:
8725 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8726 matches the spec of 6 chars per second. Fixes: NB#60489.
8728 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8730 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8731 gtk_style_lookup_color sometime returns FALSE even though color was
8732 found and values were filled properly. Weird. Removing the warning for the
8735 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8737 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8738 expand vertically. Adding some extra space to the find toolbar buttons to
8739 make them thumbable. Fixes NB#66060.
8741 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8743 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8744 popup with "Ok" and "Cancel". Fixes NB#59299.
8746 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8748 * src/hildon-calendar.c: Process all window updates before executing next
8749 timeout. Fixes: NB#54146.
8751 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8757 * debian/changelog: Updating.
8759 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8761 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8762 the client event and ignore it, since we use the delete event to close
8765 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8767 * src/hildon-helper.c: Remove the bogus warning about color not being
8768 found. Fixes NB#58352.
8770 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * examples/Makefile.am:
8773 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8774 HildonSeekbar widget inside a toolbar.
8776 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8778 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8779 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8780 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8781 don't want to be closed by non-temporary windows on map.
8783 Also use G_DEFINE_TYPE instead of manually typed code.
8785 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8792 * debian/rules: Updating.
8794 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8796 * examples/Makefile.am:
8797 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8798 bug NB#61128. Strangely it works.
8800 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 * src/hildon-date-editor.c: When the date editor entry has been changed
8803 but the numbers of characters < max, turn off the skip validation flag.
8804 Prevents a situation when we enter first a valid year and later re-write
8805 it with an invalid one. Fixes NB#60154.
8807 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8809 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8810 code dialog. Fixes NB#64355.
8812 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8814 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8815 switching the page. Fixes NB#49374.
8817 * examples/Makefile.am:
8818 * examples/hildon-wizard-dialog-example.c: Adding an example for
8819 HildonWizardDialog that shows how to handle manual sensitivity setting on
8822 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8826 * src/hildon-version.h.in:
8827 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8829 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8831 * src/hildon-volumebar.c: Updating the docs.
8833 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8839 * debian/changelog: Updating.
8841 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8843 * src/hildon-find-toolbar.c:
8844 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8845 selected item: hildon_find_toolbar_set_active,
8846 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8847 hildon_find_toolbar_get_active_iter . They correspond to respective
8848 GtkComboBox functions.
8850 * examples/Makefile.am:
8851 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8854 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8856 * examples/Makefile.am:
8857 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8860 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8861 when font size > 32 and we pack a focusable widget inside. Actually using
8862 the default response would work too, but since we don't show default
8863 response state in any way (no theming) it would not be visible to the
8864 user. Fixes NB#63430.
8866 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8868 * src/hildon-date-editor.c: Adding the missing variable setter in the
8869 set_property handler. Fixes NB#54182.
8871 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8873 * src/hildon-window.h: Changing the long key press time from 1500ms to
8874 800ms as requested in NB#63700. I have a bad feeling about this, let's
8875 see... Fixes NB#63700.
8877 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8879 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8880 hildon_time_picker_map, hildon_time_picker_realize,
8881 hildon_time_picker_style_set): Split the contents of map to more
8882 appropriate functions; set window decorations on realize and update
8883 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8885 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8890 * debian/changelog: Updating.
8892 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8894 * src/Makefile.am: fixed installation of the header files
8896 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * debian/changelog: Updating.
8904 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8906 * configure.ac: Removing some remaining of --enable-xan.
8908 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8910 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8911 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8913 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8914 2.10.12-osso6 because the move-focus signal needs to be available in
8917 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8919 * examples/Makefile.am:
8920 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8921 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8922 fine. Prolly NB#61128 is fixed now.
8924 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8926 * src/hildon-volumebar.c:
8927 * src/hildon-volumebar.h: Adding the
8928 hildon_volumebar_set_range_insensitive_message and
8929 hildon_volumebar_set_range_insensitive_messagef functions to set
8930 insensitive message on the slider of the volumebar. Fixes NB#61129.
8932 * examples/Makefile.am:
8933 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8934 test the new insensitive messsage functionality on HildonVolumebar.
8936 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8938 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8941 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8943 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8944 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8945 button on after clearing the trail.
8947 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8949 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8951 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8953 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8954 by splitting the installed headers in generated and non-generated groups. Use
8955 only the non-generated headers to create the hildon-enum-types.h file.
8957 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8959 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8961 * src/hildon-window.c: Hide the window before performing the destroy.
8962 Should make the app closing a little tiny bit more snappy.
8964 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8966 * src/hildon-seekbar.c: add gtkrange.h header
8967 * src/hildon-caption.c: remove unused variable
8969 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8971 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8974 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * debian/changelog: Updating.
8982 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8984 * src/hildon-window.c (hildon_window_window_state_event,
8985 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8986 escape timeout on focus-out-event rather than notify::is-topmost; the
8987 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8989 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8991 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8992 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8994 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8996 * src/hildon-window: actually, you need to use the macro always, there's
8997 no private pointer in the instance structure. We should have cleaned this up
8998 when we had the chance...
9000 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9002 * src/hildon-window.c: do not get the private date from HildonWindow before
9003 it passes the g_return_if_fail check. Once it's passed the test, there's no
9004 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9005 if you are only going to access the data once. Whitespace cleanups.
9007 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9009 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9010 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9012 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9018 * debian/changelog: Updating.
9020 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9022 * src/hildon-window.c: When destroying the window, remove (if exists) the
9023 escape timeout handler. Fixes #NB59276.
9025 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * src/hildon-banner.c: When realizing the widget, set the window
9028 transiency. Setting the transiency in the gobject constructor is not
9029 good, as the widget is not realized at that point. Fixes: #NB56624.
9031 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9033 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9034 Add padding for future expansions.
9036 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9038 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9039 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9040 will fake an activation on the previous to the last item of the trail, so
9041 the effect can be overrided by the developer as usual.
9042 Also change the callback for the back button to do the same thing, so its
9043 effect can be overrided too. Fixes: NB#58982
9045 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9047 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9048 HildonCaption. Fixes NB#52379.
9050 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9052 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9053 the internal state of the trail after the user has had the chance of executing
9054 his handler for the signal. Specifically, it may happen that the activated button
9055 is removed and the user still lets the default handler run. This would segfault
9058 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9060 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9061 scrollbar to the preview dialog. Fixes NB#54147.
9063 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9066 max/min year properties can be altered, so the client can modify it
9067 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9069 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9071 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9072 hildonlike by default. Fixing a problem with disappearing arrows when
9073 scrolling through months and years. Fixes NB#54127.
9075 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9077 * examples/hildon-date-editor-example.c: Adding error callback to the date
9080 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9086 * configure.ac: Updating.
9088 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9090 * configure.ac: Adding a special '--enable-xan' configure option that
9091 turns off the -Werror compilation setting. Usefull for development.
9093 * src/hildon-calendar.c:
9094 * src/hildon-number-editor.c:
9095 * src/hildon-time-picker.c: Adding the 5* multiplier to
9098 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9100 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9101 instead of g_object_ref + gtk_object_sink.
9103 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * debian/changelog: Updating.
9111 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9113 * src/hildon-color-chooser-dialog.c:
9114 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9115 straight from Tommi labs.
9117 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * examples/hildon-finger-example.c: Correcting the header file path.
9121 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9122 the changed signal. Fixes a small memory leak.
9124 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9128 * src/hildon-banner.c: Importing several usefull fixes from the
9129 ubuntu-mobile branch.
9131 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * examples/Makefile.am:
9134 * examples/hildon-finger-example.c: Adding a finger-checking code
9137 * src/hildon-font-selection-dialog.c: Do not allocate the color
9138 structure using the g_new. Fixes NB#54061.
9140 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9142 * src/hildon-helper.c: Correcting tabs in file.
9144 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9146 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9147 control the visibility of the children.
9149 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9151 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * debian/changelog: Updating.
9159 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9161 * src/hildon-bread-crumb-trail.c:
9162 (hildon_bread_crumb_trail_size_allocate):
9164 Make the back button always a square.
9166 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9168 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9169 from the .c file as it's a private file.
9171 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9173 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9174 uses slightly bigger height.
9176 * src/hildon-font-selection-dialog.c: Adding some checks before
9177 freeing memory in the font selection dialog.
9179 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9181 * src/hildon-font-selection-dialog.c: Adding a small check when
9184 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9185 buttons sensitivity on page switching.
9187 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9189 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9190 internal details of adding a bread crumb to the trail.
9192 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9198 * debian/changelog: Updating.
9200 * src/hildon-bread-crumb-trail.h:
9201 * src/hildon-bread-crumb.h: Changing the API guard to
9202 HILDON_ENABLE_UNSTABLE_API.
9204 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9212 * src/hildon-helper.h: Updating.
9214 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9222 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9226 * src/hildon-helper.h: Small fix to make the package actually compile.
9228 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9230 * src/hildon-bread-crumb-trail.h:
9231 * src/hildon-bread-crumb.h:
9233 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9234 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9236 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9238 * examples/hildon-bread-crumb-trail-example.c:
9240 * src/hildon-bread-crumb-trail.c:
9241 * src/hildon-bread-crumb-trail.h:
9242 * src/hildon-bread-crumb.c:
9243 * src/hildon-bread-crumb.h:
9244 * src/hildon-marshalers.list:
9245 * src/hildon-bread-crumb-widget.c:
9246 * src/hildon-bread-crumb-widget.h:
9248 Slight change in the widget design. The bread crumb trail API is
9249 unchanged, but HildonBreadCrumb is now an interface. A *private*
9250 implementation, hildon-bread-crumb-widget, is provided and used
9251 internally by the trail for the push_text/push_icon functions.
9253 The generic push API is still available, so anyone can implement
9254 and use its own bread crumb widget.
9256 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9258 * debian/rules: Fixing the shlibs.
9260 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9262 * src/hildon-banner.c: Fixing a problem with timed banners having
9263 their parrent destroyed before they are.
9265 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9267 * src/hildon-bread-crumb.c:
9268 * src/hildon-bread-crumb.h:
9270 Make the get_natural_size function a vfunc.
9272 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9274 * src/hildon-bread-crumb.c:
9275 * src/hildon-bread-crumb-trail.c:
9279 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9286 * debian/changelog: Updating for release.
9288 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9290 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9291 don't leak the pango layout.
9293 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9296 * examples/hildon-bread-crumb-trail-example.c:
9300 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9302 * debian/changelog: Removing the bug-fixed entries that were actually
9303 resolved as WONTFIX.
9305 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9308 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9310 * src/hildon-bread-crumb-trail.c:
9311 * src/hildon-bread-crumb-trail.h:
9312 * src/hildon-bread-crumb.c:
9313 * src/hildon-bread-crumb.h:
9317 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9319 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9320 until it's passed the type check.
9322 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9324 * examples/hildon-bread-crumb-trail-example.c
9328 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9330 * examples/Makefile.am
9331 * examples/hildon-bread-crumb-trail-example.c
9333 * src/hildon-bread-crumb-trail.c
9334 * src/hildon-bread-crumb-trail.h
9335 * src/hildon-bread-crumb.c
9336 * src/hildon-bread-crumb.h
9338 New HildonBreadCrumbTrail widget.
9340 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9342 * src/hildon-range-editor.c (hildon_range_editor_init),
9343 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9344 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9345 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9346 hildon_time_editor_class_init, hildon_time_editor_init),
9347 src/hildon-get-password-dialog.c (invalid_input,
9348 hildon_get_password_set_property, hildon_get_password_get_property,
9349 create_contents, hildon_get_password_dialog_set_max_characters),
9350 src/hildon-set-password-dialog.c (create_contents),
9351 src/hildon-date-editor.c (hildon_date_editor_init),
9352 src/hildon-login-dialog.c (hildon_login_dialog_init),
9353 src/hildon-number-editor.c (hildon_number_editor_init),
9354 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9355 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9356 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9357 configure option and adding the respective checks in the code.
9358 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9359 hildon_calendar_drag_data_received): fixed some build warnings.
9361 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9363 * debian/changelog: A 1.0.0 release notes.