1 2009-08-18 Alberto Garcia <agarcia@igalia.com>
5 * configure.ac: bump version
7 * debian/changelog: updates
9 2009-08-11 Alejandro G. Castro <alex@igalia.com>
11 * hildon/hildon-pannable-area.c
12 (hildon_pannable_area_size_allocate): Checked the scrollbars
13 before the first try when defining the layout, avoids two
14 allocations in some situations.
16 Fixes: NB#131794 (pannable area produces unnecessary allocations
17 causing performance problems)
19 2009-08-11 Alejandro G. Castro <alex@igalia.com>
21 * hildon/hildon-pannable-area.c
22 (hildon_pannable_area_button_press_cb),
23 (hildon_pannable_area_motion_notify_cb),
24 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
25 the spurious ref added in the copy, fixes leak of window.
27 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
28 if it's realized without showing and then deleted)
30 2009-08-10 Alberto Garcia <agarcia@igalia.com>
34 * configure.ac: bump version
36 * debian/changelog: updates
38 2009-08-06 Alberto Garcia <agarcia@igalia.com>
40 * examples/hildon-hvolumebar-timer-example.c
42 * hildon/hildon-banner.c
43 (hildon_banner_timeout, hildon_banner_ensure_timeout)
44 * hildon/hildon-calendar.c
45 (calendar_timer, start_spinning)
46 * hildon/hildon-color-chooser.c
47 (inline_limited_expose)
48 * hildon/hildon-date-editor.c
49 (hildon_date_editor_entry_focus_in)
50 (hildon_date_editor_entry_validate)
51 (hildon_date_editor_entry_select_all)
52 * hildon/hildon-note.c
54 * hildon/hildon-number-editor.c
55 (hildon_number_editor_button_pressed)
56 (hildon_number_editor_start_timer, do_mouse_timeout),
57 (add_select_all_idle, hildon_number_editor_select_all)
58 * hildon/hildon-time-editor.c
59 (hildon_time_editor_entry_focus_in)
60 (highlight_callback, hildon_time_editor_validate)
61 (hildon_time_editor_entry_select_all)
62 * hildon/hildon-time-picker.c
63 (hildon_time_picker_arrow_press)
64 (hildon_time_picker_key_repeat_timeout)
65 * hildon/hildon-window.c
66 (hildon_window_key_press_event)
67 (hildon_window_escape_timeout):
68 Replace all calls to g_idle_add/g_timeout_add with their
69 gdk_threads counterparts.
71 Fixes: NB#126198 (gdk-threads API should be used to install idle
74 2009-08-06 Alejandro G. Castro <alex@igalia.com>
76 * hildon/hildon-pannable-area.c,
77 (hildon_pannable_area_class_init): Increased the overshooting max
78 speed to get a faster effect.
79 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
80 deceleration of the overshooting
81 (hildon_pannable_area_button_release_cb): Calculate initial
82 overshooting speed when finger on the screen using the distance to
83 launch the effect faster.
85 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
86 lists with slow row renderers)
88 2009-08-05 Alberto Garcia <agarcia@igalia.com>
90 * doc/hildon-sections.txt: Add new functions
92 2009-08-05 Alberto Garcia <agarcia@igalia.com>
94 * hildon/hildon-text-view.[ch]
95 * hildon/hildon-entry.[ch]:
96 Add deprecation guards around deprecated functions.
98 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
100 * hildon/hildon-app-menu.c: Remove leftover function declaration.
102 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
104 Remove the grab from HildonAppMenu
106 * hildon/hildon-app-menu.c:
107 Now hildon-desktop places a blocker window behind the menu to handle
108 its closing, so the grab is no longer needed. This simplifies its
109 implementation and allows the system blanking to succeed.
111 Fixes: NB#130910 (Screen gets unlocked when menu is open)
113 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
117 * configure.ac: bump version
119 * debian/changelog: updates
120 * debian/control: raise debian dependency on GTK+
122 2009-08-04 Alberto Garcia <agarcia@igalia.com>
124 * hildon/hildon-text-view.c
125 * hildon/hildon-entry.c:
126 Remove all placeholder code from HildonEntry and HildonTextView
127 and use the API in GtkEntry and GtkTextView instead.
129 * examples/hildon-entry-example.c
130 * examples/hildon-text-view-example.c
131 * examples/hildon-wizard-dialog-example.c
132 * hildon/hildon-get-password-dialog.c
133 * hildon/hildon-login-dialog.c
134 * hildon/hildon-picker-dialog.c
135 * hildon/hildon-set-password-dialog.c
136 * hildon/hildon-touch-selector-entry.c:
137 Replace all deprecated calls to HildonEntry and HildonTextView
138 with their Gtk counterparts.
140 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
143 2009-08-03 Alejandro G. Castro <alex@igalia.com>
145 * hildon/hildon-pannable-area.c,
146 (hildon_pannable_area_check_move),
147 (hildon_pannable_area_button_release_cb),
148 (hildon_pannable_area_scroll_to): Reverted the priority change of
149 the timeout, in some situations, slow renderers, the click do not
150 make it to the mainloop on time.
152 Fixes NB#131013 (unable to stop panning file manager by tapping on
155 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
157 * configure.ac: bump version
159 * debian/changelog: updates
161 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
163 * hildon/hildon-touch-selector.[ch]
164 (hildon_touch_selector_center_on_index): New method that allows to center
165 on a item not selected
167 Fixes NB#130291 (New HildonTouchSelector API is required to center on
170 2009-07-29 Alberto Garcia <agarcia@igalia.com>
172 * hildon/hildon-text-view.c
173 (+set_logical_color, +hildon_text_view_style_set)
174 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
175 (hildon_text_view_init)
176 * hildon/hildon-entry.c
177 (+set_logical_color, +hildon_entry_style_set)
178 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
179 (hildon_entry_class_init, hildon_entry_init)
180 * hildon/hildon-button.c
181 (+set_logical_font, +set_logical_color)
182 (hildon_button_style_set, hildon_button_init)
183 (hildon_button_set_arrangement, hildon_button_set_style):
184 Remove all calls to hildon_helper_set_logical_font() and
185 hildon_helper_set_logical_color(), which are recursive, from
188 Fixes: NB#123409 (Showing dialog consumes significant amount of
191 2009-07-29 Alejandro G. Castro <alex@igalia.com>
193 * hildon/hildon-pannable-area.c,
194 (hildon_pannable_area_timeout): Added the process updates of the
195 scrollbars window in the pannable.
197 Fixes: NB#130043 (scrollindicator not smooth while panning)
199 2009-07-23 Alejandro G. Castro <alex@igalia.com>
201 * hildon/hildon-pannable-area.c,
202 (hildon_pannable_area_check_move),
203 (hildon_pannable_area_button_release_cb),
204 (hildon_pannable_area_scroll_to): Increased the priority of the
205 timeout this way it is going to be handled before the events.
207 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
211 * configure.ac: bump version
212 * debian/changelog: updates
214 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
216 * hildon/hildon-entry.c: (set_property): Do not allow to set
217 automatic height and use finger height instead, to prevent an to
218 have a smaller size than than its theme pixbuf.
220 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
222 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
224 * configure.ac: postrelease version bump.
225 * debian/changelog: post release version bump
227 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
232 * configure.ac: Bump version.
233 * debian/changelog: Updates.
235 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
237 * hildon/hildon-note.c: (label_size_request): Take the note
238 padding into account when setting the size request.
240 Fixes: NB#127896 (Information notes text truncated)
242 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
244 * configure.ac: postrelease version bump.
245 * debian/changelog: post release version bump
247 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
252 * configure.ac: Bump version.
253 * debian/changelog: Updates.
255 2009-07-16 Alejandro G. Castro <alex@igalia.com>
258 * hildon/hildon-text-view.c,
259 (hildon_text_view_button_press_event): Grabbed the focus in button
260 press, this way we are sure the widget has the focus in the
261 release event, required for HIM.
263 Fixes: NB#121445 (Virtual keyboard opening is not working in same
264 way for each text entry field)
266 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
268 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
269 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
270 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
271 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
272 (hildon_pannable_area_[gs]et_center_on_child_focus)
273 Redefined GtkContainer set-focus-child signal, in order to center
274 properly on a child when it receives the focus. Defined a new property
275 "center-on-child-focus" in order to activate this feature (deactivated
276 by default). Public get/set methods defined to manage the property.
278 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
280 2009-07-14 László Pere <lpere@blumsoft.eu>
282 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
283 the new size is applied.
285 Fixes: NB#124510 (The Application Menu is distorted when switched
286 between portrait and landscape mode)
287 Fixes: NB#115388 (Power key menu does not resize itself)
289 2009-07-01 Alberto Garcia <agarcia@igalia.com>
291 * hildon/hildon-banner.c (hildon_banner_map):
292 Set banner position after mapping.
294 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
296 * configure.ac: postrelease version bump.
297 * debian/changelog: post release version bump
299 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
304 * configure.ac: Bump version.
305 * debian/changelog: Updates.
307 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
309 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
312 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
314 * tests/check-hildon-banner.c
316 * tests/test_suites.h
317 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
318 were testing deprecated functions.
319 * examples/hildon-banner-example.c: typo on button3 type, that causes
320 a fail compiling with --with-examples but without --disable-deprecated
322 Missed commit in order to fix compilation using '--enable-fatal' and
323 '--disable-deprecated' (see previous commit)
325 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
327 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
328 functions with #ifndef HILDON_DISABLE_DEPRECATED
329 * examples/hildon-find-toolbar.c: Protect deprecated
330 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
331 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
332 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
333 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
335 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
336 to allow proper compilation of deprecated functions defined on the header
338 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
340 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
342 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
343 Cache the panning indicator color.,
344 (hildon_pannable_area_style_set): Query the color on style changes.
345 (hildon_pannable_draw_vscroll),
346 (hildon_pannable_draw_hscroll),
347 (hildon_pannable_area_expose_event): Use the cached panning indicator
348 color instead of looking it up on every expose and more.
350 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
352 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
353 (hildon_pannable_draw_hscroll),
354 (hildon_pannable_area_expose_event): Fix the panning indicator color,
355 so that it's "SecondaryTextColor", as desired.
357 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
359 * hildon/hildon-picker-dialog.c:
360 (selection_completed): take into account HILDON_UI_MODE_NORMAL
361 * hildon/hildon-touch-selector.c
362 (hildon_touch_selector_init): Initialize hildon-ui-mode
363 (hildon_touch_selector_row_activated): new callback for the
364 "row-activated" signal, in order to save the last activated
365 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
366 if the current hildon-ui-mode is coherent with the touch selector
367 (hildon_touch_selector_class_init)
368 (hildon_touch_selector_get_property)
369 (hildon_touch_selector_set_property)
370 Added "hildon-ui-mode" property
371 (disconnect_model_handlers): renamed to clean_column
372 (hildon_touch_selector_remove): use clean_column function
373 (_create_new_column): use the hildon-ui-mode to create the treeview, and
374 only select the first element on HILDON_UI_MODE_EDIT
375 (hildon_touch_selector_column_init): Initialize last_activate
376 (hildon_touch_selector_append_column): check that the touch selector
377 is coherent with the current hildon-ui-mode
378 (hildon_touch_selector_get_hildon_ui_mode)
379 (hildon_touch_selector_set_hildon_ui_mode)
380 Added a getter/setter for the hildon-ui-mode property
381 (hildon_touch_selector_get_last_activated_row): Added this method in
382 order to get the last activated row.
383 * examples/hildon-touch-selector-normal-mode-example.c
384 New example, that shows how to use the HildonTouchSelector in
385 HILDON_UI_MODE_NORMAL
387 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
388 Kristian Rietveld <kris@lanedo.com> advices
390 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
392 * hildon/hildon-time-selector.c: (update_format_policy): Do
393 not call update_format_dependant_columns() if not necessary.
394 (update_format_dependant_columns): Remove unnecessary check for
395 the number of columns.
397 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
399 * hildon/hildon-note.c (+hildon_note_constructor),
400 (hildon_note_class_init), (+hildon_note_set_padding),
401 (hildon_note_rebuild): Install a constructor where to set the
402 padding properties in the note, so that it actually works fine.
403 Use hildon_note_set_padding() for this, and also to set it during
406 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
408 * configure.ac: Bump GTK+ requirement to 2.14.3.
409 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
410 when using maemo-gtk to define proper margins for the notes.
412 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
413 with the dialog edge)
415 2009-06-24 Alberto Garcia <agarcia@igalia.com>
417 * hildon/hildon-banner.c
418 (hildon_banner_class_init):
420 (+hildon_banner_size_request):
421 Request always the full width of the screen.
422 (hildon_banner_realize)
423 (-hildon_banner_check_position, hildon_banner_map):
424 hildon_banner_check_position() is not needed in Hildon 2.2.
425 (-hildon_banner_reset_wrap_state)
426 (hildon_banner_constructor, hildon_banner_init):
427 Remove unnecessary calls to hildon_banner_reset_wrap_state()
428 (+banner_do_set_text)
429 (force_to_wrap_truncated):
430 Remove has_been_wrapped and has_been_truncated attributes.
431 (+reshow_banner, hildon_banner_real_show_information)
432 (hildon_banner_show_information_with_markup)
433 (hildon_banner_show_animation, hildon_banner_show_progress)
434 (hildon_banner_set_text, hildon_banner_set_markup):
435 Refactor code. Shrink banner vertically to use the minimum space
436 necessary everytime the text of the label is updated.
437 (screen_size_changed):
438 Call force_to_wrap_truncated() when the size of the screen
441 Fixes: NB#120500 (only device memory connect mmc in use info
442 banner is left aligned)
444 Fixes: NB#120613 (Size of HildonBanner varies depending on
445 previously opened banners)
447 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
449 * hildon/hildon-color-chooser.c
450 (hildon_color_chooser_pointer_motion): Take the widget allocation
453 Fixes: NB#124385 (Unable to select exact point in color mixing box
454 in color palette dialog)
456 2009-06-23 Alejandro G. Castro <alex@igalia.com>
458 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
459 (hildon_pannable_area_dispose)
460 (hildon_pannable_area_button_press_cb)
461 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
462 (hildon_pannable_area_button_release_cb)
463 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
464 New 'panning-started' and 'panning-finished' signals.
466 Fixes: NB#121732 (New feature request: Signal to pannable area
467 that informs when panning is stopped.)
469 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
471 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
472 instead of hardcoded colon.
474 Fixes: NB#124090 (New calendar wizard title is not using
475 ecdg_ti_caption_separator)
477 2009-06-22 David King <davidk@openismus.com>
479 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
480 constants and functions, as well as correct many typos throughout the
483 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
486 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
488 * configure.ac: postrelease version bump.
489 * debian/changelog: post release version bump
491 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
496 * configure.ac: Bump version.
497 * debian/changelog: Updates.
499 2009-06-18 Alberto Garcia <agarcia@igalia.com>
501 * hildon/hildon-window-stack.c
502 (hildon_window_stack_pop_and_push_list):
503 Prevent windows from having the same stack index
505 2009-06-18 Alberto Garcia <agarcia@igalia.com>
507 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
508 Use the index of the previous window rather than the stack length
509 to calculate the new index.
513 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
515 * hildon/hildon-date-selector.c
516 (hildon_date_selector_select_current_date)
517 (hildon_date_selector_get_date)
518 (hildon_date_selector_select_day):
519 Update the documentation: uses always the range (1-31), as it is obvious
520 that the final one will depend on the month and the year, but globally
521 the range is this, in a similar GtkCalendar approach
522 (hildon_date_selector_get_date):
523 Update the documentation: add NULL as a valid value for the day, month
526 Fix some details, after talk with David King on bug MB#4698
528 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
530 * hildon/hildon-touch-selector-entry.c
531 * hildon/hildon-touch-selector.c
532 Update the documentation of the "text-column" property
534 2009-06-18 David King <davidk@openismus.com>
536 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
537 several typos and errors throughout the documentation.
539 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
542 2009-06-18 Alberto Garcia <agarcia@igalia.com>
544 * hildon/hildon-note.c (hildon_note_realize):
545 Make HildonNote support portrait mode.
547 Fixes: NB#123448 (HildonNote is not portrait-friendly)
549 2009-06-17 Alberto Garcia <agarcia@igalia.com>
551 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
552 Document this function
554 2009-06-17 David King <davidk@openismus.com>
556 * hildon/hildon-date-selector.c
557 (hildon_date_selector_select_current_date)
558 (hildon_date_selector_get_date): Update documentation regarding days,
559 as the day of the month is dependent on both the month and the year.
560 (hildon_date_selector_get_date): Fix documentation of output arguments.
562 Fixes: MB#4698 (DateSelector documentation has bad output argument
563 description, and the day depends on both the month and the year)
565 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
567 * hildon/hildon-caption.c: Other documentation fixes to
570 2009-06-17 David King <davidk@openismus.com>
572 * hildon/hildon-caption.c: Minor documentation updates for
573 HildonCaption. Fixes MB#4697.
575 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
577 * doc/hildon-docs.sgml: Add hildon-version section.
578 * doc/hildon-sections.txt:
579 * hildon/hildon-version.h.in: Document versioning macros and
582 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
584 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
585 from HildonPickerDialog section.
587 2009-06-16 Alberto Garcia <agarcia@igalia.com>
589 * hildon/hildon-banner.c (hildon_banner_bind_style)
590 (screen_size_changed, hildon_banner_init)
591 (hildon_banner_real_show_information)
592 (hildon_banner_show_information_with_markup)
593 (hildon_banner_show_animation, hildon_banner_show_progress):
594 Set a different widget name to banners in portrait mode, for them
595 to be themed correctly.
597 2009-06-16 Alberto Garcia <agarcia@igalia.com>
599 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
600 Set a different widget name to notes in portrait mode, for them to
603 Partially fixes: NB#118401 (HildonNote causes unnecessary
606 2009-06-16 Alberto Garcia <agarcia@igalia.com>
608 * hildon/hildon-note.c (hildon_note_class_init)
609 (+hildon_note_size_request, screen_size_changed):
610 Always request the full width of the screen.
612 Fixes: NB#118375 (unnecessary rescaling of images)
614 2009-06-16 Alejandro G. Castro <alex@igalia.com>
616 * hildon/hildon-pannable-area.c,
617 (hildon_pannable_area_init),
618 (hildon_pannable_area_realize): Replaced old code adding flags in
619 the object init, now we add it with the other flags in the realize
622 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
624 * hildon/hildon-note.c: (hildon_note_class_init): Several
625 documentation improvements to the HildonNote widget.
627 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
629 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
631 Fixes: MB#4556 (HildonNoteType is undocumented)
633 2009-06-15 Alberto Garcia <agarcia@igalia.com>
635 * hildon/hildon-picker-button.c:
636 Explain how HildonPickerButton sets the title of its dialog
638 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
639 the title of its dialog)
641 2009-06-15 Alberto Garcia <agarcia@igalia.com>
643 * hildon/hildon-check-button.c:
644 Documentation updates
646 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
649 2009-06-15 Alberto Garcia <agarcia@igalia.com>
652 * hildon/hildon-edit-toolbar-private.h
653 * hildon/hildon-edit-toolbar.c
654 (+hildon_edit_toolbar_set_progress_indicator)
655 (hildon_edit_toolbar_init): Add progress indicator to the
658 * hildon/hildon-gtk.c
659 (hildon_gtk_window_set_progress_indicator):
660 If the window contains a HildonEditToolbar, enable the progress
663 * hildon/hildon-private.h
664 * hildon/hildon-private.c
665 (+hildon_private_create_animation)
666 * hildon/hildon-banner.c
667 (-hildon_banner_create_animation):
668 Moved to hildon-private.c
670 Fixes: NB#102373 (Progress indicator also for the Edit mode
673 2009-06-15 Alberto Garcia <agarcia@igalia.com>
675 * hildon/hildon-app-menu-private.h
676 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
677 (hildon_app_menu_add_filter, +menu_item_button_event)
678 (hildon_app_menu_button_release, hildon_app_menu_init):
679 Make sure that buttons receive 'button-release-event' in spite of
680 the grab held by HildonAppMenu
682 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
684 2009-06-15 Alberto Garcia <agarcia@igalia.com>
686 * hildon/hildon-app-menu.c
687 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
688 New style property to set the size of the group of filter buttons.
690 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
692 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
697 * configure.ac: Bump version.
698 * debian/changelog: Updates.
700 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
702 * hildon/hildon-main.c: Minor documentation fixes.
704 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
706 * doc/hildon-sections.txt:
707 * hildon/hildon-defines.h: Document the defines, organize them,
708 and mark deprecations as such.
710 Fixes: MB#4463 (Hildon size #defines are undocumented)
712 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
714 * hildon/hildon-animation-actor.c:
715 * hildon/hildon-app-menu.c:
716 * hildon/hildon-button.c:
717 * hildon/hildon-date-editor.c:
718 * hildon/hildon-dialog.c:
719 * hildon/hildon-edit-toolbar.c:
720 * hildon/hildon-entry.c:
721 * hildon/hildon-program.c:
722 * hildon/hildon-remote-texture.c:
723 * hildon/hildon-stackable-window.c:
724 * hildon/hildon-text-view.c:
725 * hildon/hildon-touch-selector.c:
726 * hildon/hildon-window-stack.c:
727 * hildon/hildon-window.c:
729 Remove redundant "represents" wording from most of the documentation.
731 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
733 2009-06-12 Alberto Garcia <agarcia@igalia.com>
738 * hildon/hildon-banner-private.h
739 * hildon/hildon-banner.c:
740 Move HildonBannerPrivate to hildon-banner.c and remove
741 hildon-banner-private.h
742 Use a bit field to store private booleans.
744 2009-06-12 Alberto Garcia <agarcia@igalia.com>
746 * hildon/hildon-app-menu.c (hildon_app_menu_map):
747 Don't install a new idle function if there's already one
752 2009-06-11 Alberto Garcia <agarcia@igalia.com>
754 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
755 (+legacy_menu_realized, +legacy_menu_unmapped)
756 (+set_legacy_menu_type):
757 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
758 they can be identified by the window manager.
760 Fixes: NB#101437 (Invoking CSM on the left side of page area is
761 displayed in wrong location)
763 Fixes: MB#4563 (Popup menu won't locate at the left side of the
766 2009-06-11 Alberto Garcia <agarcia@igalia.com>
768 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
770 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
773 2009-06-11 Alberto Garcia <agarcia@igalia.com>
775 * hildon/hildon-code-dialog.c
776 * hildon/hildon-date-editor.c
777 * hildon/hildon-number-editor.c
778 * hildon/hildon-seekbar.c
779 * hildon/hildon-stackable-window.c
780 * hildon/hildon-window.c:
781 Misc documentation updates
783 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
785 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
786 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
788 Fixes: NB#117931 (Theming issues in accounts dialogs)
790 2009-06-09 Alejandro G. Castro <alex@igalia.com>
792 * hildon/hildon-pannable-area.c,
793 (hildon_pannable_area_button_release_cb): Changed the coordinates
794 of the original release in case we want to discard the release,
795 some widgets in Fremantle do not handle the leave-notify.
797 2009-06-09 Alejandro G. Castro <alex@igalia.com>
799 * hildon/hildon-pannable-area.c,
800 (hildon_pannable_area_button_release_cb): Reviewed the logic of
801 the release using the last refactored functions and avoiding the
802 movement if an element was selected.
804 2009-06-09 Alejandro G. Castro <alex@igalia.com>
806 * hildon/hildon-pannable-area.c,
807 (hildon_pannable_area_check_move),
808 (hildon_pannable_area_handle_move),
809 (hildon_pannable_area_motion_notify_cb): Refactored the
810 motion_notify method using a couple of new functions.
812 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
814 * hildon/hildon-date-selector.c:
815 (hildon_date_selector_construct_ui):
816 * hildon/hildon-time-selector.c:
817 (hildon_time_selector_constructor):
818 * hildon/hildon-touch-selector-entry.c:
819 (hildon_touch_selector_entry_set_text_column),
820 (hildon_touch_selector_entry_get_text_column):
821 * hildon/hildon-touch-selector.c: (_default_print_func),
822 (hildon_touch_selector_new_text): Use
823 hildon_touch_selector_set/get_text_column() instead of
824 setting/getting the "text-column" property.
826 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
828 * doc/hildon-sections.txt: Add the new public methods below.
830 * examples/hildon-picker-button-multicolumn-example.c:
831 (create_touch_selector):
832 * examples/hildon-touch-selector-example.c: (create_selector):
833 * examples/hildon-touch-selector-multi-cells-example.c:
835 Use hildon_touch_selector_column_set_text_column()
837 * hildon/hildon-touch-selector-column.h:
838 * hildon/hildon-touch-selector.c:
839 (hildon_touch_selector_column_set_text_column),
840 (hildon_touch_selector_column_get_text_column):
841 Make hildon_touch_selector_column_set/get_column() public, use
842 them in the inline example, document them, and reference to them
845 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
847 * hildon/hildon-time-selector.c: Fix the docs for
848 hildon_time_selector_new_step().
850 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
852 * hildon/hildon-touch-selector.c: Improve the documentation for
853 hildon_touch_selector_append_column().
855 Fixes MB#4641 (Documentation:
856 hildon_touch_selector_append_column() ref-counting)
858 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
860 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
861 Comment out test 5, since the hildon_controlbar_set_range() range
862 check is broken and fixing it would have side effects. Also,
863 this finally fixes make distcheck.
865 Fixes: NB#101420 (Update unit tests and fix make distcheck)
867 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
869 * tests/TEST-CASES.txt: Remove other bogus test.
870 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
871 Remove bogus test that was setting/retrieving a valid value.
873 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
875 * tests/TEST-CASES.txt: Remove bogus tests.
876 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
877 Remove three bogus tests that were actually setting valid colors.
879 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
881 * configure.ac: post release version bump
882 * debian/changelog: post release version bump
884 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
889 * configure.ac: Bump version.
890 * debian/changelog: Updates.
892 2009-06-08 Christian Dywan <christian@lanedo.com>
896 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
897 Correct errors in hildon_format_file-size_for_display and use
898 translations from the hildon-fm package instead of osso-filemanager.
900 2009-06-08 Alejandro G. Castro <alex@igalia.com>
902 * hildon/hildon-pannable-area.c,
903 (hildon_pannable_area_init): Initialized new values to handle the
905 (hildon_pannable_area_adjust_value_changed): Check if the values
906 changed before even call the redraw function.
907 (hildon_pannable_area_size_allocate),
908 (hildon_pannable_axis_scroll),
909 (hildon_pannable_area_scroll),
910 (hildon_pannable_area_jump_to): Improved the diagonal movement
913 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
916 2009-06-08 Alberto Garcia <agarcia@igalia.com>
918 * examples/hildon-banner-example.c:
919 Several style updates
920 (on_animation_clicked, on_animation_idle)
921 (on_progress_clicked, on_progress_idle):
922 Add additional reference for the cases when the parent window is
925 2009-06-08 Alberto Garcia <agarcia@igalia.com>
927 * doc/hildon-sections.txt
928 * hildon/hildon-pannable-area.c
929 * hildon/hildon-banner.h
930 * hildon/hildon-banner.c: Documentation updates.
932 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
935 2009-06-05 Alejandro G. Castro <alex@igalia.com>
937 * hildon/hildon-calendar-popup.h:
938 * hildon/hildon-caption.h:
939 * hildon/hildon-code-dialog.h:
940 * hildon/hildon-controlbar.h:
941 * hildon/hildon-date-editor.h:
942 * hildon/hildon-dialog.h:
943 * hildon/hildon-get-password-dialog.h:
944 * hildon/hildon-hvolumebar.h:
945 * hildon/hildon-login-dialog.h:
946 * hildon/hildon-note.h:
947 * hildon/hildon-number-editor.h:
948 * hildon/hildon-range-editor.h:
949 * hildon/hildon-seekbar.h:
950 * hildon/hildon-set-password-dialog.h:
951 * hildon/hildon-sort-dialog.h:
952 * hildon/hildon-time-editor.h:
953 * hildon/hildon-time-picker.h:
954 * hildon/hildon-volumebar-range.h:
955 * hildon/hildon-volumebar.h:
956 * hildon/hildon-vvolumebar.h:
957 * hildon/hildon-weekday-picker.h:
958 * hildon/hildon-window.h:
959 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
960 macros with the current replacements
962 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
964 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
966 * hildon/hildon-color-button.c (hildon_color_button_init): Use
967 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
968 itself, to make it fit better with Fremantle style.
970 Fixes: NB#109878 (height and width of focus on color icon is not
971 consistent with other item in the application tool bar)
973 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
975 * hildon/hildon-touch-selector.c:
976 (hildon_touch_selector_optimal_size_request): use the current requisition
977 as the base, in order to include any possible extra widget, like the
978 hildon entry on HildonTouchSelectorEntry
980 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
982 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
984 * configure.ac: post release version bump
985 * debian/changelog: post release version bump
987 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
992 * configure.ac: Bump version.
993 * debian/changelog: Updates.
995 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
997 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
999 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1000 to ensure the banner contents are centered, instead of relying on
1001 the expand and fill properties in GtkHBox.
1002 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1004 Fixes: NB#108265 (Animation banner not properly centered)
1006 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1008 * hildon/hildon-pannable-area.c
1009 (hildon_pannable_area_initial_effect): Remove the initial_effect
1010 management, check initial_hint
1011 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1012 set initial_effect to FALSE
1013 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1014 by launching the fade_timeout if the scrollbars state has changed and are
1016 * examples/hildon-pannable-area-initial-hint-example.c
1017 Modified to allow to remove rows too. Add and remove rows one by one.
1019 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1021 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1022 Don't close the menu if there's an animation actor below it.
1024 Fixes: NB#117927 (Application menu not usable with animation
1027 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1029 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1030 "focus-on-click" from the dialog button, to avoid stealing the
1031 focus from the entry.
1033 Fixes: NB#118903 (Account setup wizard: Text in Search field
1034 should be focused when "Region" touch list picker is reopened
1037 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1039 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1040 (prepare_action_area): Completely hide the dialog separator.
1042 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1044 * hildon/hildon-touch-selector-entry.c
1045 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1046 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1047 now that the entry is exposed.
1049 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1051 * hildon/hildon-touch-selector-entry.c
1052 (hildon_touch_selector_entry_init): Change the entry's size
1053 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1055 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1057 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1058 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1059 avoid unnecessary scaling.
1061 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1063 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1064 Create grab transfer window before calling parent's map function.
1066 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1067 "crushed" button(s) in the top left corner)
1069 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1071 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1072 Check if the window is already realized when pushing it.
1074 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1076 * configure.ac: post release version bump
1077 * debian/changelog: post release version bump
1079 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1084 * configure.ac: Bump version.
1085 * debian/changelog: Updates.
1087 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1089 * hildon/hildon-app-menu.c: Doc updates.
1091 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1093 * hildon/hildon-banner.c: Remove leftover macro.
1095 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1097 * hildon/hildon-pannable-area.c,
1098 (hildon_pannable_area_scroll_indicator_fade),
1099 (hildon_pannable_area_button_release_cb): Reviewed vmin
1100 conditions, it could cause problems in the fadeout procedure.
1102 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1104 * hildon/hildon-pannable-area.c
1105 (hildon_pannable_area_button_release_cb): Added a threshold to
1106 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1108 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1110 * hildon/hildon-pannable-area.c,
1111 (hildon_pannable_area_set_property): Added code to sync the gtk
1112 dnd threshold with the panning threshold.
1114 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1116 * hildon/hildon-pannable-area.c,
1117 (hildon_pannable_area_class_init): Changed some of the default
1118 values, now it should be less responsive and more accurate.
1120 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1122 * hildon/hildon-pannable-area.c,
1123 (hildon_pannable_area_init),
1124 (hildon_pannable_area_scroll_indicator_fade),
1125 (hildon_pannable_area_button_press_cb),
1126 (hildon_pannable_axis_scroll),
1127 (hildon_pannable_area_timeout),
1128 (hildon_pannable_area_motion_notify_cb),
1129 (hildon_pannable_area_button_release_cb): Changed the name of the
1130 clicked attribute to button_pressed, it is more clear about its use.
1132 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1134 * src/hildon-pannable-area.c
1135 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1137 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1138 vertical scrollbar visibility, and use the data on private section instead,
1139 remove the initial_hint check
1140 (hildon_pannable_area_expose_event): add the initial_hint check here
1142 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1144 * src/hildon-pannable-area.c
1145 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1146 if the fadeout effect was used
1147 (hildon_pannable_area_expose_event): check if it is required to
1148 manage the initial effect on the begining of the function. Previously
1149 it was made at the end, but this doesn't ensure that the scrollbars
1150 will be painted on the first show. Do not set to FALSE initial_effect,
1151 to ensure that the initial hint is showed the first time the pannable
1153 * examples/Makefile.am
1154 * examples/hildon-pannable-area-initial-hint-example.c:
1155 New example, to show that the initial-hint is showed when the widget
1158 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1159 initially if the application can be scrolled)
1161 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1163 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1164 Resize table before adding new items to make sure that
1165 gtk_table_resize() is called just once.
1167 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1169 * hildon/hildon-app-menu-private.h
1170 * hildon/hildon-app-menu.c (item_visibility_changed)
1171 (filter_visibility_changed, hildon_app_menu_show_all)
1172 (hildon_app_menu_hide_all, hildon_app_menu_init):
1173 Rearrange items just once when gtk_widget_show_all()/hide_all()
1176 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1178 * hildon/hildon-app-menu.c
1179 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1180 Don't call gtk_widget_show() on added items.
1182 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1183 automatically when they're added)
1185 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1187 * hildon/hildon-banner.c
1188 (hildon_banner_realize, +hildon_banner_unrealize)
1189 (+screen_size_changed, hildon_banner_class_init):
1190 Redisplay the banner if the screen is rotated.
1192 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1193 on transition from landscape to portrait)
1195 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1197 * hildon/hildon-banner.[ch]:
1198 (hildon_banner_show_information_override_dnd): remove icon_name from the
1199 method definition as it is ignored.
1200 * examples/hildon-banner-dnd-example.c: updated with the change on
1203 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1205 * hildon/hildon-banner-private.h: new require_override_dnd and
1206 overrides_dnd variables
1207 * hildon/hildon-banner.h:
1208 (hildon_banner_show_information_override_dnd): new method, that shows
1209 the information but sets the override flag, in order to show important
1211 * hildon/hildon-banner.c
1212 (hildon_banner_show_information_override_dnd): new method
1213 (hildon_banner_set_override_flag): new utility function
1214 (hildon_banner_real_show_information): new utility function, in order to
1215 generalize the current hildon_banner_show_information_override_dnd and
1216 hildon_banner_show_information_override_dnd
1217 * examples/Makefile.am
1218 * examples/hildon-banner-dnd-example.c: New example that show how to
1219 use the new hildon_banner_show_information_override_dnd
1221 Fixes: NB#114874 (There is no possibility to show hildon banners with
1224 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1226 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1227 behind hildon_pannable_calculate_vel_factor().
1229 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1231 * hildon/hildon-pannable-area.c
1232 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1233 deceleration factors.
1235 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1237 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1238 Reduce the default value for 'scroll_time' to 1 second, since the
1239 current initial scrolling takes too much time.
1241 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1243 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1244 calculate velocity factor during initialization, since the properties
1247 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1249 * hildon/hildon-pannable-area.c
1250 (hildon_pannable_area_set_property): Calculate the velocity factor
1251 after setting the deceleration property and not after.
1253 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1255 * hildon/hildon-entry.c
1256 (hildon_entry_class_init, +set_property, hildon_entry_new)
1257 * hildon/hildon-check-button.c
1258 (hildon_check_button_class_init)
1259 (+set_property, hildon_check_button_new):
1260 Make the theme size a property.
1262 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1263 others) do too much in the _new function)
1265 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1267 * configure.ac: post release version bump
1268 * debian/changelog: post release version bump
1270 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1275 * configure.ac: Bump version.
1276 * debian/changelog: Updates.
1278 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1280 * hildon/hildon-gtk.h
1281 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1282 New API function to take a screenshot of a window
1284 Fixes: NB#106374 (Need API to take a loading screenshot)
1286 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1288 * hildon/hildon-time-selector.c
1289 (update_format_policy): prevent to use hours and minutes unitialized
1291 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1293 * hildon/hildon-window.c (hildon_window_size_request):
1294 Always request the full size of the screen (minus the title bar if
1295 not in fullscreen mode).
1297 Fixes: NB#107486 (HildonWindow should size itself properly)
1299 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1301 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1302 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1303 (on_show_cb), (sound_handling): Disconnect the idle handler for
1304 the sound when the note is finalized to avoid possible crashes.
1306 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1309 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1311 * src/hildon-animation-actor.c,
1312 * src/hildon-remote-texture.c:
1313 Added proper object cleanup to remove signal handler and object
1314 references as HildonAnimationActor and HildonRemoteTexture
1315 objects get destroyed.
1317 Fixes: NB#116682 (Destroying parented animation actors when
1318 parent in unmapped leads to crash)
1320 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1322 Based on a patch by Christian Dywan (christian@imendio.com)
1324 * doc/hildon-sections.txt:
1325 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1326 * hildon/hildon-helper.h: New file size formatting method.
1328 * debian/control: Depend on osso-filemanager l10n package for
1329 proper localization strings.
1331 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1333 * tests/Makefile.am: Include top_srcdir to make possible to build
1334 tests in a different builddir.
1335 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1336 on a different builddir.
1338 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1340 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1341 (hildon_touch_selector_remove): Disconnect model's signal handler
1344 Fixes: NB#116289 (Hildon home crashes while adding task
1347 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1349 * hildon/hildon-button.c
1350 (hildon_button_set_title, hildon_button_set_value):
1351 Hide labels containing an empty string.
1353 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1355 * configure.ac: post release version bump
1356 * debian/changelog: post release version bump
1358 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1363 * configure.ac: Bump version.
1364 * debian/changelog: Updates.
1366 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1368 * hildon/hildon-note-private.h: Removed sound_signal_handler
1369 * hildon/hildon-note.c
1370 (on_show_cb): new callback on note "show" event, this simply adds
1371 a idle, with the function sound_handling
1372 (sound_handling): removed the sound_signal_handler management
1373 (hildon_note_init): connect note "show" event to on_show_cb
1374 (hildon_note_realize): remove the connection to "expose-event"
1376 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1377 device?' confirmation note)
1379 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1381 * hildon/hildon-note.c
1382 (hildon_note_new_information_with_icon_name)
1383 (hildon_note_new_confirmation_with_icon_name):
1384 Terminate the list of parameters in g_object_set() calls
1386 Fixes: NB#115166 (Formatting memory card is not taking place)
1388 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1390 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1391 "dialog-information" role for the sound being played.
1393 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1395 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1396 Don't make the menu a modal window, it causes strange interactions
1397 with the pointer grab and it's not really needed.
1399 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1401 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1403 * hildon/hildon-touch-selector.[ch]
1404 (hildon_touch_selector_optimal_size_request): function added to get a
1405 optimal size request from the touch selector, when you want a dialog to
1406 show as much of the selector
1407 * hildon/hildon-picker-dialog.c:
1408 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1409 (hildon_app_menu_class_init):
1410 New "max-height-landscape" and "max-height-portrait" style properties
1411 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1412 (hildon_picker_dialog_get_max_height): returns the maximum height using
1413 the style properties defined and checking the current portrait/landscape
1415 (_hildon_picker_dialog_set_selector): removed the set_size_request
1417 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1419 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1421 * hildon/hildon-bread-crumb-trail.c:
1422 * hildon/hildon-bread-crumb.c:
1423 * hildon/hildon-seekbar.c:
1424 Add reference to replacements for these deprecated widgets.
1426 Fixes: MB#4461 (Documentation: All deprecations should mention
1429 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1431 * examples/hildon-remote-texture-example.c
1433 Change the include to the hildon-remote-texture in order to compile
1434 properly the examples on the installed libhildon1-examples package
1436 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1438 * tests/Makefile.am: Add check for HildonPickerButton.
1439 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1440 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1441 checks for the HildonPickerButton.
1442 * tests/check_test.c (configure_tests): Add the test suite.
1443 * tests/test_suites.h: likewise.
1445 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1447 * hildon/hildon-touch-selector.c
1448 (+on_row_changed): Emit HildonTouchSelector:changed when the
1449 contents of a selected row change.
1450 (_create_new_column), (_hildon_touch_selector_set_model): connect
1451 to GtkTreeModel:row-changed on a newly set model.
1453 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1455 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1457 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1459 * hildon/hildon-banner.c (hildon_banner_destroy)
1460 (hildon_banner_show_progress, hildon_banner_set_fraction):
1461 Remove the progress bar from HildonBanner and use a progress
1464 Fixes: NB#113761 (Update progress banner to use progress
1467 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1469 * hildon/hildon-banner.c:
1470 Calculate size of the banner label using the actual screen width
1471 rather than using a fixed value.
1473 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1476 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1478 * hildon/hildon-pannable-area.c,
1479 (hildon_pannable_area_class_init): Fixed signals documentation
1482 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1484 * configure.ac: post release version bump
1485 * debian/changelog: post release version bump
1487 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1492 * configure.ac: Bump version.
1493 * debian/changelog: Updates.
1495 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1497 * hildon/hildon-edit-toolbar.c
1498 (hildon_edit_toolbar_init):
1499 Don't let buttons in HildonEditToolbar receive focus.
1501 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1502 typing on an HW arrows key)
1504 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1506 * doc/Makefile.am: Fix build.
1508 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1510 * doc/Makefile.am: Do not redefine content_files.
1512 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1520 Renamed src/ to hildon/
1525 Include <hildon/hildon.h> directly in all examples.
1527 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1529 * src/hildon-sort-dialog.c
1530 (hildon_sort_dialog_add_sort_key_with_sorting)
1534 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1536 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1537 make distcheck passes.
1539 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1541 * Makefile.am: Enable gtk-doc during distcheck.
1543 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1545 * Makefile.am: Do not distribute the debian/ directory.
1547 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1549 * doc/Makefile.am: Add the extra SGML files to content_files,
1550 so that they are distributed properly.
1552 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1554 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1557 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1559 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1560 (hildon_note_new_information_with_icon_name): Set the "icon" property
1561 to preserve soundness.
1563 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1565 * src/hildon-font-selection-dialog.c
1566 (hildon_font_selection_dialog_set_property): Fail when the "family"
1567 property is set to NULL.
1569 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1571 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1574 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1576 * src/hildon-time-selector.h:
1577 Added HildonTimeSelectorFormatPolicy
1578 * src/hildon-time-selector.c:
1579 Added PROP_TIME_FORMAT_POLICY
1580 (_check_ampm_format): renamed to check_automatic_ampm_format
1581 (update_format_policy), (update_format_dependant_columns): new functions
1582 (hildon_time_selector_class_init)
1583 (hildon_time_selector_contructor)
1584 (hildon_time_selector_init)
1585 (hildon_time_selector_get_property)
1586 (hildon_time_selector_set_property)
1587 (hildon_time_selector_get_time)
1588 (hildon_time_selector_set_time)
1589 * src/hildon-touch-selector.h: new file
1590 * src/hildon-touch-selector.c
1591 (hildon_touch_selector_emit_changed)
1592 (hildon_touch_selector_block_changed)
1593 (hildon_touch_selector_unblock_changed)
1594 Added functions to allow to block the emission of the "changed" signal
1595 * src/hildon-picker-dialog.c
1596 (hildon_picker_dialog_show): call the parent show before the custom code
1597 * examples/hildon-time-button-example.c
1598 Modified, so now you can configure the time format using the new property
1600 Added a new property "time-format-policy" that allow to choose the time
1601 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1602 case it uses gconf in order to check if the time selector must use
1605 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1608 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1610 * src/hildon-note.c (hildon_note_init):
1611 Label in HildonNote must be left aligned, not centered. This
1612 reverts the last commit in HildonNote.
1614 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1615 is connectivity dialog)
1617 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1622 * doc/hildon-sections.txt:
1623 Added hildon_gtk_window_set_do_not_disturb()
1625 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1627 * src/hildon-note.c (hildon_note_init): Center label.
1629 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1632 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1637 * configure.ac: Bump version.
1638 * debian/changelog: Updates.
1640 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1642 * src/hildon-note-private.h: Add button-width to the private data.
1643 * src/hildon-note.c (+resize_button),
1644 (+hildon_note_orientation_update): methods to repack widgets on orientation
1646 (screen_size_changed): Call above method for confirmation notes.
1647 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1648 (hildon_note_rebuild): Store the original width request from buttons.
1650 Fixes: NB#109635 (Confirmation notes do not support portrait)
1652 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1654 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1655 when it is a progress note.
1657 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1659 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1660 in the note, since there are no horizontally arranged contents.
1662 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1664 * src/hildon-gtk.c (+set_flag): new generic method to
1665 set/delay a flag setting in a window.
1666 (hildon_gtk_window_set_progress_indicator):
1667 (hildon_gtk_window_set_do_not_disturb),
1668 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1669 avoid code redundance.
1671 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1673 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1675 * src/hildon-gtk.c (set_clear_window_flag),
1676 (do_set_progress_indicator), (do_set_do_not_disturb),
1677 (do_set_portrait_flags),
1678 (hildon_gtk_window_set_progress_indicator),
1679 (hildon_gtk_window_set_do_not_disturb),
1680 (hildon_gtk_window_set_portrait_flags):
1681 Allow setting dnd-flag, progress indicator, and portrait flags
1682 when the window is not realized.
1684 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1686 * src/hildon-pannable-area.c,
1687 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1688 the size request policy function and defines.
1690 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1692 * doc/hildon-sections.txt: Add the new API.
1693 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1694 method to set the portrait flags.
1695 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1697 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1699 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1701 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1702 to allow using this method with other flags.
1703 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1704 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1706 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1708 * src/hildon-touch-selector.c
1709 (hildon_touch_selector_append_text_column):
1710 Make the cell renderer use the smallest width possible.
1712 Fixes: NB#108470 (Selected items in multiple selection are either
1713 having a tick that is cut or not visible at all.)
1715 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1717 * src/hildon-touch-selector.c
1718 (hildon_touch_selector_append_text_column):
1721 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1723 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1724 Use g_strdup_printf() instead of a fixed size buffer.
1726 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1728 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1729 Close banners when a HildonAppMenu is popped up.
1731 Fixes: NB#111027 (Title menu closed immediately if activated when
1732 "Invalid e-mail address" banner is shown)
1734 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1739 * configure.ac: Bump version.
1740 * debian/changelog: Updates.
1742 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1744 * src/hildon-banner.c (hildon_banner_realize):
1745 Mark HildonBanner as supporting portrait mode.
1746 Use GDK to set window properties insetad of direct Xlib calls.
1748 Fixes: NB#111830 (HildonBanner should be marked as supporting
1751 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1753 * src/hildon-note.c (hildon_note_rebuild):
1754 Hide action area in information notes. Prevents text from being
1755 slightly aligned to the left.
1757 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1760 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1762 Patch by Mox Soini (ext-mox.soini@nokia.com)
1764 * src/hildon-banner.c (hildon_banner_create_animation):
1765 Use stylus-sized icons in animation banner.
1767 Fixes: NB#111206 (stylus sized icon for animation banner)
1769 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1773 (+hildon_gtk_window_set_do_not_disturb):
1774 New API to set the do-not-disturb flag.
1776 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1778 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1780 * examples/hildon-progress-indicator-example.c: Fix example
1782 * src/hildon-gtk.c (set_clear_window_flag)
1783 (hildon_gtk_window_set_progress_indicator):
1784 Create a generic function for setting flags to a window.
1785 Use GDK instead of direct Xlib calls.
1787 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1789 * src/hildon-button.c (hildon_button_set_arrangement):
1790 Due to NB#88126, if one of the labels is too long it will be
1791 painted outside the button. The 'value' label is more likely to be
1792 the longest one, so we change its packing options in order to
1793 truncate it if necessary. As a side effect, the 'title' label will
1794 no longer be truncated.
1796 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1798 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1803 * configure.ac: Bump version.
1804 * debian/changelog: Updates.
1806 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1808 Deprecation of the hildon_pannable_area_set_size_request_policy
1809 API, the only policy properly supported in gtk+ nowadays is the
1812 * src/hildon-pannable-area.c,
1813 (hildon_pannable_area_size_request): Added a workaround for the
1814 size_request to avoid the problems of huge pixmaps in case someone
1815 is still using the function.
1816 * src/hildon-pannable-area.h: Deprecated the enum with the
1819 Fixes: NB#110244 (Problems with the
1820 hildon_pannable_area_set_size_request_policy API)
1822 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1824 * src/hildon-pannable-area.c,
1825 (hildon_pannable_area_init),
1826 (hildon_pannable_area_size_request),
1827 (hildon_pannable_area_style_set),
1828 (hildon_pannable_draw_vscroll),
1829 (hildon_pannable_draw_hscroll),
1830 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1831 indicator_width to clarify the use of the attribute.
1833 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1838 * configure.ac: Bump version.
1839 * debian/changelog: Updates.
1841 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1843 * src/hildon-picker-dialog.c
1844 * src/hildon-touch-selector.c
1845 Reverting the change that tried to avoid the hardcoded height on
1846 the picker dialog, as causes problems on the hildon-touch-selector
1849 Fixes: NB#110029 (selectors not scrolling to selected value)
1851 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1853 * src/hildon-touch-selector.c: Fix typos
1855 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1857 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1858 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1859 request more motions after using it.
1861 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1863 * src/hildon-calendar.c (hildon_calendar_expose),
1864 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1865 Remove unused variables.
1867 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1869 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1870 variable assignment.
1872 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1874 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1875 Check the return value of gtk_tree_selection_get_selected()
1878 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1880 * src/hildon-animation-actor.c
1881 * src/hildon-button.c
1883 * src/hildon-pannable-area.c
1884 * src/hildon-picker-button.c
1885 * src/hildon-program.c
1886 * src/hildon-remote-texture.c
1887 * src/hildon-text-view.c
1888 * src/hildon-touch-selector.c
1889 * src/hildon-window-stack.c
1890 * src/hildon-window.c:
1891 Add missing 'Since: 2.2' tags.
1893 * doc/hildon-sections.txt:
1894 Add some missing symbols.
1896 * doc/hildon-docs.sgml:
1897 New 'Other' section for HildonAnimationActor and
1900 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1902 Patch by Iván Gómez (igomez@igalia.com)
1905 * doc/compiling.sgml
1906 * doc/hildon-docs.sgml
1907 * doc/hildon-sections.txt
1908 * doc/migration.sgml
1909 * doc/resources.sgml
1911 New chapters on using the Hildon library.
1912 Updated the general structure of the reference manual.
1913 Other minor documentation fixes.
1915 * src/hildon-calendar-popup.c
1916 * src/hildon-calendar.c
1917 * src/hildon-controlbar.c
1918 * src/hildon-date-editor.c
1919 * src/hildon-dialog.c
1920 * src/hildon-hvolumebar.c
1921 * src/hildon-number-editor.c
1922 * src/hildon-range-editor.c
1923 * src/hildon-sort-dialog.c
1924 * src/hildon-time-editor.c
1925 * src/hildon-time-picker.c
1926 * src/hildon-volumebar-range.c
1927 * src/hildon-volumebar.c
1928 * src/hildon-vvolumebar.c
1929 * src/hildon-weekday-picker.c:
1930 Add deprecation notes
1932 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1933 Document 'horizontal-movement' and 'vertical-movement' signals.
1935 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1940 * configure.ac: Bump version.
1941 * debian/changelog: Updates.
1943 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1945 * src/hildon-pannable-area.c,
1946 (hildon_pannable_area_class_init): increased the minimum velocity.
1947 (hildon_pannable_area_button_release_cb): Updated the
1948 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1949 setup. Review the code to control that last event.
1951 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1954 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1956 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1958 * src/hildon-get-password-dialog.c
1959 (hildon_get_password_set_property),
1960 (hildon_get_password_get_property), (create_contents):
1961 * src/hildon-login-dialog-private.h:
1962 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1963 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1964 (hildon_login_dialog_get_password):
1965 * src/hildon-set-password-dialog-private.h:
1966 * src/hildon-set-password-dialog.c
1967 (hildon_set_password_set_property),
1968 (hildon_set_password_get_property), (create_contents),
1969 (hildon_set_password_response_change),
1970 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1972 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1973 instead and look more Fremantle style.
1975 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1977 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1979 * doc/hildon-sections.txt
1980 * src/hildon-window-stack.h
1981 * src/hildon-window-stack.c
1982 (+hildon_window_stack_get_windows):
1983 New API to obtain the list of windows on a stack.
1985 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1987 * src/hildon-app-menu.c (hildon_app_menu_popup)
1988 (hildon_app_menu_class_init, -hildon_app_menu_show):
1989 Remove hildon_app_menu_show() and move all its checks to
1990 hildon_app_menu_popup()
1992 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1994 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1995 (_hildon_picker_dialog_set_selector): removed call to
1996 gtk_widget_set_size_request
1997 * src/hildon-touch-selector.c
1998 (_create_new_column): change the pannable size request policy
2000 Avoid to use a hardcoded height for the hildon picker dialog. In order
2001 to get that, we needed to change the hildon pannable size request
2003 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2005 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2008 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2011 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2013 * debian/control: Depend on osso-system-lock localization package.
2014 * src/hildon-code-dialog.c: Obtain the secu_application_title
2015 translation from osso-system-lock.
2016 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2017 for translation the atk related strings, that's not necessary.
2018 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2019 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2020 cancel button, it is not required.
2022 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2024 * src/hildon-pannable-area.c,
2025 (hildon_pannable_area_class_init): Modified the default value of
2026 the overshooting max speed, we have reduced it.
2028 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2030 * doc/hildon-sections.txt
2031 * src/hildon-window-private.h
2032 * src/hildon-window.h
2033 * src/hildon-window.c (hildon_window_class_init)
2034 (hildon_window_init, hildon_window_finalize)
2035 (hildon_window_realize, hildon_window_get_property)
2036 (hildon_window_set_property, hildon_window_update_markup)
2037 (hildon_window_get_markup, hildon_window_set_markup):
2038 New "markup" property and hildon_window_{get,set}_markup() methods.
2040 * examples/hildon-stackable-window-example.c (new_window):
2041 Update example to use hildon_window_set_markup()
2043 Fixes: NB#106375 (Need API to retitle a window with a title
2046 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2048 * src/hildon-pannable-area.c,
2049 (hildon_pannable_area_class_init): Changed the default value of
2050 the initial_hint to TRUE.
2051 (hildon_pannable_area_initial_effect): Changed the initial effect,
2052 not the effect is just the fade-out of the scrollbars.
2054 Fixes: NB#107775 (No scrollbars can be seen when several items are
2055 available in a dialog)
2057 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2059 * src/hildon-program.c (hildon_program_update_top_most):
2062 Fixes: NB#109179 (Memory leak in Hildon program)
2064 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2066 * src/hildon-banner.c (-get_current_app_window):
2067 Remove unused function.
2069 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2071 * src/hildon-pannable-area.c: Modified the documentation of the
2072 get adjustments functions to explain the problem of using the
2073 adjustment directly.
2074 (hildon_pannable_area_class_init): Improved the explanation about
2077 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2079 * src/hildon-app-menu-private.h
2080 * src/hildon-app-menu.c
2081 (hildon_app_menu_class_init):
2082 Bring back the 'external-border' style property
2083 (hildon_app_menu_class_init, hildon_app_menu_init)
2084 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2085 Set a fixed width-request for the menu, independent of the number
2088 Fixes: NB#94957 (Smoothly opened application menu)
2090 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2092 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2094 * src/hildon-banner.c
2095 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2097 Make sure that the banner is correctly placed the first time it's
2099 (hildon_banner_check_position, -check_fullscreen_state):
2100 Show the banner in the same place no matter if the window is in
2101 fullscreen mode or not.
2103 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2105 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2107 * src/hildon-touch-selector.c (_default_print_func): reorder
2108 concatenation for clarity.
2110 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2113 for multicolumn selectors.
2115 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2117 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2122 * configure.ac: Bump version.
2123 * debian/changelog: Updates.
2125 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2127 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2130 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2132 * configure.ac: removed libcangerra-gtk dependency
2133 * debian/control: removed libcanberra-gtk dependency
2134 * src/Makefile.am: removed libcanberra gtk related flags
2135 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2136 context, and manage a global canberra context instead
2138 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2140 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2142 Patch by Daniel Borgmann (danielb@openismus.com)
2144 * src/hildon-edit-toolbar.c:
2145 Adjust the left padding.
2146 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2147 Paint background of the edit toolbar.
2149 Fixes: NB#107897 (Patch to make editmodetoolbar background
2150 themeable and adjust margin)
2152 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2154 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2156 * src/hildon-program.c (hildon_program_update_top_most):
2157 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2159 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2160 change when the user tasks in/out of an application)
2162 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2164 * configure.ac: added libcangerra-gtk dependency
2165 * debian/control: added libcanberra-gtk dependency
2166 * src/Makefile.am: added libcanberra gtk related flags
2167 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2170 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2172 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2174 * src/hildon-program.c (hildon_program_remove_window)
2175 (hildon_program_add_window): Add checks for the window
2176 parameter. Don't decrease the window counter if the window is not
2179 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2181 * src/hildon-pannable-area.c,
2182 (hildon_pannable_area_realize): Fixed position of the event_window
2183 in the realize method.
2185 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2187 * src/hildon-app-menu-private.h
2188 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2189 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2190 (hildon_app_menu_key_press, hildon_app_menu_init)
2191 (hildon_app_menu_finalize):
2192 Make sure that all idle functions are removed when the widget is
2195 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2197 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2202 * configure.ac: Bump version.
2203 * debian/changelog: Updates.
2205 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2207 * src/hildon-entry.c
2208 (+hildon_entry_show_placeholder),
2209 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2210 that replace hildon_entry_update_contents().
2211 (hildon_entry_set_text),
2212 (hildon_entry_set_placeholder),
2213 (hildon_entry_focus_in_event),
2214 (hildon_entry_focus_out_event): Determine when it is needed
2215 either to show or hide the placeholder and call the above methods.
2217 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2218 when the placeholder text is already set)
2220 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2222 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2223 simple GdkPixbufAnim using the new icons for the banner.
2224 (hildon_banner_show_animation): Use the above mentioned method to
2225 create the animation widget.
2227 Fixes: NB#103564 (Make hildon animation banner use individual
2228 image files as the animation)
2230 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2232 * src/hildon-pannable-area.c,
2233 (hildon_pannable_leave_notify_event): Check if the child is NULL
2234 to avoid sending the leave.
2236 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2238 * src/hildon-pannable-area.c,
2239 (hildon_pannable_area_class_init),
2240 (hildon_pannable_leave_notify_event): Added a handler of the
2241 leave-notify-signal to consider when no motion notify before
2244 Fixes: NB#107494 (Items stay selected when clicking and moving
2245 away when inside pannable area)
2247 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2252 * configure.ac: Bump version.
2253 * debian/changelog: Updates.
2255 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2257 Patch by Alberto Garcia (agarcia@igalia.com)
2259 * src/hildon-date-button.c,
2260 (hildon_date_button_class_init),
2261 (hildon_date_button_init): Removed the construct property handling
2262 and created a default selector in the init method.
2263 * src/hildon-picker-button.c,
2264 (hildon_picker_button_class_init): Removed the construct flag of the
2267 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2269 * src/hildon-main.c (hildon_init):
2270 Don't allow hildon_init() to be called more than once.
2272 Fixes: NB#106607 (hildon_init should issue error message upon
2275 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2277 * examples/hildon-pannable-area-touch-list-example.c
2278 * examples/hildon-pannagle-area-touch-grid-example.c
2279 * examples/hildon-edit-toolbar-example.c
2280 * examples/hildon-touch-selector-multi-cells-example.c
2281 Removed the call to gtk_rc_parse_string, as it is not required since
2284 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2286 * src/hildon-pannable-area.c,
2287 (hildon_pannable_area_class_init): Modified the default panning
2288 threshold of the widget to 6px.
2290 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2291 than the threshold value ) within the button is not sending the
2294 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2296 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2297 for the treeview in the new column. This way, the touch list will never
2300 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2301 be selected manually for the HW keys to work)
2303 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2305 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2306 comparison instead of using strcmp(). Fixes a compiler warning as well.
2308 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2310 * doc/hildon-docs.sgml: Do not set the library version in the
2311 document title, use the releaseinfo tag for that purpose instead.
2313 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2316 Do not jump to the first item if the text in the entry is removed.
2318 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2323 * configure.ac: Bump version.
2324 * debian/changelog: Updates.
2326 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2328 * src/hildon-entry.c (hildon_entry_refresh_contents):
2329 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2330 Use "ReversedSecondaryTextColor" for the placeholder text.
2332 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-text-view.c: Fix compilation warning.
2336 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2338 * src/hildon-button.c (hildon_button_class_init): Don't make
2339 "title" and "value" construction properties, to prevent them from
2340 overwriting labels set from derived classes.
2342 * src/hildon-picker-button.c
2343 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2344 (hildon_picker_button_class_init): Make touch-selector a
2345 construction property.
2347 * src/hildon-date-button.c (hildon_date_button_class_init)
2348 (+hildon_date_button_constructed): Add a default date selector if
2351 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2353 * src/hildon-touch-selector.c: Small documentation fixes.
2355 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2357 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2359 * src/hildon-entry.c (hildon_entry_refresh_contents),
2360 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2361 widget name, set the logical color directly instead and a boolean
2362 showing_placeholder instead.
2363 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2364 use the widget name here either.
2366 Fixes: NB#105678 (HildonTextView should use logical colours
2367 instead of setting widget name)
2369 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2371 Patch by Daniel Elster (danielk@openismus.com)
2373 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2374 Add user_data parameter.
2375 (hildon_touch_selector_set_print_func_full): New function akin
2376 hildon_touch_selector_set_print_func() but with support for user
2377 data and a destroy callback.
2378 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2379 to clean up the print function user data.
2380 (hildon_touch_selector_class_init): Install dispose function.
2381 (HildonTouchSelectorPrivate::print_user_data),
2382 (HildonTouchSelectorPrivate::print_destroy_func): New private
2384 (hildon_touch_selector_init): Initialize new private members.
2385 (hildon_touch_selector_get_current_text): Pass along user data
2386 to the print function.
2387 (_default_print_func): Add dummy user_data to parameter list.
2388 * hildon-date-selector.c (_custom_print_func): ditto,
2389 * hildon-time-selector.c (_custom_print_func): ditto,
2390 * hildon-touch-selector-entry.c
2391 (hildon_touch_selector_entry_print_func): ditto.
2393 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2395 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2397 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2399 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2401 * src/hildon-pannable-area.c,
2402 (hildon_pannable_area_init),
2403 (hildon_pannable_area_button_press_cb),
2404 (hildon_pannable_area_motion_notify_cb): We have added code to
2405 handle the leave and enter events when using the motion events.
2407 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2409 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-date-button.c (hildon_date_button_get_date)
2412 (hildon_date_button_set_date): Make sure that the button has a
2415 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2417 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2419 * src/hildon-pannable-area.c,
2420 (hildon_pannable_area_class_init),
2421 (hildon_pannable_area_calculate_velocity): Modify the use of the
2422 force and adapt the value.
2424 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2426 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2427 (hildon_app_menu_class_init): Hide the menu if it receives a
2428 delete-event, but don't destroy it
2430 Fixes: NB#104485 (Not able to address the call when application
2431 menu is opened at background)
2433 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2435 * src/hildon-app-menu.c
2436 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2437 Remove the "external-border" style property, let the menu take its
2438 natural size (or the one set by the window manager)
2439 (hildon_app_menu_repack_items):
2440 Don't reshow the menu, avoid flickers.
2442 Partially fixes NB#94957 (Smoothly opened application menu)
2444 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2449 * configure.ac: Bump version.
2450 * debian/changelog: Updates.
2452 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2454 * src/hildon-pannable-area.c,
2455 (hildon_pannable_area_motion_notify_cb): We control that the
2456 direction error margin is used just in case the movement is
2457 allowed in the other direction.
2459 Fixes: NB#105012 (buttons inside a pannable area not getting
2460 release event when dragging/releasing)
2462 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2464 * src/hildon-pannable-area.c,
2465 (hildon_pannable_area_class_init),
2466 (hildon_pannable_area_get_property),
2467 (hildon_pannable_area_set_property),
2468 (hildon_pannable_area_initial_effect),
2469 (hildon_pannable_axis_scroll),
2470 (hildon_pannable_area_button_release_cb): Reviewed the
2471 overshooting effect, now it has its own max
2472 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2473 speed when bouncing.
2475 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2480 * configure.ac: Bump version.
2481 * debian/changelog: Updates.
2483 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2485 * src/hildon-pannable-area.c,
2486 (hildon_pannable_area_class_init): Changed the max speed, now
2487 users can launch the widget very fast. Reduced the default force,
2488 that way it is easier to control the launch speed.
2490 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2492 * src/hildon-pannable-area.c,
2493 (hildon_pannable_area_button_release_cb): Removed this check
2494 because it causes problems when the device is overloaded.
2496 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2498 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2499 add a current_text field to store the text entered in the
2500 touch selector entry.
2501 (_clean_current_selection): clean up the current text as well.
2502 (_save_current_selection), (_restore_current_selection):
2503 Save/restore the text in the entry if the selector is a
2504 HildonTouchSelectorEntry.
2506 Fixes: NB#102541 (value entered in the touch selector entry is not
2507 shown when opened for second time)
2509 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2511 * doc/hildon-sections.txt:
2512 * src/hildon-touch-selector-entry.c
2513 (+hildon_touch_selector_entry_get_entry):
2514 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2516 Fixes: NB#104815 (I need accessor to the entry inside
2517 HildonTouchSelectorEntry)
2519 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2521 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2522 (hildon_app_menu_class_init):
2523 New "filter-vertical-spacing" style property.
2525 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2527 * src/hildon-find-toolbar.c
2528 (hildon_find_toolbar_emit_close)
2529 (hildon_find_toolbar_emit_invalid_input)
2530 (hildon_find_toolbar_entry_activate):
2531 Use g_signal_emit() instead of g_signal_emit_by_name()
2533 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2535 Patch by Mox Soini (ext-mox.soini@nokia.com)
2537 * tests/TEST-CASES.txt
2538 * tests/check-hildon-banner.c
2539 * tests/check-hildon-note.c
2540 * src/hildon-banner.c
2541 * src/hildon-code-dialog.c
2542 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2543 * src/hildon-time-editor.c
2544 * examples/hildon-lookup-example.c (main):
2545 Replace obsolete icon names with new ones.
2547 * src/hildon-find-toolbar-private.h:
2548 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2549 (-hildon_find_toolbar_emit_search):
2550 Remove find button and change icon of close button.
2552 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2554 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2556 * src/hildon-time-button.c (hildon_time_button_new_step):
2557 Use the "touch-selector" property to set the selector directly
2558 when creating the object.
2560 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2562 Added a new example application that allows tuning the pannable
2563 area and replaced defines with properties in order to simplify the
2564 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2565 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2566 PROP_DIRECTION_ERROR_MARGIN.
2568 * examples/hildon-pannable-area-tuning-example.c: New example
2570 * src/hildon-pannable-area.c,
2571 (hildon_pannable_area_class_init),
2572 (hildon_pannable_area_init),
2573 (hildon_pannable_area_get_property),
2574 (hildon_pannable_area_set_property),
2575 (hildon_pannable_area_launch_fade_timeout),
2576 (hildon_pannable_area_adjust_value_changed),
2577 (hildon_pannable_axis_scroll),
2578 (hildon_pannable_area_motion_notify_cb),
2579 (hildon_pannable_area_scroll_cb),
2580 (hildon_pannable_area_button_release_cb): We have converted some
2581 of the defines that control the widget to properties to simplify
2584 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2586 * src/hildon-app-menu.c (hildon_app_menu_map)
2587 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2588 so it's closed if a new window appears.
2590 Fixes: NB#104485 (Not able to address the call when application
2591 menu is opened at background)
2593 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2595 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2596 missing 'break' statement in in 'case' construct to avoid
2599 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2601 * src/hildon-touch-selector-entry.c
2602 (hildon_touch_selector_entry_get_property),
2603 (hildon_touch_selector_entry_set_property): Add missing 'break'
2604 statements in in 'case' constructs to avoid incorrect warnings.
2606 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2608 * src/hildon-time-editor.c
2609 (hildon_time_editor_get_time_separators): Do not crash if
2610 the first label is NULL.
2612 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-date-selector.c (_month_days): Check for month to be
2615 strictly less than 12, since otherwise we may overrun the array.
2617 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-date-button.c (+hildon_date_button_new_full)
2620 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2621 (hildon_date_button_init): Set the date selector using a
2622 construction property, to make it happen after HildonButton's
2623 "value" property is set.
2625 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2626 current date by default)
2628 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2630 * doc/hildon-sections.txt
2631 * src/hildon-program.c
2632 * src/hildon-stackable-window.c
2633 * src/hildon-window.c:
2634 Documentation updates
2636 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2638 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2639 (hildon_window_stack_new, +hildon_window_stack_set_property)
2640 (+hildon_window_stack_get_property)
2641 (hildon_window_stack_class_init)
2642 (+hildon_window_stack_set_window_group)
2643 (+hildon_window_stack_get_window_group):
2644 Make the window group a construction property.
2646 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2648 * doc/hildon-sections.txt
2649 * src/hildon-stackable-window-private.h
2650 * src/hildon-stackable-window.h
2651 * src/hildon-stackable-window.c
2652 (-hildon_stackable_window_set_app_menu)
2653 (-hildon_stackable_window_get_app_menu)
2654 (-hildon_stackable_window_toggle_menu)
2655 (-hildon_stackable_window_finalize)
2656 (hildon_stackable_window_class_init)
2657 (hildon_stackable_window_init)
2658 * src/hildon-window-private.h
2659 * src/hildon-window.h
2660 * src/hildon-window.c (hildon_window_init)
2661 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2662 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2663 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2664 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2665 Moved all HildonAppMenu code to HildonWindow. The menu does not
2666 require a HildonStackableWindow anymore.
2668 * src/hildon-app-menu.c
2669 * src/hildon-program.c
2670 * examples/hildon-app-menu-example.c (main):
2671 Update examples and documentation to reflect HildonAppMenu
2674 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2676 * src/hildon-remote-texture.c
2677 * src/hildon-animation-actor.c:
2678 Don't include unused private headers.
2680 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-program-private.h
2683 * src/hildon-program.c
2684 (hildon_program_set_common_menu)
2685 (hildon_program_get_common_menu)
2686 (hildon_program_set_common_app_menu)
2687 (hildon_program_get_common_app_menu):
2688 Change common menu pointers from GtkWidget* to GtkMenu* and
2689 HildonAppMenu* to avoid unnecessary casts.
2691 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2693 * src/hildon-window.c (hildon_window_set_main_menu):
2694 Removed incorrect 'Since:' tag
2696 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2698 * src/hildon-pannable-area.c,
2699 (hildon_pannable_area_calculate_velocity): We use now the
2700 RATIO_TOLERANCE here to check the distance, fixed typo in the
2702 (hildon_pannable_area_motion_notify_cb): We have to set the type
2703 and time even if we are not sending the motion.
2705 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2707 * doc/hildon-sections.txt
2708 * src/hildon-app-menu.h
2709 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2710 (+hildon_app_menu_get_filters): New methods to get the contents of
2713 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2716 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2718 * src/hildon-app-menu.c (hildon_app_menu_popup):
2721 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2723 * src/hildon-window.h
2724 * src/hildon-window.c (+hildon_window_get_main_menu)
2725 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2726 and deprecated hildon_window_get_menu().
2728 * src/hildon-stackable-window.h
2729 * src/hildon-stackable-window.c
2730 (+hildon_stackable_window_set_app_menu)
2731 (+hildon_stackable_window_get_app_menu)
2732 (hildon_stackable_window_set_main_menu): Created
2733 hildon_stackable_window_{get,set}_app_menu() and deprecated
2734 hildon_stackable_window_set_main_menu().
2736 * doc/hildon-sections.txt
2737 * examples/hildon-app-menu-example.c (main)
2738 * src/hildon-app-menu.c
2739 * src/hildon-program.c:
2740 Updated examples and documentation.
2742 Fixes: NB#103758 (No way to obtain a menu from a
2743 HildonStackableWindow)
2745 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2750 * configure.ac: Bump version.
2751 * debian/changelog: Updates.
2753 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2755 * examples/hildon-remote-texture-example.c: Include
2756 hildon-remote-texture.h explicitely.
2757 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2758 applications not defining _XOPEN_SOURCE which don't require this header.
2760 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2762 * doc/hildon-sections.txt
2763 * src/hildon-app-menu.h
2764 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2765 New function to pop up a HildonAppMenu
2767 * src/hildon-stackable-window.c
2768 (hildon_stackable_window_toggle_menu):
2769 Use hildon_app_menu_popup() to show the menu.
2771 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2773 * src/hildon-app-menu.c (hildon_app_menu_show)
2774 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2775 menu if there's another window between it and its parent window.
2777 Fixes: NB#100468 (Application menu window is launched even when a
2778 new secondary-window/dialog is pending to be shown/realized)
2780 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-window-stack.c (hildon_window_stack_push)
2783 (hildon_window_stack_pop_and_push):
2784 Don't forget to push/pop the first window.
2785 Reverse the window list before calling _push_list()
2787 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2789 * src/hildon-picker-button.h
2790 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2791 Remove "value_changed" slot to avoid ABI breakage
2793 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2795 * src/hildon-pannable-area.c,
2796 (hildon_pannable_area_realize),
2797 (hildon_pannable_area_unrealize),
2798 (hildon_pannable_draw_vscroll),
2799 (hildon_pannable_draw_hscroll): Changed the method to handle the
2800 GC used to draw the transparent scrollbar, this way we avoid
2801 creating the GC all the time when drawing the scrollbars.
2803 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2805 * src/hildon-pannable-area.c,
2806 (hildon_pannable_area_init),
2807 (hildon_pannable_area_remove): Removed some unnecessary casts.
2808 (hildon_pannable_area_dispose): Disconnected some signals before
2809 releasing the adjustments.
2811 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2813 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2814 Make sure that all widgets contained in the toolbar are shown.
2816 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2818 * doc/hildon-sections.txt
2819 * src/hildon-picker-button.h
2820 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2821 (_selection_changed, hildon_picker_button_on_dialog_response)
2822 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2823 New hildon_picker_button_value_changed() method.
2826 * src/hildon-picker-button-private.h
2827 * src/hildon-picker-button.c (hildon_picker_button_init)
2828 (+hildon_picker_button_disable_value_changed): Add protected
2829 function for disabling the "value-changed" signal.
2831 * src/hildon-date-button.c (hildon_date_button_set_date):
2832 Don't emit "value-changed" for each one of the three columns.
2834 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2835 before actual change of values)
2837 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2839 * src/hildon-pannable-area.c,
2840 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2841 for the treeview overshooting.
2843 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2845 * src/hildon-banner.c (+hildon_banner_bind_style):
2846 Renamed from hildon_banner_bind_label_style(), now naming the
2847 banner itself as well.
2848 (hildon_banner_show_information),
2849 (hildon_banner_show_information_with_markup),
2850 (hildon_banner_show_animation), (hildon_banner_show_progress):
2851 Name the widgets and labels, based on their type.
2853 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2856 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2858 * src/hildon-note.c (hildon_note_set_property): call
2859 hildon_note_rename() on HildonNote:note-type set.
2860 (hildon_note_rename): Name the note and its label, based on the
2861 HildonNote:note-type property.
2863 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2866 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2868 * src/hildon-pannable-area.c,
2869 (hildon_pannable_area_class_init),
2870 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2871 panning parameters, increased SPS and deceleration factor. Added
2872 also a margin to control fake directions.
2874 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2876 Patch by Sven Herzberg (sven@imendio.com)
2878 * configure.ac: Add missing AM_PROG_CC_C_0
2879 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2881 See NB#101420 (Update unit tests and fix make check)
2883 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2885 This patch was applied before but reverted because it caused
2886 problems, we have changed the main condition and tested the
2887 regressions we detected before and they work ok. We have done a
2888 complete review of the topmost algorithm in order to get a more
2891 * src/hildon-pannable-area.c,
2892 (hildon_pannable_area_get_topmost): Added a new parameter to
2893 filter the the windows that do not include those events.
2894 (hildon_pannable_area_button_press_cb),
2895 (hildon_pannable_area_button_release_cb),
2896 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2897 topmost function, we have added the new parameter.
2899 Fixes: NB#97458 (Pannable area prevents propagation of button
2902 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2904 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2905 if all columns in the selector have an item selected.
2906 (_on_dialog_response): Stop "response" signal emission if there is
2907 any selector column without selected items.
2909 Fixes: NB#101889 (Picker dialog should not close when nothing is
2910 selected in multiple selection list)
2912 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2914 * src/hildon-font-selection-dialog.c
2915 (hildon_font_selection_dialog_class_init),
2916 (hildon_font_selection_dialog_init): Remove the preview
2917 button and dialog, since previewing with default theming is likely
2918 to be overcomplicated. The :preview property has now no effect.
2919 Update documentation blurbs to inform about this.
2921 Fixes: NB#92297 (Preview content is not clearly visible for
2922 default colour text)
2924 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2926 Reviewed the geometry that handles the children size and
2927 scrollbar, now it tries a size and reviews the results depending
2928 on the scrollbars visibility.
2930 * src/hildon-pannable-area.c,
2931 (hildon_pannable_area_realize): Fixed a typo.
2932 (hildon_pannable_area_child_allocate_calculate): Added this
2933 function to calculate the child allocation.
2934 (hildon_pannable_area_size_allocate): Reviewed the allocation
2936 (hildon_pannable_area_check_scrollbars),
2937 (hildon_pannable_area_refresh): Refactored refresh function, this
2938 way we can call the code handling the scrollbars without causing a
2939 size_request, it is interesting in the allocate.
2940 (hildon_pannable_area_init): Replace the callbacks of the
2941 value_changed and changed signals to propertly deal with the
2943 (hildon_pannable_area_grab_notify),
2944 (hildon_pannable_area_initial_effect),
2945 (hildon_pannable_area_launch_fade_timeout),
2946 (hildon_pannable_area_adjust_changed),
2947 (hildon_pannable_area_adjust_value_changed),
2948 (hildon_pannable_area_redraw),
2949 (hildon_pannable_area_button_press_cb),
2950 (hildon_pannable_area_button_release_cb),
2951 (hildon_pannable_area_scroll_cb),
2952 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2953 code and use the new functions adjust_changed and
2954 adjust_value_changed.
2956 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2957 Contact editor dialog)
2959 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2964 * configure.ac: Bump version.
2965 * debian/changelog: Updates.
2967 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2969 * src/hildon-pannable-area.c,
2970 (hildon_pannable_area_get_topmost),
2971 (hildon_pannable_area_button_press_cb),
2972 (hildon_pannable_area_button_release_cb),
2973 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2974 topmost function adding the event mask. We have to try a
2975 differente approach because it is still causing problems (NB#9745,
2978 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2980 * src/hildon-banner.c:
2981 Update the maximum width of timed banners.
2982 (force_to_wrap_truncated): Enforce the maximum text width if the
2985 Fixes: NB#102413 (The text margins (wrapping) in information
2986 banner should be HILDON_MARGIN_TRIPLE)
2988 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2990 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2992 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2993 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2994 bound when calculating the scroll indicator position.
2996 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2997 treat ->lower correctly)
2999 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3001 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3002 expose event handling, since it is not necessary to draw the focus
3005 Fixes: NB#102467 (Do not show highlight on the text in
3008 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3010 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3011 full height of the toolbar for the button and the label.
3013 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3015 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3016 padding before the label and after the button.
3018 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3020 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3022 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3023 Add a GtkVSeparator between the button and the back arrow.
3024 Let the button have automatic size.
3025 Set a name to the widget for theming handling.
3027 Fixes: NB#101793 (Make edit toolbar the same height as window
3028 title bar (use title area theming))
3030 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3032 * src/hildon-helper.c (attach_new_color_element): Fix memory
3035 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3037 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3039 * examples/hildon-button-example.c (common_buttons_window): Don't
3042 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3044 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3045 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3047 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3049 * src/hildon-gtk.c: Check that the window is realized.
3051 Fixes: NB#102225 (Crash setting the progress indicator to a non
3054 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3056 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3057 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3058 instead of modifying the one in the widget style.
3060 Fixes: NB#101043 (Second row of all the command button are
3061 displayed in transparent mode.)
3063 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3065 * src/hildon-date-button.c
3066 * src/hildon-time-button.c: Add gettext macros
3068 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3070 * src/hildon-date-button.c (hildon_date_button_new):
3071 * src/hildon-time-button.c (hildon_time_button_new_step):
3072 Use new logical strings to set the button default title.
3074 Fixes: NB#99915 (Date and Time options are not localised in Date
3077 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3079 * src/hildon-pannable-area.c
3080 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3081 the PANNING_THRESHOLD.
3083 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3085 * src/hildon-pannable-area.c,
3086 (hildon_pannable_area_class_init): Increased the maximum speed.
3087 (hildon_pannable_area_get_property),
3088 (hildon_pannable_area_set_property),
3089 (hildon_pannable_area_timeout): Added a new low friction mode, it
3090 allows the user avoid friction when launching the widget fast
3091 enough. It is interesting to traverse long lists.
3093 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3095 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3096 (+hildon_stackable_window_delete_event): Ignore delete events if
3097 the window is not the topmost one.
3099 Fixes: NB#101698 (Back button long press and delete-event handling)
3101 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3103 * src/hildon-pannable-area.c,
3104 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3105 gtk-dnd-drag-threshold, it was too big. We have defined our own
3106 dnd define and set a smaller value: PANNIG_THRESHOLD.
3108 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3110 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3111 user-defined icons, use always the default one.
3113 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3115 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3117 This patch was applied before but reverted because it caused
3118 problems, we have changed the main condition and tested the
3119 regressions we detected before and they work ok.
3121 * src/hildon-pannable-area.c,
3122 (hildon_pannable_area_get_topmost): Added a new parameter to
3123 filter the the windows that do not include those events. Added
3124 also a condition when finding the window to filter windows that do
3125 not ask for those events.
3126 (hildon_pannable_area_button_press_cb),
3127 (hildon_pannable_area_button_release_cb),
3128 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3129 topmost function, we have added the new parameter.
3131 Fixes: NB#97458 (Pannable area prevents propagation of button
3134 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3136 * tests/check-hildon-color-button.c (START_TEST): do not leak
3139 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3141 * src/hildon-font-selection-dialog.c
3142 (hildon_font_selection_dialog_get_preview_text): Return NULL
3143 instead of FALSE on the g_return_val_if_fail().
3145 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3147 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3148 * src/hildon-date-selector.c
3149 (hildon_date_selector_select_current_date):
3150 Do not compare unsigned integers to be greater than or equal 0,
3151 because it's always TRUE.
3153 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3155 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3156 (hildon_date_selector_constructor): Do not select the current
3157 date until we are handle the "changed" signal, to avoid having bogus
3158 elements in the days model.
3160 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3162 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3163 for num_days, since _month_days() can return a negative value.
3165 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3167 * src/hildon-caption.c (hildon_caption_size_allocate):
3168 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3169 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3171 Initialize allocation variables to 0, to avoid eventually using
3172 unitialized variables.
3174 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3176 * src/hildon-bread-crumb-trail.c
3177 (hildon_bread_crumb_trail_size_allocate):
3178 * src/hildon-calendar.c (hildon_calendar_set_background):
3179 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3180 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3181 * src/hildon-seekbar.c (hildon_seekbar_init):
3182 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3183 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3184 * src/hildon-touch-selector-entry.c
3185 (hildon_touch_selector_get_text_from_model):
3186 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3187 * src/hildon-window.c (hildon_window_finalize):
3189 Remove many unused variables.
3191 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3193 * src/hildon-seekbar.c: (hildon_seekbar_init),
3194 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3196 Remove unnecessary g_assert() calls.
3198 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-caption.c: (hildon_caption_expose),
3201 (hildon_caption_set_property), (hildon_caption_init),
3202 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3203 (hildon_caption_size_request), (hildon_caption_size_allocate),
3204 (hildon_caption_forall), (hildon_caption_set_separator),
3205 (hildon_caption_activate), (hildon_caption_set_child_expand),
3206 (hildon_caption_set_label_text),
3207 (hildon_caption_get_label_alignment):
3209 Remove unnecessary g_assert() calls.
3211 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3213 * src/hildon-banner.c
3214 (hildon_banner_map, hildon_banner_init): Make banner temporary
3215 before mapping it to avoid closing other temporary windows, but
3216 make it non-temporary afterwards to avoid being closed by other
3217 non-temporary windows.
3218 (-hildon_banner_client_event, hildon_banner_init):
3219 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3221 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3224 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3226 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3229 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3231 * src/hildon-remote-texture.c
3232 * src/hildon-remote-texture.h
3233 * src/hildon-remote-texture-private.h
3234 * examples/hildon-remote-texture-example.c:
3235 Updates/fixes to remote-texture and its example.
3237 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3239 Patch by Mox Soini (ext-mox.soini@nokia.com)
3241 * src/hildon-code-dialog.c: Update logical id.
3242 * src/hildon-set-password-dialog.c: Update logical id.
3244 Fixes: NB#100646 (Logical strings is shown for ok in set
3245 password,Password needed dialogs)
3247 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3250 * src/hildon-remote-texture.c
3251 * src/hildon-remote-texture.h
3252 * src/hildon-remote-texture-private.h
3254 Added remote texture widget (for Clutter shared memory textures)
3256 * examples/hildon-remote-texture-example.c
3257 * examples/Makefile.am
3258 Added example file for remote texture usage
3260 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3262 * configure.ac: post release version bump.
3263 * debian/changelog: version bump.
3265 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3270 * configure.ac: Bump version.
3271 * debian/changelog: Updates.
3273 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3275 * src/hildon-date-selector.c (hildon_date_selector_init)
3276 (hildon_date_selector_constructor): Don't connect to the "changed"
3277 signal until the selector is completely constructed.
3279 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3281 * src/hildon-touch-selector.c: (_create_new_column),
3282 (hildon_touch_selector_append_column),
3283 (hildon_touch_selector_set_column_selection_mode),
3284 (hildon_touch_selector_set_active),
3285 (hildon_touch_selector_select_iter):
3286 Emit the HildonTouchSelector::changed signal every time selection
3287 is changed in any of the methods above. This behavior was already
3288 documented but not fully functional.
3290 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3291 selection is programmatically changed)
3293 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3295 * doc/hildon-sections.txt: Remove obsolete icon
3296 sizes from here as well.
3298 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3300 * examples/hildon-stackable-window-example.c (add_window): Remove
3303 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3305 * src/hildon-app-menu.c
3306 (hildon_app_menu_show): Check whether the parent window of a menu
3307 is topmost before popping it up.
3309 Fixes: NB#100468 (Application menu window is launched even when a
3310 new secondary-window/dialog is pending to be shown/realized.)
3312 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3314 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3317 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3319 Patch by Mox Soini (ext-mox.soini@nokia.com)
3321 * src/hildon-banner.c: (hildon_banner_show_animation):
3322 use stylus size instead of obsolete note size.
3323 * src/hildon-defines.h: Update icon sizes.
3325 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3327 * src/hildon-touch-selector-entry.c:
3328 (hildon_touch_selector_entry_init): Disable unsupported
3330 (hildon_touch_selector_entry_get_text_column): Emit a warning
3331 if an unsupported input modes is used and explicitile state
3332 these modes in the documentation.
3334 Fixes: NB#99802 (Hildon touch selector entry not working properly
3335 for some of the input modes)
3337 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3339 * src/hildon-pannable-area.c,
3340 (hildon_pannable_area_init): Added the changed signal handlers of
3343 Fixes: NB#100320 (HildonPannableArea does not listen to
3344 GtkAdjustment "change" signals)
3346 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3348 * doc/hildon-sections.txt
3349 * src/hildon-window-private.h
3350 * src/hildon-window.h
3351 * src/hildon-window.c (hildon_window_init)
3352 (hildon_window_realize, hildon_window_unrealize)
3353 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3354 (hildon_window_size_request, hildon_window_size_allocate)
3355 (hildon_window_forall, hildon_window_show_all)
3356 (hildon_window_destroy, +paint_edit_toolbar)
3357 (+hildon_window_set_edit_toolbar):
3358 New hildon_window_set_edit_toolbar() method, to add a
3359 HildonEditToolbar to a window without having to pack it manually.
3361 Reorganize hildon_window_size_allocate()
3363 * src/hildon-edit-toolbar.c: Update documentation.
3365 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3366 example to use the new API.
3368 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3370 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3372 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3373 Remove from stack before calling parent's hide.
3375 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3377 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3378 window is removed from the middle of the stack, update the
3379 transiency of the previous one.
3381 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3384 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3386 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3387 block/unblock the signal handler if it's not actually being used.
3388 Fixes some critical warnings.
3390 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3392 Based on a patch by Iván Gómez (igomez@igalia.com)
3394 * src/hildon-banner.c
3398 * src/hildon-pannable-area.c
3399 * src/hildon-picker-dialog.c
3400 * src/hildon-wizard-dialog.h
3401 * src/hildon-wizard-dialog.c: Documentation updates.
3403 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3404 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3406 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3408 * configure.ac: post release version bump.
3409 * debian/changelog: version bump.
3411 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3416 * configure.ac: Bump version.
3417 * debian/changelog: Updates.
3419 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3421 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3422 a stock icon nor change the relief of the back arrow.
3424 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3425 graphics from theme)
3427 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3429 * src/hildon-button.c (hildon_button_set_alignment): Use
3430 priv->alignment if the button has no child yet.
3432 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3434 * src/hildon-button.c: (hildon_button_init): Set the
3435 button style during initialization to give it the proper
3438 Fixes: NB#99713 (HildonButton value label color is wrong)
3440 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3442 * src/hildon-touch-selector.c: Document
3443 hildon_touch_selector_center_on_selected()
3445 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3447 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3448 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3449 all menu items, but not the menu itself.
3450 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3451 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3452 items after adding them to the menu so keyboard accelerators work.
3453 (hildon_app_menu_show): Don't show the menu if it contains items
3454 but none of them are visible.
3456 * examples/hildon-app-menu-example.c (create_menu): Use
3457 gtk_widget_show_all() to show all menu items.
3459 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3461 * src/hildon-picker-dialog.c:
3462 (-_update_title_on_selector_changed_cb),
3463 (-_dialog_update_title): Removed.
3464 (_select_on_selector_changed_cb), (_on_dialog_response),
3465 (on_selector_columns_changed): Do not update the dialog title.
3466 (setup_interaction_mode): Do not connect to
3467 HildonTouchSelector::changed signal if there's a "done" button, as
3468 the dialog title doesn't need to be updated.
3470 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3473 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3475 Patch by Kristian Rietveld (kris@imendio.com)
3477 * src/hildon-touch-selector.c: (_create_new_column): Use new
3478 GtkTreeView::hildon-row-tapped signal to react to user interactions
3479 instead of ::changed.
3481 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3482 with some dynamic tree model)
3484 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3486 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3487 (+screen_size_changed, +label_size_request)
3488 (hildon_note_class_init): Make the Hildon information note have a
3489 minimum height, and make its text hvae a maximum width.
3491 Fixes: NB#98614 (Hildon information note (background) should have
3492 minimum height and maximum text width)
3494 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3496 * src/hildon-banner.h
3497 * src/hildon-banner.c (hildon_banner_show_information)
3498 (hildon_banner_show_informationf)
3499 (hildon_banner_show_information_with_markup): Update documentation
3500 to reflect that the icon_name parameter is not used anymore.
3501 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3502 Remove all code from these functions and mark them as deprecated.
3503 (hildon_banner_show_progress): Mark as deprecated.
3505 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3507 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3509 * src/hildon-pannable-area.c,
3510 (hildon_pannable_area_class_init),
3511 (tranparency_color),
3512 (hildon_pannable_draw_vscroll),
3513 (hildon_pannable_draw_hscroll),
3514 (hildon_pannable_area_expose_event): Added a new way to render the
3515 scrollbars of the pannable area avoiding using cairo at all. This
3516 way we improve the performance of the pannable area rendering. The
3517 cairo rendering procedure is still in the code, we can control
3518 which one to use changing the value of the define
3519 USE_CAIRO_SCROLLBARS.
3521 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3523 * configure.ac: post release version bump.
3524 * debian/changelog: version bump.
3526 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3531 * configure.ac: Bump version.
3532 * debian/changelog: Updates.
3534 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3536 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3537 banners instead of destroying them when they receive a button
3540 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3542 Reverted commit 34028, it was causing regressions, probably the
3543 topmost condition is not correct, we have to check it in more
3544 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3545 propagation of button press events)
3547 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3550 that the selection is not empty before attempting to retrieve the
3551 current ampm selection.
3553 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3555 * src/hildon-picker-button.c:
3556 (hildon_picker_button_on_dialog_response): Directly update the
3557 button contents when required instead of calling _selection_changed.
3559 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3561 * src/hildon-program.c (hildon_program_update_top_most): Update
3562 'is-topmost' property also when wm_hints is not set.
3564 Fixes: NB#98383 (is-topmost signal is not emitted when task
3565 switcher is clicked.)
3567 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3569 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3573 * src/hildon-animation-actor.c,
3574 * src/hildon-animation-actor.h: Added the animation actor class,
3575 this widget represents an animation actor for WM-assisted
3576 animation effects in the Hildon framework.
3578 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3580 * src/hildon-window-stack-private.h
3581 * src/hildon-window-stack.c
3582 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3583 Avoid calling gtk_widget_show() again indirectly from
3584 hildon_stackable_window_show()
3586 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3591 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3593 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3594 (hildon_time_selector_init): Move the construction of the hours and
3595 ampm columns to the constructor to preserve the order the columns
3598 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3600 * src/hildon-picker-dialog.c:
3601 (hildon_picker_dialog_class_init): Connect a realize method.
3602 (+hildon_picker_dialog_realize): Setup the interaction mode here
3604 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3605 yet, do it during the realize instead.
3606 (_on_dialog_response):
3607 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3608 if the widget is not realized, to avoid the dialog response before it
3611 Avoid premature responses in the HildonPickerDialog that can cause it
3612 to be hidden before it's even shown.
3614 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3616 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3617 (on_selector_columns_changed), (requires_done_button),
3618 (+prepare_action_area), (setup_interaction_mode),
3619 (_hildon_picker_dialog_set_selector):
3621 Split the interaction mode setup into preparation of the
3622 action area (prepare_action_area()) and the connection of
3623 the signals in setup_interaction_mode() and update the code to
3626 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3628 * src/hildon-pannable-area.c,
3629 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3630 per second to 15, we will check if this is ok regarding
3633 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3635 * src/hildon-pannable-area.c,
3636 (hildon_pannable_axis_scroll): Avoid resize if we already have
3637 reached overshoot_max.
3639 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3641 * src/hildon-pannable-area.c,
3642 (hildon_pannable_area_init),
3643 (hildon_pannable_area_realize),
3644 (hildon_pannable_area_size_allocate),
3645 (hildon_pannable_area_map),
3646 (hildon_pannable_area_unmap),
3647 (hildon_pannable_draw_vscroll),
3648 (hildon_pannable_draw_hscroll),
3649 (hildon_pannable_area_expose_event),
3650 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3651 pannable are to avoid the expose events go to the window and
3652 redraw the window. We save this way that part of the stack and the
3653 paint_boxes. We had to change the positions of the elements when
3656 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3658 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3659 * src/hildon-color-chooser-dialog.c:
3660 (hildon_color_chooser_dialog_init):
3661 * src/hildon-font-selection-dialog.c:
3662 (hildon_font_selection_dialog_init),
3663 (hildon_font_selection_dialog_show_preview):
3664 * src/hildon-get-password-dialog.c:
3665 * src/hildon-login-dialog.c:
3666 * src/hildon-set-password-dialog.c:
3667 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3668 * src/hildon-time-picker.c: (hildon_time_picker_init):
3670 Remove obsolete logical string IDs and update to the appropriate ones.
3672 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3674 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3677 that happens if the window hasn't been realized yet.
3679 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3680 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3682 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3684 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3685 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3688 Fixes: NB#98537 (Device hangs in account settings dialog)
3690 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3692 * configure.ac: post release version bump.
3693 * debian/changelog: version bump
3695 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3700 * configure.ac: Bump version.
3701 * debian/changelog: Updates.
3703 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3705 Added a new function to the HildonTimeButton widget that allows to
3706 change the step of the minutes in the selector associated with the
3707 button: hildon_time_button_new_step
3709 * src/hildon-time-button.c,
3710 (hildon_time_button_init),
3711 (hildon_time_button_new),
3712 (hildon_time_button_new_step):
3713 * src/hildon-time-button.h: Added the new function and refactored
3715 * examples/hildon-time-button-example.c,
3716 (main): We have replaced the function without parameters with the
3717 function with the steps set to 5
3719 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3721 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3723 * src/hildon-time-selector.c,
3724 (hildon_time_selector_class_init),
3725 (hildon_time_selector_constructor),
3726 (hildon_time_selector_get_property),
3727 (hildon_time_selector_set_property),
3728 (_create_minutes_model),
3729 (hildon_time_selector_new_step),
3730 (hildon_time_selector_set_time),
3731 * src/hildon-time-selector.h: Added a new property to the
3732 HildonTimeSelector (minutes-step), we use that property to control
3733 the steps between the minutes in the list of the selector. We have
3734 added a new function to the API to create a widget changing the
3735 step: hildon_time_selector_new_step.
3737 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3739 * src/hildon-time-selector.c,
3740 (hildon_time_selector_class_init),
3741 (hildon_time_selector_constructor),
3742 (hildon_time_selector_init): Overrided the construct function when
3743 creating the time selector object. We have moved the minutes model
3744 handling code from the init to the new construction function:
3745 hildon_time_selector_constructor.
3747 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3749 * examples/hildon-date-button-example.c: (main): Use the new
3750 hildon_date_button_new_with_year_range() method in the example.
3751 * src/hildon-date-button.c:
3752 (+hildon_date_button_new_with_year_range): New public method
3753 to conveniently create a HildonDateButton with a custom year range
3754 in its HildonDateSelector.
3755 * src/hildon-date-button.h: Add the new public method definition.
3757 Fixes: NB#97908 (Not possible to change the year range in
3758 HildonDateSelector/HildonDateButton)
3760 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3762 * src/hildon-date-selector.c:
3763 (+hildon_date_selector_set_property),
3764 (+hildon_date_selector_get_property),
3765 (hildon_date_selector_class_init): Install new properties "min-year"
3766 and "max-year" to define boundaries for the year column.
3767 (_create_year_model): Use the boundary properties to populate the model.
3768 (+hildon_date_selector_new_with_year_range): New public method to
3769 create a HildonDateSelector with a user defined year range.
3770 (hildon_date_selector_select_current_date): Use the new boundaries to
3771 calculate the iterator of current year.
3772 * src/hildon-date-selector.h: Add the new public method definition.
3774 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3776 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3777 Install a constructor method.
3778 (+hildon_date_selector_construct_ui): construct the widget.
3779 (+hildon_date_selector_constructor): new constructor.
3780 (+hildon_date_selector_init): move out widget construction code to
3781 the new constructor.
3783 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3785 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3786 that there's actually a month or year selected before obtaining them.
3787 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3788 of the HildonTouchSelector::changed signal, as it was emitted on every
3789 single item selection.
3791 Fix some warnings and possible crashers due to the selection restoring.
3793 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3795 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3796 the signal handlers only after creating the dialog instead of on every
3799 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3801 * src/hildon-button.c (hildon_button_init)
3802 * src/hildon-check-button.c (hildon_check_button_init)
3803 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3804 focus when clicked by default.
3806 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3808 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3811 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3813 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3814 Alejandro G. Castro (alex@igalia.com)
3816 * src/hildon-picker-dialog.c:
3817 (hildon_picker_dialog_class_init): install new "center-on-show"
3819 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3820 (hildon_picker_dialog_set_property): add setter code for the new
3822 (hildon_picker_dialog_get_property): add getter code for the new
3824 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3825 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3828 Fixes: NB#92849 (Selected item is not always visible when
3829 HildonTouchSelector is shown)
3831 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3833 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3834 Alejandro G. Castro (alex@igalia.com)
3836 * src/hildon-touch-selector.c:
3837 (_create_new_column): Do not connect to the "realize" signal of the
3839 (hildon_touch_selector_append_column): center on the selected items
3840 when a new column is appended.
3841 (hildon_touch_selector_select_iter): Factor out the code to select a
3842 column to hildon_touch_selector_scroll_to().
3843 (+search_nearest_element): Method to retrieve the nearest selected
3844 element to the visible area of the pannable area in a column.
3845 (+on_realize_cb): scroll to the initially selected item.
3846 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3847 the pannable area is realized, otherwise delay this until it is.
3848 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3849 selected items of a given column.
3850 (+hildon_touch_selector_center_on_selected): Public method to center
3851 all columns on the nearest selected item.
3852 * src/hildon-touch-selector.h: Add definition for
3853 hildon_touch_selector_center_on_selected().
3855 Implement public API to ensure visibility of all selected items in
3856 a HildonTouchSelector.
3858 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3860 Fixed a problem in the fading when calling the scroll_to API, and
3861 improve scrollbar fading handling.
3863 * src/hildon-pannable-area.c,
3864 (hildon_pannable_area_grab_notify): avoid the timeout when the
3866 (hildon_pannable_area_button_press_cb),
3867 (hildon_pannable_area_motion_notify_cb): Code style changes.
3868 (hildon_pannable_area_button_release_cb): Review the conditions
3869 when releasing the mouse button to avoid unrequired fading
3871 (hildon_pannable_area_scroll_to): Do not calculate and set the
3872 velocity if the scroll is not required.
3874 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3876 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3877 Don't check whether the new selector is NULL: it cannot be.
3878 Hold a reference to the selector while doing the replacement.
3880 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3882 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3883 unnecessary size_request in a removed widget.
3885 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3887 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3888 an unnecessary reference tracking that was leaking.
3890 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3892 Added delayed motion notify event handling, this way we can
3893 discard redrawing if more than 25 events arrive per second.
3895 * src/hildon-pannable-area.c,
3896 (hildon_pannable_area_init): Initialized the new private atributes
3897 controlling this timeout
3898 (hildon_pannable_area_dispose): Remove the timeout that controls
3899 the motion notify events.
3900 (hildon_pannable_area_scroll): Added a condition to control the
3901 use of the acceleration.
3902 (hildon_pannable_area_motion_event_scroll_timeout),
3903 (hildon_pannable_area_motion_event_scroll): Added this two
3904 functions, they handle the motion notify events inside the
3906 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3907 to the scroll method with the new function.
3908 (hildon_pannable_area_button_release_cb): We have to remove the
3909 timeout handler and move to the last position if the last motion
3910 events were not handled.
3912 Fixes: NB#97028 (Pannable area updates on every motion event)
3914 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3916 * src/hildon-pannable-area.c,
3917 (hildon_pannable_area_get_topmost): Added a new parameter to
3918 filter the the windows that do not include those events. Added
3919 also a condition when finding the window to filter windows that do
3920 not ask for those events.
3921 (hildon_pannable_area_button_press_cb),
3922 (hildon_pannable_area_button_release_cb),
3923 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3924 topmost function, we have added the new parameter.
3926 Fixes: NB#97458 (Pannable area prevents propagation of button
3929 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3931 * src/hildon-pannable-area.c,
3932 (hildon_pannable_area_initial_effect): Added controls before
3933 launching the timeout and the idle functions.
3934 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3935 of the method, in some situations it can return with TRUE and 0 in
3937 (hildon_pannable_area_button_press_cb): We do not need to set
3938 DELAY for fading out here.
3940 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3942 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3944 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3945 post-cleaning if the selection is not NULL.
3947 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3949 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3950 all items before restoring the selection.
3952 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3954 * src/hildon-touch-selector.c:
3955 (+hildon_touch_selector_unselect_all):
3956 * src/hildon-touch-selector.h: New API to unselect all items in a
3957 column of the touch selector.
3959 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3961 * src/hildon-pannable-area.c,
3962 (hildon_pannable_area_redraw): Added a call to the refresh
3963 function inside the redraw because apparently in some cases the
3964 change in the adjustment does not imply a size allocate.
3966 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3967 despite the view not being scrollable)
3969 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3971 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3972 leak. Check for NULL before attempting to set the window title.
3974 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3976 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3977 whether to show or not the 'Done' button each time the dialog is
3978 shown, as it depends on the HildonTouchSelector selection mode.
3980 Fixes: NB#96226 (In multiple selection mode Done button is shown
3981 sometimes in listpicker)
3983 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3985 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3986 for the number of columns in the HildonTouchSelector more than once.
3988 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3990 * src/hildon-touch-selector.c: Minor documentation fixes.
3992 * src/hildon-picker-dialog.c (+_dialog_update_title)
3993 (_select_on_selector_changed_cb)
3994 (_update_title_on_selector_changed_cb)
3995 (on_selector_columns_changed): Update dialog title when there's no
3996 'Done' button and also when the number of columns in the selector
4000 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4001 (+_selection_changed, hildon_picker_button_on_dialog_response)
4002 (hildon_picker_button_selector_selection_changed)
4003 (+hildon_picker_button_selector_columns_changed)
4004 (hildon_picker_button_set_selector): Update button value and emit
4005 'value-changed' when the number of columns in the selector
4009 Fixes: NB#96225 (Dialog titles are not shown according to the
4010 values selected in the list picker)
4012 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4014 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4015 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4016 New "arrow-width" and "arrow-height" style properties to set the
4017 size of the arrow button.
4018 Set name of arrow button ("hildon-edit-toolbar-arrow").
4020 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4021 graphics from theme)
4023 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4025 * src/hildon-picker-button.c:
4026 (hildon_picker_button_selector_selection_changed): Use
4027 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4028 the dialog is present.
4030 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4031 the selection is accepted in the dialog)
4033 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4035 * src/hildon-color-chooser.h
4036 * src/hildon-color-chooser-dialog.h:
4037 Added G_BEGIN_DECLS and G_END_DECLS
4039 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4041 (_clean_current_selection): plug a leak in the list.
4043 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4045 * src/hildon-picker-dialog.c:
4046 (+free_path_list): Method to free a GList of GtkTreePaths.
4047 (_clean_current_selection), (_save_current_selection),
4048 (_restore_current_selection): Save the current selection in
4049 as a list of lists, to support multiple selection properly.
4051 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4053 patch by Claudio Saavedra (csaavedra@igalia.com)
4055 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4056 Store the press position.
4057 (+hildon_text_view_button_release_event): If the release position is
4058 close enough to the press position, move the cursor here. Otherwise,
4060 (hildon_text_view_class_init): Override GtkTextView press, release, and
4061 motion event handlers, disabling this way text selection through
4062 pointer interaction, and allowing the container widget to handle the
4065 Fixes: NB#95828 (HildonTextView functionality)
4067 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4069 Based on a patch by Iván Gómez (igomez@igalia.com)
4071 * src/hildon-button.[ch]
4072 * src/hildon-calendar.c
4073 * src/hildon-check-button.c
4074 * src/hildon-date-editor.c
4075 * src/hildon-date-selector.c
4076 * src/hildon-picker-button.c
4077 * src/hildon-time-editor.c
4078 * src/hildon-time-selector.c
4079 * src/hildon-touch-selector.[ch]:
4080 Documentation updates
4082 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4084 * src/hildon-pannable-area.c,
4085 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4086 threshold, it was required due to X events handling.
4088 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4090 * src/hildon-pannable-area.c,
4091 (hildon_pannable_area_grab_notify),
4092 (hildon_pannable_area_initial_effect),
4093 (hildon_pannable_area_button_press_cb),
4094 (hildon_pannable_area_button_release_cb),
4095 (hildon_pannable_area_scroll_cb),
4096 (hildon_pannable_area_scroll_to): Review the timeout management of
4097 the scrollbar, the frecuency was incorrectly set.
4099 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4101 * src/hildon-picker-button.c:
4102 (+hildon_picker_button_on_dialog_response),
4103 (hildon_picker_button_clicked): Present the dialog instead of
4104 running it with gtk_dialog_run().
4106 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4109 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4111 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4112 (hildon_app_menu_finalize): When a window is hidden it doesn't
4113 emit notify::is-topmost, so make sure than the menu also
4114 disappears in that case.
4115 (parent_window_topmost_notify): Renamed from parent_window_hidden
4117 Fixes: NB#94460 (stackable window's menu is not closed when its
4120 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4122 * src/hildon-touch-selector-entry.c:
4123 (+hildon_touch_selector_entry_set_input_mode),
4124 (+hildon_touch_selector_entry_get_input_mode):
4125 * src/hildon-touch-selector-entry.h: New methods to access the input
4126 mode in the selector's entry.
4128 Fixes: NB#93410 (API required for setting IM mode in
4129 HildonTouchSelectorEntry)
4131 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4133 * configure.ac: post release version bump.
4134 * debian/changelog: version bump
4136 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4141 * configure.ac: Bump version.
4142 * debian/changelog: Updates.
4144 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4146 * src/hildon-touch-selector.c:
4147 (_hildon_touch_selector_has_multiple_selection): No need
4148 to initialize the variables here.
4150 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4152 * src/hildon-note-private.h
4153 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4154 (hildon_note_finalize, hildon_note_rebuild): Close information
4155 notes when they receive a button press.
4157 Fixes: NB#89890 (Information notes does not get disappeared after
4160 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4162 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4163 mark from the wizard title, as it's not really necessary. Also,
4164 do not display the page title if not set.
4166 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4168 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4169 (parent_window_hidden): Use the window's "is-topmost" property to
4170 detect when to hide the menu.
4172 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4174 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4175 (hildon_app_menu_finalize): If the parent window of the menu is
4176 hidden, hide the menu too.
4178 Fixes: NB#94460 (stackable window's menu is not closed when its
4181 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4184 * debian/libhildon1-examples.install
4186 * examples/Makefile.am:
4187 Use dh_install to install all examples.
4188 Use DEB_SRCDIR instead of defining SOURCE_DIR
4190 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4192 * configure.ac: post release version bump.
4193 * debian/changelog: version bump
4195 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4200 * configure.ac: bump version
4201 * debian/changelog: updates
4202 * debian/control: bump gtk+ dependency
4204 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4206 patch by Christian Dywan (christian@imendio.com)
4208 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4209 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4211 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4213 * src/hildon-check-button.c (hildon_check_button_init)
4214 (hildon_check_button_class_init, hildon_check_button_style_set)
4215 (hildon_check_button_apply_style):
4216 New "checkbox-size" style property.
4218 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4219 larger / configurable size)
4221 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4223 * configure.ac: post release version bump.
4224 * debian/changelog: version bump
4226 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4231 * configure.ac: bump version
4232 * debian/changelog: updates
4234 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4236 * doc/hildon-sections.txt
4237 * src/hildon-pannable-area.c
4238 * src/hildon-program.c
4239 * src/hildon-time-editor.c
4240 * src/hildon-touch-selector-entry.c:
4242 More documentation updates.
4244 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4246 * doc/hildon-sections.txt
4247 * src/hildon-caption.c
4248 * src/hildon-code-dialog.c
4249 * src/hildon-color-button.c
4250 * src/hildon-controlbar.c
4251 * src/hildon-date-editor.c
4252 * src/hildon-date-selector.c
4253 * src/hildon-edit-toolbar.c
4254 * src/hildon-find-toolbar.c
4255 * src/hildon-font-selection-dialog.c
4257 * src/hildon-program.c
4258 * src/hildon-range-editor.c
4259 * src/hildon-seekbar.c
4260 * src/hildon-time-editor.c
4261 * src/hildon-time-selector.c
4262 * src/hildon-volumebar-range.c
4263 * src/hildon-volumebar.c
4264 * src/hildon-vvolumebar.c
4265 * src/hildon-weekday-picker.c
4266 * src/hildon-window.c
4267 * src/hildon-wizard-dialog.c:
4269 Lots of documentation fixes.
4271 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4273 Patch contributed by Iván Gómez (igomez@igalia.com)
4275 * src/hildon-check-button.c:
4276 * src/hildon-date-button.c:
4277 * src/hildon-date-selector.c:
4278 * src/hildon-dialog.c:
4279 * src/hildon-edit-toolbar.c:
4280 * src/hildon-entry.c:
4281 * src/hildon-picker-button.c:
4282 * src/hildon-program.c:
4283 * src/hildon-text-view.c:
4284 * src/hildon-time-button.c:
4285 * src/hildon-touch-selector-entry.c:
4286 * src/hildon-window-stack.c:
4288 Add more "since" tags to the new API.
4290 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4292 * doc/hildon-sections.txt: Add below method.
4293 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4294 version for the hildonized scale.
4295 * src/hildon-gtk.h: Add the definition.
4297 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4299 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4301 * doc/hildon-sections.txt: Add missing entries for new methods.
4303 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4305 Added API to pannable are in order to get its adjustments. We
4306 added two properties to manage the values we had in the private
4309 * src/hildon-pannable-area.c:
4310 (hildon_pannable_area_class_init): Added hadjustment and
4311 vadjustment properties in order to expose horizontal and vertical
4313 (hildon_pannable_area_get_property),
4314 (hildon_pannable_area_set_property): Added code to handle the new
4316 (hildon_pannable_area_get_hadjustment),
4317 (hildon_pannable_area_get_vadjustment): API functions to get the
4319 * src/hildon-pannable-area.h:
4320 (hildon_pannable_area_get_hadjustment),
4321 (hildon_pannable_area_get_vadjustment): API functions to get the
4324 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4326 Fixed some leaks, after valgrinding.
4328 * src/hildon-touch-selector.c:
4329 (_default_print_func): Fixed a leak.
4330 (hildon_touch_selector_append_column): Fixed a leak.
4331 * src/hildon-date-button.c:
4332 (hildon_date_button_init): Fixed a leak.
4333 * src/hildon-date-selector.c
4334 (hildon_date_selector_finalize): Fixed a leak.
4336 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4338 Based on a patch by Christian Dywan (christian@imendio.com)
4340 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4342 * src/hildon-gtk.h: Add definition.
4344 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4346 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4348 * src/hildon-picker-button.c: (hildon_picker_button_init),
4349 (hildon_picker_button_new): Set the HildonButton::style property
4350 in the init method, to propagate the value to the derived classes.
4352 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4354 * src/hildon-button.c: (hildon_button_class_init): Do not make
4355 the "style" property a construct property.
4357 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4359 * src/hildon-wizard-dialog.h
4360 * src/hildon-wizard-dialog.c
4361 (hildon_wizard_dialog_set_forward_page_func)
4362 * src/hildon-pannable-area.h
4363 * src/hildon-pannable-area.c
4364 (hildon_pannable_area_set_size_request_policy):
4365 Documentation fixes.
4367 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4369 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4371 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4373 * doc/hildon-sections.txt: Added sections file.
4375 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4378 * src/*.[ch]: Updates.
4380 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4382 * examples/hildon-progress-indicator-example.c: new file
4383 * examples/Makefile.am: include the new example program
4385 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4387 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4389 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4391 * configure.ac: post release version bump
4392 * debian/changelog: version bump
4394 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4399 * configure.ac: bump version
4400 * debian/changelog: updates
4401 * debian/control: bump gtk+ dependency
4403 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4405 * src/hildon-dialog.c: Mark as deprecated.
4406 * src/hildon-dialog.h: Mark as deprecated.
4407 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4408 from HildonDialog and still work, even if
4409 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4410 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4412 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4413 maemo changes) instead)
4415 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4417 * src/hildon-pannable_area.h:
4418 * src/hildon-pannable_area.c:
4419 (hildon_pannable_area_class_init),
4420 (hildon_pannable_area_set_property),
4421 (hildon_pannable_area_get_property),
4422 (hildon_pannable_area_size_request),
4423 (hildon_pannable_area_get_size_request_policy),
4424 (hildon_pannable_area_set_size_request_policy): Added new API
4425 allowing applications to control the request policy. Now they can
4426 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4427 children allocation (HILDON_MOVEMENT_CHILDREN).
4429 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4433 (hildon_gtk_tree_view_set_ui_mode)
4434 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4435 mode of treeviews and iconviews.
4437 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4439 * src/hildon-touch-selector-entry.c:
4440 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4441 of a GtkEntry to get proper theming.
4443 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4444 widget, not GtkEntry)
4446 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4448 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4449 no HildonWizardDialogPageFunc.
4451 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4453 Patch contributed by Iván Gómez (igomez@igalia.com)
4455 * src/hildon-app-menu.c:
4456 * src/hildon-button.c:
4457 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4458 * src/hildon-stackable-window.c:
4459 * src/hildon-time-selector.c:
4460 * src/hildon-touch-selector.c:
4461 * src/hildon-window.c:
4463 Add more "since" tags to the new API in hildon 2.2.
4465 2008-12-05 Tim Janik <timj@imendio.com>
4467 Patch contributed by Christian Dywan (christian@imendio.com)
4469 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4470 HildonSizeType, which are supplied by Gtk+ now.
4472 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4474 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4475 (with maemo changes) instead)
4477 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4479 Patch contributed by Iván Gómez (igomez@igalia.com)
4481 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4484 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4486 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4487 (some_page_func), (main): Update the example to use a
4488 HildonWizardDialogPageFunc function.
4490 * src/hildon-wizard-dialog-private.h: Add private data for
4491 the HildonWizardDialogPageFunc function usage.
4493 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4494 (destroy), (hildon_wizard_dialog_init), (response),
4495 (hildon_wizard_dialog_set_forward_page_func):
4496 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4497 that applications can use to stop a HildonWizardDialog to jump to
4500 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4503 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4505 * src/hildon-program.h
4506 * src/hildon-program-private.h
4507 * src/hildon-program.c (hildon_program_init)
4508 (hildon_program_set_common_app_menu)
4509 (hildon_program_get_common_app_menu):
4510 New API for setting a common HildonAppMenu for all
4511 HildonStackableWindows registered with the HildonProgram.
4513 * src/hildon-stackable-window.c
4514 (hildon_stackable_window_toggle_menu):
4515 Use the common HildonAppMenu if a window doesn't have a specific
4518 * src/hildon-app-menu-private.h
4519 * src/hildon-app-menu.c
4520 (hildon_app_menu_get_parent_window):
4521 Function to obtain the window a HildonAppMenu is attached to.
4522 (hildon_app_menu_set_parent_window):
4523 Hide the menu if the parent window is set to NULL.
4525 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4528 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4529 search widget to popup.
4531 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4533 * configure.ac: post release version bump
4534 * debian/changelog: version bump
4536 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4541 * configure.ac: bump version
4542 * debian/changelog: updates
4544 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4546 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4548 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4549 (hildon_window_stack_window_realized)
4550 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4551 Set the leader GdkWindow when a window is stacked and realized,
4552 unset it when it's unstacked.
4553 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4555 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4557 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-stackable-window.h
4560 * src/hildon-window-stack.h:
4561 Protect definition of HildonWindowStack using the preprocessor.
4563 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4565 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4566 Fix warning if all menu items are hidden.
4568 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4570 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4572 * src/hildon-controlbar.c:
4573 * src/hildon-hvolumebar.c:
4574 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4575 Multiple scale size defines updates.
4577 Fixes: NB#94322 (Scale Updates)
4579 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4581 * examples/hildon-app-menu-example.c (create_menu)
4582 Show items after adding them to the menu, as in the future the
4583 menu will no longer call gtk_widget_show() on the added items.
4585 * src/hildon-app-menu.c:
4586 Update example as explained above.
4588 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-app-menu.c
4591 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4592 Make sure that all menu items have finger height.
4594 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4596 * src/hildon-picker-dialog.c:
4597 (_on_dialog_response), (_save_current_selection),
4598 (_restore_current_selection), (_clean_current_selection),
4599 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4600 Defined new functions in order to save the current internal selector
4601 selection previous open the dialog, in case that the use cancel the
4602 interaction, so the widget restores the previous selection.
4604 Fixes: NB#92032 (In calendar application, date values in 'new event'
4607 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4609 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4611 * src/hildon-button.c: Add a reference to the button examples in
4612 hildon-button-example.c
4614 * examples/hildon-button-example.c: Added examples of the most
4615 common button layouts.
4617 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4619 * src/hildon-app-menu.c (hildon_app_menu_show)
4620 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4622 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4624 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4626 * src/hildon-picker-dialog.c:
4627 (hildon_picker_dialog_init): Initialize the signal id for
4628 HildonTouchSelector::columns-changed.
4629 (+on_selector_columns_changed): Set up the interaction mode everytime a
4630 column is added or removed from the HildonTouchSelector.
4631 (_hildon_picker_dialog_set_selector): Connect to
4632 HildonTouchSelector::columns-changed and keep track of it.
4634 Make sure to update the interaction mode of the dialog everytime a
4635 column is added or removed in the HildonTouchSelector.
4637 Fixes: NB#93228 (Done button is not shown always in listpicker)
4639 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4641 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4642 a new ::columns-changed signal.
4643 (hildon_touch_selector_append_column): Emit ::columns-changed.
4644 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4646 Add a ::columns-changed signal, emitted when the number of columns in a
4647 HildonTouchSelector changes.
4649 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4651 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4652 (_hildon_picker_dialog_set_selector): Factor out the code
4653 to set up the dialog interaction mode.
4655 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4657 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4658 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4659 to signal_changed_id.
4661 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4663 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4666 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4668 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4669 Updated the logical ids related to ampm format, as now it is required to
4670 show it correctly localized even on languages with no default
4671 abbreviations for am or pm
4672 (_check_am_pm_format): check correctly the 24h format gconf property
4674 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4676 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4678 * src/hildon-button.c: Documentation updates.
4680 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4682 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4683 * src/hildon-caption.c: (hildon_caption_class_init):
4684 * src/hildon-color-button.c: (hildon_color_button_class_init):
4685 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4686 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4687 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4688 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4690 Remove deprecated GTK+ marshalers and replace them with the ones
4691 provided by GLib, for those available, add a marshaler for
4692 BOOLEAN:VOID, which is not available in GLib, and use it.
4694 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4696 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4697 the text from the previous column if there is no
4698 HildonTouchSelectorColumn::text-property set.
4700 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-button.h
4703 * src/hildon-button.c (hildon_button_set_property)
4704 (hildon_button_get_property, hildon_button_class_init)
4705 (hildon_button_set_style, hildon_button_get_style):
4706 New "style" property to change the visual appearance of the
4709 * src/hildon-picker-button.c (hildon_picker_button_new):
4710 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4712 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4713 HildonButton look like PickerButton)
4715 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4717 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4718 column while building the default string.
4720 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4722 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4723 scroll indicator by default.
4725 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4727 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4729 * src/hildon-main.c: Fix the documentation for hildon_init()
4731 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4733 * doc/hildon-docs.sgml
4737 * src/hildon-window-stack-private.h
4738 * src/hildon-window-stack.h
4739 * src/hildon-window-stack.c:
4740 New HildonWindowStack object, that adds support for multiple
4741 stacks of windows per process.
4743 * src/hildon-stackable-window-private.h
4744 * src/hildon-stackable-window.h
4745 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4746 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4747 (hildon_stackable_window_show, hildon_stackable_window_hide)
4748 (hildon_stackable_window_class_init)
4749 (hildon_stackable_window_init):
4750 Use HildonWindowStack for stack management.
4752 * src/hildon-program.c (hildon_program_pop_window_stack)
4753 (hildon_program_peek_window_stack)
4754 (hildon_program_go_to_root_window):
4755 Add a fallback implementation to the deprecated functions using
4758 * examples/hildon-stackable-window-example.c:
4759 Use the new HildonWindowStack API.
4761 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4763 * src/hildon-stackable-window-private.h
4764 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4765 (hildon_stackable_window_hide, hildon_stackable_window_init):
4766 Remove all window stack management.
4768 * src/hildon-program-private.h
4769 * src/hildon-program.h
4770 * src/hildon-program.c (hildon_program_init)
4771 (hildon_program_pop_window_stack)
4772 (hildon_program_peek_window_stack)
4773 (hildon_program_go_to_root_window):
4774 Remove all window stack management and mark functions as
4777 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4779 * src/hildon-app-menu.c (hildon_app_menu_realize):
4780 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4782 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4784 * configure.ac: post release version bump
4785 * debian/changelog: version bump
4787 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4792 * configure.ac: bump version
4793 * debian/changelog: updates
4795 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4797 Based on initial code by Christian Dywan (christian@imendio.com)
4799 * doc/hildon-docs.sgml: Add section for hildon-main.
4800 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4801 * src/Makefile.am: Add new hildon-main.[ch]
4802 * src/hildon-defines.h: Update the icon sizes.
4803 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4804 new library initialization files and register icon sizes.
4805 * src/hildon-main.h: New declarations.
4806 * src/hildon.h: Include hildon-main.h
4808 Add new initialization functions to the library. These methods
4809 will register the hildon specific icon sizes and can be used in the
4810 future for other hildon specific bits.
4812 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4814 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4816 * src/hildon-window.c: (hildon_window_realize),
4817 (hildon_window_notify), (-hildon_window_update_title): Do not set
4818 the application name in the window title.
4820 Fixes: NB#89754 (Applications shouldn't display their names in the
4823 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4825 * src/hildon-note-private.h:
4826 * src/hildon-note.c: (hildon_note_set_property),
4827 (hildon_note_get_property), (hildon_note_class_init),
4828 (hildon_note_init), (hildon_note_finalize),
4829 (hildon_note_new_confirmation_with_icon_name),
4830 (hildon_note_new_information_with_icon_name):
4832 No need to mark as deprecated the actual code. Revert
4833 to avoid missing symbols in widgets using deprecated API.
4835 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4837 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4839 * src/hildon-volumebar.h
4840 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4841 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4843 * src/hildon-helper.h
4844 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4845 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4847 * examples/Makefile.am:
4848 Deprecate hildon-insensitive-example
4850 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4852 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4854 * examples/hildon-pannable-area-buttons-scroll-example.c:
4855 Make all buttons finger height
4857 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4859 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4861 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4862 update the day model only if it is really required, and to avoid the
4863 full-reconstruction aproach. Now it only add or remove the required days.
4865 The purpose of this is avoid superfluous HildonTouchSelector::changed
4868 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4869 with strange parameters)
4871 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4873 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4875 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4876 the WINDOW_TYPE property.
4878 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4880 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4883 Fix dependency to allow parallel compilation with make -jX
4885 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4887 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4888 color frame and some minor tweaks to make it more consistent with
4891 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4892 highlighted but not visible)
4894 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4896 * examples/Makefile.am: Fixed typo in the Makefile.am.
4898 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4900 Reviewed the use of MAEMO_GTK define, now we add the define in the
4901 compilation line, and we also add it to the pc file.
4903 * configure.ac: Added MAEMO_GTK define to the compilation command
4904 and removed it from the config.h.
4906 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4907 do not have to take care about this define if the library was
4911 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4913 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4915 * examples/Makefile.am,
4916 * examples/hildon-pannable-area-buttons-scroll-example.c,
4917 * examples/hildon-pannable-area-gesture-signals-example.c,
4918 * examples/hildon-pannable-area-scroll-jump-example.c,
4919 * examples/hildon-pannable-area-tree-view-example.c:
4920 Renamed the pannable area examples, now they have more meaningful
4923 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4925 * src/hildon-touch-selector.c:
4926 (hildon_touch_selector_set_column_selection_mode): Used of
4927 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4928 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4929 to avoid re-seting the same selection mode.
4931 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4932 breaks HildonPickerDialog)
4934 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4936 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4937 conditional in the Makefile.am
4939 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4941 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4942 Remove unused methods.
4944 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4946 * src/hildon-button.c (hildon_button_init):
4947 Make button images center-aligned by default
4949 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4952 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4953 activated, we have to think about how to deal with both defines
4954 MAEMO_GTK and MAEMO_CHANGES.
4956 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4958 * examples/hildon-app-menu-example.c (create_menu): Make all
4959 buttons finger size.
4961 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4963 Fixed the compilation without maemo gtk adding ifdefs with
4964 MAEMO_GTK define to the code, we have to check this version more
4967 * examples/Makefile.am: Added control to avoid some examples that
4968 just make sense with maemo gtk.
4971 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4972 hildon modes with the define.
4974 * examples/hildon-edit-toolbar-example.c,
4975 (create_icon_view): Create the icon view without hildon-gtk
4976 helpers if we are not using maemo gtk.
4978 * src/hildon-touch-selector.c,
4979 (_create_new_column): Create the treeview without hildon-gtk
4980 helpers if we are not using maemo gtk.
4982 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4984 * src/hildon-pnnable-area.c,
4985 (hildon_pannable_area_dispose),
4986 (hildon_pannable_area_button_press_cb),
4987 (hildon_pannable_area_child_mapped),
4988 (hildon_pannable_area_add),
4989 (hildon_pannable_area_remove): Added code to control the position
4990 of the event_window when adding and removing children from the
4991 pannable. We have to raise the event window when the child is
4994 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4995 selection mode using custom widget inside pannable)
4997 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4999 * configure.ac: post release version bump
5000 * debian/changelog: version bump
5002 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5007 * configure.ac: bump version
5008 * debian/changelog: updates
5010 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5012 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5013 search mode, in order to avoid lose the focus on the treeview when
5014 a hw key (like enter) is pressed.
5016 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5017 in HildonDateSelector dialog)
5019 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5021 * debian/rules: Added --enable-maintainer-mode
5022 * Makefile.am: Added ACLOCAL_AMFLAGS
5024 This allows to properly regenerate the Makefiles if you modify the
5025 configure.ac or any Makefile.am.
5027 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5029 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5030 properties, not needed at all.
5032 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5034 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5036 * src/hildon-note.c: (hildon_note_set_property),
5037 (hildon_note_get_property), (hildon_note_class_init),
5038 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5039 (hildon_note_new_confirmation_add_buttons): Remove icons.
5040 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5041 (hildon_note_new_information_with_icon_name): Deprecate.
5042 (hildon_note_new_confirmation): Act directly, without calling
5043 the deprecated constructor.
5044 (hildon_note_new_information): Act directly, without calling
5045 the deprecated constructor.
5046 * src/hildon-note.h: Mark deprecate methods as such.
5047 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5048 not run tests on the deprecated methods if built with deprecation
5051 Fixes: NB#91688 (Never show icons in information notes/confirmation
5054 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5056 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5057 (hildon_app_menu_key_press): Remove leftover usage of the
5058 private structure in HildonAppMenu struct.
5059 * src/hildon-app-menu.h: Remove leftover private structure
5060 from the HildonAppMenu struct.
5062 Fixes a crasher when using the HildonAppMenu.
5064 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5066 * src/hildon-picker-dialog.c: Use appropriate logical id
5067 for the default "Done" text.
5069 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5071 * configure.ac: post release version bump
5072 * debian/changelog: version bump
5074 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5076 Modified the way to scroll to the current selection just when the touch
5077 selector is shown on the screen, avoiding a g_idle. Added too a property
5078 to configure this behaviour. See hildon_pannable_area_jump_to_child
5079 documentation for more information.
5081 * src/hildon-touch-selector.c
5082 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5083 Added 'initial-scroll' property
5084 (hildon_touch_selector_set_property): Added
5085 (hildon_touch_selector_map): Removed as not required anymore
5086 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5087 only a concrete column, instead of iterate along all the columns
5089 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5094 * configure.ac: bump version
5095 * debian/changelog: updates
5097 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5099 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5100 compilation time warnings.
5102 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5104 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5105 the default value for HildonPannableArea::mov-mode to
5106 HILDON_PANNABLE_AREA_MODE_VERT.
5108 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5110 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5112 Reverting following commit:
5114 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5116 * src/hildon-app-menu-private.h
5117 * src/hildon-app-menu.[ch]
5118 * src/hildon-button.[ch]
5119 * src/hildon-check-button.[ch]
5120 * src/hildon-entry.[ch]
5121 * src/hildon-pannable-area.[ch]
5122 * src/hildon-text-view.[ch]:
5123 Added private field to the object's structure.
5125 because it causes an ABI breakage. We will need to introduce these
5126 changes later at some point. See NB#91636 for an extensive
5127 explanation and status.
5129 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5131 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5133 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5134 remove special cases that are no longer necessary.
5136 Fixes: NB#91016 (Change toolbar sizes, simplification)
5138 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5140 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5141 is shown in the cancel note.
5143 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5145 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5146 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5147 (hildon_seekbar_init): Remove steppers, remove expose event.
5148 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5150 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5152 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5154 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5155 label font to "SmallSystemFont" for vertically arranged buttons.
5157 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5160 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5162 * src/hildon-check-button.c
5163 (hildon_check_button_set_active, hildon_check_button_clicked):
5164 Don't access private parts directly, use getters instead.
5166 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5168 * src/hildon-check-button.c (hildon_check_button_new):
5169 Align the contents of the check button to the left.
5171 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5173 * src/hildon-pannable-area.c,
5174 (hildon_pannable_area_scroll_to),
5175 (hildon_pannable_area_jump_to),
5176 (hildon_pannable_area_scroll_to_child),
5177 (hildon_pannable_area_jump_to_child): Replace the mapped
5178 precondition of these functions with the realized, it is the
5179 correct state of the widget in this case. Changed the
5180 documentation according to this modification.
5182 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5184 Added a new EXTRA_CFLAGS option to add the deprecated define to
5185 the compilation command. This way we can avoid using the define in
5186 the documentation compilation.
5188 * configure.ac: Defined EXTRA_CFLAGS.
5190 * examples/Makefile.am:
5192 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5194 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5196 * src/hildon-picker-dialog.c:
5197 Defined a utility macro with the desired touch selector height
5198 Removed currently unused separator, and title_label variables from
5200 (hildon_picker_dialog_init): Removed code related to the creation
5201 of unused private variables title_label and separator.
5202 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5203 to ensure correct visualization of the touch selector inside the dialog.
5204 * src/hildon-touch-selector.c
5205 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5206 ensure a concrete height of the widget.
5208 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5211 * tests/Makefile.am:
5213 Remove spurious whitespaces.
5215 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5217 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5218 compilation warning after the cancel button removal.
5220 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5222 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5224 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5225 Makefile.am, that way we can choose not to compile some examples
5226 and tests of the deprecated widgets.
5228 * examples/Makefile.am: Divided the sources in deprecated and
5231 * src/Makefile.am: Added undef statement of the deprecated
5232 symbol to the enums file generation process.
5234 * src/hildon-color-chooser-dialog.c
5235 * src/hildon-color-chooser-dialog.h
5236 * src/hildon-color-button.c
5237 * src/hildon-color-button.h
5238 * src/hildon-color-chooser.c
5239 * src/hildon-color-chooser.h
5240 * src/hildon-controlbar.c
5241 * src/hildon-controlbar.h
5242 * src/hildon-date-editor.c
5243 * src/hildon-date-editor.h
5244 * src/hildon-hvolumebar.c
5245 * src/hildon-hvolumebar.h
5246 * src/hildon-private.c
5247 * src/hildon-private.h
5248 * src/hildon-range-editor.c
5249 * src/hildon-range-editor.h
5250 * src/hildon-seekbar.c
5251 * src/hildon-seekbar.h
5252 * src/hildon-time-editor.c
5253 * src/hildon-time-editor.h
5254 * src/hildon-time-picker.c
5255 * src/hildon-time-picker.h
5256 * src/hildon-volumebar.c
5257 * src/hildon-volumebar.h
5258 * src/hildon-vvolumebar.c
5259 * src/hildon-vvolumebar.h
5260 * src/hildon-bread-crumb-trail.h
5261 * src/hildon-bread-crumb-trail.c
5262 * src/hildon-calendar-popup.c
5263 * src/hildon-calendar-popup.h
5264 * src/hildon-weekday-picker.c:
5265 * src/hildon-weekday-picker.h:
5266 * src/hildon-bread-crumb-widget.c:
5267 * src/hildon-bread-crumb-widget.h:
5268 * src/hildon-bread-crumb.c:
5269 * src/hildon-bread-crumb.h:
5270 * src/hildon-calendar.c:
5271 * src/hildon-calendar.h:
5272 * src/hildon-caption.c:
5273 * src/hildon-code-dialog.c:
5274 * src/hildon-code-dialog.h:
5275 * src/hildon-font-selection-dialog.c:
5276 * src/hildon-font-selection-dialog.h:
5277 * src/hildon-get-password-dialog.c:
5278 * src/hildon-get-password-dialog.h:
5279 * src/hildon-login-dialog.c:
5280 * src/hildon-login-dialog.h:
5281 * src/hildon-number-editor.c:
5282 * src/hildon-number-editor.h:
5283 * src/hildon-set-password-dialog.c:
5284 * src/hildon-set-password-dialog.h:
5285 * src/hildon-sort-dialog.c:
5286 * src/hildon-sort-dialog.h: This is the list of deprecated
5289 * src/hildon-touch-selector.c:
5290 * src/hildon-window.c: Added undef statement to avoid compilation
5293 * tests/Makefile.am: Divided the sources in deprecated and
5296 * tests/check_test.c,
5297 (configure_tests): Marked the deprecated code that was adding
5298 suites with deprecated tests.
5300 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5302 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5304 * src/hildon-touch-selector.c: (_default_print_func): Do not
5305 duplicate a string returned by gtk_tree_model_get(), it is already
5308 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5311 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5313 * src/hildon-pannable-area.c
5314 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5315 method, it had problems when adding a widget with viewport the
5316 second time. Now checks if it already has a viewport and uses it.
5318 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5321 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5323 * src/hildon-pannable-area.c,
5324 (hildon_pannable_area_scroll_to),
5325 (hildon_pannable_area_jump_to),
5326 (hildon_pannable_area_scroll_to_child),
5327 (hildon_pannable_area_jump_to_child): Added a precondition to the
5328 scroll and jump to functions: the widget must be mapped before we
5329 can safely call these functions. We have also added documentation
5330 to the functions to explain how to use them in this situation.
5333 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5335 Reviewed the threading handling of the pannable widget, we have
5336 used the gdk_threads_add_timeout function instead of the usual
5337 glib handlers. This avoids some problems with the threads.
5339 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5340 (hildon_pannable_area_initial_effect),
5341 (hildon_pannable_area_scroll_indicator_fade),
5342 (hildon_pannable_area_button_press_cb),
5343 (hildon_pannable_area_timeout),
5344 (hildon_pannable_area_motion_notify_cb),
5345 (hildon_pannable_area_button_release_cb),
5346 (hildon_pannable_area_scroll_cb),
5347 (hildon_pannable_area_scroll_to): Removed the
5348 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5349 gdk_threads_add_timeout.
5351 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5353 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5358 * configure.ac: bump version
5359 * debian/changelog: updates
5361 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5363 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5364 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5365 * src/hildon-color-chooser-dialog.c:
5366 (hildon_color_chooser_dialog_init):
5367 * src/hildon-font-selection-dialog.c:
5368 (hildon_font_selection_dialog_init):
5369 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5371 Remove all cancel/close-like dialogs, as these are not going to be
5374 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5376 * src/hildon-note.c: (hildon_note_rebuild),
5377 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5380 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5382 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5384 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5385 sure all buttons are shown, even the Cancel/Close-like ones.
5387 Fixes: NB#90861 (Custom Confirmation dialogs should be
5388 protected from cancel button removal)
5390 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5392 * debian/control: Change libhildon1-examples dependency from libhildon1
5394 * debian/libhildon1-examples.install
5396 * Makefile.am: Modified the final install directory for the examples on
5397 package libhildon1-examples
5398 * Makefile.static: Update clean target in order to remove all the binary
5401 Changes suggested by Claudio after review new libhildon1-examples package
5403 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5405 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5406 * src/hildon-touch-selector.c: Ditto.
5408 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5410 * debian/control: Added new package libhildon1-examples, in order to pack
5411 the current hildon examples as documentation
5412 * debian/rules: Not to compress .c files, modify some includes on the
5413 examples (as normally are compiled locally, but when installed it will
5414 require to include the installed libhildon1 library), and rename
5416 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5417 install all the example files on the new example package
5418 * examples/Makefile.static: Added static makefile that can be used to
5419 compile the examples, once installed the new example package
5420 * examples: Most of the examples were modified in order to grant that
5421 all use only '#include "hildon.h"', in order to be easy to prepare
5422 it on the example package
5424 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5427 * debian/libhildon1-dev.install
5428 * debian/libhildon1-doc.install:
5429 Move all gtk-doc files to a separate libhildon1-doc package.
5431 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5433 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5435 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5437 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5439 * debian/rules: Fixed a error in order to avoid unnecessary calls
5440 to autogen.sh on package building
5442 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5444 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5446 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5448 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5451 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5453 * src/hildon-picker-button.c
5454 (hildon_picker_button_finalize):
5455 Free priv->done_button_text
5457 * src/hildon-time-button.c
5458 (hildon_time_button_set_time)
5459 * src/hildon-picker-button.c
5460 (hildon_picker_button_clicked)
5461 (hildon_picker_button_selector_selection_changed)
5462 (hildon_picker_button_set_selector)
5463 * src/hildon-date-button.c
5464 (hildon_date_button_set_date):
5465 Free strings returned by hildon_touch_selector_get_current_text()
5467 * src/hildon-button.c (hildon_button_construct_child):
5468 Fix leaks in priv->image and priv->label_box
5470 Fixes: NB#90535 (Memory leak in picker button)
5472 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5474 * src/hildon-button.c: (hildon_button_get_property): Do not access
5475 private elements directly, use getters instead.
5477 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5479 * src/hildon-app-menu-private.h
5480 * src/hildon-app-menu.c
5481 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5482 Store the menu's parent window.
5484 * src/hildon-stackable-window.c
5485 (hildon_stackable_window_toggle_menu)
5486 (hildon_stackable_window_finalize):
5487 Set the menu's parent window when the menu is shown, unset it when
5490 * src/hildon-app-menu.c
5491 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5492 (hildon_app_menu_class_init):
5493 Send unhandled keyboard accelerators to the parent window.
5495 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5497 * src/hildon-stackable-window.c
5498 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5500 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5502 * configure.ac: post release version bump
5504 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5507 * configure.ac: Bump version
5508 * debian/changelog: Updates
5509 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5512 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5514 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5517 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5518 GtkMenu with Hildon style.
5520 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5522 * src/hildon-picker-button.c:
5523 (hildon_picker_button_set_done_button_text): Set the dialog's
5524 done button text here as well.
5526 Fixes: NB#90232 (Picker button does not set the label on done button
5527 for the second time)
5529 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5531 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5534 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5536 * src/hildon-app-menu.c (hildon_app_menu_insert)
5537 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5538 the HildonAppMenu to be activatable using keyboard accelerators
5539 when the menu is not being shown.
5541 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5543 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-stackable-window.c
5546 (hildon_stackable_window_show):
5547 Don't hide old windows automatically when new windows are shown:
5548 this is now a task for the window manager.
5549 (hildon_stackable_window_class_init)
5550 (hildon_stackable_window_hide):
5551 Remove windows from the stack everytime they're hidden.
5552 (hildon_stackable_window_realize):
5553 Don't change the _NET_WM_WINDOW_TYPE property. Use
5554 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5555 it as a stackable window.
5557 * src/hildon-program.c
5558 (hildon_program_pop_window_stack):
5559 Just hide the window to remove it from the stack.
5560 (hildon_program_go_to_root_window):
5561 Don't call gtk_widget_show(), this is now a task for the window
5564 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5566 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5568 * src/hildon-button.c
5569 (hildon_button_construct_child):
5570 Don't pack anything in the button until text or image are
5571 set. This allows adding a custom child after creating the button
5572 with hildon_button_new().
5573 (hildon_button_finalize, hildon_button_class_init)
5574 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5575 alignment and the label box even when they're not packed in the
5578 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5580 * src/hildon-touch-selector.h:
5581 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5582 currently the type definition was using GTK_TYPE_VBOX
5583 * src/hildon-touch-selector.c:
5584 Added some implementation notes in order to clarify that any other widget
5585 added without the column related API will not be included on the
5586 selection logic, and how the widget is freed, as some people ask about
5588 (hildon_touch_selector_remove): Reimplemented in order to free properly
5589 the column related data when you remove the private hbox.
5590 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5591 to get a proper HildonTouchSelectorColumn documentation
5593 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5595 * src/hildon-touch-selector-entry.c:
5596 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5597 text in the GtkEntry and there is no item selected. Fixes a
5600 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5602 * src/hildon-app-menu-private.h
5603 * src/hildon-app-menu.[ch]
5604 * src/hildon-button.[ch]
5605 * src/hildon-check-button.[ch]
5606 * src/hildon-entry.[ch]
5607 * src/hildon-pannable-area.[ch]
5608 * src/hildon-text-view.[ch]:
5609 Added private field to the object's structure.
5611 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5613 * configure.ac: post-release version bump
5615 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5619 * configure.ac: pre-release version bump
5621 * debian/changelog: updates.
5623 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5625 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5626 Disconnect the handler for HildonTouchSelector::changed.
5628 (hildon_picker_button_selector_selection_changed): Update the button
5629 value if the selection change was not triggered by the
5632 (hildon_picker_button_set_selector): connect to
5633 HildonTouchSelector::changed.
5635 Fixes: NB#89650 (Picker button is not updated, when selection in
5636 selector has changed)
5638 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5640 * src/hildon-picker-dialog.c
5641 (hildon_picker_dialog_realize): Removed as not required
5642 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5643 * src/hildon-picker-button.c
5644 (_current_selector_empty): New function, checks if the selector is empty
5645 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5646 if the current selector is empty, in order to avoid to show the dialog
5647 close the dialog in this case (and shows a g_warning).
5649 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5651 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5653 * src/hildon-pannable-area.c,
5654 (hildon_pannable_area_scroll): Added clause to stop movement when
5655 the child of pannable is smaller than one page.
5656 (hildon_pannable_area_scroll_to): Added conditions to avoid
5657 starting the scrolling movement if the child is smaller than one
5658 page, the complete child is in the screen, we do not have to move.
5660 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5662 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5664 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5665 this is managed automatically by the widget when the size of the
5668 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5670 * src/hildon-picker-button.c
5671 (hildon_picker_button_set_done_button_text): Make a copy of the
5672 text, and free the previous value.
5674 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5676 * src/hildon-touch-selector-entry.c:
5677 (hildon_touch_selector_entry_print_func): Return the selected row's
5678 text if the entry is empty.
5680 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5683 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5685 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5687 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5690 * src/hildon-check-button.h
5691 * src/hildon-check-button.c
5692 * examples/hildon-check-button-example.c:
5693 HildonCheckButton is now a new widget. 'toggled' signal added.
5695 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5697 * src/hildon-program-private.h
5698 * src/hildon-program.c (hildon_program_init)
5699 (hildon_program_finalize): Removed unused variables group_leader
5700 and name from HildonProgramPrivate.
5702 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5704 * src/hildon-check-button.c (hildon_check_button_set_active)
5705 (hildon_check_button_get_active, hildon_check_button_new): Use
5706 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5708 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5710 * src/hildon-touch-selector.h
5711 (hildon_touch_selector_set_column_attributes): added deprecation
5712 guard HILDON_DISABLE_DEPRECATED
5713 * src/hildon-time-selector.c
5714 (hildon_time_selector_set_time)
5715 (hildon_time_selector_get_time): Fixed a typo on documentation
5716 * src/hildon-touch-selector.c: update HildonTouchSelector and
5717 HildonTouchSelectorColumn documentation
5718 * src/hildon-touch-selector-entry.c: update "text-column" property
5720 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5721 to be added to the general documentation.
5723 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5725 * examples/hildon-pannable-area-example-4.c,
5727 * examples/hildon-pannable-area-example.c,
5728 (main): Modified the code in order to use the container add, with
5729 viewport treeviews could have problems if they are really big.
5731 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5733 * src/hildon-weekday-picker.c,
5734 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5735 the agreement regarding deprecation in the library.
5737 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5739 * examples/hildon-picker-button-multicolumn-example.c:
5740 (main): Use custom "done" button text.
5742 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5743 (hildon_picker_button_set_property),
5744 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5745 (hildon_picker_button_init),
5746 (+hildon_picker_button_get_done_button_text),
5747 (+hildon_picker_button_set_done_button_text): New methods to customize
5748 the "done" button label in the launched HildonPickerDialog. Also,
5751 * src/hildon-picker-button.h: add the public API.
5753 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5755 * src/hildon-date-selector.h:
5756 * src/hildon-picker-dialog.h:
5757 * src/hildon-time-selector.h:
5758 * src/hildon-touch-selector-column.h:
5759 * src/hildon-touch-selector.h:
5761 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5762 declarations. Fixes gtk-doc warnings.
5764 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5766 * src/hildon-picker-dialog.h
5767 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5768 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5770 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5771 long text is set as label for done button)
5773 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5775 * src/hildon-dialog.c (hildon_dialog_add_button):
5776 Set fixed width to all buttons in the HildonDialog.
5778 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5780 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5782 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5783 Set widget name using class name plus "-finger" or "-thumb".
5785 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5788 'clicked' when the state of the button is manually changed.
5790 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5792 * src/hildon-app-menu.c (hildon_app_menu_realize)
5793 (hildon_app_menu_unrealize, hildon_app_menu_init)
5794 (hildon_app_menu_class_init, item_visibility_changed):
5795 Change the menu layout when the size of the screen changes.
5796 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5797 Show warning only when changing the number of colums using the
5800 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5802 * debian/compat: Set to 5
5803 * debian/control: Update dependencies.
5804 * debian/libhildon1-dbg.install: Remove.
5805 * debian/libhildon1-dev.install: Update according to cdbs paths.
5806 * debian/libhildon1.install: Update according to cdbs paths.
5807 * debian/rules: Switch to cdbs.
5809 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5811 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5812 'item' variable renamed to 'filter'
5814 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5816 * src/hildon-app-menu.c (hildon_app_menu_insert)
5817 (hildon_app_menu_add_filter, remove_item_from_list)
5818 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5819 Don't leak hidden items when the menu is destroyed.
5821 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-app-menu.c (hildon_app_menu_insert)
5824 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5825 (hildon_app_menu_set_columns, item_visibility_changed)
5826 (filter_visibility_changed, hildon_app_menu_repack_filters)
5827 (hildon_app_menu_repack_items):
5828 Repack items and filters separately.
5830 Don't repack all items, change only the ones that are needed to
5833 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5835 * src/Makefile.am: added hildon-touch-selector-column.h
5837 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5839 * src/hildon-touch-selector.c: added the property "text-column" to the
5840 class HildonTouchSelectorColumn, and related get/set functions
5841 (_default_printf_func): updated to use "text-column" property
5842 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5843 "text-column" in his documentation, as this is now included on
5844 HildonTouchSelectorColumn. The get/set_property can still be used,
5845 working as a wrapper to the concrete column "text-column" property
5846 (_text_column_modified): callback added in order to handle the signal
5847 "notify::text-column" of the concrete HildonTouchSelectorColumn
5848 (hildon_touch_selector_entry_get_text_column)
5849 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5850 modified in order to use the HildonTouchSelectorColumn "text-column"
5852 * src/hildon-time-selector.c:
5853 * src/hildon-date-selector.c:
5854 * examples/hildon-touch-selector-example.c
5855 * examples/hildon-touch-selector-multi-cells-example.c
5856 * examples/hildon-picker-button-multicolumn-example.c
5857 Set the right value to "text-column" property on the creation of a new
5858 column using hildon_touch_selector_append_column()
5860 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5862 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5864 * src/hildon-app-menu.c
5865 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5866 updating the layout of the menu, don't create all widgets again,
5867 just repack the items in their new places.
5869 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5871 * src/hildon-time-selector.c
5872 (hildon_time_selector_get_time)
5873 (hildon_time_selector_set_time)
5874 Added documentation of these public methods
5876 * src/hildon-date-button.h
5877 * src/hildon-touch-selector-column.h
5878 * src/hildon-time-button.h
5879 * src/hildon-picker-dialog.h
5880 * src/hildon-time-selector.h
5881 * src/hildon-picker-button.h
5882 * src/hildon-touch-selector.h
5883 * src/hildon-time-picker.h
5884 * src/hildon-date-selector.h
5885 * src/hildon-touch-selector-entry.h
5886 Modified in order to use hildon-widgets code style
5888 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5890 Added deprecated support to the compilation process using
5891 HILDON_DISABLE_DEPRECATED
5893 * configure.ac: Added the --disable-deprecated to the configure
5896 * src/hildon-weekday-picker.c:
5897 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5898 to use the deprecated support. We will update the other deprecated
5899 widgets status in a new patch.
5901 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5903 * configure.ac: Fixed typo with fatal warnings support, the
5904 variable name was not correct
5906 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5908 * src/hildon-app-menu.c
5909 * src/hildon-program.c: Update documentation.
5911 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5913 * configure.ac: Post-release version bump.
5915 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5920 * configure.ac: Pre-release version bump.
5921 * debian/changelog: Updates.
5923 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5925 * NEWS: Update news for previous releases.
5927 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5929 * examples/hildon-touch-selector-multi-cells-example.c:
5930 (create_selector): Update the example to use
5931 hildon_touch_selector_append_column() with a NULL renderer and set
5932 the renderers later.
5933 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5934 passed a NULL renderer. This is documented behavior now.
5936 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5937 This must be used if the developer wants full control on the layout of
5938 the renderers to be added to the column.
5940 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5942 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5944 * src/hildon-touch-selector.c: Documentation fixes.
5946 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5948 * src/hildon-wizard-dialog-private.h: Remove image and box.
5949 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5950 (hildon_wizard_dialog_set_property), (response): Completely remove
5951 image/icon support, and the containers required for the layout.
5953 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5955 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5957 * src/hildon-app-menu.c: Updated documentation.
5959 * src/hildon-stackable-window.c
5960 (hildon_stackable_window_set_main_menu): Unref the old menu after
5961 ref'ing the new one.
5963 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5965 * src/hildon-stackable-window.c
5966 (hildon_stackable_window_set_main_menu): Unref the previous menu
5967 instead of destroying it.
5969 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5970 floating reference and set has_user_ref_count to FALSE to make
5971 HildonAppMenu act like a normal ref-counted widget and not a
5974 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5977 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5979 * src/hildon-touch-selector-column.h: new file
5980 * src/hildon-touch-selector.h
5981 * src/hildon-touch-selector.c
5982 Implemented GtkCellLayout interface, in order to allow to configure
5983 the cell layout on each individual selector column
5984 (hildon_touch_selector_set_column_attributes): marked as deprecated
5985 * examples/hildon-touch-selector-multi-cells-example.c
5986 Example of how to use the GtkCellLayout interface on the selector
5988 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5990 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5992 * src/hildon-app-menu.h
5993 * src/hildon-app-menu.c
5994 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5995 (hildon_app_menu_append, hildon_app_menu_prepend):
5996 New methods to prepend, insert and move items in the menu.
5998 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6000 * src/hildon-wizard-dialog.c:
6002 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6004 (create_title): Update logical IDs and related code.
6005 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6007 * src/hildon-wizard-dialog.h: Note that
6008 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6009 point, as it is not used anymore.
6011 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6013 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6015 * src/hildon-note.c:
6016 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6017 shown. Do not display an icon in confirmation notes nor information
6019 (hildon_note_set_button_text): Update logical ID for cancel button.
6021 Fixes: NB#88850 (Update HildonNote button strings + signals)
6023 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6025 * src/hildon-stackable-window.c
6026 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6028 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6030 * src/hildon-app-menu-private.h
6031 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6032 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6033 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6034 temporary property 'columns' to change the number of columns.
6036 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6038 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6040 * examples/hildon-note-example.c: (on_information_clicked),
6041 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6042 debugging information.
6043 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6045 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6046 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6047 in order to close: this will be handled by the WM from now on.
6049 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6051 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6053 * src/hildon-app-menu-private.h
6054 * src/hildon-app-menu.c
6055 (hildon_app_menu_append, hildon_app_menu_add_filter)
6056 (button_visibility_changed, hildon_app_menu_apply_style)
6057 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6058 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6059 layout everytime a button (item or filter) is shown or hidden.
6061 * src/hildon-stackable-window.c
6062 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6065 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6067 * src/hildon-touch-selector.c:
6068 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6069 that the treeview inside the touch selector is in fremantle hildon mode
6070 * examples/hildon-date-button-example.c
6071 * examples/hildon-picker-button-multicolumn-example.c
6072 * examples/hildon-touch-selector-entry-example.c
6073 * examples/hildon-touch-selector-example.c
6074 * examples/hildon-time-button-example.c
6075 * examples/hildon-picker-button-example.c:
6076 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6078 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6080 * examples/hildon-text-view-example.c: (main): Remove the
6081 gtkrc bits, now handled by the theme.
6083 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6085 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6088 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6090 * po/Makefile.am: Install properly the mo files.
6091 * po/en_GB.po: Update translation, to ease testing purposes.
6093 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6095 * examples/hildon-picker-button-example.c: (main): Select an item
6096 in the selector before setting it to the button.
6098 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6100 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6101 Update button's value if the selector has an item active.
6103 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6104 'value' with the selector)
6106 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6108 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6109 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6110 (hildon_picker_button_class_init): Plug the finalize method.
6111 (hildon_picker_button_set_selector): If there's a previously set
6112 selector, unref'it before setting a new one.
6114 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6115 HildonTouchSelector)
6117 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6119 * src/hildon-touch-selector-entry.c:
6120 (hildon_touch_selector_entry_changed): Check if there is no text
6121 selected before setting the entry text.
6124 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6126 * src/hildon-touch-selector.h
6127 * src/hildon-touch-selector.c
6128 (hildon_touch_selector_get_active)
6129 (hildon_touch_selector_set_active): New methods to set/get the
6130 index of the selected item.
6132 * src/hildon-picker-button.h
6133 * src/hildon-picker-button.c
6134 (hildon_picker_button_get_active)
6135 (hildon_picker_button_set_active): New methods to set/get the
6136 index of the selected item.
6138 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6140 * configure.ac: post-release version bump.
6142 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6146 * configure.ac: Pre-release version bump.
6147 * debian/changelog: Updates.
6148 * debian/control: Add myself as maintainer and depend on l10n
6151 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6153 * src/hildon-window.c
6154 (hildon_window_set_main_menu)
6155 * src/hildon-stackable-window.c
6156 (hildon_stackable_window_set_main_menu):
6157 Updated documentation.
6159 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6161 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6162 Don't free selector->priv manually.
6165 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6168 (hildon_gtk_window_set_progress_indicator):
6169 * src/hildon-gtk.h: Added the new API
6170 hildon_gtk_window_set_progress_indicator, it changes the state of
6171 the window progress hint.
6173 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-button.c
6176 * src/hildon-stackable-window.c: Minor documentation updates.
6178 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6180 * src/hildon-stackable-window.c: Updated documentation.
6182 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6184 * src/hildon-defines.h: Update margins definitions
6185 to the Fremantle sizes.
6188 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6190 * src/hildon-touch-selector.c,
6191 (_hildon_touch_selector_set_model): Cleaning the code after
6192 review, removed g_print and #if 0 from the code.
6194 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6196 * src/hildon-edit-toolbar.c: Update documentation.
6198 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6200 * src/hildon-check-button.h
6201 * src/hildon-check-button.c
6202 (hildon_check_button_set_label, hildon_check_button_get_label)
6203 * examples/hildon-check-button-example.c
6204 (button_clicked_cb):
6205 Removed deprecated methods.
6207 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6209 * src/hildon-text-view.c:
6210 Add sample code to the documentation.
6212 * src/hildon-entry.h
6213 * src/hildon-text-view.h:
6214 Minor cosmetic changes.
6216 * src/hildon-entry.c:
6217 Add sample code to the documentation.
6218 (hildon_entry_init, hildon_entry_refresh_contents):
6219 Don't allow NULL values in the placeholder.
6221 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6223 * doc/hildon-docs.sgml
6225 * examples/Makefile.am
6226 * examples/hildon-text-view-example.c
6228 * src/hildon-text-view.c
6229 * src/hildon-text-view.h
6231 New HildonTextView widget, with example.
6233 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6235 * po/POTFILES.in: Add missing files with translatable strings.
6236 Partially fixes NB#88287.
6238 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6240 * examples/hildon-pannable-area-example-2.c: (main): No need to
6241 set the cellrenderer height inside hildon touch lists, the theme does
6244 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6246 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6247 they are integrated in the theme.
6249 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6251 * examples/hildon-entry-example.c: Update the example adding
6252 widgets to modify the text and the placeholder of the HildonEntry.
6254 * src/hildon-entry.c: Show the placeholder everytime the widget
6255 is empty and loses the focus.
6257 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6259 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6261 * src/hildon-pannable-area.c,
6262 (hildon_pannable_area_size_request): Fixed bug in height
6263 requisition, avoid increasing size and add border twice.
6265 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6267 * configure.ac: postrelease version bump.
6269 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6273 * configure.ac: Prerelease version bump.
6274 * debian/changelog: update.
6275 * debian/rules: make -dbg package contain useful debugging symbols.
6277 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6279 * src/hildon-dialog.h
6280 * src/hildon-dialog.c
6281 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6282 New methods to add buttons with finger size.
6283 (hildon_dialog_new_with_buttons):
6284 Create buttons with finger size.
6286 * examples/hildon-dialog-example.c (main): Use HildonDialog
6287 methods to add buttons.
6289 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6291 * src/hildon-entry.c: Updated HildonButton documentation.
6293 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6295 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6296 button value label with (FALSE, FALSE) to prevent NB#88126 from
6299 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6301 * examples/hildon-pannable-area-example.c,
6302 (main): Removed examples panning a vbox inside a pannable
6303 area. Check bug NB#87965
6305 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6307 Patch contributed by Kris Rietveld (kris@imendio.com)
6309 * src/hildon-pannable-area.c,
6310 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6311 get_size and get_position, this saves an X server roundtrip.
6313 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6315 * doc/hildon-docs.sgml
6317 * examples/Makefile.am
6318 * examples/hildon-entry-example.c
6320 * src/hildon-entry.c
6321 * src/hildon-entry.h
6323 New HildonEntry widget, with example.
6325 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6327 * src/hildon-button.c (hildon_button_construct_child): Pack the
6328 image with expand == fill == FALSE. This is a workaround for a bug
6331 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6333 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6334 labels for the text column, to make it more look more dynamic.
6336 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6338 * src/hildon-time-selector.c
6339 Define gettext auxiliar macro N_
6340 (_create_minutes_model)
6341 (_create_hours_model)
6342 (_create_ampm_model): use of strftime in order to fill the model
6343 * src/hildon-date-selector.c
6344 (hildon_date_selector_finalize):
6345 (_locales_init): remove the logic related to get the name of the months
6346 using nl_langinfo, as it is not required anymore
6348 (_create_year_model)
6349 (_create_month_model)
6350 (_update_day_model): use of strftime in order to fill the model properly
6353 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6355 * src/hildon-button.h
6356 * src/hildon-button.c (hildon_button_get_image): New method to
6359 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6361 * src/hildon-touch-selector.c:
6362 (hildon_touch_selector_remove_column): Remove from the correct parent
6363 and also remove the list element and free it.
6366 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6368 * src/hildon-time-selector.c
6369 (_create_hours_model): change the range on 12h ampm format in order to use
6370 a 12-11 range instead of previous 01-12 range
6371 (hildon_time_selector_set_time): change the way to select the current time
6372 on 12h ampm format, due the change on the range
6373 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6376 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6378 * src/hildon-touch-selector.c
6379 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6380 in order to allow use this function on multiple row selection mode if
6381 the column is different that the first one
6384 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6386 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6387 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6389 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6391 * src/hildon-date-selector.h: clean some comments, now on the .c
6392 * src/hildon-date-selector.c
6393 (hildon_date_selector_select_month): first implementation
6394 (hildon_date_selector_select_day): added documentation, reimplemented
6395 using hildon_date_selector_select_current_date to avoid repeat code
6398 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6400 Reviewed interaction logic based on device experiences, refactored
6403 * src/hildon-pannable-area.c,
6404 (hildon_pannable_area_class_init): Updated default vmax speed.
6405 (hildon_pannable_area_calculate_velocity): Added this function, it
6406 avoids duplicate valocity calculation. Adjusted calculation to
6407 avoid problems with zero dist events.
6409 (hildon_pannable_area_motion_notify_cb): Now we use the
6410 calculate_velocity function.
6412 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6414 * src/hildon-date-selector.c
6415 (hildon_date_selector_select_current_date): fix the day range check
6416 as it failed using the last day of the current month
6419 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6421 * src/hildon-touch-selector.c
6422 (hildon_touch_selector_get_num_columns): added a parameter validation
6425 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6427 * examples/Makefile.am
6428 * examples/hildon-edit-toolbar-example.c: Example of the
6429 HildonEditToolbar widget.
6431 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6433 * configure.ac: postrelease version bump.
6435 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6439 * configure.ac: prerelease version bump.
6440 * debian/changelog: update.
6442 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6444 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6445 renderer to display stock icons in the touch list. Also, set the sizes
6446 to the recommended in the style guide.
6448 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6449 * src/hildon-touch-selector.h
6450 (hildon_touch_selector_set_active_iter): renamed, now is
6451 hildon_touch_selector_select_iter
6452 (hildon_touch_selector_get_active_iter): renamed, now is
6453 hildon_touch_selector_get_selected
6454 (hildon_touch_selector_unselect_iter): added
6455 * src/hildon-touch-selector.c
6456 Update after API modification (methods renamed)
6457 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6458 order to avoid problems selecting multiple elements on the column
6459 (hildon_touch_selector_unselect_iter): added the implementation
6460 * src/hildon-time-selector.c
6461 * src/hildon-date-selector.c
6462 * src/hildon-touch-selector-entry.c
6463 Update methods calls after hildon-touch-selector.h API modification (methods
6466 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6468 * src/hildon-stackable-window.c
6469 (hildon_stackable_window_finalize): Call the parent class's finalize.
6471 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6473 * examples/hildon-touch-selector-example.c: (create_selector): Use
6474 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6477 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6479 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6480 set a cell background color, to respect theming.
6482 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6484 * doc/hildon-docs.sgml
6487 * src/hildon-edit-toolbar.c
6488 * src/hildon-edit-toolbar.h
6489 * src/hildon.h: New HildonEditToolbar widget.
6491 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6493 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6496 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6497 * src/hildon-touch-selector.c
6498 (_create_new_column): use g_object_set instead of two g_object_set_property
6500 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6501 * src/hildon-touch-selector.c
6502 (_create_new_column): use of hildon_gtk_tree_view_new to create
6503 the treeview, instead of use directly g_object_new
6504 (_create_new_column): update the property name "vindicator-mode" for the
6505 new one "vscrollbar-policy"
6506 * examples/hildon-date-button-example.c
6507 * examples/hildon-picker-button-multicolumn-example.c
6508 * examples/hildon-touch-selector-entry-example.c
6509 * examples/hildon-touch-selector-example.c
6510 * examples/hildon-time-button-example.c
6511 * examples/hildon-picker-button-example.c
6512 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6513 to all the treeviews inside a pannable area.
6515 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6517 * src/hildon-button.h
6518 * src/hildon-button.c (hildon_button_init)
6519 (hildon_button_set_arrangement, hildon_button_set_alignment)
6520 (hildon_button_set_title_alignment)
6521 (hildon_button_set_value_alignment)
6522 (hildon_button_set_image_alignment)
6523 (hildon_button_construct_child): New methods to set the alignment
6524 of the individual components of the button (title, value,
6525 image). Also, new method to alter the xscale and yscale properties
6526 of the GtkAlignment inside the button, so more complex layouts can
6529 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6531 * src/hildon-button.c (hildon_button_style_set)
6532 (hildon_button_class_init, hildon_button_set_arrangement)
6533 (hildon_button_construct_child): Apply style properties
6534 correctly. Use the 'image-spacing' style property too.
6536 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6538 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6539 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6542 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6544 * src/hildon-pannable-area.c,
6545 (hildon_pannable_area_size_request): Fixed problem with
6546 pannable-area size_request.
6548 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6550 Added management for the grab-focus to a child widget, like a
6551 range, we need to fade out the scrollbar when releasing.
6553 * src/hildon-pannable-area.c,
6554 (hildon_pannable_area_init): Connected the grab-focus signal to
6556 (hildon_pannable_area_grab_notify): Added this function in order
6557 to manage the situation when the grab-focus ends. We have to
6558 fade-out the scrollbar.
6560 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6562 * src/hildon-app-menu.c: Minor documentation update.
6564 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6566 * src/hildon-app-menu.c
6567 * examples/hildon-app-menu-example.c (create_menu): Update
6568 examples and documentation to explain how to connect callbacks.
6570 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6572 * examples/hildon-button-example.c
6573 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6574 hildon_stackable_window_new instead of gtk_window_new
6576 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6578 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6579 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6580 (hildon_pannable_area_set_property),
6581 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6582 (hildon_pannable_area_unrealize),
6583 (hildon_pannable_area_size_request),
6584 (hildon_pannable_area_size_allocate),
6585 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6586 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6587 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6588 (hildon_pannable_area_initial_effect),
6589 (hildon_pannable_area_redraw),
6590 (hildon_pannable_area_scroll_indicator_fade),
6591 (hildon_pannable_area_expose_event),
6592 (hildon_pannable_area_get_topmost), (synth_crossing),
6593 (hildon_pannable_area_button_press_cb),
6594 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6595 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6596 (hildon_pannable_area_motion_notify_cb),
6597 (hildon_pannable_area_button_release_cb),
6598 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6599 (hildon_pannable_area_remove),
6600 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6601 chage the code layout to a more GtkWidget like. Review the use of
6604 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6606 * examples/hildon-pannable-area-example-4.c,
6607 (main): Modified the name of the hindicator_mode to
6610 * src/hildon-pannable-area.c,
6611 (hildon_pannable_area_class_init),
6612 (hildon_pannable_area_motion_notify_cb),
6613 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6614 we have reduced the amount of signals and managed reviewed its
6615 rationale. Changed the default decelerate value.
6617 (hildon_pannable_area_add),
6618 (hildon_pannable_area_redraw): Refactored functions.
6620 (hildon_pannable_area_init),
6621 (hildon_pannable_area_get_property),
6622 (hildon_pannable_area_set_property):
6623 (hildon_pannable_draw_vscroll),
6624 (hildon_pannable_draw_hscroll),
6625 (hildon_pannable_area_initial_effect),
6626 (hildon_pannable_area_expose_event),
6627 (hildon_pannable_area_scroll),
6628 (hildon_pannable_area_button_press_cb),
6629 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6630 and vindicator_mode with hscrollbar_policy and
6631 vscrollbar_policy. Replaced hscroll and vscroll with
6632 hscroll_visible and vscroll_visible.
6634 (hildon_pannable_area_refresh): Refactor the function, remove
6635 variables and check the calls to this function, added resize
6636 conditions in case the children change their layout.
6638 (hildon_pannable_area_size_request): Added more detailed
6639 size_request calculation.
6642 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6644 * src/hildon-color-chooser.c
6645 (init_borders): use the correct gtk_border_free instead of g_free, to
6646 avoid a crash when this widget is used (ie: the three color selection
6649 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6651 * src/hildon-check-button.c,
6652 (hildon_check_button_set_active): Fixed problem when setting the
6653 active value, the widget was not redrawn.
6655 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6657 * src/hildon-pannable-area.c,
6658 (hildon_pannable_area_refresh),
6659 (hildon_pannable_area_scroll),
6660 (hildon_pannable_area_motion_notify_cb): Small code style change.
6662 (hildon_pannable_area_class_init): Default initial_hint set to
6663 FALSE, it is not in the specs.
6665 (hildon_pannable_area_initial_effect),
6666 (hildon_pannable_area_expose_event),
6667 (hildon_pannable_area_map),
6668 (hildon_pannable_area_init): Moved the launching point of the
6669 initial effect, it was in map but the sizes where not correct in
6670 that method so we do not know if we have the reproduce it. Now it
6671 is placed in the expose_event method and uses a variable to
6672 reproduce it just once.
6674 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6676 * src/hildon-pannable-area.c,
6677 (hildon_pannable_draw_vscroll),
6678 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6679 position allowed for the scrollbars.
6681 (hildon_pannable_area_size_allocate): Small style change.
6683 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6685 * src/hildon-pannable-area.c,
6686 (hildon_pannable_area_scroll_indicator_fade),
6687 (hildon_pannable_area_button_press_cb),
6688 (hildon_pannable_area_button_release_cb),
6689 (hildon_pannable_area_scroll_cb),
6690 (hildon_pannable_area_expose_event),
6691 (hildon_pannable_area_init): Added the define parameter
6692 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6693 and refactor the fade variable.
6695 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6697 * src/hildon-pannable-area.c,
6698 (hildon_pannable_area_redraw),
6699 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6700 lines, we were reimplemeting the redraw code.
6702 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6704 * src/hildon-pannable-area.c,
6705 (hildon_pannable_area_scroll_cb),
6706 (hildon_pannable_area_realize),
6707 (hildon_pannable_area_class_init): Added scroll_event management
6708 for pannable area, now we can scroll the usual desktop method.
6710 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6711 initialization of the parameters should depend on idle_id.
6713 (hildon_pannable_area_init),
6714 (hildon_pannable_area_map): Small code style modifications
6716 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6718 * src/hildon-pannable-area.c
6719 (hildon_pannable_area_button_press_cb),
6720 (hildon_pannable_area_motion_notify_cb),
6721 (hildon_pannable_area_button_release_cb),
6722 (hildon_pannable_area_size_allocate),
6723 (hildon_pannable_area_scroll_to): Improved the timeouts
6724 management, we avoid creating them each time.
6726 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6728 * src/hildon-pannable-area.c:
6729 (hildon_pannable_area_refresh),
6730 (hildon_pannable_area_motion_notify_cb),
6731 (hildon_pannable_area_class_init):
6732 * src/hildon-pannable-area.h:
6733 * src/hildon-touch-selector.c
6734 (_create_new_column):
6735 * examples/hildon-pannable-area-example-4.c:
6736 (horizontal_movement),
6737 (vertical_movement),
6739 Replaced the names of enums in the HildonPannableArea:
6740 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6741 HILDON_MOVEMENT_MODE_*
6742 - HILDON_PANNABLE_AREA_MOV_* ->
6744 - Removed HildonPannableAreaIndicatorMode, now we
6747 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6749 * examples/hildon-pannable-area-touch-grid-example.c
6750 * examples/hildon-pannable-area-touch-list-example.c: Fix
6751 compilation warnings.
6753 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6755 * src/hildon-gtk.c (hildon_gtk_button_new)
6756 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6757 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6758 images overriding the value of the "gtk-button-images" setting.
6760 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6762 * src/hildon-check-button.c (hildon_check_button_new):
6763 Instead of using a custom container, display the label and the
6764 checkbox using the standard GtkButton API.
6766 * examples/hildon-check-button-example.c (main): Don't use
6767 hildon_check_button_set_label() anymore
6769 * src/hildon-check-button.h
6770 * src/hildon-check-button.c
6771 (hildon_check_button_set_label, hildon_check_button_get_label):
6772 Set as deprecated, now we're using gtk_button_{get,set}_label()
6774 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6776 * src/hildon-pannable-area.c,
6777 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6778 GtkTreeview first line we detected it after the inclusion of the
6779 GtkWindowImpl in gtk+. We now check if the window is visible, not
6780 just if the pointer is over the window.
6781 (hildon_pannable_axis_scroll),
6782 (hildon_pannable_area_expose_event): Small style changes.
6784 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6786 * src/hildon-button.c: Update documentation.
6788 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6790 * examples/hildon-button-example.c: Add a switch to show images in
6793 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6795 * doc/hildon-docs.sgml: Some docs reorganization.
6797 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6799 * examples/hildon-pannable-area-touch-list-example.c
6801 * examples/hildon-pannable-area-touch-grid-example.c
6802 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6803 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6804 Fix memory leak when setting the tree model.
6806 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6810 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6812 * doc/hildon.types: Remove duplicated hildon_window_get_type
6813 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6814 documentation comment.
6816 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6818 * doc/Makefile.am: Complete list of private headers.
6820 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6822 * doc/hildon-docs.sgml
6823 * src/hildon-app-menu.c
6824 * src/hildon-bread-crumb.c
6825 * src/hildon-button.c
6827 * src/hildon-program.c
6828 * src/hildon-stackable-window.c
6829 * src/hildon-window.c: Lots of documentation updates.
6831 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6833 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6835 * configure.ac: Require Gtk+ 2.12.9 at least
6837 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6839 * src/hildon-pannable-area.c
6840 (hildon_pannable_area_scroll_indicator_fade),
6841 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6842 to protect the return of this timeout callbacks, avoiding deadlocks.
6844 2008-08-12 Christian Dywan <christian@imendio.com>
6847 * src/hildon-*.h: Ensure a consistent include order,
6848 include <gtk/gtk.h> instead of particular files and
6849 only include the topmost header in the gtk stack. See NB #39857
6851 2008-08-12 Christian Dywan <christian@imendio.com>
6853 * src/hildon-picker-dialog.c
6854 * src/hildon-touch-selector.c: Fix warnings about unused and
6855 uninitialized variables.
6857 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6859 * examples/Makefile.am
6860 * examples/hildon-check-button-example.c: Example of the hildon
6863 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6865 * src/hildon-window.h
6866 * src/hildon-window.c (hildon_window_class_init)
6867 (hildon_window_unset_program): Don't make
6868 hildon_window_unset_program a virtual function anymore.
6870 * src/hildon-stackable-window.c: Update documentation
6872 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6875 * doc/hildon-docs.sgml
6876 * doc/visual_index.xml
6877 * src/hildon-defines.c
6879 * src/hildon-helper.c
6880 * src/hildon-range-editor.c: Lots of documentation fixes.
6882 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6884 * examples/hildon-picker-button-multicolumn-example.c
6885 (create_touch_selector): Fix compilation warning.
6887 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6889 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6890 (hildon_pannable_area_button_release_cb)
6891 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6893 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6895 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6898 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6900 * src/hildon-bread-crumb-trail.h
6901 * src/hildon-date-editor.c
6902 * src/hildon-date-selector.c
6903 * src/hildon-pannable-area.c
6904 * src/hildon-picker-dialog.c
6905 * src/hildon-time-selector.c
6906 * src/hildon-touch-selector-entry.c
6907 * src/hildon-touch-selector.c
6908 * src/hildon-touch-selector.h: Misc documentation fixes
6910 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6912 * examples/hildon-date-editor-example.c (main): Updated date
6915 * examples/hildon-note-example.c (on_confirmation_clicked):
6916 Updated confirmation note example.
6918 * src/hildon-date-editor.c
6919 * src/hildon-note.c: Updated sample programs in documentation.
6922 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6924 * src/hildon-date-button.h:
6925 * src/hildon-picker-button.h:
6926 * src/hildon-time-button.c:
6927 * src/hildon-time-button.h:
6929 Some declarations changes to allow gtk-doc to document the widgets
6932 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6934 * src/hildon-date-button.c: Document the widget.
6935 * src/hildon-time-button.c: Document the widget.
6937 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6939 * src/hildon-picker-button.c: Document the widget.
6940 * src/hildon-touch-selector-entry.c: Document the widget.
6942 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6944 * doc/hildon-docs.sgml
6947 * src/hildon-check-button.h
6948 * src/hildon-check-button.c: New functions to create the Hildon
6952 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6954 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6956 * src/hildon-button.h
6957 * src/hildon-button.c
6958 (hildon_button_add_title_size_group)
6959 (hildon_button_add_value_size_group)
6960 (hildon_button_add_image_size_group)
6961 (hildon_button_add_size_groups): New functions to set size groups
6962 for the button labels and image.
6963 (hildon_button_new_full): Removed
6965 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6967 * src/hildon-time-selector.c
6968 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6969 in order to avoid a crash if gconf is not available
6971 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6973 * src/hildon-button.c (hildon_button_set_arrangement)
6974 (hildon_button_construct_child): Don't construct the button child
6975 before setting the arrangement.
6977 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6979 * src/hildon-program-private.h
6980 * src/hildon-program.c
6981 * src/hildon-program.h
6982 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6983 (hildon_program_peek_window_stack)
6984 (hildon_program_pop_window_stack)
6985 (hildon_program_go_to_root_window): HildonProgram now has a
6986 separate list for stackable windows. Functions are provided to
6987 manage that list with a stack-like API.
6989 * src/hildon-stackable-window.c: Stackable window management is
6990 now much simpler with the new HildonProgram API. Windows no
6991 longer need to be manually added to the program, they're
6992 automatically pushed to the top of the stack when shown.
6994 * examples/hildon-stackable-window-example.c: Updated example to
6995 reflect the API changes.
6997 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6999 * src/hildon-touch-selector.c: Comment out unimplemented
7000 hildon_touch_selector_insert_column() to avoid a compile warning.
7002 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7004 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7005 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7006 (hildon_touch_selector_set_column_selection_mode),
7007 (_hildon_touch_selector_set_model),
7008 (hildon_touch_selector_set_model):
7010 Complete review of HildonTouchSelector documentation.
7012 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7014 * doc/hildon-docs.sgml
7018 * src/hildon-gtk.c: Convenience functions for standard Gtk
7019 widgets, used to easily perform frequent operations.
7021 * src/hildon-button-helpers.h
7022 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7024 * src/hildon-helper.h
7025 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7026 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7028 * src/hildon-button.h
7029 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7031 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7033 * src/hildon-button.c (hildon_button_init)
7034 (hildon_button_set_arrangement, hildon_button_construct_child):
7035 Pack the image and the labels inside the same GtkAlignment so
7036 gtk_button_set_alignment() can be used
7038 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7040 * src/hildon-button.h
7041 * src/hildon-button.c
7042 (hildon_button_init, hildon_button_set_image)
7043 (hildon_button_set_image_position)
7044 (hildon_button_construct_child): New functions to add an image to
7047 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7049 * src/hildon-date-button.c
7050 * src/hildon-picker-button.c
7051 * src/hildon-time-button.c
7052 * src/hildon-button.c:
7053 (hildon_button_class_init): "size-flags" renamed to "size"
7054 (hildon_button_set_title): Hide the title label if set to NULL.
7056 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7058 HildonButtonFlags split into HildonButtonArrangement (to set the
7059 button layout) and HildonSizeType (which can be used for any
7062 * src/hildon-button.h
7063 * src/hildon-button.c
7064 (hildon_button_class_init)
7065 (hildon_button_set_arrangement)
7066 (hildon_button_set_property): New "size-flags"
7067 property. "arrangement-flags" renamed to "arrangement".
7068 (hildon_button_new, hildon_button_new_with_text)
7069 (hildon_button_new_full): Constructors updated to reflect type changes.
7071 * src/hildon-helper.h
7072 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7073 to set the size of a widget.
7077 * src/hildon-button-helpers.c
7078 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7080 * src/hildon-date-button.c
7081 * src/hildon-date-button.h
7082 * src/hildon-picker-button.c
7083 * src/hildon-picker-button.h
7084 * src/hildon-time-button.c
7085 * src/hildon-time-button.h: Updated widgets to reflect
7086 HildonButton API changes.
7088 * examples/hildon-button-example.c
7089 * examples/hildon-date-button-example.c
7090 * examples/hildon-picker-button-example.c
7091 * examples/hildon-picker-button-multicolumn-example.c
7092 * examples/hildon-time-button-example.c
7093 * examples/hildon-touch-selector-entry-example.c
7094 * examples/hildon-touch-selector-example.c: Updated examples to
7095 reflect HildonButton API changes.
7097 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7099 * doc/hildon-docs.sgml:
7101 * examples/Makefile.am:
7102 * examples/hildon-touch-selector-entry-example.c:
7104 * src/hildon-touch-selector-entry.c:
7105 * src/hildon-touch-selector-entry.h:
7108 Moved HildonTouchSelectorEntry from sandbox. Added its
7109 documentation and examples.
7111 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7113 * src/hildon-touch-selector.h:
7114 * examples/hildon-picker-button-multicolumn-example.c:
7115 (hildon_touch_selector_append_text_column): Add a gboolean
7116 parameter to determine if text must be centered in the column.
7118 * src/hildon-date-selector.c: (hildon_date_selector_init):
7119 * src/hildon-time-selector.c: (hildon_time_selector_init):
7120 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7121 (create_touch_selector): Update widgets and example to reflect
7124 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7126 * src/hildon-touch-selector.c:
7127 (hildon_touch_selector_set_active_iter): Set also the cursor in
7130 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7132 * doc/hildon-docs.sgml
7135 * src/hildon-toggle-button.c
7136 * src/hildon-toggle-button.h
7137 * src/hildon.h: Removed HildonToggleButton widget, a derived
7138 class is not necessary for this.
7140 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7142 * src/hildon-pannable-area.c,
7143 (hildon_pannable_area_realize),
7144 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7147 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7149 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7150 "done" button the default widget for the dialog.
7152 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7154 * src/hildon-touch-selector.c:
7155 (hildon_touch_selector_class_init),
7156 (hildon_touch_selector_get_property),
7157 (_hildon_touch_selector_set_model),
7158 (_hildon_touch_selector_has_multiple_selection),
7159 (hildon_touch_selector_has_multiple_selection):
7160 Add a "has-multiple-selection" property with a virtual
7161 has_multiple_selection() method to allow derived classes to
7162 override the default value for it. See the method and property
7163 documentation for details.
7165 * src/hildon-touch-selector.h: Add the new API.
7167 * src/hildon-picker-dialog.c: (requires_done_button): Call
7168 hildon_touch_selector_has_multiple_selection() instead of
7169 determining the need for a button itself.
7171 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7173 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7174 (_hildon_touch_selector_set_model),
7175 (hildon_touch_selector_set_model): Move working code to
7176 _hildon_touch_selector_set_mode(). Call the class method instead.
7178 * src/hildon-touch-selector.h: Add (*set_model) to
7179 HildonTouchSelectorClass.
7181 Make hildon_touch_selector_set_model() a virtual method, so that
7182 derived classes can extend it and do fancy stuff with the model.
7184 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7186 * configure.ac: Set back the tarname in AC_INIT to hildon.
7188 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7192 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7193 instead of libesd (NB#86876). Volume handling is still an open issue.
7195 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7198 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7200 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7201 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7202 derived class to ease placement of an entry widget in
7203 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7204 end, where the selector columns are packed now.
7206 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7208 * src/hildon-picker-button.c: Removed the simple _text() API.
7209 * src/hildon-picker-button.h: Likewise.
7211 * src/hildon-touch-selector.h:
7212 * src/hildon-touch-selector.c:
7213 (hildon_touch_selector_new_text),
7214 (hildon_touch_selector_append_text),
7215 (hildon_touch_selector_prepend_text),
7216 (hildon_touch_selector_insert_text):
7218 Moved the simple _text() API from HildonPickerButton to
7219 HildonTouchPicker, to provide better escalability and not to tie
7220 that API to HildonPickerButton.
7222 * examples/hildon-picker-button-example.c: (main): Example updated.
7224 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7226 * src/hildon-button.c: Updated documentation.
7228 * examples/hildon-button-example.c: Add the posibility to create
7229 the buttons using horizontal layout for title and value.
7231 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7233 * src/hildon-app-menu-private.h
7234 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7235 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7236 GtkSizeGroup for the filters, use the 'homogeneous' property of
7239 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7241 * examples/hildon-button-example.c: Updated example.
7243 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7245 * doc/hildon-docs.sgml:
7248 Update documentation.
7250 * examples/Makefile.am: Update renamed examples.
7252 * examples/hildon-picker-button-multicolumn-example.c:
7253 (create_touch_selector), (main): Update after the rename.
7255 * examples/hildon-touch-picker-example.c: Removed.
7256 * examples/hildon-touch-selector-example.c: (value_changed),
7257 (create_selector), (get_visible_content), (main): Renamed from
7258 hildon-touch-picker-example.c
7260 * src/Makefile.am: Updated renamed files.
7262 * src/hildon-date-button.c: (hildon_date_button_init),
7263 (hildon_date_button_get_date), (hildon_date_button_set_date):
7264 * src/hildon-date-selector.c: (hildon_date_selector_init),
7265 (_custom_print_func), (_update_day_model),
7266 (_manage_selector_change_cb),
7267 (hildon_date_selector_select_current_date),
7268 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7269 * src/hildon-date-selector.h:
7270 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7271 (hildon_picker_button_set_property),
7272 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7273 (hildon_picker_button_init), (hildon_picker_button_new_text),
7274 (hildon_picker_button_append_text),
7275 (hildon_picker_button_prepend_text),
7276 (hildon_picker_button_insert_text),
7277 (hildon_picker_button_set_selector),
7278 (hildon_picker_button_get_selector):
7279 * src/hildon-picker-button.h:
7280 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7281 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7282 (_update_title_on_selector_changed_cb), (requires_done_button),
7283 (_hildon_picker_dialog_set_selector),
7284 (hildon_picker_dialog_set_selector),
7285 (hildon_picker_dialog_get_selector):
7286 * src/hildon-picker-dialog.h:
7287 * src/hildon-time-button.c: (hildon_time_button_init),
7288 (hildon_time_button_get_time), (hildon_time_button_set_time):
7289 * src/hildon-time-selector.c: (hildon_time_selector_init),
7290 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7291 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7292 * src/hildon-time-selector.h:
7295 Massive code updates after the rename.
7297 * src/hildon-touch-picker.c: Removed.
7298 * src/hildon-touch-picker.h: Removed.
7300 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7301 (hildon_touch_selector_init), (hildon_touch_selector_map),
7302 (hildon_touch_selector_remove), (_default_print_func),
7303 (_selection_changed_cb), (_create_new_column),
7304 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7305 (hildon_touch_selector_append_text_column),
7306 (hildon_touch_selector_remove_column),
7307 (hildon_touch_selector_set_column_attributes),
7308 (hildon_touch_selector_insert_column),
7309 (hildon_touch_selector_get_num_columns),
7310 (hildon_touch_selector_get_column_selection_mode),
7311 (hildon_touch_selector_set_column_selection_mode),
7312 (hildon_touch_selector_set_print_func),
7313 (hildon_touch_selector_get_print_func),
7314 (hildon_touch_selector_get_active_iter),
7315 (hildon_touch_selector_set_active_iter),
7316 (hildon_touch_selector_get_selected_rows),
7317 (hildon_touch_selector_get_model),
7318 (hildon_touch_selector_set_model),
7319 (hildon_touch_selector_get_current_text),
7320 (_hildon_touch_selector_center_on_selected_items):
7321 * src/hildon-touch-selector.h: Renamed from
7322 hildon-touch-picker.[ch]
7324 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7325 references, code examples, and related documentation.
7327 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7329 * doc/hildon-docs.sgml
7332 * src/hildon-toggle-button.c
7333 * src/hildon-toggle-button.h
7334 * src/hildon.h: New HildonToggleButton widget.
7336 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7338 * src/hildon-button.c: Add API documentation.
7339 (hildon_button_set_size_groups): Check input parameters
7341 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7343 * src/hildon-pannable-area.c
7344 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7345 effect after reaching the movement thredshold. This way we start
7346 using the distance after passing the thredshold.
7348 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7350 * src/hildon-button.c: (hildon_button_set_property): Use the
7351 appropriate g_value_get_flags() method.
7353 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7355 * doc/hildon-docs.sgml:
7358 Add the touch pickers, picker dialogs, and picker button widgets
7359 to the documentation.
7361 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7363 * src/hildon-button.c: (hildon_button_set_property),
7364 (hildon_button_class_init): Make "arrangement-flags" a proper
7365 G_TYPE_FLAGS derived property.
7367 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7369 * examples/Makefile.am: Add below examples.
7370 * examples/hildon-date-button-example.c:
7371 * examples/hildon-picker-button-example.c:
7372 * examples/hildon-picker-button-multicolumn-example.c:
7373 * examples/hildon-time-button-example.c:
7374 * examples/hildon-touch-picker-example.c:
7376 Add examples for the recently added touch pickers,
7377 picker dialogs, and picker button widgets.
7379 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7381 * src/hildon-button.c: Add some API documentation
7383 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7385 * src/hildon-button.h
7386 * src/hildon-button.c
7388 (hildon_button_new_with_text): New constructor to create a button
7389 with no text at all.
7390 (hildon_button_init, hildon_button_set_arrangement)
7391 (hildon_button_set_title, hildon_button_set_value)
7392 (hildon_button_set_text)
7393 (hildon_button_construct_child): Hide the value when it's not used
7394 so the rest of the text is properly aligned.
7395 Allow creating buttons with arbitrary widgets inside (not just
7396 title/value labels).
7398 * examples/hildon-button-example.c (vertical_buttons_window)
7399 (horizontal_buttons_window): Update example to use new API.
7401 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7403 * src/Makefile.am: Added HildonTimeButton.
7404 * src/hildon-time-button.c: Added missing LGPL header.
7405 * src/hildon-time-button.h: Added missing LGPL header.
7406 * src/hildon.h: Add hildon-time-button.h
7408 Copied HildonTimeButton from sandbox to trunk. Future work on this
7409 widget must take place in trunk.
7411 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7413 * src/Makefile.am: Added HildonDateButton.
7414 * src/hildon-date-button.c: Update includes.
7415 * src/hildon.h: Add hildon-date-button.h
7417 Copied HildonDateButton from sandbox to trunk. Future work on this
7418 widget must take place in trunk.
7420 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7422 * src/Makefile.am: Added HildonPickerButton.
7423 * src/hildon-picker-button.h: Update includes.
7424 * src/hildon.h: Add hildon-picker-button.h
7426 Copied HildonPickerButton from sandbox to trunk. Future work on
7427 this widget must take place in trunk.
7429 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7431 * src/Makefile.am: Added HildonPickerDialog.
7432 * src/hildon-picker-dialog.c: Update includes.
7433 * src/hildon.h: Add hildon-picker-dialog.h
7435 Copied HildonPickerDialog from sandbox to trunk. Future work
7436 on this widget must take place in trunk.
7438 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7440 * src/Makefile.am: Added HildonTimeSelector.
7441 * src/hildon.h: Add hildon-time-selector.h
7443 Copied HildonTimeSelector widget from sandbox to trunk. Future
7444 work on this widget must happen in trunk.
7446 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7448 * src/Makefile.am: Added HildonDateSelector.
7449 * src/hildon.h: Add hildon-date-selector.h
7451 Copied HildonDateSelector widget from sandbox to trunk. Future
7452 work on this widget must happen in trunk.
7454 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7456 * src/Makefile.am: Added HildonTouchPicker.
7457 * src/hildon-touch-picker.c: Update includes.
7458 * src/hildon.h: Add hildon-touch-picker.h
7460 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7461 on this widget must happen in trunk.
7463 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7465 * src/hildon-pannable-area.c:
7466 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7468 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7470 * examples/hildon-app-menu-example.c (main): Let the window
7473 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7475 * src/hildon-pannable-area.c
7476 (hildon_pannable_area_class_init): Set the min value of the
7477 overshoot properties to zero, which points out that not
7478 overshooting allowed.
7480 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7482 Modified the procedure to get the widget at a point inside the
7483 pannable area when using the movement type signals. Now the user
7484 has to call a function to get the child, that way we just
7485 calculate the child in case the user really want to use it and not
7488 * src/hildon-marshalers.list: Modified the marshallers, now we do
7489 not have the widget as a parameter.
7491 * src/hildon-pannable-area.c
7492 (hildon_pannable_area_motion_notify_cb),
7493 (hildon_pannable_area_class_init),
7494 (hildon_pannable_get_child_widget_at): Removed the widget
7495 parameter from the signal callback. We have also refactored the
7496 emission of the signals.
7498 * src/hildon-pannable-area.h: Added a new method to the API to
7499 calculate a widget at a point inside the pannable area,
7500 hildon_pannable_get_child_widget_at.
7502 * examples/hildon-pannable-area-example-4.c
7503 (horizontal_movement): Modified the example to use the new API,
7504 added condition to control which widget is under the event. This
7505 way we can avoid scrolling laterally over other widgets.
7507 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7509 * src/hildon-pannable-area.c
7510 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7511 modes, we stop getting the pointer events due to returning the
7512 callback without properly calling the get pointer again. Fixed
7513 also an error using the hscroll and vscroll.
7515 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7517 * src/hildon-app-menu-private.h
7518 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7519 (hildon_app_menu_button_release, hildon_app_menu_init)
7520 (hildon_app_menu_class_init): Don't hide the menu on button
7521 release if the user didn't press outside first.
7523 * src/hildon-window.h
7524 * src/hildon-window.c (hildon_window_toggle_menu)
7525 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7526 hildon_window_toggle_menu a virtual function for the stackable
7527 window to override it.
7529 * src/hildon-stackable-window.h
7530 * src/hildon-stackable-window-private.h
7531 * src/hildon-stackable-window.c
7532 (hildon_stackable_window_realize)
7533 (hildon_stackable_window_finalize)
7534 (hildon_stackable_window_class_init)
7535 (hildon_stackable_window_init)
7536 (hildon_stackable_window_set_main_menu): New function to set the
7537 app menu of a HildonStackableWindow.
7539 * examples/hildon-app-menu-example.c: Remove the button to show
7540 the app menu, now it'll be shown when clicking on the title bar
7543 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7545 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7546 set the widget name if the arrangement flags do not specify
7549 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7551 * src/hildon-button.c: (hildon_button_set_property),
7552 (hildon_button_class_init), (hildon_button_new_full),
7553 (hildon_button_set_arrangement): Added "arrangement-flags"
7556 Make the HildonButtonFlags a construction-only property, to allow
7557 subclasses to set them properly.
7559 2008-07-21 Tim Janik <timj@imendio.com>
7561 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7562 insertion position after backspace, so additional digits are appended,
7565 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7567 * src/hildon-pannable-area.c,
7568 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7569 TODO list, it was complete and removed the g_debug and g_print
7572 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7574 Added the movement modes to the hildon-pannable-area, with this
7575 modes the developers can control in which directions the widget
7576 can scroll. They can also connect to signals in order to do
7577 something when that happens, allowing applications scroll. There
7578 is an example uploaded showing how to use it.
7580 * examples/Makefile.am:
7581 * examples/hildon-pannable-area-example-4.c: Added this example of
7582 an application using the modes.
7584 * src/hildon-marshalers.list: Added a new marshaller for the new
7587 * src/hildon-pannable-area.h: Added new enumerations and flags in
7588 order to control the movement modes and the new signals to warn
7589 about the movements in the area.
7591 * src/hildon-pannable-area.c:
7592 (hildon_pannable_axis_scroll),
7593 (hildon_pannable_area_scroll),
7594 (hildon_pannable_area_motion_notify_cb),
7595 (hildon_pannable_area_get_property),
7596 (hildon_pannable_area_set_property),
7597 (hildon_pannable_area_map),
7598 (hildon_pannable_area_class_init),
7599 (hildon_pannable_area_init),
7600 (hildon_pannable_area_jump_to): Added the modes to control the
7601 movement in the widget. We have added properties to control it,
7602 signals to warn about the movements and refactored some code.
7604 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7606 Changes required in order to allow vfast_factor set to zero to
7609 * src/hildon-pannable-area.c:
7610 (hildon_pannable_area_button_press_cb): Changed the condition, it
7611 is required for not allowing click when vfast_factor is zero.
7612 (hildon_pannable_area_timeout): Initialized velocity variables
7613 when we stop moving, it was less than 1 but not zero and we need
7614 to check zero in some situations.
7615 (hildon_pannable_area_class_init): Changed the default value of
7616 the speed factor, now the button_press is just sent in case the
7617 speed is 2 per cent of the max speed.
7618 (hildon_pannable_area_init): Initialization with 0.
7620 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7622 * src/hildon-pannable-area.c,
7623 (hildon_pannable_area_get_topmost): replaced
7624 gdk_window_get_children with gdk_window_peek_children, this way we
7625 do not have to free the list because it is not a copy.
7627 (hildon_pannable_axis_scroll),
7628 (hildon_pannable_area_scroll),
7629 (hildon_pannable_area_timeout),
7630 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7631 two parameters that were only used inside the
7632 hildon_pannable_area_scroll function.
7634 * examples/hildon-pannable-area-example.c,
7635 (get_sawtooth_label): Fixed small memory leak.
7637 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7639 More checks for the case where the overshoot is bigger than the
7642 * src/hildon-pannable-area.c:
7643 (hildon_pannable_draw_vscroll),
7644 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7645 to draw the slider of the scrollbar under the other scrollbar.
7646 (hildon_pannable_area_expose_event): added new checks to control
7647 the drawing of the overshooting area rectangle, in case it is too
7648 big for the area of the widget.
7649 (hildon_pannable_area_size_allocate): add more checks to avoid
7650 setting a position to the child widget outside the area.
7652 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7654 * src/hildon-pannable-area.c
7655 (hildon_pannable_area_size_allocate): Added conditions to control
7656 when overshooting is bigger than the allocated space for the
7657 children, this avoids negative allocations.
7659 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7661 * doc/hildon-docs.sgml
7663 * examples/Makefile.am
7664 * examples/hildon-button-example.c
7666 * src/hildon-button.c
7667 * src/hildon-button.h
7668 * src/hildon.h: Initial version of the new HildonButton widget,
7671 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7673 * src/hildon-pannable-area.c:
7674 (hildon_pannable_area_button_press_cb),
7675 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7676 (hildon_pannable_area_motion_notify_cb),
7677 (hildon_pannable_area_button_release_cb),
7678 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7679 (hildon_pannable_area_jump_to_child):
7681 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7683 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7685 * examples/Makefile.am
7686 * examples/hildon-pannable-area-touch-grid-example.c
7687 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7688 the Hildon Touch List and Hildon Touch Grid using the
7689 HildonPannableArea widget.
7691 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7693 * src/hildon-pannable-area.c,
7694 (hildon_pannable_area_button_press_cb),
7695 (hildon_pannable_area_refresh),
7696 (hildon_pannable_area_scroll),
7697 (hildon_pannable_area_motion_notify_cb),
7698 (hildon_pannable_area_button_release_cb),
7699 (hildon_pannable_area_expose_event),
7700 (hildon_pannable_area_add),
7701 (hildon_pannable_area_remove),
7702 (hildon_pannable_area_realize),
7703 (hildon_pannable_area_size_allocate),
7704 (hildon_pannable_area_class_init),
7705 (hildon_pannable_area_init),
7706 (hildon_pannable_area_scroll_to_child),
7707 (hildon_pannable_area_jump_to_child): Fixed the problem of
7708 removing the child from the GtkBin, we have rearranged the widget
7709 hierarchy, now there is no GtkAlignment which was not doing
7710 anything interesting but breaking some of the assumptions of
7711 GtkContainer. Now developers if they want to add a GtkAlignment
7712 they could, but it is not inside the area.
7714 We had to review the whole allocation/expose process, now it is
7715 improved and we save at least three signals which would be saving
7716 some time when rendering the widget. The allocation of the
7717 scrollbars is now made in the allocate method as usual.
7719 We have also added some conditions in order to control when there
7720 is no child of the pannable area. Maybe we will need more work
7723 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7725 * src/hildon-pannable-area.c,
7726 (hildon_pannable_area_dispose): Released the fade-out timeout when
7727 disposing the widget.
7729 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7731 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7732 zero, we are going to use that property in order to deactivate the
7734 (hildon_pannable_axis_scroll),
7735 (hildon_pannable_area_size_allocate): Added conditions to control
7736 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7737 call, now it is called in all situations and we can remove calls
7738 in the allocate method.
7739 (hildon_pannable_area_map): Control the situation when
7740 overshoot_max is zero, we do not need the timeout.
7741 (hildon_pannable_area_class_init): Added documentation in order to
7742 point out that setting zero to overshoot_max means deactivate
7745 NOTE: removed trailing whitespaces from my previous comments of
7748 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7750 * src/hildon-pannable-area.c
7751 (hildon_pannable_area_get_property),
7752 (hildon_pannable_area_set_property),
7753 (hildon_pannable_area_map),
7754 (hildon_pannable_area_class_init),
7755 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7756 to cause the widget give a hint about its panning abilities upon
7759 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7761 * src/hildon-pannable-area.c: Several documentation improvements.
7763 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7765 * src/hildon-program.c
7766 * src/hildon-stackable-window.c: Update documentation.
7768 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7770 * src/hildon-stackable-window.c (get_previous_window_if_last):
7771 Renamed get_last_window()
7772 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7773 (hildon_stackable_window_unset_program):
7775 (get_previous_window_if_last):
7776 Detect if the window hasn't been added to a HildonProgram.
7778 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7780 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7782 * src/hildon-pannable-area.c
7783 (hildon_pannable_area_button_press_cb),
7784 (hildon_pannable_axis_scroll),
7785 (hildon_pannable_area_scroll),
7786 (hildon_pannable_area_timeout),
7787 (hildon_pannable_calculate_vel_factor),
7788 (hildon_pannable_area_get_property),
7789 (hildon_pannable_area_set_property),
7790 (hildon_pannable_area_class_init),
7791 (hildon_pannable_area_init),
7792 (hildon_pannable_area_scroll_to),
7793 (hildon_pannable_area_jump_to),
7794 (hildon_pannable_area_scroll_to_child),
7795 (hildon_pannable_area_jump_to_child):
7796 * src/hildon-pannable-area.h: Added the new API functions:
7797 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7798 hildon_pannable_area_scroll_to_child,
7799 hildon_pannable_area_jump_to_child
7802 * examples/Makefile.am
7803 * examples/hildon-pannable-area-example-2.c
7804 * examples/hildon-pannable-area-example-3.c: Added these two new
7805 examples in order to test and show how the new APIs work.
7807 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7809 * examples/hildon-stackable-window-example.c (new_window):
7810 * src/Makefile.am (noinst_HEADERS):
7811 * src/hildon-program.c (hildon_program_go_to_root_window):
7812 * src/hildon-program.h:
7813 * src/hildon-stackable-window-private.h:
7814 * src/hildon-stackable-window.c:
7815 * src/hildon-stackable-window.h:
7816 Create hildon-stackable-window-private.h
7817 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7819 * examples/hildon-app-menu-example.c (create_menu):
7820 * examples/hildon-hvolumebar-insensitive-example.c (main):
7821 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7822 * examples/hildon-toolbar-seekbar-example.c (main):
7823 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7824 * src/hildon-banner.c (hildon_banner_set_property):
7825 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7826 Fix compilation warnings
7828 * src/hildon-window.c:
7831 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7833 * src/hildon-stackable-window.c
7834 (hildon_stackable_window_unset_program):
7835 Calculate correctly whether to show the previous window if the
7836 last one is removed from the stack.
7837 (hildon_stackable_window_go_to_root_window):
7838 Send delete events starting from the topmost window.
7839 Stop if one of the windows is not destroyed.
7841 (hildon_stackable_window_delete_event)
7842 (hildon_stackable_window_class_init):
7843 Ignore the delete event if the window is not the topmost one.
7845 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7847 * src/hildon-pannable-area.c
7848 (hildon_pannable_area_expose_event): Fixed a problem when
7849 selecting the background color of the scrollbars.
7851 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7853 * examples/hildon-stackable-window-example.c
7854 * src/hildon-stackable-window.c
7855 * src/hildon-stackable-window.h
7856 hildon_stackable_window_go_home() renamed to
7857 hildon_stackable_window_go_to_root_window()
7858 Send delete events to windows rather than closing them with
7859 gtk_widget_destroy()
7861 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7863 * src/hildon-pannable-area.c
7864 (hildon_pannable_area_button_release_cb): Fix overshooting in
7867 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7869 * src/hildon-pannable-area.c
7870 (hildon_pannable_area_init): Initially show the scroll indicators.
7871 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7873 Add initial effect showing the widget is pannable.
7875 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7877 * src/hildon-pannable-area.c
7878 (hildon_pannable_area_class_init)
7879 (hildon_pannable_area_set_property)
7880 (hildon_pannable_area_get_property)
7881 (hildon_pannable_area_button_press_cb):
7882 New 'velocity_fast_factor' property to decide which velocity is
7885 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7887 * src/hildon-pannable-area.c
7888 (hildon_pannable_draw_hscroll)
7889 (hildon_pannable_draw_vscroll):
7890 Use float variables to calculate the size of the scrollbars to
7891 avoid error propagation and resizing during scrolling.
7893 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7895 * src/hildon-pannable-area.c
7896 (hildon_pannable_draw_vscroll)
7897 (hildon_pannable_draw_hscroll):
7898 Define a minimum size for the scroll bars
7900 * src/hildon-stackable-window.c
7901 (hildon_stackable_window_go_home): Fix compilation warning
7902 (get_last_window): Minor optimizations
7903 (hildon_stackable_window_class_init): Fix initialization of
7906 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7908 * src/hildon-stackable-window.c: Fixed typos in doc
7910 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7912 * src/hildon-pannable-area.c
7913 (hildon_pannable_area_scroll):
7914 Calculate here whether we need to scroll instead of using the booleans
7915 that tell us whether to /draw/ the scrolling bars.
7917 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7919 * src/hildon-app-menu.h
7921 * src/hildon-app-menu.c
7922 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7923 multiple filter groups related code and API. Now we support only
7925 * examples/hildon-app-menu-example.c:
7927 Update to reflect API changes.
7929 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7931 * src/hildon-stackable-window.c
7932 (hildon_stackable_window_class_init):
7933 Add hildon_stackable_window_realize.
7934 (hildon_stackable_window_realize):
7935 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7936 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7937 to apply theming and behavior specific to HildonStackableWindow
7940 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7942 * src/hildon-note.c (hildon_note_button_release):
7943 Close information notes also when tapping on them
7945 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7947 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7948 ELASTICITY, refactor and review, fix some issues with drawing
7951 * src/hildon-pannable-area.c:
7952 (hildon_pannable_area_button_press_cb): removed the conditions to
7953 avoid clicks when overshooting. It is not required
7955 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7956 define. Refatored and reviewed the code, now we do not need to
7957 manage velocity in motion_notify.
7959 (hildon_pannable_area_motion_notify_cb): We have moved the code
7960 that controls the area_scroll to the axis_scroll function and get
7961 rid of duplicated code.
7963 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7965 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7967 (hildon_pannable_draw_vscroll),
7968 (hildon_pannable_draw_hscroll): Fixed the problems with the
7969 scrollbar drawing, now we do not use two surfaces, it is easier
7970 and saves resources.
7972 (hildon_pannable_area_get_property): Style modification.
7974 (hildon_pannable_area_class_init): Changed some default values.
7976 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7978 * src/hildon-stackable-window.c: Fix some typos in the
7981 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7983 * src/hildon-dialog.c:
7984 Change indentation style
7987 (hildon_note_button_release):
7988 Use root coordinates to check if the release event happened
7991 * src/hildon-app-menu.c
7992 (hildon_app_menu_button_release):
7993 Remove unnecessary check
7995 * examples/hildon-app-menu-example.c
7997 Add cast to fix warning
7999 * src/hildon-app-menu.c
8000 (hildon_app_menu_class_init):
8001 New inner-border style property.
8002 Set all default spacings to 16
8003 (hildon_app_menu_init):
8004 Use vertical-spacing to set the space between filter buttons and
8005 regular menu buttons.
8006 Set the default container border using the inner-border value.
8008 * examples/hildon-app-menu-example.c
8010 Don't set the menu border explicitly, now we have the inner-border
8011 style property for that.
8013 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8015 * src/hildon-app-menu.c (hildon_app_menu_init):
8016 Make the window modal
8018 * src/hildon-note.c (hildon_note_map)
8019 * src/hildon-app-menu.c (hildon_app_menu_map):
8020 Destroy the grab window if we're unable to grab the pointer
8022 * src/hildon-app-menu-private.h
8023 * src/hildon-app-menu.c
8024 (hildon_app_menu_init, hildon_app_menu_finalize)
8025 (hildon_app_menu_map, hildon_app_menu_unmap)
8026 (hildon_app_menu_button_release)
8027 (grab_transfer_window_get):
8028 Bring back the grab window
8029 (hildon_app_menu_realize):
8030 Decorate the window, set WM hint for Matchbox
8032 * src/hildon-note.c (hildon_note_realize):
8033 * src/hildon-banner.c (hildon_banner_realize):
8034 Add WM hints for Matchbox
8036 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8038 * src/hildon-app-menu-private.h
8039 * src/hildon-app-menu.c
8040 (hildon_app_menu_init, hildon_app_menu_finalize)
8041 (hildon_app_menu_map, hildon_app_menu_unmap)
8042 (hildon_app_menu_button_release):
8043 Remove the grab window, it's not needed anymore
8045 * src/hildon-program.c
8046 Fixed typo in documentation
8048 * src/hildon-app-menu.h
8049 * src/hildon-app-menu.c
8050 * examples/hildon-app-menu-example.c
8051 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8053 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8056 Added new transfer_window and close_if_pressed_outside private
8058 (hildon_note_rebuild):
8059 Don't add a cancel button to the information note. It will be
8060 closed when tapping outside
8061 Remove the comment about the OK button in the documentation
8062 (hildon_note_realize):
8063 Set the notification type hint
8064 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8065 Grab/ungrab pointer and keyboard if the note has to be closed when
8067 (hildon_note_button_release):
8068 Close the note when tapping outside (if applicable)
8070 * src/hildon-app-menu.c
8071 Grab/ungrab pointer and keyboard on map/unmap
8072 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8073 Close the menu on button release, not button press
8075 * src/hildon-banner.c
8076 (hildon_banner_set_property)
8077 (hildon_banner_check_position):
8078 Make the banner use the full width of the screen
8079 (hildon_banner_show_information)
8080 (hildon_banner_show_information_with_markup):
8081 Don't display an icon by default
8083 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8085 Added fading scrollbars and adapted all the overshooting code to
8086 horizontal scrolling. We have also fixed bugs with overshooting
8087 and current fading implementation.
8089 * src/hildon-pannable-area.c
8090 (hildon_pannable_area_scroll_indicator_fade): Time out function
8091 used to change the transparency of the scrollbars.
8093 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8094 control and fixed a problem with fading, we now remove the fade
8095 timeout before adding a new one.
8097 (hildon_pannable_axis_scroll):
8098 (hildon_pannable_area_scroll):
8099 (hildon_pannable_area_timeout): Added this functions so we can use
8100 the scroll code both for vertical and horizontal.
8102 (hildon_pannable_area_motion_notify_cb):
8103 (hildon_pannable_area_button_release_cb): Added the horizontal
8104 scrolling control, fixed a problem with the overshooting timeout.
8106 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8107 painting of the scrolls.
8109 (hildon_pannable_draw_vscroll):
8110 (hildon_pannable_draw_hscroll):
8111 (hildon_pannable_area_expose_event):
8112 Draw both scrollbars and rectangles in the overshooting area.
8114 (hildon_pannable_area_get_property):
8115 (hildon_pannable_area_set_property):
8116 Modified the overshoot property to overshoot_max
8118 (hildon_pannable_area_map):
8119 Replaced the comments symbols.
8121 (hildon_pannable_area_size_allocate):
8122 (hildon_pannable_area_class_init):
8123 (hildon_pannable_area_init): Added horizontal scroll, fading
8124 effect properties, fixed a problem when overshooting in the bottom
8127 * examples/hildon-pannable-area-example.c:
8128 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8129 looks better in the example.
8131 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8133 * src/hildon-window.c
8134 * src/hildon-window.h
8135 (hildon_window_class_init)
8136 (hildon_window_unset_program)
8137 (hildon_window_unset_program_real):
8138 Make unset_program a virtual function
8140 * src/hildon-stackable-window.c
8141 * src/hildon-stackable-window.h
8142 Added hildon_stackable_window_go_home()
8144 * examples/Makefile.am
8145 * examples/hildon-stackable-window-example.c
8146 HildonStackableWindow example
8148 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8150 * hildon-pannable-area.c: Added the overshoot property and removed
8151 the OVERSHOOT define. Fixed an indent style error.
8152 (hildon_pannable_area_motion_notify_cb):
8153 (hildon_pannable_area_get_property):
8154 (hildon_pannable_area_set_property): Add overshoot property.
8156 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8159 (hildon_pannable_area_class_init): Installed the new property.
8161 * hildon-pannable-area-example.c: Added a sawtooth function, this
8162 way it is easier to check the movement in the pannable.
8163 (get_sawtooth_label): Added this function.
8164 (main): Now we get the labels from the new get_sawtooth_label
8167 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8169 * src/hildon-app-menu.h
8170 * src/hildon-app-menu.c
8171 Renamed API variables for consistency
8173 (hildon_app_menu_popup): Use also the default window size to
8174 decide where to place the menu
8176 (hildon_app_menu_init, hildon_app_menu_class_init): New
8177 external-border style property
8179 2008-05-26 Michael Natterer <mitch@imendio.com>
8181 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8182 widget_class->tap_and_hold_setup signal slot doesn't exist any
8183 longer, stop overriding it.
8185 (hildon_time_editor_init): g_signal_connect() to the
8186 tap-and-hold-setup signal instead.
8188 (hildon_time_editor_entry_keypress): add cast to fix warning.
8190 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8192 * doc/hildon-docs.sgml
8194 * examples/Makefile.am
8195 * examples/hildon-app-menu-example.c
8197 * src/hildon-app-menu-private.h
8198 * src/hildon-app-menu.c
8199 * src/hildon-app-menu.h
8201 New HildonAppMenu widget
8203 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8205 Rearranged the inheritance of the pannable area, now it inherits
8206 from GtkBin. This will allow us to control the event_window and
8207 the allocation process of the widget, required for some effects.
8209 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8210 GtkBin structures. * src/hildon-pannable-area.c: Added the
8211 event_window variable.
8212 (hildon_pannable_area_button_press_cb):
8213 (hildon_pannable_area_button_release_cb):
8214 (hildon_pannable_area_motion_notify_cb):
8215 Changed the signature of the method, now we override the event
8216 callback instead of connecting to the signal.
8218 (hildon_pannable_area_realize):
8219 (hildon_pannable_area_unrealize):
8220 (hildon_pannable_area_map):
8221 (hildon_pannable_area_unmap):
8222 (hildon_pannable_area_size_allocate):
8223 Added functions to control the widget construction. We add a
8224 INPUT_ONLY window and we put it over the widgets inside the
8225 container, this event_window handles the events.
8227 (hildon_pannable_area_class_init):
8228 Replaced the signal connections with overrides of the event
8231 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8233 Bouncing effect added when touching the borders, you can change
8234 the elasticity of the border changing the ELASTICITY define.
8236 * src/hildon-pannable-area.c: Added ELASTICITY define.
8237 (hildon_pannable_area_timeout): Added inverse velocity when
8238 touching the border of the child widget, that causes a bounce.
8240 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8242 Improved performance, we now do not go to the X server in order to
8243 get the list of window children. Apparently the effect is the
8244 same, we have to be careful and check if this breaks something in
8247 * src/hildon-pannable-area.c:
8248 (get_ordered_children): Removed this function.
8249 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8250 the children windows function with gdk_window_get_children.
8252 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8254 * src/hildon-pannable-area.c:
8255 (hildon_pannable_area_dispose): Fixed a crash when closing the
8256 window and kinetics is activated.
8258 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8260 * src/hildon-pannable-area.h
8261 * src/hildon-pannable-area.c
8262 Changed indentation style to meet the one used in Hildon
8264 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8266 Reviewed the interaction of the AUTO mode, now we use the time
8267 attribute of the events and calculate the velocity in the motion,
8268 doing a gimp like calculation. The velocity is calculated in each
8269 motion event using the last velocity and the current one, the
8270 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8272 * src/hildon-pannable-area.c: Replaced the time based algorithm
8274 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8275 timeout for the AUTO mode when we are still moving the cursor. We
8276 added also the velocity calculation in this function.
8277 (hildon_pannable_area_button_release_cb): launch the timeout in
8278 case we are in AUTO mode. There are still some constants here that
8279 come from the old implementation that should be reviewed and
8282 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8284 * doc/hildon-docs.sgml
8287 * src/hildon-stackable-window.c
8288 * src/hildon-stackable-window.h
8290 New HildonStackableWindow widget
8292 * examples/hildon-dialog-example.c
8293 * examples/hildon-pannable-area-example.c
8296 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8298 * src/hildon-dialog.c
8299 (hildon_dialog_new_with_buttons): New constructor.
8301 * examples/hildon-dialog-example.c
8302 (main): Update the example to use the new
8303 hildon_dialog_new_with_buttons().
8305 * examples/hildon-pannable-area-example.c
8306 (main): Update example.
8308 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8310 * doc/hildon-docs.sgml
8312 Added HildonPannableArea to the documentation.
8314 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8316 * doc/visual_index.xml
8317 Fix reference to HildonLoginDialog in documentation
8319 * doc/hildon-docs.sgml
8321 * examples/Makefile.am
8322 * examples/hildon-dialog-example.c
8324 * src/hildon-dialog.c
8325 * src/hildon-dialog.h
8327 New HildonDialog widget.
8329 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8331 * src/hildon-pannable-area.c
8332 Merge latest changes (r4318, r4342) from libmokoui trunk
8334 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8336 * examples/Makefile.am
8337 * examples/hildon-pannable-area-example.c
8339 * src/hildon-pannable-area.c
8340 * src/hildon-pannable-area.h
8342 New HildonPannableArea widget.
8344 2008-04-15 18:05:19 <timj@imendio.com>
8346 * src/hildon-banner.c: revert the recent change, that introduced
8347 gtk_window_present() calls. this reopens:
8348 Bug 78481 - [freetest] information banners are hidden under browser menu
8349 But resolves another variant of:
8350 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8352 2008-04-15 13:21:13 <timj@imendio.com>
8354 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8355 recreated its layout, spotted by Kris. this fixes all remaining
8356 artefacts and stability issues with the banner code. in particular:
8357 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8359 2008-04-14 16:52:59 <timj@imendio.com>
8361 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8362 operating on unrealized widgets, fixes:
8363 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8365 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8367 2008-04-09 Kristian Rietveld <kris@imendio.com>
8369 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8370 makes banner disappear.
8371 Fixes: NB#79182: info banner flickering with certain message lengts.
8373 * src/hildon-banner.c (hildon_banner_constructor),
8374 (hildon_banner_init), (hildon_banner_set_text),
8375 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8376 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8377 FALSE, reset size requests of label and banner,
8378 (force_to_wrap_truncated): when the text is too wide, always enforce
8379 the maximum possible width instead of recalculating it from the
8380 layout; enforce the maximum banner height of 3 lines,
8381 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8382 nicer wrapping and no truncated chars if space gets tight.
8384 * src/hildon-banner-private.h: add has_been_wrapped and
8385 has_been_truncated fields.
8387 2008-04-07 Sven Herzberg <sven@imendio.com>
8389 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8390 local values in hildon_date_editor_size_allocate
8392 * src/hildon-date-editor.c: moved the real allocation code into the
8395 2008-04-07 Sven Herzberg <sven@imendio.com>
8397 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8398 local values in hildon_date_editor_size_allocate
8400 * src/hildon-date-editor.c: merged the two if() branches together
8402 2008-04-07 Sven Herzberg <sven@imendio.com>
8404 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8405 local values in hildon_date_editor_size_allocate
8407 * src/hildon-date-editor.c: changed the arguments of the if()
8410 2008-04-07 Sven Herzberg <sven@imendio.com>
8412 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8413 local values in hildon_date_editor_size_allocate
8415 * src/hildon-date-editor.c: split the calculation of the allocation
8416 from the real allocation
8418 2008-03-27 Michael Natterer <mitch@imendio.com>
8420 Fixes: NB#81696: The passcode is not overwritten even after
8423 * src/hildon-code-dialog.c
8424 (hildon_code_dialog_button_clicked)
8425 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8426 because that doesn't overwrite selected text. Instead, emit the
8427 "commit" signal on the entry's im_context so the entry's normal
8428 insert logic is triggered. Set the cursor to the end of the entry
8429 after each insert operation so that we *only* insert in the middle
8430 of the text if something was selected.
8432 2008-03-27 Michael Natterer <mitch@imendio.com>
8434 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8435 selector cannot be opened
8437 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8438 when the popup color selector is created. Please connect to this
8439 signal in order to set the dialog's help ID.
8441 2008-03-25 Sven Herzberg <sven@imendio.com>
8443 Fixes: MB#1212: Hide info banners (infoprints) on click
8445 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8446 extracted the close event simulation into an extra function
8447 (hildon_banner_button_press_event): simulate a close event and destroy
8448 the widget if the event wasn't handled
8449 (hildon_banner_class_init): added the button_press_event handler
8450 (hildon_banner_init): added button-press events to the widget
8452 2008-03-25 Sven Herzberg <sven@imendio.com>
8454 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8455 Patch from: Mohammad Anwari <mdamt@maemo.org>
8457 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8458 instead of the right in RTL mode
8459 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8460 breadcrumb button list in RTL mode
8461 * src/hildon-caption.c: mirror the appearance of the caption widget in
8463 * src/hildon-date-editor.c: mirror appearance of the date editor in
8465 * src/hildon-time-editor.c: mirror appearance of the time editor in
8467 * src/hildon-window.c: fix the position of the popup in RTL mode
8469 2008-03-25 Sven Herzberg <sven@imendio.com>
8471 Amendment to the fix of NB#22072. Fix compilation.
8473 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8475 2008-03-19 Sven Herzberg <sven@imendio.com>
8477 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8480 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8481 timeout id properly when the timeout will disappear this leaves no
8482 artifacts around in the destroy(); there will only be the timeout
8483 created by hildon_banner_ensure_timeout() and adding a new timeout
8484 will also work if the timeout gets removed because the timeout_handler
8487 2008-03-19 Michael Natterer <mitch@imendio.com>
8489 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8491 * src/hildon-volumebar.c
8492 * src/hildon-vvolumebar.c
8493 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8494 the widget becomes focussable at all.
8496 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8497 set the focus to wither the mute button or the volumebar.
8499 Remove own "can-focus" property and instead listen to
8500 notify::can-focus in order to update the widget's state.
8502 Implement GtkWidget::focus() and make sure we can also *leave* the
8503 widget, not only enter it, depending on volumebar orientation and
8504 requested focus direction.
8506 Clean up set_mute() to cooperate nicely with all the above.
8508 2008-03-04 Michael Natterer <mitch@imendio.com>
8510 Fixes: NB#78481: information banners are hidden under browser menu
8512 * src/hildon-banner.c: call gtk_window_present() on the banners so
8513 they are risen if they are already visible.
8515 2008-03-03 Sven Herzberg <sven@imendio.com>
8517 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8519 * examples/hildon-window-menu-example.c: (main): extended the window
8520 menu example to serve as a testcase for automatically added
8521 accelerator groups, too
8522 * src/hildon-window.c: (hildon_window_add_accel_group),
8523 (hildon_window_set_menu): added patch by Tommi Komulainen
8525 2008-03-03 Sven Herzberg <sven@imendio.com>
8527 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8529 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8530 knowledge about the border allocators used within GTK+
8532 2008-02-26 Sven Herzberg <sven@imendio.com>
8534 Fixes: MB#2981: Build with asserts broken
8536 * src/hildon-date-editor.c,
8537 * src/hildon-number-editor.c,
8538 * src/hildon-time-editor.c,
8539 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8540 the proper GType instance check
8542 2008-02-25 Sven Herzberg <sven@imendio.com>
8544 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8546 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8547 * examples/hildon-window-menu-example.c: (main): explicitly show
8549 * src/hildon-window.c:
8550 (hildon_window_set_main_menu): moved most of the code from set_menu()
8551 to this place; skipped the call to gtk_widget_show_all(); also didn't
8552 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8553 (hildon_window_set_menu): removed most of the code, just keep the
8554 questionable gtk_widget_show_all()
8555 * src/hildon-window.h: added the new function and deprecate the old
8558 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8564 * debian/changelog: Updating.
8566 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8569 * pkgconfig/Makefile.am:
8570 * pkgconfig/hildon.pc.in:
8573 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8574 use newly created API_MAJOR_VERSION.
8576 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8582 * debian/changelog: Updating.
8584 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8586 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8588 Add outer_border style property, we use it but don't define it (!).
8592 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8594 * examples/hildon-bread-crumb-trail-example.c (main):
8598 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8600 Fix logic for the bread crumb trail node removal.
8604 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8610 * debian/changelog: Updating.
8612 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8614 Patch by Alejandro to get/set passwords dialogs accesibility.
8616 * hildon-1/src/hildon-get-password-dialog.c:
8617 * hildon-1/src/hildon-set-password-dialog.c:
8618 Set atk_set_name to the passwd entries in order to allow
8619 accessibility by name on this entries.
8621 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8626 * debian/control: Updating gtk dep.
8628 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8630 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8631 USE_MAEMO_GTK is enabled.
8633 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8635 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8636 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8638 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 * debian/changelog: Updating.
8646 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8648 * examples/Makefile.am:
8649 * examples/hildon-logical-color-example.c:
8650 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8651 applied + adding a test case. Fixes: NB#71660.
8653 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8655 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8656 to be visible, fixes warning on map for windows without toolbars.
8658 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8660 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8661 2.11.0, add a check for that besides the MAEMO_GTK check.
8663 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8669 * debian/changelog: Updating.
8671 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8673 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8674 visibility. Fixes: NB#70842 and MB#615.
8676 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8678 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8679 set the separator as no-show-all so it doesn't unintentionally appear when
8680 someone does a show_all.
8682 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8684 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8685 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8686 toplevel item. Fixes: NB#62031
8688 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8690 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8691 fix the name of the function in the docs.
8693 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8699 * debian/changelog: Updating.
8701 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8703 * examples/hildon-banner-long-example.c: Adding a test-case for long
8706 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8708 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8710 * src/hildon-color-chooser-dialog.c:
8711 * src/hildon-color-chooser.c:
8712 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8713 memory leaks in font selector and color selector. Fixes: NB#70499 and
8716 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8718 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8720 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8723 little bit bigger. Fixes: #NB63694.
8725 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8731 * debian/changelog: Updating.
8733 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8736 * doc/hildon-docs.sgml:
8737 * doc/images/bread-crumb-trail.png:
8738 * doc/images/calendar-popup.png:
8739 * doc/images/caption.png:
8740 * doc/images/code-dialog.png:
8741 * doc/images/color-button.png:
8742 * doc/images/color-chooser-dialog.png:
8743 * doc/images/color-chooser.png:
8744 * doc/images/controlbar.png:
8745 * doc/images/date-editor.png:
8746 * doc/images/font-selection-dialog.png:
8747 * doc/images/get-password-dialog.png:
8748 * doc/images/hvolumebar.png:
8749 * doc/images/login-dialog.png:
8750 * doc/images/note.png:
8751 * doc/images/number-editor.png:
8752 * doc/images/range-editor.png:
8753 * doc/images/seekbar.png:
8754 * doc/images/set-password-dialog.png:
8755 * doc/images/sort-dialog.png:
8756 * doc/images/time-editor.png:
8757 * doc/images/time-picker.png:
8758 * doc/images/vvolumebar.png:
8759 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8760 Adding the bread-crumb-trial and helpers to the documentation.
8762 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8764 * examples/hildon-find-toolbar-example.c:
8765 * src/hildon-find-toolbar.c:
8766 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8767 actually continue firing the other handlers if connected. Adding a new
8769 hildon_find_toolbar_get_last_index that gets the index of the most
8770 recently added (last) item. Fixes: NB#52301.
8772 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8774 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8775 behaviour. Fixes: NB#68610.
8777 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8779 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8782 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8784 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8785 when realizing the banner. Should make the infonbanner effect a bit more
8788 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8790 * src/hildon-volumebar.c:
8791 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8792 hildon_volumebar_set_range_insensitive_message and
8793 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8795 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8797 * src/hildon-window.c: Fixing the border freeing on destroy.
8799 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8801 * src/hildon-code-dialog-private.h:
8802 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8803 kw keyboard support in HildonCodeDialog.
8805 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8811 * debian/changelog: Updating.
8813 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * src/hildon-date-editor.c:
8816 * src/hildon-number-editor.c:
8817 * src/hildon-private.c:
8818 * src/hildon-private.h:
8819 * src/hildon-time-editor.c:
8820 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8821 handling in subclassed composite widgets. Fixes: NB#66628.
8823 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8825 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8826 from destroy_ callback as it introduces problems in async dbus signal
8827 handlers. Fixes NB#66673.
8829 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8831 * examples/hildon-hvolumebar-example.c:
8832 * src/hildon-volumebar.c: Improving the focus handling in the
8833 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8834 set_property accessor so that "mute" property can be actually set. I'm
8835 scared that nobody noticed it's totally broken.
8837 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8839 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8842 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8844 * src/hildon-calendar.c:
8845 * src/hildon-number-editor.c:
8846 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8847 matches the spec of 6 chars per second. Fixes: NB#60489.
8849 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8852 gtk_style_lookup_color sometime returns FALSE even though color was
8853 found and values were filled properly. Weird. Removing the warning for the
8856 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8858 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8859 expand vertically. Adding some extra space to the find toolbar buttons to
8860 make them thumbable. Fixes NB#66060.
8862 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8864 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8865 popup with "Ok" and "Cancel". Fixes NB#59299.
8867 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8869 * src/hildon-calendar.c: Process all window updates before executing next
8870 timeout. Fixes: NB#54146.
8872 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8878 * debian/changelog: Updating.
8880 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8882 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8883 the client event and ignore it, since we use the delete event to close
8886 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * src/hildon-helper.c: Remove the bogus warning about color not being
8889 found. Fixes NB#58352.
8891 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8893 * examples/Makefile.am:
8894 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8895 HildonSeekbar widget inside a toolbar.
8897 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8899 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8900 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8901 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8902 don't want to be closed by non-temporary windows on map.
8904 Also use G_DEFINE_TYPE instead of manually typed code.
8906 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8913 * debian/rules: Updating.
8915 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8917 * examples/Makefile.am:
8918 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8919 bug NB#61128. Strangely it works.
8921 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8923 * src/hildon-date-editor.c: When the date editor entry has been changed
8924 but the numbers of characters < max, turn off the skip validation flag.
8925 Prevents a situation when we enter first a valid year and later re-write
8926 it with an invalid one. Fixes NB#60154.
8928 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8930 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8931 code dialog. Fixes NB#64355.
8933 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8935 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8936 switching the page. Fixes NB#49374.
8938 * examples/Makefile.am:
8939 * examples/hildon-wizard-dialog-example.c: Adding an example for
8940 HildonWizardDialog that shows how to handle manual sensitivity setting on
8943 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8947 * src/hildon-version.h.in:
8948 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8950 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * src/hildon-volumebar.c: Updating the docs.
8954 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * debian/changelog: Updating.
8962 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8964 * src/hildon-find-toolbar.c:
8965 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8966 selected item: hildon_find_toolbar_set_active,
8967 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8968 hildon_find_toolbar_get_active_iter . They correspond to respective
8969 GtkComboBox functions.
8971 * examples/Makefile.am:
8972 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8975 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8977 * examples/Makefile.am:
8978 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8981 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8982 when font size > 32 and we pack a focusable widget inside. Actually using
8983 the default response would work too, but since we don't show default
8984 response state in any way (no theming) it would not be visible to the
8985 user. Fixes NB#63430.
8987 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * src/hildon-date-editor.c: Adding the missing variable setter in the
8990 set_property handler. Fixes NB#54182.
8992 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * src/hildon-window.h: Changing the long key press time from 1500ms to
8995 800ms as requested in NB#63700. I have a bad feeling about this, let's
8996 see... Fixes NB#63700.
8998 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9000 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9001 hildon_time_picker_map, hildon_time_picker_realize,
9002 hildon_time_picker_style_set): Split the contents of map to more
9003 appropriate functions; set window decorations on realize and update
9004 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9006 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9011 * debian/changelog: Updating.
9013 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9015 * src/Makefile.am: fixed installation of the header files
9017 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9023 * debian/changelog: Updating.
9025 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * configure.ac: Removing some remaining of --enable-xan.
9029 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9031 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9032 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9034 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9035 2.10.12-osso6 because the move-focus signal needs to be available in
9038 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * examples/Makefile.am:
9041 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9042 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9043 fine. Prolly NB#61128 is fixed now.
9045 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9047 * src/hildon-volumebar.c:
9048 * src/hildon-volumebar.h: Adding the
9049 hildon_volumebar_set_range_insensitive_message and
9050 hildon_volumebar_set_range_insensitive_messagef functions to set
9051 insensitive message on the slider of the volumebar. Fixes NB#61129.
9053 * examples/Makefile.am:
9054 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9055 test the new insensitive messsage functionality on HildonVolumebar.
9057 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9059 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9062 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9064 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9065 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9066 button on after clearing the trail.
9068 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9070 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9072 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9074 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9075 by splitting the installed headers in generated and non-generated groups. Use
9076 only the non-generated headers to create the hildon-enum-types.h file.
9078 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9080 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9082 * src/hildon-window.c: Hide the window before performing the destroy.
9083 Should make the app closing a little tiny bit more snappy.
9085 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9087 * src/hildon-seekbar.c: add gtkrange.h header
9088 * src/hildon-caption.c: remove unused variable
9090 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9092 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9095 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * debian/changelog: Updating.
9103 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9105 * src/hildon-window.c (hildon_window_window_state_event,
9106 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9107 escape timeout on focus-out-event rather than notify::is-topmost; the
9108 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9110 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9112 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9113 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9115 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9117 * src/hildon-window: actually, you need to use the macro always, there's
9118 no private pointer in the instance structure. We should have cleaned this up
9119 when we had the chance...
9121 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9123 * src/hildon-window.c: do not get the private date from HildonWindow before
9124 it passes the g_return_if_fail check. Once it's passed the test, there's no
9125 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9126 if you are only going to access the data once. Whitespace cleanups.
9128 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9130 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9131 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9133 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9139 * debian/changelog: Updating.
9141 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * src/hildon-window.c: When destroying the window, remove (if exists) the
9144 escape timeout handler. Fixes #NB59276.
9146 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9148 * src/hildon-banner.c: When realizing the widget, set the window
9149 transiency. Setting the transiency in the gobject constructor is not
9150 good, as the widget is not realized at that point. Fixes: #NB56624.
9152 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9154 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9155 Add padding for future expansions.
9157 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9159 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9160 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9161 will fake an activation on the previous to the last item of the trail, so
9162 the effect can be overrided by the developer as usual.
9163 Also change the callback for the back button to do the same thing, so its
9164 effect can be overrided too. Fixes: NB#58982
9166 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9168 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9169 HildonCaption. Fixes NB#52379.
9171 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9173 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9174 the internal state of the trail after the user has had the chance of executing
9175 his handler for the signal. Specifically, it may happen that the activated button
9176 is removed and the user still lets the default handler run. This would segfault
9179 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9181 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9182 scrollbar to the preview dialog. Fixes NB#54147.
9184 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9186 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9187 max/min year properties can be altered, so the client can modify it
9188 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9190 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9192 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9193 hildonlike by default. Fixing a problem with disappearing arrows when
9194 scrolling through months and years. Fixes NB#54127.
9196 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9198 * examples/hildon-date-editor-example.c: Adding error callback to the date
9201 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9207 * configure.ac: Updating.
9209 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9211 * configure.ac: Adding a special '--enable-xan' configure option that
9212 turns off the -Werror compilation setting. Usefull for development.
9214 * src/hildon-calendar.c:
9215 * src/hildon-number-editor.c:
9216 * src/hildon-time-picker.c: Adding the 5* multiplier to
9219 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9221 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9222 instead of g_object_ref + gtk_object_sink.
9224 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9230 * debian/changelog: Updating.
9232 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9234 * src/hildon-color-chooser-dialog.c:
9235 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9236 straight from Tommi labs.
9238 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9240 * examples/hildon-finger-example.c: Correcting the header file path.
9242 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9243 the changed signal. Fixes a small memory leak.
9245 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9249 * src/hildon-banner.c: Importing several usefull fixes from the
9250 ubuntu-mobile branch.
9252 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9254 * examples/Makefile.am:
9255 * examples/hildon-finger-example.c: Adding a finger-checking code
9258 * src/hildon-font-selection-dialog.c: Do not allocate the color
9259 structure using the g_new. Fixes NB#54061.
9261 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9263 * src/hildon-helper.c: Correcting tabs in file.
9265 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9267 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9268 control the visibility of the children.
9270 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9272 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9278 * debian/changelog: Updating.
9280 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9282 * src/hildon-bread-crumb-trail.c:
9283 (hildon_bread_crumb_trail_size_allocate):
9285 Make the back button always a square.
9287 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9289 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9290 from the .c file as it's a private file.
9292 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9294 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9295 uses slightly bigger height.
9297 * src/hildon-font-selection-dialog.c: Adding some checks before
9298 freeing memory in the font selection dialog.
9300 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9302 * src/hildon-font-selection-dialog.c: Adding a small check when
9305 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9306 buttons sensitivity on page switching.
9308 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9310 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9311 internal details of adding a bread crumb to the trail.
9313 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9319 * debian/changelog: Updating.
9321 * src/hildon-bread-crumb-trail.h:
9322 * src/hildon-bread-crumb.h: Changing the API guard to
9323 HILDON_ENABLE_UNSTABLE_API.
9325 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9333 * src/hildon-helper.h: Updating.
9335 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9343 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9347 * src/hildon-helper.h: Small fix to make the package actually compile.
9349 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9351 * src/hildon-bread-crumb-trail.h:
9352 * src/hildon-bread-crumb.h:
9354 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9355 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9357 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9359 * examples/hildon-bread-crumb-trail-example.c:
9361 * src/hildon-bread-crumb-trail.c:
9362 * src/hildon-bread-crumb-trail.h:
9363 * src/hildon-bread-crumb.c:
9364 * src/hildon-bread-crumb.h:
9365 * src/hildon-marshalers.list:
9366 * src/hildon-bread-crumb-widget.c:
9367 * src/hildon-bread-crumb-widget.h:
9369 Slight change in the widget design. The bread crumb trail API is
9370 unchanged, but HildonBreadCrumb is now an interface. A *private*
9371 implementation, hildon-bread-crumb-widget, is provided and used
9372 internally by the trail for the push_text/push_icon functions.
9374 The generic push API is still available, so anyone can implement
9375 and use its own bread crumb widget.
9377 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9379 * debian/rules: Fixing the shlibs.
9381 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9383 * src/hildon-banner.c: Fixing a problem with timed banners having
9384 their parrent destroyed before they are.
9386 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9388 * src/hildon-bread-crumb.c:
9389 * src/hildon-bread-crumb.h:
9391 Make the get_natural_size function a vfunc.
9393 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9395 * src/hildon-bread-crumb.c:
9396 * src/hildon-bread-crumb-trail.c:
9400 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9407 * debian/changelog: Updating for release.
9409 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9411 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9412 don't leak the pango layout.
9414 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9417 * examples/hildon-bread-crumb-trail-example.c:
9421 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9423 * debian/changelog: Removing the bug-fixed entries that were actually
9424 resolved as WONTFIX.
9426 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9429 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9431 * src/hildon-bread-crumb-trail.c:
9432 * src/hildon-bread-crumb-trail.h:
9433 * src/hildon-bread-crumb.c:
9434 * src/hildon-bread-crumb.h:
9438 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9440 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9441 until it's passed the type check.
9443 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9445 * examples/hildon-bread-crumb-trail-example.c
9449 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9451 * examples/Makefile.am
9452 * examples/hildon-bread-crumb-trail-example.c
9454 * src/hildon-bread-crumb-trail.c
9455 * src/hildon-bread-crumb-trail.h
9456 * src/hildon-bread-crumb.c
9457 * src/hildon-bread-crumb.h
9459 New HildonBreadCrumbTrail widget.
9461 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9463 * src/hildon-range-editor.c (hildon_range_editor_init),
9464 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9465 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9466 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9467 hildon_time_editor_class_init, hildon_time_editor_init),
9468 src/hildon-get-password-dialog.c (invalid_input,
9469 hildon_get_password_set_property, hildon_get_password_get_property,
9470 create_contents, hildon_get_password_dialog_set_max_characters),
9471 src/hildon-set-password-dialog.c (create_contents),
9472 src/hildon-date-editor.c (hildon_date_editor_init),
9473 src/hildon-login-dialog.c (hildon_login_dialog_init),
9474 src/hildon-number-editor.c (hildon_number_editor_init),
9475 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9476 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9477 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9478 configure option and adding the respective checks in the code.
9479 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9480 hildon_calendar_drag_data_received): fixed some build warnings.
9482 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9484 * debian/changelog: A 1.0.0 release notes.